← Back to team overview

elementaryart team mailing list archive

[Merge] lp:~voldyman/granite/abt-dialog-spacefix into lp:granite

 

David Gomes has proposed merging lp:~voldyman/granite/abt-dialog-spacefix into lp:granite.

Requested reviews:
  David Gomes (davidgomes)
Related bugs:
  Bug #1043261 in Granite: "About Dialog extra underscore"
  https://bugs.launchpad.net/granite/+bug/1043261

For more details, see:
https://code.launchpad.net/~voldyman/granite/abt-dialog-spacefix/+merge/121847

Fixes whitespace on Granite.
-- 
https://code.launchpad.net/~voldyman/granite/abt-dialog-spacefix/+merge/121847
Your team elementaryart (old) is subscribed to branch lp:granite.
=== modified file 'lib/GtkPatch/AboutDialog.vala'
--- lib/GtkPatch/AboutDialog.vala	2012-08-24 00:41:31 +0000
+++ lib/GtkPatch/AboutDialog.vala	2012-08-29 12:24:35 +0000
@@ -172,7 +172,7 @@
                 translators_label.set_text("");
             }
             else {
-                translators_label.set_markup("<span size=\"small\">" + _("Translated by ") + _translator_credits.replace("&", "&amp;") + "</span>\n");
+                translators_label.set_markup("<span size=\"small\">" + _("Translated by ") + _translator_credits.replace("&", "&amp;") + "</span>");
                 translators_label.show();
             }
         }
@@ -392,9 +392,9 @@
 
             }
             if (email == "")
-                text += "<u>%s</u>\n".printf (name);
+                text += "<u>%s</u>\n".printf (name.strip ());
             else
-                text += "<a href=\"%s\" title=\"%s\">%s</a>\n".printf (email,email,name);
+                text += "<a href=\"mailto:%s\"; title=\"%s\">%s</a>\n".printf (email,email,name.strip ());
             email = ""; name =""; email_started=false;
         }
         text += "</span>";


Follow ups