[maemo-commits] [maemo-commits] r13552 - in projects/haf/trunk/gtk+: . gtk

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 3 11:34:01 EEST 2007
Author: kris
Date: 2007-09-03 11:33:54 +0300 (Mon, 03 Sep 2007)
New Revision: 13552

Modified:
   projects/haf/trunk/gtk+/ChangeLog
   projects/haf/trunk/gtk+/gtk/gtktreeview.c
Log:
2007-09-03  Kristian Rietveld  <kris at imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_expand_collapse_cursor):
	don't do the GTK_RBNODE_IS_PARENT check, since the left/right keys
	should also move focus on child nodes. (NB#64664).



Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog	2007-09-03 08:09:45 UTC (rev 13551)
+++ projects/haf/trunk/gtk+/ChangeLog	2007-09-03 08:33:54 UTC (rev 13552)
@@ -1,3 +1,9 @@
+2007-09-03  Kristian Rietveld  <kris at imendio.com>
+
+	* gtk/gtktreeview.c (gtk_tree_view_real_expand_collapse_cursor):
+	don't do the GTK_RBNODE_IS_PARENT check, since the left/right keys
+	should also move focus on child nodes. (NB#64664).
+
 2007-08-24  Sven Herzberg  <sven at imendio.com>
 
 	* Updated GtkBuilder backport to the state of August, 7th

Modified: projects/haf/trunk/gtk+/gtk/gtktreeview.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtktreeview.c	2007-09-03 08:09:45 UTC (rev 13551)
+++ projects/haf/trunk/gtk+/gtk/gtktreeview.c	2007-09-03 08:33:54 UTC (rev 13552)
@@ -10635,9 +10635,11 @@
   if (_gtk_tree_view_find_node (tree_view, cursor_path, &tree, &node))
     return FALSE;
 
+#ifndef MAEMO_CHANGES
   /* Don't handle the event if we aren't an expander */
   if (!((node->flags & GTK_RBNODE_IS_PARENT) == GTK_RBNODE_IS_PARENT))
     return FALSE;
+#endif /* !MAEMO_CHANGES */
 
   if (!logical
       && gtk_widget_get_direction (GTK_WIDGET (tree_view)) == GTK_TEXT_DIR_RTL)


More information about the maemo-commits mailing list