[Xfce4-commits] <xfce4-panel:xfce-4.8> Ask to start the panel if 'xfce4-panel -r' is called without instance.

Nick Schermer noreply at xfce.org
Fri Feb 25 21:08:05 CET 2011


Updating branch refs/heads/xfce-4.8
         to 94a7d4a3471f1833348041a559f7eeb485d0580d (commit)
       from 24c8f6d9d3a3cafae14daea81d504998a9ebccdf (commit)

commit 94a7d4a3471f1833348041a559f7eeb485d0580d
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