Mercurial > geeqie
comparison src/pan-view.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 | 77ca9a5d42be |
comparison
equal
deleted
inserted
replaced
1028:1f4781992561 | 1029:1a4b18c58556 |
---|---|
2375 pw->overlay_id = -1; | 2375 pw->overlay_id = -1; |
2376 pw->idle_id = -1; | 2376 pw->idle_id = -1; |
2377 | 2377 |
2378 pw->window = window_new(GTK_WINDOW_TOPLEVEL, "panview", NULL, NULL, _("Pan View")); | 2378 pw->window = window_new(GTK_WINDOW_TOPLEVEL, "panview", NULL, NULL, _("Pan View")); |
2379 | 2379 |
2380 geometry.min_width = 8; | 2380 geometry.min_width = DEFAULT_MINIMAL_WINDOW_SIZE; |
2381 geometry.min_height = 8; | 2381 geometry.min_height = DEFAULT_MINIMAL_WINDOW_SIZE; |
2382 gtk_window_set_geometry_hints(GTK_WINDOW(pw->window), NULL, &geometry, GDK_HINT_MIN_SIZE); | 2382 gtk_window_set_geometry_hints(GTK_WINDOW(pw->window), NULL, &geometry, GDK_HINT_MIN_SIZE); |
2383 | 2383 |
2384 gtk_window_set_resizable(GTK_WINDOW(pw->window), TRUE); | 2384 gtk_window_set_resizable(GTK_WINDOW(pw->window), TRUE); |
2385 gtk_container_set_border_width(GTK_CONTAINER(pw->window), 0); | 2385 gtk_container_set_border_width(GTK_CONTAINER(pw->window), 0); |
2386 | 2386 |