[Xfce4-commits] [xfce/libxfce4ui] 01/01: Bug #14638: Remove styling of emails in about dialog

noreply at xfce.org noreply at xfce.org
Tue Apr 16 23:32:55 CEST 2019


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/libxfce4ui.

commit b36d27fb4b55a173ef931681855458c75e698e27
Author: Andre Miranda <andreldm at xfce.org>
Date:   Tue Apr 16 23:31:14 2019 +0200

    Bug #14638: Remove styling of emails in about dialog
---
 xfce4-about/main.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/xfce4-about/main.c b/xfce4-about/main.c
index 432138c..27dcce4 100644
--- a/xfce4-about/main.c
+++ b/xfce4-about/main.c
@@ -159,8 +159,7 @@ xfce_about_about (GtkTextBuffer *buffer)
 
 static void
 xfce_about_credits_translators (GtkTextBuffer *buffer,
-                                GtkTextIter   *end,
-                                GtkTextTag    *email)
+                                GtkTextIter   *end)
 {
   guint                 i;
   GtkTextTag           *italic;
@@ -193,7 +192,7 @@ xfce_about_credits_translators (GtkTextBuffer *buffer,
           gtk_text_buffer_insert_with_tags (buffer, end, "\t", -1, italic, NULL);
           gtk_text_buffer_insert_with_tags (buffer, end, member->name, -1, italic, NULL);
           gtk_text_buffer_insert_with_tags (buffer, end, " <", -1, italic, NULL);
-          gtk_text_buffer_insert_with_tags (buffer, end, member->email, -1, email, italic, NULL);
+          gtk_text_buffer_insert_with_tags (buffer, end, member->email, -1, italic, NULL);
           gtk_text_buffer_insert_with_tags (buffer, end, ">\n", -1, italic, NULL);
 
         }
@@ -208,7 +207,6 @@ static void
 xfce_about_credits (GtkTextBuffer *buffer)
 {
   guint                   i;
-  GtkTextTag             *email;
   GtkTextTag             *title;
   GtkTextTag             *indent;
   GtkTextIter             end;
@@ -217,10 +215,6 @@ xfce_about_credits (GtkTextBuffer *buffer)
 
   g_return_if_fail (GTK_IS_TEXT_BUFFER (buffer));
 
-  email = gtk_text_buffer_create_tag (buffer, "email",
-                                      "foreground", "blue",
-                                      "underline", PANGO_UNDERLINE_SINGLE, NULL);
-
   title = gtk_text_buffer_create_tag (buffer, "title",
                                       "scale", 1.1,
                                       "weight", PANGO_WEIGHT_BOLD, NULL);
@@ -244,14 +238,14 @@ xfce_about_credits (GtkTextBuffer *buffer)
             {
               gtk_text_buffer_insert_with_tags (buffer, &end, user->name, -1, indent, NULL);
               gtk_text_buffer_insert (buffer, &end, " <", -1);
-              gtk_text_buffer_insert_with_tags (buffer, &end, user->email, -1, email, NULL);
+              gtk_text_buffer_insert (buffer, &end, user->email, -1);
               gtk_text_buffer_insert (buffer, &end, ">\n", -1);
             }
         }
       else
         {
           /* add the translators */
-          xfce_about_credits_translators (buffer, &end, email);
+          xfce_about_credits_translators (buffer, &end);
         }
 
       gtk_text_buffer_insert (buffer, &end, "\n", -1);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list