Revision: 554 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=554&view=rev Author: frlan Date: 2009-03-20 22:51:44 +0000 (Fri, 20 Mar 2009)
Log Message: ----------- GeanyLaTeX: Added menu entry for bulk rplace function
Modified Paths: -------------- trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2009-03-20 22:39:08 UTC (rev 553) +++ trunk/geanylatex/src/geanylatex.c 2009-03-20 22:51:44 UTC (rev 554) @@ -46,6 +46,7 @@ GtkWidget *menu_latex_format_insert = NULL; GtkWidget *menu_latex_format_insert_submenu = NULL; GtkWidget *menu_latex_insert_environment = NULL; +GtkWidget *menu_latex_replace_selection = NULL;
/* doing some global stuff */ static GtkWidget *menu_latex_replace_toggle = NULL; @@ -1083,6 +1084,14 @@ g_signal_connect((gpointer) menu_latex_ref, "activate", G_CALLBACK(insert_ref_activated), NULL);
+ menu_latex_replace_selection = gtk_menu_item_new_with_mnemonic( + _("Replace special characters")); + gtk_tooltips_set_tip(tooltips, menu_latex_replace_selection, + _("Replace special cahracters with TeX substitutes"), NULL); + gtk_container_add(GTK_CONTAINER(menu_latex_menu), menu_latex_replace_selection); + g_signal_connect((gpointer) menu_latex_replace_selection, "activate", + G_CALLBACK(replace_special_character), NULL); + menu_latex_label = gtk_menu_item_new_with_mnemonic(_("Insert _Label")); gtk_tooltips_set_tip(tooltips, menu_latex_label, _("Helps at inserting labels to a document"), NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org