[gedit] docinfo: do not call update_ui from the app activatable



commit c0a30ad697a866479bac7d471ea0bbb4af2ac803
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Feb 5 11:35:56 2014 +0100

    docinfo: do not call update_ui from the app activatable

 plugins/docinfo/gedit-docinfo-plugin.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/docinfo/gedit-docinfo-plugin.c b/plugins/docinfo/gedit-docinfo-plugin.c
index 10ab10a..6b75d65 100644
--- a/plugins/docinfo/gedit-docinfo-plugin.c
+++ b/plugins/docinfo/gedit-docinfo-plugin.c
@@ -542,8 +542,6 @@ gedit_docinfo_plugin_app_activate (GeditAppActivatable *activatable)
        item = g_menu_item_new (_("_Document Statistics"), "win.docinfo");
        gedit_menu_extension_append_menu_item (priv->menu_ext, item);
        g_object_unref (item);
-
-       update_ui (GEDIT_DOCINFO_PLUGIN (activatable));
 }
 
 static void


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