[Xfce4-commits] <midori:master> Unset tooltip on location if no security is given

Christian Dywan noreply at xfce.org
Thu Apr 7 23:08:01 CEST 2011


Updating branch refs/heads/master
         to 624259991ea5365f416913127c5e5607a07add7b (commit)
       from 94ee681f076d6db7b948fd3f60dfbfbd34fcb347 (commit)

commit 624259991ea5365f416913127c5e5607a07add7b
Author: James McMinn <cyblob at gmail.com>
Date:   Thu Apr 7 23:05:54 2011 +0200

    Unset tooltip on location if no security is given
    
    Fixes: https://bugs.launchpad.net/midori/+bug/754042

 midori/midori-locationaction.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c
index c8f7c14..1eb4d1a 100644
--- a/midori/midori-locationaction.c
+++ b/midori/midori-locationaction.c
@@ -1840,6 +1840,9 @@ midori_location_action_set_security_hint (MidoriLocationAction* location_action,
                 GTK_ICON_ENTRY_SECONDARY, _("Verified and encrypted connection"));
             #endif
         }
+        else if (hint == MIDORI_SECURITY_NONE)
+            gtk_icon_entry_set_tooltip (GTK_ICON_ENTRY (child),
+                GTK_ICON_ENTRY_SECONDARY, NULL);
 
         gtk_widget_modify_base (child, GTK_STATE_NORMAL,
             bg_color.red == 1 ? NULL : &bg_color);



More information about the Xfce4-commits mailing list