[maemo-commits] [maemo-commits] r9309 - projects/haf/branches/hildon-fm/1.x/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jan 24 17:17:56 EET 2007
Author: marivoll
Date: 2007-01-24 17:17:55 +0200 (Wed, 24 Jan 2007)
New Revision: 9309

Modified:
   projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-selection.c
Log:
	* hildon-fm/hildon-file-selection.c (hildon_file_selection_map):
	Call _hildon_file_system_set_banner_toplevel (NB50246).


Modified: projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-selection.c
===================================================================
--- projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-selection.c	2007-01-24 15:17:24 UTC (rev 9308)
+++ projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-selection.c	2007-01-24 15:17:55 UTC (rev 9309)
@@ -47,6 +47,7 @@
 #include <hildon-widgets/hildon-defines.h>
 
 #include "hildon-file-common-private.h"
+#include "hildon-file-system-settings.h"
 
 /* I wonder where does that additional +2 come from. 
     Anyway I have to add it to make cell 60 + two 
@@ -1042,6 +1043,12 @@
     else
       priv->force_content_pane = TRUE;
   }
+
+  {
+    GtkWidget *toplevel = gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW);
+    if (toplevel)
+      _hildon_file_system_set_banner_toplevel (GTK_WINDOW (toplevel));
+  }
 }
 
 static void hildon_file_selection_class_init(HildonFileSelectionClass *


More information about the maemo-commits mailing list