diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-07-25 22:11:17 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-07-25 22:11:17 -0500 |
commit | 23c79e10fcced9f2721d6b72780f7318943e82e3 (patch) | |
tree | 21b971f8e64606ad4bee989e62eee390e37f7d81 | |
parent | c79fd08f7e54a466f0bc78c6abb51767cf1295eb (diff) | |
download | ayatana-indicator-datetime-23c79e10fcced9f2721d6b72780f7318943e82e3.tar.gz ayatana-indicator-datetime-23c79e10fcced9f2721d6b72780f7318943e82e3.tar.bz2 ayatana-indicator-datetime-23c79e10fcced9f2721d6b72780f7318943e82e3.zip |
in the phone menu, add a 'Clock' menuitem above the alarm and appointment events.
-rw-r--r-- | src/service.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c index 4b65508..874c866 100644 --- a/src/service.c +++ b/src/service.c @@ -784,6 +784,12 @@ static GMenuModel * create_phone_appointments_section (IndicatorDatetimeService * self) { GMenu * menu = g_menu_new (); + GMenuItem * menu_item; + + menu_item = g_menu_item_new (_("Clock"), NULL); + g_menu_item_set_attribute (menu_item, G_MENU_ATTRIBUTE_ICON, "s", "clock"); + g_menu_append_item (menu, menu_item); + g_object_unref (menu_item); add_appointments (self, menu); |