aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-power.c
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2011-07-01 13:27:15 +0100
committerJavier Jardón <javier.jardon@codethink.co.uk>2011-07-01 13:27:15 +0100
commit942311b1c75f2f7ff8f90b1727ff190083f58162 (patch)
treeb11ca16e8ca1e18adb212a8ab9c2e831e488e8d3 /src/indicator-power.c
parentc38905ea640e081824cde487a600f00ef8c74bf8 (diff)
downloadayatana-indicator-power-942311b1c75f2f7ff8f90b1727ff190083f58162.tar.gz
ayatana-indicator-power-942311b1c75f2f7ff8f90b1727ff190083f58162.tar.bz2
ayatana-indicator-power-942311b1c75f2f7ff8f90b1727ff190083f58162.zip
Do not show the device name in the menu title
Diffstat (limited to 'src/indicator-power.c')
-rw-r--r--src/indicator-power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c
index acaa822..412243e 100644
--- a/src/indicator-power.c
+++ b/src/indicator-power.c
@@ -285,8 +285,8 @@ get_primary_device_cb (GObject *source_object,
&short_timestring,
&detailed_timestring);
- label_text = g_strdup_printf(_("%s (%s)"),
- device_name, short_timestring);
+ label_text = g_strdup_printf(_("(%s)"),
+ short_timestring);
if (state == UP_DEVICE_STATE_CHARGING)
{