[maemo-commits] [maemo-commits] r16313 - in projects/haf/trunk/sapwood: . engine
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Oct 2 13:53:55 EEST 2008
- Previous message: [maemo-commits] r16312 - projects/haf/trunk/hildon-initscripts/debian
- Next message: [maemo-commits] r16314 - in projects/haf/branches/hildon-thumbnail/daemonize: . debian thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: csaavedra Date: 2008-10-02 13:53:52 +0300 (Thu, 02 Oct 2008) New Revision: 16313 Modified: projects/haf/trunk/sapwood/ChangeLog projects/haf/trunk/sapwood/engine/sapwood-style.c Log: 2008-10-02 Daniel Borgmann <danielb at openismus.com> * engine/sapwood-style.c: Hacks to enable themeing of insensitive state for GtkEntry widgets. Modified: projects/haf/trunk/sapwood/ChangeLog =================================================================== --- projects/haf/trunk/sapwood/ChangeLog 2008-10-01 13:40:09 UTC (rev 16312) +++ projects/haf/trunk/sapwood/ChangeLog 2008-10-02 10:53:52 UTC (rev 16313) @@ -1,3 +1,8 @@ +2008-10-02 Daniel Borgmann <danielb at openismus.com> + + * engine/sapwood-style.c: Hacks to enable themeing of + insensitive state for GtkEntry widgets. + 2008-09-29 Sven Herzberg <sven at imendio.com> Renamed the function to match file and library name Modified: projects/haf/trunk/sapwood/engine/sapwood-style.c =================================================================== --- projects/haf/trunk/sapwood/engine/sapwood-style.c 2008-10-01 13:40:09 UTC (rev 16312) +++ projects/haf/trunk/sapwood/engine/sapwood-style.c 2008-10-02 10:53:52 UTC (rev 16313) @@ -554,6 +554,10 @@ g_return_if_fail (style != NULL); g_return_if_fail (window != NULL); + /* Hack because Gtk doesn't give us the correct widget state */ + if (widget && !GTK_WIDGET_IS_SENSITIVE(widget) && GTK_IS_ENTRY(widget)) + state = GTK_STATE_INSENSITIVE; + match_data.function = TOKEN_D_SHADOW; match_data.detail = (gchar *)detail; match_data.flags = THEME_MATCH_SHADOW | THEME_MATCH_STATE; @@ -914,6 +918,10 @@ g_return_if_fail (style != NULL); g_return_if_fail (window != NULL); + + /* Hack because Gtk doesn't give us the correct widget state */ + if (widget && !GTK_WIDGET_IS_SENSITIVE(widget) && GTK_IS_ENTRY(widget)) + state = GTK_STATE_INSENSITIVE; match_data.function = TOKEN_D_FLAT_BOX; match_data.detail = (gchar *)detail;
- Previous message: [maemo-commits] r16312 - projects/haf/trunk/hildon-initscripts/debian
- Next message: [maemo-commits] r16314 - in projects/haf/branches/hildon-thumbnail/daemonize: . debian thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]