summaryrefslogtreecommitdiff
path: root/battstat/battstat_applet.c
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-04-24 15:28:36 -0400
committerSteve Zesch <[email protected]>2012-04-24 15:28:36 -0400
commitb958403a2e06dfc271b121eb325783bc923b089a (patch)
treeb5bbfd82f0f33781610b610ef6c325cae75f122e /battstat/battstat_applet.c
parent8939ec49c5218f4aaf2d49c7dd80954817f1bbb9 (diff)
downloadmate-applets-b958403a2e06dfc271b121eb325783bc923b089a.tar.bz2
mate-applets-b958403a2e06dfc271b121eb325783bc923b089a.tar.xz
upower support added to battstat. Preparing for 1.2.2 release.mate-applets-1.2.2
Diffstat (limited to 'battstat/battstat_applet.c')
-rw-r--r--battstat/battstat_applet.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c
index f610b66c..2ba713e6 100644
--- a/battstat/battstat_applet.c
+++ b/battstat/battstat_applet.c
@@ -1230,7 +1230,7 @@ about_cb( GtkAction *action, ProgressData *battstat )
const gchar *authors[] = {
"J\xC3\xB6rgen Pehrson <[email protected]>",
"Lennart Poettering <[email protected]> (Linux ACPI support)",
- "Seth Nickell <[email protected]> (MATE2 port)",
+ "Seth Nickell <[email protected]> (GNOME2 port)",
"Davyd Madeley <[email protected]>",
"Ryan Lortie <[email protected]>",
"Joe Marcus Clarke <[email protected]> (FreeBSD ACPI support)",
@@ -1246,9 +1246,11 @@ about_cb( GtkAction *action, ProgressData *battstat )
char *comments = g_strdup_printf ("%s\n\n%s",
_("This utility shows the status of your laptop battery."),
- power_management_using_hal () ?
+ power_management_using_upower () ?
+ /* ture */ _("upower backend enabled.") :
+ (power_management_using_hal () ?
/* true */ _("HAL backend enabled.") :
- /* false */ _("Legacy (non-HAL) backend enabled."));
+ /* false */ _("Legacy (non-HAL) backend enabled.")));
gtk_show_about_dialog( NULL,
"version", VERSION,