diff options
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) { |