[Xfce4-commits] r17963 - in	xfdesktop/trunk:	modules/menu	panel-plugin
    Brian J. Tarricone 
    bjt23 at cornell.edu
       
    Mon Oct  3 08:38:56 CEST 2005
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jasper Huijsmans wrote:
> 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.
Which won't work if xfdesktop is running and xfce4-panel isn't, no?
	-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDQNIA6XyW6VEeAnsRAkgJAJwOVSk97kc5nMzkvpHtdoc+UP0lKgCdH/X3
T4DmHrS6/8eNEIcYk2VIRCU=
=SUjN
-----END PGP SIGNATURE-----
    
    
More information about the Xfce4-dev
mailing list