forked from AuroraMiddleware/gtk
lockbutton: ensure the lock symbolic icon is rendered 16x16px
https://bugzilla.gnome.org/show_bug.cgi?id=651734
This commit is contained in:
parent
68fcede223
commit
3ef2e36637
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user