A week view clock for the gnome-shell panel
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
You need to remove your timeout in disable() (use Mainloop.source_remove, with the value returned from Mainloop.timeout_add()). Also, you probably want to use GnomeDesktop.WallClock, since that uses timerfd (so it works across hibernation/suspend but doesn't wake up every second) and it respects GSettings preferences for am-pm and date format. Plus translations too!