[maemo-commits] [maemo-commits] r10930 - in projects/haf/branches/gtk+/maemo-gtk-2-10: . gtk

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Apr 3 14:15:06 EEST 2007
Author: kris
Date: 2007-04-03 14:15:00 +0300 (Tue, 03 Apr 2007)
New Revision: 10930

Modified:
   projects/haf/branches/gtk+/maemo-gtk-2-10/ChangeLog
   projects/haf/branches/gtk+/maemo-gtk-2-10/gtk/gtktreeview.c
Log:
2007-04-03  Kristian Rietveld  <kris at imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): enable the
	call to grab_focus_and_unset_draw_keyfocus() in maemo in order
	to be able to properly focus the tree view with button presses.



Modified: projects/haf/branches/gtk+/maemo-gtk-2-10/ChangeLog
===================================================================
--- projects/haf/branches/gtk+/maemo-gtk-2-10/ChangeLog	2007-04-03 10:05:47 UTC (rev 10929)
+++ projects/haf/branches/gtk+/maemo-gtk-2-10/ChangeLog	2007-04-03 11:15:00 UTC (rev 10930)
@@ -1,3 +1,9 @@
+2007-04-03  Kristian Rietveld  <kris at imendio.com>
+
+	* gtk/gtktreeview.c (gtk_tree_view_button_press): enable the
+	call to grab_focus_and_unset_draw_keyfocus() in maemo in order
+	to be able to properly focus the tree view with button presses.
+
 2007-04-02  Michael Natterer  <mitch at imendio.com>
 
 	Merge from upstream trunk:

Modified: projects/haf/branches/gtk+/maemo-gtk-2-10/gtk/gtktreeview.c
===================================================================
--- projects/haf/branches/gtk+/maemo-gtk-2-10/gtk/gtktreeview.c	2007-04-03 10:05:47 UTC (rev 10929)
+++ projects/haf/branches/gtk+/maemo-gtk-2-10/gtk/gtktreeview.c	2007-04-03 11:15:00 UTC (rev 10930)
@@ -2929,13 +2929,11 @@
 
       gtk_tree_path_free (path);
 
-#ifndef MAEMO_CHANGES
       /* If we activated the row through a double click we don't want to grab
        * focus back, as moving focus to another widget is pretty common.
        */
       if (!row_double_click)
 	grab_focus_and_unset_draw_keyfocus (tree_view);
-#endif /* !MAEMO_CHANGES */
 
       return TRUE;
     }


More information about the maemo-commits mailing list