diff options
| author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-04-02 21:00:52 +0200 |
|---|---|---|
| committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-04-02 21:00:52 +0200 |
| commit | dea55fa3e757dd8e99594c4b19745af33bef73d6 (patch) | |
| tree | 56501d335f5e0dbf716388b21cb08df398f0943d /shell/clock.h | |
| parent | e41c9cacbd620d5cd94381a38b7e034c89055a6c (diff) | |
| download | graynard-dea55fa3e757dd8e99594c4b19745af33bef73d6.tar.gz graynard-dea55fa3e757dd8e99594c4b19745af33bef73d6.zip | |
clock: make system icon clickable and show not implemented message
Diffstat (limited to 'shell/clock.h')
| -rw-r--r-- | shell/clock.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/shell/clock.h b/shell/clock.h index a0803e8..8044a27 100644 --- a/shell/clock.h +++ b/shell/clock.h @@ -52,11 +52,16 @@ struct MaynardClockClass #define MAYNARD_CLOCK_WIDTH (MAYNARD_PANEL_WIDTH * 2.6) #define MAYNARD_CLOCK_HEIGHT (MAYNARD_PANEL_WIDTH * 2) +typedef enum { + MAYNARD_CLOCK_SECTION_CLOCK, + MAYNARD_CLOCK_SECTION_SYSTEM, + MAYNARD_CLOCK_SECTION_VOLUME +} MaynardClockSection; + GType maynard_clock_get_type (void) G_GNUC_CONST; GtkWidget * maynard_clock_new (void); -void maynard_clock_show_volume (MaynardClock *self, - gboolean value); +void maynard_clock_show_section (MaynardClock *self, MaynardClockSection section); #endif /* __MAYNARD_CLOCK_H__ */ |
