lockbutton: ensure the lock symbolic icon is rendered 16x16px

https://bugzilla.gnome.org/show_bug.cgi?id=651734
This commit is contained in:
Cosimo Cecchi 2011-06-02 15:16:41 -04:00
parent 68fcede223
commit 3ef2e36637

View File

@ -385,7 +385,7 @@ update_state (GtkLockButton *button)
g_assert_not_reached ();
}
gtk_image_set_from_gicon (GTK_IMAGE (priv->image), icon, GTK_ICON_SIZE_BUTTON);
gtk_image_set_from_gicon (GTK_IMAGE (priv->image), icon, GTK_ICON_SIZE_MENU);
gtk_widget_set_visible (priv->label_lock, allowed);
gtk_widget_set_visible (priv->label_unlock, !allowed);
gtk_widget_set_tooltip_markup (GTK_WIDGET (button), tooltip);