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.
This commit is contained in:
Thomas Wood 2010-07-22 17:50:00 +01:00
parent 84d07fee7a
commit b760bf312c

View file

@ -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);
}