summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@cvs.gnome.org>2006-07-24 00:45:56 +0000
committerEmmanuele Bassi <ebassi@src.gnome.org>2006-07-24 00:45:56 +0000
commitde0a66357451e4d47696bb9cea84af79ffd21938 (patch)
tree7ab2320a1a5672be5f10f688cb619eed0c8486f6 /src
parent31cfb30e4078dbebaa6ae0f0a4307253598976bb (diff)
downloadgnome-dictionary-de0a66357451e4d47696bb9cea84af79ffd21938.tar.gz
Allow the definition window to take up at most half of the screen size.
2006-07-24 Emmanuele Bassi <ebassi@cvs.gnome.org> * src/gdict-applet.c: (set_window_default_size): Allow the definition window to take up at most half of the screen size. (#348333, patch by William Jon McCann)
Diffstat (limited to 'src')
-rw-r--r--src/gdict-applet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gdict-applet.c b/src/gdict-applet.c
index fee1cab..2ac0a61 100644
--- a/src/gdict-applet.c
+++ b/src/gdict-applet.c
@@ -168,8 +168,8 @@ set_window_default_size (GdictApplet *applet)
gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
- width = MIN (width, monitor.width * 3 / 4);
- height = MIN (height, monitor.height * 3 / 4);
+ width = MIN (width, monitor.width * 1 / 2);
+ height = MIN (height, monitor.height * 1 / 2);
/* Set size */
gtk_widget_set_size_request (priv->frame, width, height);