don't try and gdk_window_get_size() when we haven't been realised yet.
Sat Jan 23 20:36:06 GMT 1999 Austin Donnelly <austin@gimp.org> * app/color_select.c: don't try and gdk_window_get_size() when we haven't been realised yet. * app/gimpset.[ch]: allow the use of GTK_TYPE_NONE for storing sets of things that aren't GTK_OBJECTs. Set can also emit new signal "member_modified" when gimp_set_member_modified (set, ob) is called. * app/layers_dialog.c: show main dialog shell last, to avoid ugly window manager interaction. * app/module_db.c: can now handle not having any modules at all without segfaulting, plus proper updates on changes. Also now has refresh button to re-scan the filesystem for modules. * modules/colorsel_triangle.c: added module_unload() function. Still needs someone to spruce up the UI. Volunteers? * plug-ins/script-fu/scripts/select_to_image.scm: create display for newly duplicated image, otherwise you don't see anything.
This commit is contained in:
committed by
Austin Donnelly
parent
176ea8da52
commit
d40b66ac1d
@ -373,9 +373,6 @@ lc_dialog_create (GimpImage* gimage)
|
||||
|
||||
gtk_widget_show (notebook);
|
||||
|
||||
gtk_widget_show (lc_shell);
|
||||
gtk_widget_show (lc_subshell);
|
||||
|
||||
gtk_container_border_width (GTK_CONTAINER (GTK_DIALOG(lc_shell)->action_area), 1);
|
||||
/* The close button */
|
||||
button = gtk_button_new_with_label (_("Close"));
|
||||
@ -407,6 +404,10 @@ lc_dialog_create (GimpImage* gimage)
|
||||
|
||||
layers_dialog_update (gimage);
|
||||
channels_dialog_update (gimage);
|
||||
|
||||
gtk_widget_show (lc_subshell);
|
||||
gtk_widget_show (lc_shell);
|
||||
|
||||
gdisplays_flush ();
|
||||
}
|
||||
else
|
||||
@ -894,7 +895,7 @@ layers_dialog_update (GimpImage* gimage)
|
||||
if (item_list)
|
||||
gtk_list_insert_items (GTK_LIST (layersD->layer_list), item_list, 0);
|
||||
|
||||
gtk_signal_connect (GIMP_OBJECT (gimage),
|
||||
gtk_signal_connect (GTK_OBJECT (gimage),
|
||||
"destroy",
|
||||
GTK_SIGNAL_FUNC (lc_dialog_update_cb),
|
||||
NULL);
|
||||
|
||||
Reference in New Issue
Block a user