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:
parent
84d07fee7a
commit
b760bf312c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue