Replaced previous half-width space (ASCII 0x20) with full-width
space (' ') since it looks better (and was used in the previous
JS version).
The script seems to still be affected by #1 but only occassionally.
No idea why. Added another show_all(), we'll see what happens.
lunar['lunarMonthName'] + lunar['lunarDayName']
)
if lunar['term']:
- compact_date += ' ' + lunar['term']
- long_date += ' ' + lunar['term']
+ compact_date += ' ' + lunar['term']
+ long_date += ' ' + lunar['term']
long_date += '\n' + lunar['hour'] + '時'
self.indicator.set_icon(
)
self.indicator.set_label(compact_date, '')
self.item.set_label(long_date)
+ self.menu.show_all()
def do_nothing(self, arg):
pass