[tracker/tracker-0.8] tracker-status-icon: show missing menu items.



commit 626158f8bf21c3e421828ea4d5da87687dbab1a0
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jun 17 19:40:12 2010 +0200

    tracker-status-icon: show missing menu items.
    
    There was a show_all() call that got removed, some widgets relied on it...

 src/tracker-status-icon/tracker-status-icon.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-status-icon/tracker-status-icon.c b/src/tracker-status-icon/tracker-status-icon.c
index 6913aa8..66d4432 100644
--- a/src/tracker-status-icon/tracker-status-icon.c
+++ b/src/tracker-status-icon/tracker-status-icon.c
@@ -834,12 +834,15 @@ status_icon_initialize_miners_menu (TrackerStatusIcon *icon)
 		image = gtk_image_new_from_icon_name (GTK_STOCK_FIND,
 						      GTK_ICON_SIZE_MENU);
 		gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
+		gtk_widget_show_all (item);
+
 		gtk_menu_shell_append (GTK_MENU_SHELL (priv->miner_menu), item);
 		g_signal_connect (G_OBJECT (item), "activate",
 				  G_CALLBACK (context_menu_search_cb), icon);
 
 		item = gtk_separator_menu_item_new ();
 		gtk_menu_shell_append (GTK_MENU_SHELL (priv->miner_menu), item);
+		gtk_widget_show (item);
 	}
 #endif
 
@@ -854,8 +857,11 @@ status_icon_initialize_miners_menu (TrackerStatusIcon *icon)
 
 	item = gtk_separator_menu_item_new ();
 	gtk_menu_shell_append (GTK_MENU_SHELL (priv->miner_menu), item);
+	gtk_widget_show (item);
 
 	item = gtk_check_menu_item_new_with_mnemonic (_("_Pause All Indexing"));
+	gtk_widget_show (item);
+
 	gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), FALSE);
 	gtk_menu_shell_append (GTK_MENU_SHELL (priv->miner_menu), item);
 	g_signal_connect (G_OBJECT (item), "toggled",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]