=?utf-8?q?=5Bvinagre=5D_Use_a_button-sized_image_on_=E2=80=98Authenticate?= =?utf-8?q?=E2=80=99_button?=



commit 4e897be8e0035f5af7099fb788bcb7efeb016b02
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 4811a64..45cd69f 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]