From b760bf312c748ef7b721fd14bef56c7a4e5d5b7d Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Thu, 22 Jul 2010 17:50:00 +0100 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panels/datetime/cc-timezone-map.c b/panels/datetime/cc-timezone-map.c index 318aa6b5b..daf78a12b 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); }