Merge lp:~om26er/ubuntu/oneiric/tomboy/fix-880299 into lp:ubuntu/oneiric-proposed/tomboy

Proposed by Omer Akram
Status: Merged
Merge reported by: Stéphane Graber
Merged at revision: not available
Proposed branch: lp:~om26er/ubuntu/oneiric/tomboy/fix-880299
Merge into: lp:ubuntu/oneiric-proposed/tomboy
Diff against target: 71 lines (+51/-0)
3 files modified
debian/changelog (+8/-0)
debian/patches/32_logout_delay.patch (+42/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~om26er/ubuntu/oneiric/tomboy/fix-880299
Reviewer Review Type Date Requested Status
Ubuntu Sponsors Pending
Review via email: mp+88910@code.launchpad.net

Description of the change

SRU for bug 880299

To post a comment you must log in.
Revision history for this message
Stéphane Graber (stgraber) wrote :

Uploaded to oneiric-proposed.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-10-14 09:38:21 +0000
3+++ debian/changelog 2012-01-17 18:01:27 +0000
4@@ -1,3 +1,11 @@
5+tomboy (1.8.0-1ubuntu1.2) oneiric-proposed; urgency=low
6+
7+ * debian/patches/32_logout_delay.patch:
8+ - Fix the issue where tomboy is delaying the session logout.
9+ (LP: #880299)
10+
11+ -- Omer Akram <om26er@ubuntu.com> Tue, 17 Jan 2012 22:51:08 +0500
12+
13 tomboy (1.8.0-1ubuntu1.1) oneiric-proposed; urgency=low
14
15 [ Iain Lane ]
16
17=== added file 'debian/patches/32_logout_delay.patch'
18--- debian/patches/32_logout_delay.patch 1970-01-01 00:00:00 +0000
19+++ debian/patches/32_logout_delay.patch 2012-01-17 18:01:27 +0000
20@@ -0,0 +1,42 @@
21+From 84797b9a9df3c84b329fbed946478f0171f5163c Mon Sep 17 00:00:00 2001
22+From: Jared Jennings <jjennings@src.gnome.org>
23+Date: Mon, 16 Jan 2012 16:51:04 +0000
24+Subject: Sam Lin has provided a patch to address slow Logouts
25+
26+Sam added Stop signal callback in Tomboy and it solved the issue.
27+bgo #650029
28+---
29+diff --git a/Tomboy/GnomeApplication.cs b/Tomboy/GnomeApplication.cs
30+index b076003..b2ef6f0 100644
31+--- a/Tomboy/GnomeApplication.cs
32++++ b/Tomboy/GnomeApplication.cs
33+@@ -67,6 +67,7 @@ namespace Tomboy
34+ session_client_id);
35+ client.QueryEndSession += OnQueryEndSession;
36+ client.EndSession += OnEndSession;
37++ client.Stop += OnStop;
38+ } catch (Exception e) {
39+ Logger.Debug ("Failed to register with session manager: {0}", e.Message);
40+ }
41+@@ -142,6 +143,10 @@ namespace Tomboy
42+ System.Environment.Exit (0);
43+ }
44+
45++ private void OnStop () {
46++ Exit(0);
47++ }
48++
49+ private void OnQueryEndSession (uint flags)
50+ {
51+ Logger.Info ("Received end session query");
52+@@ -175,6 +180,7 @@ namespace Tomboy
53+ } catch (Exception e) {
54+ Logger.Debug ("Failed to respond to session manager: {0}", e.Message);
55+ }
56++ Exit (0);
57+ }
58+
59+ public void OpenUrl (string url, Gdk.Screen screen)
60+--
61+cgit v0.9.0.2
62+
63
64=== modified file 'debian/patches/series'
65--- debian/patches/series 2011-10-14 09:38:21 +0000
66+++ debian/patches/series 2012-01-17 18:01:27 +0000
67@@ -8,3 +8,4 @@
68 20_remove_pcfile_requires
69 30_fix_manpage_syntax
70 31_prevent_inadvertent_deletion_of_notes.patch
71+32_logout_delay.patch

Subscribers

People subscribed via source and target branches

to all changes: