[tracker/rss-enclosures] tracker-status-icon: show missing menu items.
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] tracker-status-icon: show missing menu items.
- Date: Sat, 26 Jun 2010 23:22:28 +0000 (UTC)
commit b648746ca17d30e5e106c1d2ac184aea8ffacb49
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]