Revision: 1119 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1119&view=re... Author: frlan Date: 2010-01-05 23:39:22 +0000 (Tue, 05 Jan 2010)
Log Message: ----------- GeanyLaTeX: Remove inactive code line
Modified Paths: -------------- trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2010-01-05 23:07:37 UTC (rev 1118) +++ trunk/geanylatex/src/geanylatex.c 2010-01-05 23:39:22 UTC (rev 1119) @@ -133,7 +133,6 @@ ui_add_document_sensitive(gtk_ui_manager_get_widget(uim, "/ui/glatex_format_toolbar/Italic")); ui_add_document_sensitive(gtk_ui_manager_get_widget(uim, "/ui/glatex_format_toolbar/Left")); ui_add_document_sensitive(gtk_ui_manager_get_widget(uim, "/ui/glatex_format_toolbar/Right")); - /*ui_add_document_sensitive(toolbar);*/ } /* TODO maybe more error handling */
@@ -556,7 +555,7 @@ { gchar *ref_string = NULL; GString *template_string = NULL; - + ref_string = g_strdup(gtk_combo_box_get_active_text( GTK_COMBO_BOX(textbox_ref)));
@@ -582,7 +581,7 @@ g_free(ref_string); g_free(tmp); } - else + else { if (ref_string != NULL) g_free(ref_string); @@ -1333,11 +1332,11 @@ glatex_deactivate_toolbaritems_with_non_latex = utils_get_setting_boolean(config, "toolbar", "glatex_deactivate_toolbaritems_with_non_latex", TRUE);
- glatex_ref_page_string = utils_get_setting_string(config, "reference", + glatex_ref_page_string = utils_get_setting_string(config, "reference", "glatex_reference_page", _("page \pageref{{{reference}}}")); - glatex_ref_chapter_string = utils_get_setting_string(config, "reference", + glatex_ref_chapter_string = utils_get_setting_string(config, "reference", "glatex_reference_chapter", "\ref{{{reference}}}"); - glatex_ref_all_string = utils_get_setting_string(config, "reference", + glatex_ref_all_string = utils_get_setting_string(config, "reference", "glatex_reference_all", _("\ref{{{reference}}}, page \pageref{{{reference}}}"));
main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.