]> spindle.queued.net Git - midori/commitdiff
Fix tooltip and icon left-over from security icon changes
authorChristian Dywan <christian@twotoasts.de>
Fri, 11 May 2012 21:49:31 +0000 (23:49 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 11 May 2012 21:49:31 +0000 (23:49 +0200)
midori/midori-locationaction.c

index c49f64a767184d97f81e814b8d9f2d3fbb6e5858..6decf8058cec0c50ebed44593265f4b55d541366 100644 (file)
@@ -1736,7 +1736,7 @@ midori_location_action_set_security_hint (MidoriLocationAction* location_action,
                 gtk_icon_entry_set_icon_from_stock (GTK_ICON_ENTRY (entry),
                     GTK_ICON_ENTRY_PRIMARY, GTK_STOCK_INFO);
             gtk_icon_entry_set_tooltip (GTK_ICON_ENTRY (entry),
-                GTK_ICON_ENTRY_SECONDARY, _("Not verified"));
+                GTK_ICON_ENTRY_PRIMARY, _("Not verified"));
             #endif
         }
         else if (hint == MIDORI_SECURITY_TRUSTED)
@@ -1754,7 +1754,7 @@ midori_location_action_set_security_hint (MidoriLocationAction* location_action,
                     GTK_ICON_ENTRY_PRIMARY, "lock-secure");
             else
                 gtk_icon_entry_set_icon_from_stock (GTK_ICON_ENTRY (entry),
-                    GTK_ICON_ENTRY_SECONDARY, GTK_STOCK_DIALOG_AUTHENTICATION);
+                    GTK_ICON_ENTRY_PRIMARY, GTK_STOCK_DIALOG_AUTHENTICATION);
             gtk_icon_entry_set_tooltip (GTK_ICON_ENTRY (entry),
                 GTK_ICON_ENTRY_PRIMARY, _("Verified and encrypted connection"));
             #endif