]> Dogcows Code - chaz/openbox/blobdiff - tools/xdg-autostart/xdg-autostart
Reuse ObFocusCyclePopupTargets when refreshing the focus cycle dialog
[chaz/openbox] / tools / xdg-autostart / xdg-autostart
index 9ea03fdf058e418bdad00ea3e546db4a2071f8a7..4a53382669443bd0dce7065899925e8c42f49a5b 100755 (executable)
@@ -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 + ")")
This page took 0.020456 seconds and 4 git commands to generate.