[maemo-commits] [maemo-commits] r16666 - projects/haf/branches/hildon-fm/fremantle/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Nov 13 17:02:16 EET 2008
Author: rabinovich
Date: 2008-11-13 17:02:14 +0200 (Thu, 13 Nov 2008)
New Revision: 16666

Modified:
   projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-selection.c
Log:
dont handle row-activated signal in edit mode

Modified: projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-selection.c
===================================================================
--- projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-selection.c	2008-11-13 14:42:43 UTC (rev 16665)
+++ projects/haf/branches/hildon-fm/fremantle/hildon-fm/hildon-file-selection.c	2008-11-13 15:02:14 UTC (rev 16666)
@@ -1793,6 +1793,8 @@
     GtkTreePath *filter_path = NULL, *base_path = NULL, *dir_path = NULL;
     gboolean is_folder, is_available;
 
+    if (HILDON_FILE_SELECTION(data)->priv->edit_mode)
+        return;
     /* Consume all events before activating a row
        because there might be unfinished selection change
        => wrong row might be activated */


More information about the maemo-commits mailing list