[geany/geany-plugins] 25be5e: GeanyPG: Make menu items document-sensitive

Colomban Wendling git-noreply at xxxxx
Sun Jul 8 13:24:48 UTC 2012


Branch:      refs/heads/1.22_release
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 08 Jul 2012 13:24:48
Commit:      25be5e5e60b9e493a6caea826b5360b74e54e18c
             https://github.com/geany/geany-plugins/commit/25be5e5e60b9e493a6caea826b5360b74e54e18c

Log Message:
-----------
GeanyPG: Make menu items document-sensitive


Modified Paths:
--------------
    geanypg/src/geanypg.c

Modified: geanypg/src/geanypg.c
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -79,6 +79,7 @@ void plugin_init(GeanyData *data)
     /* Create a new menu item and show it */
     main_menu_item = gtk_menu_item_new_with_mnemonic("GeanyPG");
     gtk_widget_show(main_menu_item);
+    ui_add_document_sensitive(main_menu_item);
 
     submenu = gtk_menu_new();
     gtk_widget_show(submenu);


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Plugins-Commits mailing list