Implement KDE and LXDE detection
This commit is contained in:
parent
36102a12a4
commit
3a6e61604b
|
|
@ -295,6 +295,10 @@ Oneshot::Oneshot(RGSSThreadData &threadData) :
|
|||
gtk_init(0, 0);
|
||||
} else if (desktop.find("xfce") != std::string::npos) {
|
||||
desktopEnv = "xfce";
|
||||
} else if (desktop.find("kde") != std::string::npos) {
|
||||
desktopEnv = "kde";
|
||||
} else if (desktop.find("lxde") != std::string::npos) {
|
||||
desktopEnv = "lxde";
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue