SF.net SVN: geany-plugins:[193] trunk/geanysendmail/src/geanysendmail.c

frlan at users.sourceforge.net frlan at xxxxx
Wed Oct 1 22:58:33 UTC 2008


Revision: 193
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=193&view=rev
Author:   frlan
Date:     2008-10-01 22:58:32 +0000 (Wed, 01 Oct 2008)

Log Message:
-----------
GeanySendMail: Show email address dialog only of %r was included inside plugin configuration dialog

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

Modified: trunk/geanysendmail/src/geanysendmail.c
===================================================================
--- trunk/geanysendmail/src/geanysendmail.c	2008-10-01 22:57:16 UTC (rev 192)
+++ trunk/geanysendmail/src/geanysendmail.c	2008-10-01 22:58:32 UTC (rev 193)
@@ -130,7 +130,7 @@
 			locale_filename = p_utils->get_locale_from_utf8(doc->file_name);
 			cmd_str = g_string_new(mailer);
 
-			if (use_address_dialog == TRUE)
+			if ((use_address_dialog == TRUE) && (g_strrstr(mailer, "%r") != NULL))
 			{
 				gint tmp;
 


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