Revision: 1584 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1584&view=re... Author: frlan Date: 2010-09-14 19:31:05 +0000 (Tue, 14 Sep 2010)
Log Message: ----------- GeanyLaTeX: Place LaTeX menu in front of help menu entry (hard coded)
Modified Paths: -------------- trunk/geanylatex/ChangeLog trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/ChangeLog =================================================================== --- trunk/geanylatex/ChangeLog 2010-09-13 21:08:36 UTC (rev 1583) +++ trunk/geanylatex/ChangeLog 2010-09-14 19:31:05 UTC (rev 1584) @@ -1,3 +1,8 @@ +2010-09-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> + + * Place LaTeX menu in front of help menu entry (hard coded) + + 2010-09-12 Frank Lanitz frank@frank.uvena.de
* Moved LaTeX menu out of Tool menu and put it into generic menubar item.
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2010-09-13 21:08:36 UTC (rev 1583) +++ trunk/geanylatex/src/geanylatex.c 2010-09-14 19:31:05 UTC (rev 1584) @@ -1955,9 +1955,11 @@ { GtkWidget *tmp = NULL; gint i; + menu_latex = gtk_menu_item_new_with_mnemonic(_("_LaTeX")); - gtk_container_add(GTK_CONTAINER(ui_lookup_widget(geany->main_widgets->window, - "menubar1")), menu_latex); + gtk_menu_shell_insert( + GTK_MENU_SHELL(ui_lookup_widget(geany->main_widgets->window, + "menubar1")), menu_latex, 8);
menu_latex_menu = gtk_menu_new(); gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu_latex), menu_latex_menu);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org