diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-06-05 15:59:29 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-06-05 15:59:29 -0500 |
commit | 52eec36359fe9236746187290708a02b09809522 (patch) | |
tree | d7979305bc281d979bbba105a043d281775a7168 /src | |
parent | f6a082bcac4299ca82dadb623b497226140bbad1 (diff) | |
download | ayatana-indicator-session-52eec36359fe9236746187290708a02b09809522.tar.gz ayatana-indicator-session-52eec36359fe9236746187290708a02b09809522.tar.bz2 ayatana-indicator-session-52eec36359fe9236746187290708a02b09809522.zip |
remove the attached devices menuitem; it's no longer in the spec
Diffstat (limited to 'src')
-rw-r--r-- | src/device-menu-mgr.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/device-menu-mgr.c b/src/device-menu-mgr.c index 039b68d..e908087 100644 --- a/src/device-menu-mgr.c +++ b/src/device-menu-mgr.c @@ -386,21 +386,6 @@ device_menu_mgr_build_static_items (DeviceMenuMgr* self, gboolean greeter_mode) dbusmenu_menuitem_child_add_position (self->root_item, mi, 1); } - // Devices control - if (!greeter_mode) - { - /* attached devices... */ - mi = dbusmenu_menuitem_new(); - dbusmenu_menuitem_property_set (mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Attached Devices")); - dbusmenu_menuitem_property_set_bool (mi, DBUSMENU_MENUITEM_PROP_ENABLED, FALSE); - dbusmenu_menuitem_child_add_position (self->root_item, mi, 5); - - /* separator */ - mi = dbusmenu_menuitem_new(); - dbusmenu_menuitem_property_set (mi, DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_CLIENT_TYPES_SEPARATOR); - dbusmenu_menuitem_child_add_position (self->root_item, mi, 6); - } - // Session control if (!greeter_mode) { |