Re: [Patch] apps-menu



> That's no big problem, sawfish does already check for the DE on startup, see
> this code from defaults.jl:
> 
> (unless batch-mode
> 
> ;; if it looks like GNOME is the desktop environment, then load the
> ;; extra GNOME integration module
>   (if (getenv "GNOME_DESKTOP_SESSION_ID")
>       (require 'sawfish.wm.integration.gnome)
> 
> ;; if it looks like KDE is the desktop environment, then load the
> ;; extra KDE integration module
>   (if (getenv "KDE_SESSION_VERSION")
>       (require 'sawfish.wm.integration.kde))))
> 
> So you should add some defvar to sawfish.wm.integration.[gnome|kde] ... though I'm not
> yet sure which file is read first defaults.jl or apps{-,}menu.jl. Ahh, checks are for
> GNOME 2x and KDE 4x. KDE 3x might have different envvar, but we don't have an
> integration module for it.
> 
> Chris

Besides, I'll add an XFCE integration-module to 1.7.0

Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]