SF.net SVN: geany-plugins:[350] trunk/geanylipsum/src/geanylipsum.c

frlan at users.sourceforge.net frlan at xxxxx
Mon Dec 22 22:07:46 UTC 2008


Revision: 350
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=350&view=rev
Author:   frlan
Date:     2008-12-22 22:07:46 +0000 (Mon, 22 Dec 2008)

Log Message:
-----------
GeanyLipsum: Insert lipsum text only when dialog wasn't aborted

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

Modified: trunk/geanylipsum/src/geanylipsum.c
===================================================================
--- trunk/geanylipsum/src/geanylipsum.c	2008-12-21 21:09:27 UTC (rev 349)
+++ trunk/geanylipsum/src/geanylipsum.c	2008-12-22 22:07:46 UTC (rev 350)
@@ -130,13 +130,15 @@
 		// Number of titles/paragraphes etc.
 		// t.b.d.
 		gtk_widget_destroy(dialog);
+
+		insert_string(LOREMIPSUM);
 	}
 	else
 	{
 		gtk_widget_destroy(dialog);
 	}
 
-	insert_string(LOREMIPSUM);
+	
 
 }
 


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