Revision: 391 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=391&view=rev Author: frlan Date: 2009-01-20 00:17:04 +0000 (Tue, 20 Jan 2009)
Log Message: ----------- GeanyLipsum: Adjusted spin values and corrected a GTK warning
Modified Paths: -------------- trunk/geanylipsum/src/geanylipsum.c
Modified: trunk/geanylipsum/src/geanylipsum.c =================================================================== --- trunk/geanylipsum/src/geanylipsum.c 2009-01-20 00:16:25 UTC (rev 390) +++ trunk/geanylipsum/src/geanylipsum.c 2009-01-20 00:17:04 UTC (rev 391) @@ -119,7 +119,7 @@ gtk_box_set_spacing(GTK_BOX(vbox), 10);
label = gtk_label_new(_("characters")); - spin = gtk_spin_button_new_with_range(1, 1800, 1); + spin = gtk_spin_button_new_with_range(1, 5000, 1); gtk_spin_button_set_value(GTK_SPIN_BUTTON(spin), 1500);
hbox = gtk_hbox_new(FALSE, 5); @@ -142,8 +142,6 @@ length = gtk_spin_button_get_value_as_int( GTK_SPIN_BUTTON(spin));
- gtk_widget_destroy(dialog); - /* Checking what we have */
tmp = strlen(lipsum); @@ -168,11 +166,9 @@
if (missing > 0) insert_string(g_strndup(lipsum, missing)); - }
- gtk_widget_destroy(dialog); - - + gtk_widget_destroy(dialog); + } }
static void kblipsum_insert(G_GNUC_UNUSED guint key_id)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org