[gtk+] lockbutton: ensure the lock symbolic icon is rendered 16x16px



commit 3ef2e366375226b9d31c536b080759e1da74ca87
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jun 2 15:16:41 2011 -0400

    lockbutton: ensure the lock symbolic icon is rendered 16x16px
    
    https://bugzilla.gnome.org/show_bug.cgi?id=651734

 gtk/gtklockbutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklockbutton.c b/gtk/gtklockbutton.c
index 746812a..51306b4 100644
--- a/gtk/gtklockbutton.c
+++ b/gtk/gtklockbutton.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]