[Goodies-commits] r6877 - in xfce4-power-manager/trunk: . src
Ali Abdallah
aliov at xfce.org
Tue Mar 10 10:11:33 CET 2009
Author: aliov
Date: 2009-03-10 09:11:33 +0000 (Tue, 10 Mar 2009)
New Revision: 6877
Modified:
xfce4-power-manager/trunk/ChangeLog
xfce4-power-manager/trunk/src/xfpm-battery.c
xfce4-power-manager/trunk/src/xfpm-main.c
Log:
Added Only show in XFCE in the autostart file and correct tooltip of a primary battery
Modified: xfce4-power-manager/trunk/ChangeLog
===================================================================
--- xfce4-power-manager/trunk/ChangeLog 2009-03-09 22:09:41 UTC (rev 6876)
+++ xfce4-power-manager/trunk/ChangeLog 2009-03-10 09:11:33 UTC (rev 6877)
@@ -1,4 +1,7 @@
+2009-03-10 10:11 Ali aliov at xfce.org
+ * : Added Only show in XFCE in the autostart file and correct tooltip of a primary battery
+
2009-03-09 23:09 Ali aliov at xfce.org
* : Changes in the battery tooltips/notifications
Modified: xfce4-power-manager/trunk/src/xfpm-battery.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-battery.c 2009-03-09 22:09:41 UTC (rev 6876)
+++ xfce4-power-manager/trunk/src/xfpm-battery.c 2009-03-10 09:11:33 UTC (rev 6877)
@@ -383,8 +383,9 @@
}
else
{
- tip = g_strdup_printf ("%i%% %s \n%s",
+ tip = g_strdup_printf ("%i%% %s %s\n%s",
percentage,
+ _("Battery"),
str,
battery->priv->adapter_present ?
_("System is running on AC power") :
Modified: xfce4-power-manager/trunk/src/xfpm-main.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-main.c 2009-03-09 22:09:41 UTC (rev 6876)
+++ xfce4-power-manager/trunk/src/xfpm-main.c 2009-03-10 09:11:33 UTC (rev 6877)
@@ -94,6 +94,7 @@
g_key_file_set_boolean(key,"Desktop Entry","StartupNotify",FALSE);
g_key_file_set_boolean(key,"Desktop Entry","Terminal",FALSE);
g_key_file_set_boolean(key,"Desktop Entry","Hidden",FALSE);
+ g_key_file_set_string (key, "Desktop Entry", "OnlyShowIn", "XFCE");
gchar *content = g_key_file_to_data(key,NULL,&error);
More information about the Goodies-commits
mailing list