aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDidier Roche <didier.roche@canonical.com>2012-11-16 13:21:47 +0100
committerDidier Roche <didier.roche@canonical.com>2012-11-16 13:21:47 +0100
commitc9912e105e53e26e3995d8ecdc62f6f2e69e8b8c (patch)
tree865f3a4ade72a3886d8926c4f52d2c6c989175d4 /src
parent378d1e111c552c984c38be1a3e74c124c5401c3e (diff)
downloadayatana-indicator-power-c9912e105e53e26e3995d8ecdc62f6f2e69e8b8c.tar.gz
ayatana-indicator-power-c9912e105e53e26e3995d8ecdc62f6f2e69e8b8c.tar.bz2
ayatana-indicator-power-c9912e105e53e26e3995d8ecdc62f6f2e69e8b8c.zip
report accidently revert fixes when inline packaging was merged in
Diffstat (limited to 'src')
-rw-r--r--src/device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index d028ab7..6f2a809 100644
--- a/src/device.c
+++ b/src/device.c
@@ -532,6 +532,10 @@ device_kind_to_localised_string (UpDeviceKind kind)
/* TRANSLATORS: unknown device */
text = _("Unknown");
break;
+ case UP_DEVICE_KIND_UNKNOWN:
+ /* TRANSLATORS: unknown device */
+ text = _("Unknown");
+ break;
default:
g_warning ("enum unrecognised: %i", kind);
text = up_device_kind_to_string (kind);