Revision: 1266 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1266&view=re... Author: colombanw Date: 2010-04-21 14:01:59 +0000 (Wed, 21 Apr 2010)
Log Message: ----------- GeanyGenDoc: Add the "Document current symbol" item to the plugin's menu too
Modified Paths: -------------- trunk/geanygendoc/src/ggd-plugin.c
Modified: trunk/geanygendoc/src/ggd-plugin.c =================================================================== --- trunk/geanygendoc/src/ggd-plugin.c 2010-04-21 13:22:58 UTC (rev 1265) +++ trunk/geanygendoc/src/ggd-plugin.c 2010-04-21 14:01:59 UTC (rev 1266) @@ -293,10 +293,13 @@
/* build submenu */ menu = gtk_menu_new (); + /* build "document current symbol" item */ + item = gtk_menu_item_new_with_mnemonic (_("_Document current symbol")); + g_signal_connect (item, "activate", G_CALLBACK (insert_comment), NULL); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); /* build "document all" item */ - item = gtk_menu_item_new_with_mnemonic (_("_Document all")); - g_signal_connect (item, "activate", - G_CALLBACK (insert_all_comments), NULL); + item = gtk_menu_item_new_with_mnemonic (_("Document _all symbols")); + g_signal_connect (item, "activate", G_CALLBACK (insert_all_comments), NULL); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); /* separator */ item = gtk_separator_menu_item_new ();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org