[maemo-commits] [maemo-commits] r13372 - projects/haf/trunk/gtk+/gtk
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Aug 23 14:36:58 EEST 2007
- Previous message: [maemo-commits] r13371 - projects/haf/trunk/gtk+/gtk
- Next message: [maemo-commits] r13373 - projects/haf/trunk/gtk+
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: xan
Date: 2007-08-23 14:36:56 +0300 (Thu, 23 Aug 2007)
New Revision: 13372
Modified:
projects/haf/trunk/gtk+/gtk/gtktreeview.c
Log:
Revert "Allow to move focus on all nodes for cursor-only navigation."
This reverts commit 097a38291d8cf65e481fc9f2916cd41a034ff8a1.
Modified: projects/haf/trunk/gtk+/gtk/gtktreeview.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtktreeview.c 2007-08-23 11:36:53 UTC (rev 13371)
+++ projects/haf/trunk/gtk+/gtk/gtktreeview.c 2007-08-23 11:36:56 UTC (rev 13372)
@@ -10595,9 +10595,6 @@
GtkTreePath *cursor_path = NULL;
GtkRBTree *tree;
GtkRBNode *node;
-#if defined(MAEMO_CHANGES)
- gboolean cursor_only;
-#endif
if (! GTK_WIDGET_HAS_FOCUS (tree_view))
return FALSE;
@@ -10612,20 +10609,9 @@
if (_gtk_tree_view_find_node (tree_view, cursor_path, &tree, &node))
return FALSE;
-#if defined(MAEMO_CHANGES)
- g_object_get (gtk_widget_get_settings (GTK_WIDGET (tree_view)),
- "gtk-keynav-cursor-only", &cursor_only,
- NULL);
-
- if (cursor_only == FALSE)
- {
-#endif
/* Don't handle the event if we aren't an expander */
if (!((node->flags & GTK_RBNODE_IS_PARENT) == GTK_RBNODE_IS_PARENT))
return FALSE;
-#if defined(MAEMO_CHANGES)
- }
-#endif
if (!logical
&& gtk_widget_get_direction (GTK_WIDGET (tree_view)) == GTK_TEXT_DIR_RTL)
- Previous message: [maemo-commits] r13371 - projects/haf/trunk/gtk+/gtk
- Next message: [maemo-commits] r13373 - projects/haf/trunk/gtk+
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
