diff src/search.c @ 1029:1a4b18c58556

Use a constant for minimal window size. Set it to 32 for all dialogs.
author zas_
date Mon, 01 Sep 2008 17:29:07 +0000
parents 9962b24b6b43
children 1646720364cf
line wrap: on
line diff
--- a/src/search.c	Mon Sep 01 17:22:19 2008 +0000
+++ b/src/search.c	Mon Sep 01 17:29:07 2008 +0000
@@ -2577,8 +2577,8 @@
 
 	gtk_window_set_resizable(GTK_WINDOW(sd->window), TRUE);
 
-	geometry.min_width = 32;
-	geometry.min_height = 32;
+	geometry.min_width = DEFAULT_MINIMAL_WINDOW_SIZE;
+	geometry.min_height = DEFAULT_MINIMAL_WINDOW_SIZE;
 	geometry.base_width = DEF_SEARCH_WIDTH;
 	geometry.base_height = DEF_SEARCH_HEIGHT;
 	gtk_window_set_geometry_hints(GTK_WINDOW(sd->window), NULL, &geometry,