[epiphany/wip/gtkaction-to-gaction: 55/57] Disable unused topic menu



commit 389f298b9fa03353256e14a2436d1e9033ae5c96
Author: Iulian Radu <iulian radu67 gmail com>
Date:   Mon Jul 11 14:44:01 2016 +0300

    Disable unused topic menu

 src/bookmarks/ephy-topic-action.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index d125ea0..80e1a47 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -83,6 +83,7 @@ ephy_topic_action_sync_label (GtkAction  *action,
   g_value_unset (&value);
 }
 
+#if 0
 static GtkWidget *
 get_popup (EphyTopicAction *action)
 {
@@ -110,6 +111,7 @@ get_popup (EphyTopicAction *action)
 
   return gtk_ui_manager_get_widget (priv->manager, path);
 }
+#endif
 
 static void
 erase_popup (EphyTopicAction *action)
@@ -165,10 +167,13 @@ menu_init_cb (GtkWidget       *menuitem,
               EphyTopicAction *action)
 {
   if (gtk_menu_item_get_submenu (GTK_MENU_ITEM (menuitem)) == NULL) {
+    #if 0
     GtkWidget *popup;
 
+    /* Disabled. Will be removed in the upcoming bookmarks subsystem update */
     popup = get_popup (action);
     gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), popup);
+    #endif
     g_signal_connect (menuitem, "destroy",
                       G_CALLBACK (menu_destroy_cb), NULL);
   }


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