[Xfce4-commits] r17963 - in xfdesktop/trunk: modules/menu panel-plugin

Jasper Huijsmans jasper at xfce.org
Mon Oct 3 08:27:46 CEST 2005


Brian Tarricone schreef:
...
> +            if(!g_getenv("SESSION_MANAGER")) {
> +                xfce_message_dialog(NULL, _("Xfce Menu"),
> +                                    GTK_STOCK_DIALOG_ERROR,
> +                                    _("Unable to quit session."),
> +                                    _("Quitting the session requires that Xfce's session manager (xfce4-session) is running, but it was not detected.  Please quit Xfce via another means."),
> +                                    GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
> +                                    NULL);

You could also call 'xfce4-panel -q', instead.




More information about the Xfce4-dev mailing list