Mercurial > geeqie.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
1028:1f4781992561 | 1029:1a4b18c58556 |
---|---|
2575 | 2575 |
2576 sd->window = window_new(GTK_WINDOW_TOPLEVEL, "search", NULL, NULL, _("Image search")); | 2576 sd->window = window_new(GTK_WINDOW_TOPLEVEL, "search", NULL, NULL, _("Image search")); |
2577 | 2577 |
2578 gtk_window_set_resizable(GTK_WINDOW(sd->window), TRUE); | 2578 gtk_window_set_resizable(GTK_WINDOW(sd->window), TRUE); |
2579 | 2579 |
2580 geometry.min_width = 32; | 2580 geometry.min_width = DEFAULT_MINIMAL_WINDOW_SIZE; |
2581 geometry.min_height = 32; | 2581 geometry.min_height = DEFAULT_MINIMAL_WINDOW_SIZE; |
2582 geometry.base_width = DEF_SEARCH_WIDTH; | 2582 geometry.base_width = DEF_SEARCH_WIDTH; |
2583 geometry.base_height = DEF_SEARCH_HEIGHT; | 2583 geometry.base_height = DEF_SEARCH_HEIGHT; |
2584 gtk_window_set_geometry_hints(GTK_WINDOW(sd->window), NULL, &geometry, | 2584 gtk_window_set_geometry_hints(GTK_WINDOW(sd->window), NULL, &geometry, |
2585 GDK_HINT_MIN_SIZE | GDK_HINT_BASE_SIZE); | 2585 GDK_HINT_MIN_SIZE | GDK_HINT_BASE_SIZE); |
2586 | 2586 |