[maemo-commits] [maemo-commits] r14001 - projects/haf/trunk/hildon-fm/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Sep 21 16:21:48 EEST 2007
Author: marivoll
Date: 2007-09-21 16:21:47 +0300 (Fri, 21 Sep 2007)
New Revision: 14001

Modified:
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c
Log:
	* hildon-fm/hildon-file-selection.c
	(hildon_file_selection_row_inserted): Call
	gtk_tree_view_expand_to_path (N63425).


Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c	2007-09-21 13:19:08 UTC (rev 14000)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c	2007-09-21 13:21:47 UTC (rev 14001)
@@ -4455,7 +4455,7 @@
   view = get_view_for_model (self, model);
   if (view == NULL)
     return;
-
+  
   selection = gtk_tree_view_get_selection (view);
   gtk_tree_model_get (model, iter,
                       HILDON_FILE_SYSTEM_MODEL_COLUMN_URI, &uri,
@@ -4464,6 +4464,7 @@
   if (g_strcasecmp (uri, priv->cursor_goal_uri) == 0 &&
       !gtk_tree_selection_get_selected (selection, NULL, NULL))
     {
+      gtk_tree_view_expand_to_path (view, path);
       set_cursor_when_idle (view, path, FALSE);
       g_free (priv->cursor_goal_uri);
       priv->cursor_goal_uri = NULL;


More information about the maemo-commits mailing list