Your message dated Tue, 20 Dec 2011 15:34:27 +0000
with message-id <[email protected]>
and subject line Bug#651842: fixed in xfce4-session 4.8.2-2
has caused the Debian Bug report #651842,
regarding xfce4-session: always save the session during restart/logout
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
651842: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651842
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xfce4-session
Version: 4.8.2-1
Severity: normal
Dear Maintainer,
The session are always saved. Ubuntu has a patch for this issue.
See here for more information:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/831772
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xfce4-session depends on:
ii libatk1.0-0 2.2.0-2
ii libc6 2.13-21
ii libcairo2 1.10.2-6.1
ii libdbus-1-3 1.4.16-1
ii libdbus-glib-1-2 0.98-1
ii libfontconfig1 2.8.0-3
ii libfreetype6 2.4.8-1
ii libgdk-pixbuf2.0-0 2.24.0-1
ii libglib2.0-0 2.30.2-4
ii libgtk2.0-0 2.24.8-2
ii libice6 2:1.0.7-2
ii libpango1.0-0 1.29.4-2
ii libsm6 2:1.2.0-2
ii libwnck22 2.30.7-1
ii libx11-6 2:1.4.4-4
ii libxfce4ui-1-0 4.8.0-3
ii libxfce4util4 4.8.2-1
ii libxfconf-0-2 4.8.0-3
ii xfce4-settings 4.8.3-1
ii xfconf 4.8.0-3
Versions of packages xfce4-session recommends:
ii consolekit 0.4.5-1
ii dbus-x11 1.4.16-1
ii upower 0.9.14-3
ii x11-xserver-utils 7.6+3
ii xfce4-panel 4.8.6-1
ii xfce4-utils 4.8.3-1
ii xfdesktop4 4.8.3-1
ii xfwm4 4.8.2-1
Versions of packages xfce4-session suggests:
ii fortunes-mod <none>
ii sudo 1.8.3p1-2
-- no debconf information
>From d7311f2dcedd96f5833acceb27f9d17275893e1e Mon Sep 17 00:00:00 2001
From: Lionel Le Folgoc <[email protected]>
Date: Thu, 25 Aug 2011 14:22:24 +0200
Subject: Do not always save session with xfce4-logout-plugin (Bug #7915)
Respect the value of the "/general/SaveOnExit" option from xfce4-session in the
logout panel plugin as well.
---
panel-plugin/Makefile.am | 2 ++
panel-plugin/xfsm-logout-plugin.c | 14 +++++++++++++-
2 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 0675e2e..fd0609b 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -18,6 +18,7 @@ libxfsm_logout_plugin_la_SOURCES = \
libxfsm_logout_plugin_la_CFLAGS = \
$(LIBX11_CFLAGS) \
$(LIBXFCE4PANEL_CFLAGS) \
+ $(XFCONF_CFLAGS) \
$(LIBXFCE4UTIL_CFLAGS) \
$(LIBXFCE4UI_CFLAGS) \
$(GTK_CFLAGS) \
@@ -26,6 +27,7 @@ libxfsm_logout_plugin_la_CFLAGS = \
libxfsm_logout_plugin_la_LIBADD = \
$(LIBX11_LIBS) \
$(LIBXFCE4PANEL_LIBS) \
+ $(XFCONF_LIBS) \
$(LIBXFCE4UTIL_LIBS) \
$(LIBXFCE4UI_LIBS) \
$(GTK_LIBS) \
diff --git a/panel-plugin/xfsm-logout-plugin.c
b/panel-plugin/xfsm-logout-plugin.c
index b8e25ab..12dec0f 100644
--- a/panel-plugin/xfsm-logout-plugin.c
+++ b/panel-plugin/xfsm-logout-plugin.c
@@ -43,6 +43,7 @@
#include <libxfce4util/libxfce4util.h>
#include <libxfce4ui/libxfce4ui.h>
+#include <xfconf/xfconf.h>
#include <libxfce4panel/libxfce4panel.h>
#include "xfsm-logout-plugin-ui.h"
@@ -207,12 +208,23 @@ static void
xfsm_logout_plugin_show_confirmation_dialog(XfsmLogoutPlugin *logout_plugin,
XfsmShutdownType type)
{
+ GError *error = NULL;
+ XfconfChannel *channel;
gint resp = GTK_RESPONSE_ACCEPT;
g_return_if_fail(logout_plugin != NULL);
g_return_if_fail(type >= XFSM_SHUTDOWN_LOGOUT && type <=
XFSM_SHUTDOWN_HIBERNATE);
- logout_plugin->allow_save = TRUE;
+ if (G_UNLIKELY (!xfconf_init (&error))) {
+ g_warning ("Unable to contact settings server: %s", error->message);
+ g_error_free (error);
+ logout_plugin->allow_save = TRUE;
+ }
+ else {
+ channel = xfconf_channel_get ("xfce4-session");
+ logout_plugin->allow_save = xfconf_channel_get_bool (channel,
"/general/SaveOnExit", TRUE);
+ xfconf_shutdown ();
+ }
if(type != XFSM_SHUTDOWN_SUSPEND && type != XFSM_SHUTDOWN_HIBERNATE) {
GtkWidget *dialog, *topvbox, *hbox, *image, *label;
--
1.7.2.5
--- End Message ---
--- Begin Message ---
Source: xfce4-session
Source-Version: 4.8.2-2
We believe that the bug you reported is fixed in the latest version of
xfce4-session, which is due to be installed in the Debian FTP archive:
xfce4-session-dbg_4.8.2-2_amd64.deb
to main/x/xfce4-session/xfce4-session-dbg_4.8.2-2_amd64.deb
xfce4-session_4.8.2-2.debian.tar.gz
to main/x/xfce4-session/xfce4-session_4.8.2-2.debian.tar.gz
xfce4-session_4.8.2-2.dsc
to main/x/xfce4-session/xfce4-session_4.8.2-2.dsc
xfce4-session_4.8.2-2_amd64.deb
to main/x/xfce4-session/xfce4-session_4.8.2-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yves-Alexis Perez <[email protected]> (supplier of updated xfce4-session
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 20 Dec 2011 15:51:07 +0100
Source: xfce4-session
Binary: xfce4-session xfce4-session-dbg
Architecture: source amd64
Version: 4.8.2-2
Distribution: unstable
Urgency: low
Maintainer: Debian Xfce Maintainers <[email protected]>
Changed-By: Yves-Alexis Perez <[email protected]>
Description:
xfce4-session - Xfce4 Session Manager
xfce4-session-dbg - Xfce4 Session Manager (debug symbols)
Closes: 651842
Changes:
xfce4-session (4.8.2-2) unstable; urgency=low
.
[ Yves-Alexis Perez ]
* debian/patches:
- 04_fix-missing-lm refreshed (cherry-pick the upstream one).
.
[ Lionel Le Folgoc ]
* debian/patches:
- 03_respect-save-settings-logout-plugin.patch: added, let the logout panel
plugin respect the '/general/SaveOnExit' xfconf key. closes: #651842
- 04_fix-missing-lm.patch: fix to apply cleanly (configure.in.in doesn't
exist).
- series: updated.
Checksums-Sha1:
8dfa8e30100e9a69e5d8427f4af5a176f2e1efb7 2384 xfce4-session_4.8.2-2.dsc
87dbf28c555183ab702f2f9e96270f3b4708e4c8 13488
xfce4-session_4.8.2-2.debian.tar.gz
ab93fa2a5a80a8d0c289f037d88ebe404f3038c5 1329034
xfce4-session_4.8.2-2_amd64.deb
574aae91aaa80305b6c43e2d467de180475160e9 456284
xfce4-session-dbg_4.8.2-2_amd64.deb
Checksums-Sha256:
7a405f18e14794e528b30c4a462e004ef47342752d4819d3dc0a6faedf6ec33c 2384
xfce4-session_4.8.2-2.dsc
fe0b8cb7384c0373850d47070088b796277d9b82b70a071610b6397238dd609e 13488
xfce4-session_4.8.2-2.debian.tar.gz
b8bfb733690890034e1a3afcadf1d3cad6c80dccd7d8c75a599be8eefcd4e52a 1329034
xfce4-session_4.8.2-2_amd64.deb
f07d875b641022e97c58fc5ebb8b1f6bb0179d92663aa1773883aadec42424eb 456284
xfce4-session-dbg_4.8.2-2_amd64.deb
Files:
a7031a7b7ac86becf7b3dc5df902b7db 2384 xfce optional xfce4-session_4.8.2-2.dsc
347f02695381f9c7f7f2ac430fc891ca 13488 xfce optional
xfce4-session_4.8.2-2.debian.tar.gz
148d23c863ed30ab18c5f371623326a1 1329034 xfce optional
xfce4-session_4.8.2-2_amd64.deb
fab1631cd9b442dffd13a229bc460e74 456284 debug extra
xfce4-session-dbg_4.8.2-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCgAGBQJO8KFpAAoJEDBVD3hx7wuowhkP/iA9BsgTIUmTJdM/smp3NJAJ
Whmcja5ry+GJdCg2jdv54QkxBPP4KBxb92Grx7Xws+IyagcUei0mQUYt/UvqRDrt
D1arv7CQ87v0eVh4fo2yvdB1jQ24uFhzeKmmfODefums36CJmUSwsKI7YzqVI/W7
tFqifTBjmOXVm71+n1+PKAymlABMjD8rZbdC5H8Rm/XMjKLwz5NzRnkjjaUeaZij
vB5DSlb+zFW5PkrwTQ1fZcK7R6xr+uSWDfu5FjSsv7hW6ZDBd22auSfiwZPjGK0F
UAf48aBI55oMnjz1QHRbCZYsCP7lWzLWWrsFhMN1r/70WQQb4RSIkIKsGg7TTV86
rMKeysR8ha/EGdiNUm0FT2D4HdkCOh+JkMqBzobKci4DPJjgjDw4G9o0REKeDkZy
PIEoemz0mhLVPXTlqQj1zd4L6EhBZsUHlrXGJvMHh5CIVcZ7uGJ7WV/eDXKVUzlI
eLGWsY6G6wjFOZM5WEnT+hr3y+wL9uF8QWuc8pvSjpMAwvWQvFyHdBzsnnVkcJHh
qfLYR+fcxNkoOQZHOMNrMbkUU40a9aHsgA4Jq3yZvvl0nPwN+zYSSCmnrMN99g7z
B4rrU0k3qN848roGVX54B4KckQ1YiZw9xBs93C1fhKiH3D07DHwcR3vOHbGeRb6g
YODy4TWDIO6nb6IBZXXa
=BVqJ
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel