Ver código fonte

fixed clic for new i3pystatus version

master
Robin Thoni 9 anos atrás
pai
commit
1b3816d51d

BIN
i3/status/i3status/__pycache__/change_i3pystatus.cpython-34.pyc Ver arquivo


+ 5
- 4
i3/status/i3status/change_i3pystatus.py Ver arquivo

@@ -82,9 +82,10 @@ def change_clock():
82 82
     def display_calendar_ignore(s):
83 83
         display_calendar(False, s)
84 84
 
85
-    Clock.display_calendar = display_calendar_quit
86
-    Clock.on_leftclick = display_calendar_quit
87
-    Clock.on_rightclick = display_calendar_ignore
85
+    Clock.display_calendar_quit = display_calendar_quit
86
+    Clock.display_calendar_ignore = display_calendar_ignore
87
+    Clock.on_leftclick = "display_calendar_quit"
88
+    Clock.on_rightclick = "display_calendar_ignore"
88 89
 
89 90
 
90 91
 ###############################################################################
@@ -102,7 +103,7 @@ def change_network():
102 103
     # We add the correct settings and we init everything properly
103 104
     Network.format_up_hide = Network.format_up
104 105
     Network.format_down_hide = Network.format_down
105
-    Network.on_leftclick = switch_hide
106
+    Network.on_leftclick = "switch_hide"
106 107
     Network.settings += (("format_down_hide", ""),)
107 108
     Network.settings += (("format_up_hide", ""),)
108 109
 

Carregando…
Cancelar
Salvar