|
@@ -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
|
|