comparison src/ui_utildlg.c @ 1807:3a2aff957816

Allow scrollview to grow when generic dialog is resized (ie. Metadata write ? dialog). Do not force scrollbar if not needed.
author zas_
date Sat, 27 Feb 2010 23:31:07 +0000
parents 956aab097ea7
children c416d099a3dc
comparison
equal deleted inserted replaced
1806:022456247824 1807:3a2aff957816
176 { 176 {
177 GtkWidget *hbox; 177 GtkWidget *hbox;
178 GtkWidget *vbox; 178 GtkWidget *vbox;
179 GtkWidget *label; 179 GtkWidget *label;
180 180
181 hbox = pref_box_new(gd->vbox, FALSE, GTK_ORIENTATION_HORIZONTAL, PREF_PAD_SPACE); 181 hbox = pref_box_new(gd->vbox, TRUE, GTK_ORIENTATION_HORIZONTAL, PREF_PAD_SPACE);
182 if (icon_stock_id) 182 if (icon_stock_id)
183 { 183 {
184 GtkWidget *image; 184 GtkWidget *image;
185 185
186 image = gtk_image_new_from_stock(icon_stock_id, GTK_ICON_SIZE_DIALOG); 186 image = gtk_image_new_from_stock(icon_stock_id, GTK_ICON_SIZE_DIALOG);