[gimp] Bug 704896 - pop ups are annoying when opening multiple files...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 704896 - pop ups are annoying when opening multiple files...
- Date: Wed, 20 Nov 2013 22:19:50 +0000 (UTC)
commit 4fb7fc918ab6f42c31894ffca5f5f80b756d5609
Author: Michael Natterer <mitch gimp org>
Date: Wed Nov 20 23:17:40 2013 +0100
Bug 704896 - pop ups are annoying when opening multiple files...
...from the command line on some platforms/window managers
file_open_from_command_line(): display the progress in the active
display if there is no empty display. This way the progress appears in
the display that was opened from the previous command line argument.
app/file/file-open.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/file/file-open.c b/app/file/file-open.c
index 6517b4a..f0d0376 100644
--- a/app/file/file-open.c
+++ b/app/file/file-open.c
@@ -615,6 +615,10 @@ file_open_from_command_line (Gimp *gimp,
GimpObject *display = gimp_get_empty_display (gimp);
GimpPDBStatusType status;
+ /* show the progress in the last opened display, see bug #704896 */
+ if (! display)
+ display = gimp_context_get_display (gimp_get_user_context (gimp));
+
if (display)
g_object_add_weak_pointer (G_OBJECT (display), (gpointer) &display);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]