Revision: 496 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=496&view=rev Author: frlan Date: 2009-02-18 23:10:19 +0000 (Wed, 18 Feb 2009)
Log Message: ----------- GeanyLipsum: Don't run dialog when no document is available when using keybinding
Modified Paths: -------------- trunk/geanylipsum/src/geanylipsum.c
Modified: trunk/geanylipsum/src/geanylipsum.c =================================================================== --- trunk/geanylipsum/src/geanylipsum.c 2009-02-18 23:09:52 UTC (rev 495) +++ trunk/geanylipsum/src/geanylipsum.c 2009-02-18 23:10:19 UTC (rev 496) @@ -93,7 +93,7 @@
doc = document_get_current();
- if (dialogs_show_input_numeric(_("Lipsum-Generator"), + if (doc != NULL && dialogs_show_input_numeric(_("Lipsum-Generator"), _("Enter the length of Lipsum text here"), &value, 1, 5000, 1)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org