[Xfce-bugs] [Bug 11730] New: Shutdown action doesn't work in the fallback mode

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Mar 20 19:12:51 CET 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11730

            Bug ID: 11730
           Summary: Shutdown action doesn't work in the fallback mode
    Classification: Xfce
           Product: Xfce4-session
           Version: 4.12.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: mikhefr at gmail.com
        QA Contact: bjt23 at cornell.edu
                CC: benny at xfce.org, nick at xfce.org

Created attachment 6101
  --> https://bugzilla.xfce.org/attachment.cgi?id=6101&action=edit
Fix 'shutdown' action in the fallback mode

The bug can be easily fixed in this way:
-  if (type == XFSM_SHUTDOWN_RESTART)
+  else if (type == XFSM_SHUTDOWN_RESTART)

but I think it would be better to use switch instead of multiple if..else.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list