xfce4-session/xfce4-session-4.8.0-fix-error-popup-on-session-menu-item.patch
Guido Berhoerster 4eb22ad6d3 - added xfce4-session-4.8.0-fix-fast-cli-option.patch which fixes
the use of the --fast cli option with other options
- added
  xfce4-session-4.8.0-fix-error-popup-on-session-menu-item.patch
  which fixes the error popup when clicking a session menu item
- added xfce4-session-4.8.0-do-not-fall-back-to-system-icons.patch
  in order to prevent visual inconsistencies in the logout dialog

OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-session?expand=0&rev=51
2011-02-03 19:12:39 +00:00

22 lines
863 B
Diff

From 09b7748d189468bebd5b48950b9d6ee4cac0f93d Mon Sep 17 00:00:00 2001
From: Lionel Le Folgoc <mrpouit@gmail.com>
Date: Wed, 02 Feb 2011 16:28:01 +0000
Subject: Fix error pop up when clicking session menu item (bug #7123).
---
diff --git a/panel-plugin/xfsm-logout-plugin.c b/panel-plugin/xfsm-logout-plugin.c
index fe01709..5259684 100644
--- a/panel-plugin/xfsm-logout-plugin.c
+++ b/panel-plugin/xfsm-logout-plugin.c
@@ -174,7 +174,7 @@ xfsm_logout_plugin_do_dbus_call(XfsmLogoutPlugin *logout_plugin,
ret = dbus_g_proxy_call(proxy, "Shutdown", error,
G_TYPE_UINT, type,
G_TYPE_BOOLEAN, logout_plugin->allow_save,
- G_TYPE_INVALID);
+ G_TYPE_INVALID, G_TYPE_INVALID);
g_object_unref(G_OBJECT(proxy));
return ret;
--
cgit v0.8.3.4