[Goodies-commits] r5838 - xfce4-power-manager/trunk/src

Ali Abdallah aliov at xfce.org
Mon Oct 27 17:21:03 CET 2008


Author: aliov
Date: 2008-10-27 16:21:03 +0000 (Mon, 27 Oct 2008)
New Revision: 5838

Modified:
   xfce4-power-manager/trunk/src/xfpm-battery.c
   xfce4-power-manager/trunk/src/xfpm-driver.c
   xfce4-power-manager/trunk/src/xfpm-main.c
Log:
Use only xfce label in notification popups, already translated

Modified: xfce4-power-manager/trunk/src/xfpm-battery.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-battery.c	2008-10-27 15:53:40 UTC (rev 5837)
+++ xfce4-power-manager/trunk/src/xfpm-battery.c	2008-10-27 16:21:03 UTC (rev 5838)
@@ -1268,7 +1268,7 @@
         icon = NULL;
     }
     NotifyNotification *n =
-    xfpm_notify_new("Xfce power manager",
+    xfpm_notify_new(_("Xfce power manager"),
                     error,
                     14000,
                     NOTIFY_URGENCY_CRITICAL,

Modified: xfce4-power-manager/trunk/src/xfpm-driver.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-driver.c	2008-10-27 15:53:40 UTC (rev 5837)
+++ xfce4-power-manager/trunk/src/xfpm-driver.c	2008-10-27 16:21:03 UTC (rev 5838)
@@ -312,7 +312,7 @@
             xfpm_battery_show_error(priv->batt,"gpm-ac-adapter",error);
         }
 #else
-    xfpm_popup_message(_("Xfce4 power manager"),error,GTK_MESSAGE_ERROR);
+    xfpm_popup_message(_("Xfce power manager"),error,GTK_MESSAGE_ERROR);
 #endif    
     }
    

Modified: xfce4-power-manager/trunk/src/xfpm-main.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-main.c	2008-10-27 15:53:40 UTC (rev 5837)
+++ xfce4-power-manager/trunk/src/xfpm-main.c	2008-10-27 16:21:03 UTC (rev 5838)
@@ -82,7 +82,7 @@
     
     if ( ( home = getenv("HOME")) == NULL )
     {
-        xfpm_popup_message(_("Xfce4 Power Manager"),
+        xfpm_popup_message(_("Xfce Power Manager"),
                            _("Unable to read your home directory environment variable,"\
 						    " autostart option may not work"),
                            GTK_MESSAGE_INFO);
@@ -262,7 +262,7 @@
         if (!xfpm_driver_monitor(driver)) 
         {
              /* g_disaster */
-            xfpm_popup_message(_("Xfce4 power manager"),
+            xfpm_popup_message(_("Xfce power manager"),
                               _("Unable to run Xfce4 power manager, " \
                               "make sure the hardware abstract layer and the message bus daemon "\
 							  "are running"),




More information about the Goodies-commits mailing list