pidgin: dbb13fdc: Add a title attribute to links so that t...
qulogic at pidgin.im
qulogic at pidgin.im
Thu Feb 23 04:06:28 EST 2012
----------------------------------------------------------------------
Revision: dbb13fdc163c45bf080c87a5f9da83602c39a53c
Parent: 113853f9560349879f3805f45bc4906b58dc3788
Author: qulogic at pidgin.im
Date: 02/23/12 02:21:16
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/dbb13fdc163c45bf080c87a5f9da83602c39a53c
Changelog:
Add a title attribute to links so that they'll show a tooltip.
Changes against parent 113853f9560349879f3805f45bc4906b58dc3788
patched pidgin/gtkdialogs.c
-------------- next part --------------
============================================================
--- pidgin/gtkdialogs.c 9278ed31bdf54cbd137cf074d3836b82c36afd19
+++ pidgin/gtkdialogs.c a743ede1d235ff05f6c911a156852fa2e98ab7b6
@@ -334,8 +334,9 @@ add_developers(GString *str, const struc
{
for (; list->name != NULL; list++) {
if (list->email != NULL) {
- g_string_append_printf(str, "<li><a href=\"mailto:%s\">%s</a>%s%s%s</li>",
- list->email, _(list->name),
+ g_string_append_printf(str,
+ "<li><a href=\"mailto:%s\" title=\"%s\">%s</a>%s%s%s</li>",
+ list->email, list->email, _(list->name),
list->role ? " (" : "",
list->role ? _(list->role) : "",
list->role ? ")" : "");
@@ -358,8 +359,9 @@ add_translators(GString *str, const stru
_(list->language), list->abbr);
}
if (list->email != NULL) {
- g_string_append_printf(str, "<dd><a href=\"mailto:%s\">%s</a></dd>",
- list->email,
+ g_string_append_printf(str,
+ "<dd><a href=\"mailto:%s\" title=\"%s\">%s</a></dd>",
+ list->email, list->email,
_(list->name));
} else {
g_string_append_printf(str, "<dd>%s</dd>", _(list->name));
@@ -507,24 +509,27 @@ void pidgin_dialogs_about(void)
g_string_append_printf(str,
_("<h3>Helpful Resources</h3>"
"<ul>"
- "<li><a href=\"%s\">Website</a></li>"
- "<li><a href=\"%s\">Frequently Asked Questions</a></li>"
+ "<li><a href=\"%s\" title=\"%s\">Website</a></li>"
+ "<li><a href=\"%s\" title=\"%s\">Frequently Asked Questions</a></li>"
"<li>IRC Channel: #pidgin on irc.freenode.net</li>"
"<li>XMPP MUC: devel at conference.pidgin.im</li>"
"</ul>"),
- PURPLE_WEBSITE,
+ PURPLE_WEBSITE, PURPLE_WEBSITE,
+ "http://developer.pidgin.im/wiki/FAQ",
"http://developer.pidgin.im/wiki/FAQ");
g_string_append_printf(str,
_("<p><strong>Help from other Pidgin users</strong> is available "
- "by e-mailing <a "
- "href=\"mailto:support at pidgin.im\">support at pidgin.im</a>.<br/>"
+ "by e-mailing <a href=\"mailto:%s\">%s</a>.<br/>"
"This is a <strong>public</strong> mailing list! "
- "(<a href=\"http://pidgin.im/pipermail/support/\">archive</a>)<br/>"
+ "(<a href=\"%s\" title=\"%s\">archive</a>)<br/>"
"We can't help with third-party protocols or plugins!<br/>"
"This list's primary language is <strong>English</strong>. You "
"are welcome to post in another language, but the responses may "
- "be less helpful.</p>"));
+ "be less helpful.</p>"),
+ "support at pidgin.im", "support at pidgin.im",
+ "http://pidgin.im/pipermail/support/",
+ "http://pidgin.im/pipermail/support/");
tmp = g_strdup_printf(_("About %s"), PIDGIN_NAME);
about = pidgin_build_help_dialog(tmp, "about", str);
More information about the Commits
mailing list