[Goodies-commits] r6083 - in xfce4-sensors-plugin/trunk: lib panel-plugin src

Fabian Nowak timystery at xfce.org
Thu Nov 13 00:09:45 CET 2008


Author: timystery
Date: 2008-11-12 23:09:45 +0000 (Wed, 12 Nov 2008)
New Revision: 6083

Modified:
   xfce4-sensors-plugin/trunk/lib/hddtemp.c
   xfce4-sensors-plugin/trunk/lib/sensors-interface.c
   xfce4-sensors-plugin/trunk/panel-plugin/sensors-plugin.c
   xfce4-sensors-plugin/trunk/src/interface.c
   xfce4-sensors-plugin/trunk/src/main.c
Log:
- removed Xfce strings
- replaced -v by -V for version information of application


Modified: xfce4-sensors-plugin/trunk/lib/hddtemp.c
===================================================================
--- xfce4-sensors-plugin/trunk/lib/hddtemp.c	2008-11-12 23:00:23 UTC (rev 6082)
+++ xfce4-sensors-plugin/trunk/lib/hddtemp.c	2008-11-12 23:09:45 UTC (rev 6083)
@@ -148,7 +148,7 @@
                                   GTK_BUTTONS_CLOSE,
                                   message);
 
-    gtk_window_set_title(GTK_WINDOW(dialog), _("Xfce 4 Sensors Plugin"));
+    gtk_window_set_title(GTK_WINDOW(dialog), _("Sensors Plugin"));
 
     checkbox = gtk_check_button_new_with_mnemonic (checkboxtext);
 

Modified: xfce4-sensors-plugin/trunk/lib/sensors-interface.c
===================================================================
--- xfce4-sensors-plugin/trunk/lib/sensors-interface.c	2008-11-12 23:00:23 UTC (rev 6082)
+++ xfce4-sensors-plugin/trunk/lib/sensors-interface.c	2008-11-12 23:09:45 UTC (rev 6083)
@@ -62,7 +62,7 @@
     gchar *summary, *body, *icon;
 
 
-    summary = "Xfce 4 Sensors Plugin Failure";
+    summary = _("Sensors Plugin Failure");
     body = _("Seems like there was a problem reading a sensor "
                     "feature value.\nProper proceeding cannot be "
                     "guaranteed.");

Modified: xfce4-sensors-plugin/trunk/panel-plugin/sensors-plugin.c
===================================================================
--- xfce4-sensors-plugin/trunk/panel-plugin/sensors-plugin.c	2008-11-12 23:00:23 UTC (rev 6082)
+++ xfce4-sensors-plugin/trunk/panel-plugin/sensors-plugin.c	2008-11-12 23:09:45 UTC (rev 6083)
@@ -634,7 +634,7 @@
                 if ( res!=0 ) {
                     /* FIXME: either print nothing, or undertake appropriate action,
                      * or pop up a message box. */
-                    g_printf ( _("Xfce Hardware Sensors Plugin:\n"
+                    g_printf ( _("Sensors Plugin:\n"
                     "Seems like there was a problem reading a sensor feature "
                     "value.\nProper proceeding cannot be guaranteed.\n") );
                     break;
@@ -1786,7 +1786,7 @@
 
     //dlg = gtk_dialog_new_with_buttons (
     dlg = xfce_titled_dialog_new_with_buttons(
-                _("Xfce 4 Sensors Plugin"),
+                _("Sensors Plugin"),
                 GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
                 GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
                 GTK_STOCK_CLOSE,

Modified: xfce4-sensors-plugin/trunk/src/interface.c
===================================================================
--- xfce4-sensors-plugin/trunk/src/interface.c	2008-11-12 23:00:23 UTC (rev 6082)
+++ xfce4-sensors-plugin/trunk/src/interface.c	2008-11-12 23:09:45 UTC (rev 6083)
@@ -43,7 +43,7 @@
 
 
     /* start and populate */
-    /* dlg = (GtkWidget *) gtk_dialog_new_with_buttons (_("Xfce 4 Sensors Viewer"),
+    /* dlg = (GtkWidget *) gtk_dialog_new_with_buttons (_("Sensors Viewer"),
                 NULL, // anciently: GTK_WINDOW(gtk_get_toplevel(plugin));
                 GTK_DIALOG_NO_SEPARATOR, // anciently: | GTK_DIALOG_DESTROY_WITH_PARENT
                 GTK_STOCK_CLOSE, GTK_RESPONSE_OK, NULL);
@@ -58,7 +58,7 @@
                         FALSE, TRUE, 0); */
 
     dlg = xfce_titled_dialog_new_with_buttons(
-                _("Xfce 4 Sensors Viewer"),
+                _("Sensors Viewer"),
                 NULL, //GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
                 GTK_DIALOG_NO_SEPARATOR,
                 GTK_STOCK_CLOSE,

Modified: xfce4-sensors-plugin/trunk/src/main.c
===================================================================
--- xfce4-sensors-plugin/trunk/src/main.c	2008-11-12 23:00:23 UTC (rev 6082)
+++ xfce4-sensors-plugin/trunk/src/main.c	2008-11-12 23:09:45 UTC (rev 6083)
@@ -62,7 +62,7 @@
                       "where options are one or more of the following:\n"
                       "  -h, --help    Print this help dialog.\n"
                       "  -l, --license Print license information.\n"
-                      "  -v, --version Print version information.\n"
+                      "  -V, --version Print version information.\n"
                       "\n"
                       "This program is published under the GPL v2.\n"), PACKAGE_VERSION
                 );
@@ -94,7 +94,7 @@
         print_license ();
         return 0;
     }
-    else if ( argc > 1 && (strcmp(argv[1], "--version")==0 || strcmp(argv[1], "-v")==0) )
+    else if ( argc > 1 && (strcmp(argv[1], "--version")==0 || strcmp(argv[1], "-V")==0) )
     {
         print_version ();
         return 0;




More information about the Goodies-commits mailing list