[gnome-power-manager] Terminate gnome-power-statistics when closing the window
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Terminate gnome-power-statistics when closing the window
- Date: Mon, 10 Sep 2012 09:21:06 +0000 (UTC)
commit 5093dbdc5df0b62550219509483a31dda73b6033
Author: Martin Pitt <martinpitt gnome org>
Date: Mon Sep 10 11:20:05 2012 +0200
Terminate gnome-power-statistics when closing the window
Otherwise gnome-power-statistics keeps running, and when trying to open it
again you just get an empty window.
Thanks to Tim Rawlinson for the fix!
https://bugzilla.gnome.org/show_bug.cgi?id=674395
src/gpm-statistics.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index 3f7c1c9..b686ad4 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -1818,7 +1818,7 @@ static gboolean
gpm_stats_delete_event_cb (GtkWidget *widget, GdkEvent *event, GtkApplication *application)
{
g_application_release (G_APPLICATION (application));
- return FALSE;
+ return TRUE;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]