mirror of https://github.com/GNOME/gimp.git
if called with (ensure_visibility == TRUE), raise the toolbox. Fixes bug
2005-01-09 Sven Neumann <sven@gimp.org> * app/widgets/gimpdialogfactory.c (gimp_dialog_factories_toggle): if called with (ensure_visibility == TRUE), raise the toolbox. Fixes bug #163381.
This commit is contained in:
parent
b7e646fc8f
commit
f571ceebec
|
@ -1,3 +1,9 @@
|
||||||
|
2005-01-09 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/widgets/gimpdialogfactory.c (gimp_dialog_factories_toggle):
|
||||||
|
if called with (ensure_visibility == TRUE), raise the toolbox.
|
||||||
|
Fixes bug #163381.
|
||||||
|
|
||||||
2005-01-08 DindinX <dindinx@gimp.org>
|
2005-01-08 DindinX <dindinx@gimp.org>
|
||||||
|
|
||||||
* plug-ins/common/mosaic.c: made the preview fast enough to be useful.
|
* plug-ins/common/mosaic.c: made the preview fast enough to be useful.
|
||||||
|
|
|
@ -1082,7 +1082,17 @@ gimp_dialog_factories_toggle (GimpDialogFactory *toolbox_factory,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (ensure_visibility && toggle_state != GIMP_DIALOG_HIDE_ALL)
|
if (ensure_visibility && toggle_state != GIMP_DIALOG_HIDE_ALL)
|
||||||
|
{
|
||||||
|
GList *list;
|
||||||
|
|
||||||
|
for (list = toolbox_factory->open_dialogs; list; list = list->next)
|
||||||
|
{
|
||||||
|
if (GTK_IS_WIDGET (list->data) && GTK_WIDGET_TOPLEVEL (list->data))
|
||||||
|
gtk_window_present (GTK_WINDOW (list->data));
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
doing_update = TRUE;
|
doing_update = TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue