Mercurial > pidgin.yaz
changeset 17670:3522a4cda52f
Two small changes to the release notification plugin:
* Move the link to the website to the top of the notify window to make
it more noticeable. Previously it was down at the bottom below the
changelog
* Add a new lines after "ChangeLog:"
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 03 Jun 2007 18:36:54 +0000 |
parents | a61c101c26c3 |
children | 648551e3243a |
files | pidgin/plugins/relnot.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/plugins/relnot.c Sun Jun 03 05:16:00 2007 +0000 +++ b/pidgin/plugins/relnot.c Sun Jun 03 18:36:54 2007 +0000 @@ -69,20 +69,17 @@ message = g_string_new(""); g_string_append_printf(message, _("You are using %s version %s. The " - "current version is %s.<hr>"), + "current version is %s. You can get it from " + "<a href=\"" PURPLE_WEBSITE "\">" PURPLE_WEBSITE "</a><hr>"), PIDGIN_NAME, purple_core_get_version(), cur_ver); if(*changelog) { formatted = purple_strdup_withhtml(changelog); - g_string_append_printf(message, _("<b>ChangeLog:</b>\n%s<br><br>"), + g_string_append_printf(message, _("<b>ChangeLog:</b><br>%s"), formatted); g_free(formatted); } - g_string_append_printf(message, _("You can get version %s from:<br>" - "<a href=\"http://pidgin.im/\">" - "http://pidgin.im</a>."), cur_ver); - purple_notify_formatted(NULL, _("New Version Available"), _("New Version Available"), NULL, message->str, NULL, NULL);