Revision: 206 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=206&view=rev Author: frlan Date: 2008-10-14 20:49:15 +0000 (Tue, 14 Oct 2008)
Log Message: ----------- GeanyLaTeX: Removed some unused code.
Modified Paths: -------------- trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2008-10-14 20:48:47 UTC (rev 205) +++ trunk/geanylatex/src/geanylatex.c 2008-10-14 20:49:15 UTC (rev 206) @@ -765,29 +765,10 @@ static void update_menu_items() { - GeanyDocument *doc = NULL; - gboolean have_file; - - doc = p_document->get_current(); - have_file = doc && doc->file_name && g_path_is_absolute(doc->file_name); - p_ui->add_document_sensitive(menu_latex_menu_special_char); p_ui->add_document_sensitive(menu_latex_ref); p_ui->add_document_sensitive(menu_latex_label);
-/* if (have_file) - { - gtk_widget_set_sensitive(menu_latex_menu_special_char, TRUE); - gtk_widget_set_sensitive(menu_latex_ref, TRUE); - gtk_widget_set_sensitive(menu_latex_label, TRUE); - } - else - { - gtk_widget_set_sensitive(menu_latex_menu_special_char, FALSE); - gtk_widget_set_sensitive(menu_latex_ref, FALSE); - gtk_widget_set_sensitive(menu_latex_label, FALSE); - }*/ - gtk_widget_set_sensitive(menu_latex_wizzard, TRUE);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.