summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-06-04 10:37:58 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-06-04 10:37:58 +0300
commitf432643980ba0710df8ddeb00e697b2b8a97dd21 (patch)
treec21c53b3231ed8949e447b8f284545bd013c0e48
parent642d3cbdd48bc5c3bb247691426de4a50cb70f71 (diff)
Fix kb nav prev
-rwxr-xr-xpolkit-efl-authentication-agent-14
1 files changed, 2 insertions, 2 deletions
diff --git a/polkit-efl-authentication-agent-1 b/polkit-efl-authentication-agent-1
index 8c4f673..4f6db54 100755
--- a/polkit-efl-authentication-agent-1
+++ b/polkit-efl-authentication-agent-1
@@ -858,7 +858,7 @@ class TrackingHoversel(Hoversel):
858 Hoversel.clear(self) 858 Hoversel.clear(self)
859 859
860 def display_item(self, item): 860 def display_item(self, item):
861 self.display_item = item 861 self.displayed_item = item
862 self.text = item.text 862 self.text = item.text
863 863
864 def display_next(self): 864 def display_next(self):
@@ -877,7 +877,7 @@ class TrackingHoversel(Hoversel):
877 if not self.items: 877 if not self.items:
878 return 878 return
879 if self.displayed_item is None: 879 if self.displayed_item is None:
880 self.displayed_item = self.items[len(self.items-1)] 880 self.displayed_item = self.items[len(self.items)-1]
881 elif len(self.items) < 2: 881 elif len(self.items) < 2:
882 return 882 return
883 else: 883 else: