updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / oblogout / patch
blob7dda2e0c81cdbcff3463d374d545efa6ac96a424
1 --- oblogout/__init__.py        2009-04-13 16:48:11.000000000 -0400
2 +++ da/oblogout/__init__.py     2010-10-19 14:38:29.000000000 -0300
3 @@ -222,8 +222,8 @@ class OpenboxLogout():
4          if self.parser.has_section("commands"):
5              for key in self.parser.items("commands"):
6                  self.logger.debug("Setting cmd_%s as %s" % (key[0], key[1]))
7 -                if key[1] in ['logout', 'restart', 'shutdown', 'suspend', 'hibernate', 'safesuspend', 'lock', 'switch']:
8 -                    if key[1]: setattr(self, "cmd_" + key[0], key[1])
9 +                if key[0] in ['logout', 'restart', 'shutdown', 'suspend', 'hibernate', 'safesuspend', 'lock', 'switch']:
10 +                    if key[0]: setattr(self, "cmd_" + key[0], key[1])
12          # Load theme information from local directory if local mode is set
13          if self.local_mode: