X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tools%2Fxdg-autostart%2Fxdg-autostart;h=4a53382669443bd0dce7065899925e8c42f49a5b;hb=b8e994e837d260860a4dc0a1ee3a680e2cdfc75a;hp=9ea03fdf058e418bdad00ea3e546db4a2071f8a7;hpb=f1cf7fa339d74d99c40105c8e2552c478267f064;p=chaz%2Fopenbox diff --git a/tools/xdg-autostart/xdg-autostart b/tools/xdg-autostart/xdg-autostart index 9ea03fdf..4a533826 100755 --- a/tools/xdg-autostart/xdg-autostart +++ b/tools/xdg-autostart/xdg-autostart @@ -80,7 +80,7 @@ class AutostartFile: def __str__(self): return self.path + " : " + self.de.getName() - def _isexecfile(path): + def _isexecfile(self, path): return os.access(path, os.X_OK) def _findFile(self, path, search, match_func): @@ -121,7 +121,7 @@ class AutostartFile: self._alert("Excluded by: OnlyShowIn (" + s + ")") if default and noshow and not force: s = "" - for i in self.de.getOnlyShowIn(): + for i in self.de.getNotShowIn(): if s: s += ", " s += i self._alert("Excluded by: NotShowIn (" + s + ")")