aboutsummaryrefslogtreecommitdiff
path: root/src/device-menu-mgr.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-27 16:15:36 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-27 16:15:36 +0100
commitb4fd0a59df355527593522e66120a12778af11b2 (patch)
tree14d045b3a3659b2a73bd7a426bae94d8c5bb8cef /src/device-menu-mgr.c
parentb806cc0e1da3010055c196de59eff15ced2a51b5 (diff)
downloadayatana-indicator-session-b4fd0a59df355527593522e66120a12778af11b2.tar.gz
ayatana-indicator-session-b4fd0a59df355527593522e66120a12778af11b2.tar.bz2
ayatana-indicator-session-b4fd0a59df355527593522e66120a12778af11b2.zip
refactor with a more generic utility function
Diffstat (limited to 'src/device-menu-mgr.c')
-rw-r--r--src/device-menu-mgr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device-menu-mgr.c b/src/device-menu-mgr.c
index 063045e..2c559ee 100644
--- a/src/device-menu-mgr.c
+++ b/src/device-menu-mgr.c
@@ -555,7 +555,6 @@ device_menu_mgr_build_static_items (DeviceMenuMgr* self)
dbusmenu_menuitem_child_add_position (self->root_item,
scanners_menuitem,
8);
- //tmp
dbusmenu_menuitem_property_set_bool (scanners_menuitem,
DBUSMENU_MENUITEM_PROP_VISIBLE,
FALSE);
@@ -683,7 +682,7 @@ device_menu_mgr_build_static_items (DeviceMenuMgr* self)
update_menu_entries(restart_shutdown_logout_mi);
// Time to create the udev mgr and hand it the static relevant items.
- self->udev_mgr = udev_mgr_new (webcam_menuitem, scanners_menuitem);
+ self->udev_mgr = udev_mgr_new (scanners_menuitem, webcam_menuitem);
}