mirror of https://github.com/GNOME/gimp.git
invoke the quit action instead of calling gimp_exit() so its sensitivity
2008-03-21 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-close.c (gimp_display_shell_close): invoke the quit action instead of calling gimp_exit() so its sensitivity is taken into account. svn path=/trunk/; revision=25157
This commit is contained in:
parent
f63a7153ef
commit
1db77c5a04
|
@ -1,3 +1,9 @@
|
|||
2008-03-21 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-close.c (gimp_display_shell_close):
|
||||
invoke the quit action instead of calling gimp_exit() so its
|
||||
sensitivity is taken into account.
|
||||
|
||||
2008-03-21 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Remove the toolbox menu:
|
||||
|
|
|
@ -100,7 +100,11 @@ gimp_display_shell_close (GimpDisplayShell *shell,
|
|||
}
|
||||
else
|
||||
{
|
||||
gimp_exit (shell->display->gimp, FALSE);
|
||||
/* Activate the action instead of simply calling gimp_exit(), so
|
||||
* the quit action's sensitivity is taken into account.
|
||||
*/
|
||||
gimp_ui_manager_activate_action (shell->menubar_manager,
|
||||
"file", "file-quit");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue