summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2010-07-22 17:50:00 +0100
committerThomas Wood <thomas.wood@intel.com>2010-07-22 17:50:00 +0100
commitb760bf312c748ef7b721fd14bef56c7a4e5d5b7d (patch)
treef9cec9aa813c755a0206b34a4e0c6713bb1d538d
parent84d07fee7a3369757ae3be12395f8239966ae0b9 (diff)
downloadgnome-control-center-b760bf312c748ef7b721fd14bef56c7a4e5d5b7d.tar.gz
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.
-rw-r--r--panels/datetime/cc-timezone-map.c4
1 files 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);
}