[nautilus] application: add the desktop windows to the application window list
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] application: add the desktop windows to the application window list
- Date: Sat, 30 Oct 2010 15:22:35 +0000 (UTC)
commit e297d4108760e701b3cd276e9d4612b1933efee0
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Oct 27 15:05:59 2010 +0200
application: add the desktop windows to the application window list
So that we don't quit immediately when we close the browser window.
src/nautilus-application.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 7217768..2ae3732 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -766,9 +766,11 @@ nautilus_application_create_desktop_windows (NautilusApplication *application)
gtk_widget_realize (GTK_WIDGET (window));
gdk_flush ();
-
nautilus_application_desktop_windows =
g_list_prepend (nautilus_application_desktop_windows, window);
+
+ gtk_application_add_window (GTK_APPLICATION (application),
+ GTK_WINDOW (window));
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]