Browse Source

fixed clic for new i3pystatus version

master
Robin Thoni 9 years ago
parent
commit
1b3816d51d

BIN
i3/status/i3status/__pycache__/change_i3pystatus.cpython-34.pyc View File


+ 5
- 4
i3/status/i3status/change_i3pystatus.py View File

82
     def display_calendar_ignore(s):
82
     def display_calendar_ignore(s):
83
         display_calendar(False, s)
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
     # We add the correct settings and we init everything properly
103
     # We add the correct settings and we init everything properly
103
     Network.format_up_hide = Network.format_up
104
     Network.format_up_hide = Network.format_up
104
     Network.format_down_hide = Network.format_down
105
     Network.format_down_hide = Network.format_down
105
-    Network.on_leftclick = switch_hide
106
+    Network.on_leftclick = "switch_hide"
106
     Network.settings += (("format_down_hide", ""),)
107
     Network.settings += (("format_down_hide", ""),)
107
     Network.settings += (("format_up_hide", ""),)
108
     Network.settings += (("format_up_hide", ""),)
108
 
109
 

Loading…
Cancel
Save