[maemo-commits] [maemo-commits] r13911 - in projects/haf/trunk/gtk+: . gtk
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Sep 19 13:05:25 EEST 2007
- Previous message: [maemo-commits] r13910 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r13912 - in projects/haf/trunk/hildon-plugins-settings: . src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kris Date: 2007-09-19 13:05:17 +0300 (Wed, 19 Sep 2007) New Revision: 13911 Modified: projects/haf/trunk/gtk+/ChangeLog projects/haf/trunk/gtk+/gtk/gtktreeview.c Log: 2007-09-19 Kristian Rietveld <kris at imendio.com> * gtk/gtktreeview.c (gtk_tree_view_header_focus): add Maemo specific code to immediately return FALSE; this way the headers will always be skipped when the tree view gets focus and it behaves exactly how it a tree view without visible headers would behave. NB#68792. Modified: projects/haf/trunk/gtk+/ChangeLog =================================================================== --- projects/haf/trunk/gtk+/ChangeLog 2007-09-19 10:05:22 UTC (rev 13910) +++ projects/haf/trunk/gtk+/ChangeLog 2007-09-19 10:05:17 UTC (rev 13911) @@ -1,3 +1,11 @@ +2007-09-19 Kristian Rietveld <kris at imendio.com> + + * gtk/gtktreeview.c (gtk_tree_view_header_focus): add Maemo specific + code to immediately return FALSE; this way the headers will always be + skipped when the tree view gets focus and it behaves exactly how it + a tree view without visible headers would behave. + NB#68792. + 2007-09-18 Tommi Komulainen <tommi.komulainen at nokia.com> * gtk/gtkhbbox.c (gtk_hbutton_box_get_children_sizes, Modified: projects/haf/trunk/gtk+/gtk/gtktreeview.c =================================================================== --- projects/haf/trunk/gtk+/gtk/gtktreeview.c 2007-09-19 10:05:22 UTC (rev 13910) +++ projects/haf/trunk/gtk+/gtk/gtktreeview.c 2007-09-19 10:05:17 UTC (rev 13911) @@ -8115,6 +8115,13 @@ GList *tmp_list; gboolean rtl; +#ifdef MAEMO_CHANGES + /* Skip headers when acquiring focus; behave the same as the headers + * are invisible. + */ + return FALSE; +#endif /* MAEMO_CHANGES */ + if (! GTK_TREE_VIEW_FLAG_SET (tree_view, GTK_TREE_VIEW_HEADERS_VISIBLE)) return FALSE;
- Previous message: [maemo-commits] r13910 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r13912 - in projects/haf/trunk/hildon-plugins-settings: . src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]