=?utf-8?q?=5Bvinagre/gnome-3-2=5D_Use_a_button-sized_image_on_=E2=80=98Au?= =?utf-8?q?thenticate=E2=80=99_button?=



commit 0408bf44fec68ca9ef67c861c08b6f8746897e5a
Author: David King <amigadave amigadave com>
Date:   Tue Nov 1 20:05:48 2011 +0100

    Use a button-sized image on âAuthenticateâ button
    
    Jens Georg noticed that the âAuthenticateâ button used an image that was
    very large, causing it to expand too much horizontally. The image was
    incorrectly set to be Gtk.IconSize.DIALOG, which should have been
    Gtk.IconSize.BUTTON.

 vinagre/vinagre-utils.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vinagre/vinagre-utils.vala b/vinagre/vinagre-utils.vala
index da10035..fcc5ea8 100644
--- a/vinagre/vinagre-utils.vala
+++ b/vinagre/vinagre-utils.vala
@@ -121,7 +121,7 @@ namespace Vinagre.Utils {
 
         var ok_button = xml.get_object ("ok_button") as Button;
         var image = new Image.from_stock (Stock.DIALOG_AUTHENTICATION,
-                                          IconSize.DIALOG);
+                                          IconSize.BUTTON);
         ok_button.image = image;
 
         var username_entry = xml.get_object ("username_entry") as Entry;



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