Handle new name for gnome-volume-control-applet

gnome-volume-control-applet was renamed to gnome-sound-applet when
moved to the control-center module, so we need to check for both names
when identifying the legacy status icon.
This commit is contained in:
Owen W. Taylor 2010-11-15 10:29:45 -05:00
parent 8734a59cd7
commit b8a5d3fd9b

View File

@ -9,7 +9,9 @@ const NotificationDaemon = imports.ui.notificationDaemon;
const STANDARD_TRAY_ICON_IMPLEMENTATIONS = { const STANDARD_TRAY_ICON_IMPLEMENTATIONS = {
'bluetooth-applet': 'bluetooth', 'bluetooth-applet': 'bluetooth',
'gnome-volume-control-applet': 'volume', 'gnome-volume-control-applet': 'volume', // renamed to gnome-sound-applet
// when moved to control center
'gnome-sound-applet': 'volume',
'nm-applet': 'network', 'nm-applet': 'network',
'gnome-power-manager': 'battery', 'gnome-power-manager': 'battery',
'keyboard': 'keyboard', 'keyboard': 'keyboard',