[gnome-control-center] datetime: ensure the panel does not need the shell to resize horizontally



commit b760bf312c748ef7b721fd14bef56c7a4e5d5b7d
Author: Thomas Wood <thomas wood intel com>
Date:   Thu Jul 22 17:50:00 2010 +0100

    datetime: ensure the panel does not need the shell to resize horizontally
    
    Reduce the width and height required for the timezone map so that the
    panel fits into the shell window without needing it to resize
    horizontally.

 panels/datetime/cc-timezone-map.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/datetime/cc-timezone-map.c b/panels/datetime/cc-timezone-map.c
index 318aa6b..daf78a1 100644
--- a/panels/datetime/cc-timezone-map.c
+++ b/panels/datetime/cc-timezone-map.c
@@ -194,8 +194,8 @@ cc_timezone_map_size_request (GtkWidget      *widget,
 {
   CcTimezoneMapPrivate *priv = CC_TIMEZONE_MAP (widget)->priv;
 
-  req->width = gdk_pixbuf_get_width (priv->orig_background) * 0.7;
-  req->height = gdk_pixbuf_get_height (priv->orig_background) * 0.7;
+  req->width = gdk_pixbuf_get_width (priv->orig_background) * 0.6;
+  req->height = gdk_pixbuf_get_height (priv->orig_background) * 0.6;
 
   GTK_WIDGET_CLASS (cc_timezone_map_parent_class)->size_request (widget, req);
 }



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