mirror of https://github.com/GNOME/gimp.git
Bug 686544 - Opening new image window doesn't restore docks
Call gimp_dialog_factory_show_with_display() in gimp_display_new(), we otherwise do this only when the ICONIFIED state of an image window changes.
This commit is contained in:
parent
01eba3df27
commit
97af52c465
|
@ -34,6 +34,8 @@
|
|||
#include "core/gimpimage.h"
|
||||
#include "core/gimpprogress.h"
|
||||
|
||||
#include "widgets/gimpdialogfactory.h"
|
||||
|
||||
#include "tools/gimptool.h"
|
||||
#include "tools/tool_manager.h"
|
||||
|
||||
|
@ -453,6 +455,11 @@ gimp_display_new (Gimp *gimp,
|
|||
gimp_image_window_add_shell (window, shell);
|
||||
gimp_display_shell_present (shell);
|
||||
|
||||
/* make sure the docks are visible, in case all other image windows
|
||||
* are iconified, see bug #686544.
|
||||
*/
|
||||
gimp_dialog_factory_show_with_display (dialog_factory);
|
||||
|
||||
g_signal_connect (gimp_display_shell_get_statusbar (shell), "cancel",
|
||||
G_CALLBACK (gimp_display_progress_canceled),
|
||||
display);
|
||||
|
|
Loading…
Reference in New Issue