[libgnomekbd] Improved rendering



commit 7c12ea9d11d868fde41aa632aacc4094f030433b
Author: Sergey V. Udaltsov <svu gnome org>
Date:   Thu Jul 1 22:43:31 2010 +0100

    Improved rendering
    
    The status icon does not change the size any more
    https://bugzilla.gnome.org/show_bug.cgi?id=622191

 libgnomekbd/gkbd-status.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgnomekbd/gkbd-status.c b/libgnomekbd/gkbd-status.c
index c768bb0..83a5d47 100644
--- a/libgnomekbd/gkbd-status.c
+++ b/libgnomekbd/gkbd-status.c
@@ -249,6 +249,8 @@ gkbd_status_render_cairo (cairo_t * cr, int group)
 	globals.real_width = (lwidth / PANGO_SCALE) + 4;
 	if (globals.real_width > globals.current_width)
 		globals.real_width = globals.current_width;
+	if (globals.real_width < globals.current_height)
+		globals.real_width = globals.current_height;
 }
 
 static inline guint8



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