Hello community, here is the log from the commit of package tomboy for openSUSE:Factory checked in at 2012-01-24 12:23:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tomboy (Old) and /work/SRC/openSUSE:Factory/.tomboy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "tomboy", Maintainer is "gnome-maintainers@suse.de" Changes: -------- --- /work/SRC/openSUSE:Factory/tomboy/tomboy.changes 2012-01-09 15:22:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.tomboy.new/tomboy.changes 2012-01-24 12:23:16.000000000 +0100 @@ -1,0 +2,6 @@ +Sun Jan 8 23:53:23 UTC 2012 - vsteenhoute@novell.com + +- Add tomboy-exit-on-stop.patch: fix exit on stop signal of session + manager (bgo#650029, bnc#732873) + +------------------------------------------------------------------- New: ---- tomboy-exit-on-stop.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tomboy.spec ++++++ --- /var/tmp/diff_new_pack.PsikeU/_old 2012-01-24 12:23:17.000000000 +0100 +++ /var/tmp/diff_new_pack.PsikeU/_new 2012-01-24 12:23:17.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package tomboy # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - %define build_applet 0 Name: tomboy @@ -26,6 +25,8 @@ Group: Productivity/Office/Other Url: http://projects.gnome.org/tomboy/ Source: http://download.gnome.org/sources/tomboy/1.9/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM bgo#650029 bnc#732873 tomboy-exit-on-stop.patch vsteenhoute@novell.com -- Fix exit on stop signal of session manager +Patch0: tomboy-exit-on-stop.patch BuildRequires: dbus-1-x11 BuildRequires: dbus-sharp-devel BuildRequires: dbus-sharp-glib-devel @@ -72,6 +73,7 @@ %lang_package %prep %setup -q +%patch0 -p1 translation-update-upstream %build ++++++ tomboy-exit-on-stop.patch ++++++ --- tomboy-1.8.0/Tomboy/GnomeApplication.cs 2011-07-05 09:10:30.000000000 +0800 +++ tomboy-1.8.0.new/Tomboy/GnomeApplication.cs 2012-01-08 09:06:59.664797755 +0800 @@ -67,6 +67,7 @@ session_client_id); client.QueryEndSession += OnQueryEndSession; client.EndSession += OnEndSession; + client.Stop += OnStop; } catch (Exception e) { Logger.Debug ("Failed to register with session manager: {0}", e.Message); } @@ -142,6 +143,10 @@ System.Environment.Exit (0); } + private void OnStop () { + Exit(0); + } + private void OnQueryEndSession (uint flags) { Logger.Info ("Received end session query"); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org