[Xfce4-commits] [apps/xfce4-terminal] 01/01: Do not escape URL as libxfce4ui now does it

noreply at xfce.org noreply at xfce.org
Tue Dec 5 16:02:55 CET 2017


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

f   2   4   0   4       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 apps/xfce4-terminal.

commit c563e646de402d628bee2de85aa5de9fea56f36d
Author: Igor <f2404 at yandex.ru>
Date:   Tue Dec 5 10:02:00 2017 -0500

    Do not escape URL as libxfce4ui now does it
    
    See bug #12715 for reference.
---
 terminal/terminal-widget.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/terminal/terminal-widget.c b/terminal/terminal-widget.c
index 5741b2b..d65ebfd 100644
--- a/terminal/terminal-widget.c
+++ b/terminal/terminal-widget.c
@@ -657,7 +657,7 @@ terminal_widget_open_uri (TerminalWidget *widget,
 {
   GtkWindow *window = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (widget)));
   GError    *error = NULL;
-  gchar     *uri, *escaped;
+  gchar     *uri;
   guint      i;
 
   for (i = 0; i < G_N_ELEMENTS (regex_patterns); i++)
@@ -695,11 +695,8 @@ terminal_widget_open_uri (TerminalWidget *widget,
                          uri, gtk_get_current_event_time (), &error))
 #endif
         {
-          /* escape ampersand symbols, etc. */
-          escaped = g_markup_escape_text (uri, -1);
           /* tell the user that we were unable to open the responsible application */
-          xfce_dialog_show_error (window, error, _("Failed to open the URL '%s'"), escaped);
-          g_free (escaped);
+          xfce_dialog_show_error (window, error, _("Failed to open the URL '%s'"), uri);
           g_error_free (error);
         }
 

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


More information about the Xfce4-commits mailing list