display the NotShowIn stuff correctly
authorDana Jansens <danakj@orodu.net>
Sun, 2 Mar 2008 16:41:08 +0000 (11:41 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 2 Mar 2008 16:41:08 +0000 (11:41 -0500)
tools/xdg-autostart/xdg-autostart

index 9ea03fd..64f26dc 100755 (executable)
@@ -121,7 +121,7 @@ class AutostartFile:
                 self._alert("Excluded by: OnlyShowIn (" + s + ")")
             if default and noshow and not force:
                 s = ""
                 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 + ")")
                     if s: s += ", "
                     s += i
                 self._alert("Excluded by: NotShowIn (" + s + ")")