SF.net SVN: geany-plugins:[162] trunk/geanylatex/src/geanylatex.c

frlan at users.sourceforge.net frlan at xxxxx
Mon Sep 1 18:55:23 UTC 2008


Revision: 162
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=162&view=rev
Author:   frlan
Date:     2008-09-01 18:55:23 +0000 (Mon, 01 Sep 2008)

Log Message:
-----------
GeanyLaTeX: Added a patch of Enrico to make some imporvements at the code

Modified Paths:
--------------
    trunk/geanylatex/src/geanylatex.c

Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c	2008-09-01 18:16:19 UTC (rev 161)
+++ trunk/geanylatex/src/geanylatex.c	2008-09-01 18:55:23 UTC (rev 162)
@@ -400,7 +400,7 @@
 {
 	GeanyDocument *doc = NULL;
 	GeanyFiletype *ft = p_filetypes->lookup_by_name("LaTeX");
-	
+
 	if (output)
 	{
 		doc = p_document->new_file(name, ft, output);
@@ -450,10 +450,8 @@
 	gboolean KOMA_active = TRUE;
 	gboolean draft_active = FALSE;
 
-	GtkTooltips *tooltip = NULL;
+	GtkTooltips *tooltip = gtk_tooltips_new();
 
-	tooltip = gtk_tooltips_new();
-
 	// Creating and formating table
 	table = gtk_table_new(2, 6, FALSE);
 	gtk_table_set_col_spacings(GTK_TABLE(table), 6);
@@ -463,7 +461,7 @@
 	label_documentclass = gtk_label_new(_("Documentclass:"));
 	documentclass_combobox = gtk_combo_box_new_text();
 	gtk_tooltips_set_tip(tooltip, documentclass_combobox,
-		_("Chooce the kind of document you want to write"), NULL);
+		_("Choose the kind of document you want to write"), NULL);
 	gtk_combo_box_insert_text(GTK_COMBO_BOX(documentclass_combobox), 0, "Book");
 	gtk_combo_box_insert_text(GTK_COMBO_BOX(documentclass_combobox), 1, "Article");
 	gtk_combo_box_insert_text(GTK_COMBO_BOX(documentclass_combobox), 2, "Report");


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list