Revision: 470 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=470&view=rev Author: frlan Date: 2009-02-14 12:45:49 +0000 (Sat, 14 Feb 2009)
Log Message: ----------- GeanySendMail: Version bump to 0.4.1 and update of release notes
Modified Paths: -------------- trunk/geanysendmail/NEWS trunk/geanysendmail/README trunk/geanysendmail/configure.in trunk/geanysendmail/src/geanysendmail.c
Modified: trunk/geanysendmail/NEWS =================================================================== --- trunk/geanysendmail/NEWS 2009-02-10 22:55:38 UTC (rev 469) +++ trunk/geanysendmail/NEWS 2009-02-14 12:45:49 UTC (rev 470) @@ -1,3 +1,8 @@ +GeanySendMail 0.4.1 (16. February 2009): + * Update to Geany pugin API v116 + * Minor improvments on wording and cleanup of code + + GeanySendMail 0.4 (22. October 2008):
* Adding support for creating a mail with recipients email
Modified: trunk/geanysendmail/README =================================================================== --- trunk/geanysendmail/README 2009-02-10 22:55:38 UTC (rev 469) +++ trunk/geanysendmail/README 2009-02-14 12:45:49 UTC (rev 470) @@ -1,5 +1,5 @@ GeanySendMail Plugin -(post 0.4:) +(0.4.1)
About @@ -24,7 +24,7 @@ prepared package e.g. from your distribution you probably need to install an additional package, this might be called geany-dev or geany-devel. Please note that in order to compile and use this plugin, -you need Geany 0.16svn or later (Geany Plugin API v116 or higher). +you need Geany 0.16 or later (Geany Plugin API v116 or higher).
Furthermore you need, of course, a C compiler and the Make tool. The GNU versions of these tools are recommended.
Modified: trunk/geanysendmail/configure.in =================================================================== --- trunk/geanysendmail/configure.in 2009-02-10 22:55:38 UTC (rev 469) +++ trunk/geanysendmail/configure.in 2009-02-14 12:45:49 UTC (rev 470) @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script.
AC_INIT(configure.in) -AM_INIT_AUTOMAKE(geanysendmail, 0.5svn) +AM_INIT_AUTOMAKE(geanysendmail, 0.4.1)
AM_CONFIG_HEADER(config.h)
Modified: trunk/geanysendmail/src/geanysendmail.c =================================================================== --- trunk/geanysendmail/src/geanysendmail.c 2009-02-10 22:55:38 UTC (rev 469) +++ trunk/geanysendmail/src/geanysendmail.c 2009-02-14 12:45:49 UTC (rev 470) @@ -1,7 +1,7 @@ /* * geanysendmail.c * - * Copyright 2007, 2008 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> + * Copyright 2007-2009 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> * Copyright 2007 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> * Copyright 2007, 2008 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> * Copyright 2008 Timothy Boronczyk <tboronczyk(at)gmail(dot)com> @@ -82,10 +82,8 @@ gchar *config_dir = g_path_get_dirname(config_file); gchar *data;
- doc = document_get_current();
- if (doc->file_name == NULL) { dialogs_show_save_as(); @@ -137,7 +135,8 @@ g_key_file_set_string(config, "tools", "address", address); }
- if (! g_file_test(config_dir, G_FILE_TEST_IS_DIR) && utils_mkdir(config_dir, TRUE) != 0) + if (! g_file_test(config_dir, G_FILE_TEST_IS_DIR) && + utils_mkdir(config_dir, TRUE) != 0) { dialogs_show_msgbox(GTK_MESSAGE_ERROR, _("Plugin configuration directory could not be created.")); @@ -154,12 +153,14 @@ }
if (! utils_string_replace_all(cmd_str, "%f", locale_filename)) - ui_set_statusbar(FALSE, _("Filename placeholder not found. The executed command might have failed.")); + ui_set_statusbar(FALSE, + _("Filename placeholder not found. The executed command might have failed."));
if (use_address_dialog == TRUE && address != NULL) { if (! utils_string_replace_all(cmd_str, "%r", address)) - ui_set_statusbar(FALSE, _("Recipient address placeholder not found. The executed command might have failed.")); + ui_set_statusbar(FALSE, + _("Recipient address placeholder not found. The executed command might have failed.")); } else /* Removes %r if option was not activ but was included into command */ @@ -266,12 +267,14 @@ g_free(mailer); mailer = g_strdup(gtk_entry_get_text(GTK_ENTRY(pref_widgets.entry)));
- if (icon_in_toolbar == FALSE && gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_icon_to_toolbar)) == TRUE) + if (icon_in_toolbar == FALSE && + gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_icon_to_toolbar)) == TRUE) { icon_in_toolbar = TRUE; show_icon(); } - else if (icon_in_toolbar == TRUE && gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_icon_to_toolbar)) == FALSE) + else if (icon_in_toolbar == TRUE && + gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(pref_widgets.checkbox_icon_to_toolbar)) == FALSE) { cleanup_icon(); icon_in_toolbar = FALSE; @@ -360,7 +363,6 @@ gtk_box_pack_start(GTK_BOX(vbox), pref_widgets.checkbox_icon_to_toolbar, TRUE, FALSE, 2); gtk_box_pack_start(GTK_BOX(vbox), pref_widgets.checkbox_use_addressdialog, TRUE, FALSE, 2);
- gtk_widget_show(vbox);
g_signal_connect(dialog, "response", G_CALLBACK(on_configure_response), NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org