[gnome-software/wip/temp/ubuntu-xenial-rebased: 123/326] Revert "Quit when the main window is closed"
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 123/326] Revert "Quit when the main window is closed"
- Date: Fri, 29 Apr 2016 09:57:40 +0000 (UTC)
commit 180e7d58c1c107e9f7cd497dc2b7e9357b40f9cf
Author: William Hua <william hua canonical com>
Date: Tue Mar 1 17:21:10 2016 -0500
Revert "Quit when the main window is closed"
This reverts commit fdce1e5da1b0a4cf067e7cf621539ee402b1ba6c.
src/gs-shell.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index 75a0e2f..73319a8 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -674,13 +674,6 @@ gs_shell_monitor_permission (GsShell *shell)
G_CALLBACK (on_permission_changed), shell);
}
-static void
-gs_shell_main_window_hidden_cb (GtkWidget *widget,
- gpointer user_data)
-{
- g_action_group_activate_action (G_ACTION_GROUP (g_application_get_default ()), "quit", NULL);
-}
-
/**
* gs_shell_setup:
*/
@@ -702,8 +695,6 @@ gs_shell_setup (GsShell *shell, GsPluginLoader *plugin_loader, GCancellable *can
/* get UI */
priv->builder = gtk_builder_new_from_resource ("/org/gnome/Software/gnome-software.ui");
priv->main_window = GTK_WINDOW (gtk_builder_get_object (priv->builder, "window_software"));
- g_signal_connect (priv->main_window, "hide",
- G_CALLBACK (gs_shell_main_window_hidden_cb), shell);
g_signal_connect (priv->main_window, "map",
G_CALLBACK (gs_shell_main_window_mapped_cb), shell);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]