[Xfce4-commits] <xfce4-panel:master> Ask to start the panel if 'xfce4-panel -r' is called without instance.
Nick Schermer
noreply at xfce.org
Sat Feb 19 17:06:01 CET 2011
Updating branch refs/heads/master
to 8f1f6d76103cdc1235e5620bcfb28ca30caf84a3 (commit)
from 23da405af99391a765dedb54445008460d03894e (commit)
commit 8f1f6d76103cdc1235e5620bcfb28ca30caf84a3
Author: Nick Schermer <nick at xfce.org>
Date: Sat Feb 19 13:57:31 2011 +0100
Ask to start the panel if 'xfce4-panel -r' is called without instance.
panel/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel/main.c b/panel/main.c
index e8ae316..67ad6a2 100644
--- a/panel/main.c
+++ b/panel/main.c
@@ -397,7 +397,7 @@ dbus_return:
if (error->code == DBUS_GERROR_NAME_HAS_NO_OWNER)
{
/* normally start the panel */
- if (opt_preferences >= 0)
+ if (opt_preferences >= 0 || opt_restart)
{
g_clear_error (&error);
More information about the Xfce4-commits
mailing list