[gimp/soc-2010-cage] app: Explain gdk_window_raise() in file-open-dialog.c



commit c8d1374533a4a7a488a7556fa6a062366d7636a4
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed Jun 23 19:57:34 2010 +0200

    app: Explain gdk_window_raise() in file-open-dialog.c

 app/dialogs/file-open-dialog.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/dialogs/file-open-dialog.c b/app/dialogs/file-open-dialog.c
index 50ff60f..8cd9c0e 100644
--- a/app/dialogs/file-open-dialog.c
+++ b/app/dialogs/file-open-dialog.c
@@ -171,6 +171,9 @@ file_open_dialog_response (GtkWidget *open_dialog,
             {
               success = TRUE;
 
+              /* Make the dialog stay on top of all images we open if
+               * we open say 10 at once
+               */
               gdk_window_raise (gtk_widget_get_window (open_dialog));
             }
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]