aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-06-05 15:59:29 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-06-05 15:59:29 -0500
commit52eec36359fe9236746187290708a02b09809522 (patch)
treed7979305bc281d979bbba105a043d281775a7168 /src
parentf6a082bcac4299ca82dadb623b497226140bbad1 (diff)
downloadayatana-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.c15
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)
{