diff options
author | Javier Jardón <javier.jardon@codethink.co.uk> | 2011-07-01 15:03:41 +0100 |
---|---|---|
committer | Javier Jardón <javier.jardon@codethink.co.uk> | 2011-07-01 15:03:41 +0100 |
commit | 95eb2b521413875911b1b747878a504f6f4e6c5d (patch) | |
tree | 4aa12c8f6a911d1a4cb720c132fecb94bac065f8 /src/indicator-power.c | |
parent | 942311b1c75f2f7ff8f90b1727ff190083f58162 (diff) | |
download | ayatana-indicator-power-95eb2b521413875911b1b747878a504f6f4e6c5d.tar.gz ayatana-indicator-power-95eb2b521413875911b1b747878a504f6f4e6c5d.tar.bz2 ayatana-indicator-power-95eb2b521413875911b1b747878a504f6f4e6c5d.zip |
Add some more kind of devices
Bump upower required version to 0.9.5 because this
Diffstat (limited to 'src/indicator-power.c')
-rw-r--r-- | src/indicator-power.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c index 412243e..f411483 100644 --- a/src/indicator-power.c +++ b/src/indicator-power.c @@ -202,6 +202,18 @@ device_kind_to_localised_string (UpDeviceKind kind) /* TRANSLATORS: cell phone (mobile...) */ text = gettext ("Cell phone"); break; + case UP_DEVICE_KIND_MEDIA_PLAYER: + /* TRANSLATORS: media player, mp3 etc */ + text = gettext ("Media player"); + break; + case UP_DEVICE_KIND_TABLET: + /* TRANSLATORS: tablet device */ + text = gettext ("Tablet"); + break; + case UP_DEVICE_KIND_COMPUTER: + /* TRANSLATORS: tablet device */ + text = gettext ("Computer"); + break; default: g_warning ("enum unrecognised: %i", kind); text = up_device_kind_to_string (kind); |