[Xfce4-commits] <xfce4-sensors-plugin:master> - checked orientation bug: didn't find any issues - store settings dialog size - updates to TODO, NEWS - made update-po

Fabian Nowak noreply at xfce.org
Tue Oct 20 23:18:01 CEST 2009


Updating branch refs/heads/master
         to 8785c27938e8b854637e64c0a8660785fdb6a0e9 (commit)
       from 561fa03dd774ecb4155a80f64facd3bf551a539c (commit)

commit 8785c27938e8b854637e64c0a8660785fdb6a0e9
Author: Fabian Nowak <timystery at arcor.de>
Date:   Tue Oct 20 23:15:58 2009 +0200

    - checked orientation bug: didn't find any issues
    - store settings dialog size
    - updates to TODO, NEWS
    - made update-po

 NEWS                               |    4 +-
 README                             |    2 +-
 TODO                               |   12 ++--
 include/sensors-interface-common.h |    3 +
 lib/configuration.c                |    5 ++
 panel-plugin/sensors-plugin.c      |    4 +-
 po/ar.po                           |    6 +-
 po/ast.po                          |    6 +-
 po/ca.po                           |    6 +-
 po/cs.po                           |    6 +-
 po/de.po                           |    6 +-
 po/el.po                           |    6 +-
 po/en_GB.po                        |    6 +-
 po/es.po                           |    6 +-
 po/eu.po                           |    6 +-
 po/fi.po                           |    6 +-
 po/fr.po                           |  128 +++++++++++++++++++----------------
 po/gl.po                           |    6 +-
 po/hu.po                           |    6 +-
 po/id.po                           |    6 +-
 po/it.po                           |    6 +-
 po/ja.po                           |    2 +-
 po/ko.po                           |    6 +-
 po/lt.po                           |    6 +-
 po/lv.po                           |    6 +-
 po/pl.po                           |    6 +-
 po/pt.po                           |    6 +-
 po/pt_BR.po                        |    6 +-
 po/ru.po                           |    6 +-
 po/sq.po                           |    6 +-
 po/sv.po                           |    6 +-
 po/tr.po                           |    6 +-
 po/uk.po                           |    6 +-
 po/ur.po                           |    6 +-
 po/ur_PK.po                        |    6 +-
 po/vi.po                           |    6 +-
 po/zh_CN.po                        |    6 +-
 po/zh_TW.po                        |    6 +-
 src/callbacks.c                    |    3 +
 src/interface.c                    |    2 +
 40 files changed, 187 insertions(+), 158 deletions(-)

diff --git a/NEWS b/NEWS
index e1127e6..108440b 100644
--- a/NEWS
+++ b/NEWS
@@ -19,7 +19,9 @@
         Netcat usable in favour of hddtemp directly
         Stand-alone sensors application
         Battery settings read from sysfs as well
-        Min/Max values for Fahrenheit work as well
+1.0.0   Min/Max values for Fahrenheit work as well
         Maximum number of lines specifiable for text view
         Labels in text view possible
+        Remember window size of configuration dialog
+        Respect "suppress messages" for error dialogs with acpi/sysfs
 
diff --git a/README b/README
index 0bd1ed1..54d05da 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
 Xfce4-Sensors-Plugin
 ====================
 
-Version 0.11.0 - For Xfce 4 Panel 4.4.0 and newer only!
+Version 1.0.0 - For Xfce 4 Panel 4.6.0 (and hopefully newer as well!)
 
 Copyright (c) 2004-2009 by Fabian Nowak (timystery at arcor.de)
 Copyright (c) 2005-2006 by Stefan Ott
diff --git a/TODO b/TODO
index 9ae68b3..2b12429 100644
--- a/TODO
+++ b/TODO
@@ -7,18 +7,20 @@ TODO
 
 - read acpi fan state?
 
-- switch to sysfs completely for everythin?
+- switch to sysfs completely for everything?
 
 - decrease size of entries in min/max value fields... would have to change renderer for double values...
 
 
 Known bugs or user requests
 ---------------------------
-- Switching from horizontal to vertical panel does not change layout
+- common settings for both application and plugin wrt. sensor names etc.
 
-- Respect "suppress messages" for error dialogs with acpi/sysfs
+Plans
+-----
+- use D-bus to send messages with new settings from xfce4-sensors application to panel plugin
 
-- store last window sizes
+- have someone implement kde and gnome plugins based on library/API
 
-- common settings for both application and plugin wrt. sensor names etc.
+- have someone implement some BSD backends and integrate them into project
 
diff --git a/include/sensors-interface-common.h b/include/sensors-interface-common.h
index d5fa3f0..3f4cf59 100644
--- a/include/sensors-interface-common.h
+++ b/include/sensors-interface-common.h
@@ -190,6 +190,9 @@ typedef struct {
     gint num_acpi_zones; */
 
     gchar *plugin_config_file;
+    
+    gint preferred_width;
+    gint preferred_height;
 }
 t_sensors;
 
diff --git a/lib/configuration.c b/lib/configuration.c
index 70f598e..e98be05 100644
--- a/lib/configuration.c
+++ b/lib/configuration.c
@@ -122,6 +122,8 @@ sensors_write_config (XfcePanelPlugin *plugin, t_sensors *sensors)
 
     xfce_rc_write_bool_entry (rc, "Suppress_Hddtemp_Message", sensors->suppressmessage);
 
+  xfce_rc_write_int_entry (rc, "Preferred_Width", sensors->preferred_width);
+  xfce_rc_write_int_entry (rc, "Preferred_Height", sensors->preferred_height);
 
     for (i=0; i<sensors->num_sensorchips; i++) {
 
@@ -227,6 +229,9 @@ sensors_read_general_config (XfceRc *rc, t_sensors *sensors)
 
         if (!sensors->suppressmessage)
             sensors->suppressmessage = xfce_rc_read_bool_entry (rc, "Suppress_Hddtemp_Message", FALSE);
+            
+        sensors->preferred_width = xfce_rc_read_int_entry (rc, "Preferred_Width", 400);
+        sensors->preferred_height = xfce_rc_read_int_entry (rc, "Preferred_Height", 400);
 
         num_chips = xfce_rc_read_int_entry (rc, "Number_Chips", 0);
         /* or could use 1 or the always existent dummy entry */
diff --git a/panel-plugin/sensors-plugin.c b/panel-plugin/sensors-plugin.c
index 27c7556..2c45d49 100644
--- a/panel-plugin/sensors-plugin.c
+++ b/panel-plugin/sensors-plugin.c
@@ -1821,6 +1821,7 @@ on_optionsDialog_response (GtkWidget *dlg, int response, t_sensors_dialog *sd)
             if (sd->sensors->plugin_config_file)
                 sensors_write_config (sd->sensors->plugin, sd->sensors);
     }
+    gtk_window_get_size ( GTK_WINDOW(dlg), &(sd->sensors->preferred_width), &(sd->sensors->preferred_height));
     gtk_widget_destroy (sd->dialog);
 
     xfce_panel_plugin_unblock_menu (sd->sensors->plugin);
@@ -1910,7 +1911,8 @@ sensors_create_options (XfcePanelPlugin *plugin, t_sensors *sensors)
     add_view_frame (notebook, sd);
     add_miscellaneous_frame (notebook, sd);
 
-    gtk_widget_set_size_request (vbox, 400, 400);
+    //gtk_widget_set_size_request (vbox, 400, 400);
+    gtk_window_set_default_size (GTK_WINDOW(dlg), sensors->preferred_width, sensors->preferred_height);
 
     g_signal_connect (dlg, "response",
             G_CALLBACK(on_optionsDialog_response), sd);
diff --git a/po/ar.po b/po/ar.po
index c46be4f..281d1cb 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -2,7 +2,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2008-07-15 23:18+0200\n"
 "Last-Translator: Mohamed Magdy <mohamedmk at gmail.com>\n"
 "Language-Team: Arabeyes <doc at arabeyes.org>\n"
@@ -127,8 +127,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr ""
 
diff --git a/po/ast.po b/po/ast.po
index 873e2e8..f25d60d 100644
--- a/po/ast.po
+++ b/po/ast.po
@@ -3,7 +3,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce 4-sensors-complementu\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-07-13 19:55+0100\n"
 "Last-Translator: Marcos Antonio Alvarez Costales <marcoscostales at gmail.com>\n"
 "Language-Team: Asturian <alministradores at softastur.org>\n"
@@ -136,8 +136,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Discos duros"
 
diff --git a/po/ca.po b/po/ca.po
index b365264..374b2c7 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-04-06 18:17+0100\n"
 "Last-Translator: Carles Muñoz Gorriz <carlesmu at internautas.org>\n"
 "Language-Team: Catalan\n"
@@ -143,8 +143,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Discs durs"
 
diff --git a/po/cs.po b/po/cs.po
index 4e0f289..7d98234 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-06-09 19:40+0100\n"
 "Last-Translator: Michal Várady <miko.vaji at gmail.com>\n"
 "Language-Team: Czech <translation-team-cs at lists.sourceforge.net>\n"
@@ -139,8 +139,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Pevné disky"
 
diff --git a/po/de.po b/po/de.po
index 2715801..8c4675d 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.11.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-10-19 23:22+0200\n"
 "Last-Translator: Fabian Nowak <timystery at arcor.de>\n"
 "Language-Team: German <de at li.org>\n"
@@ -137,8 +137,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Festplatten"
 
diff --git a/po/el.po b/po/el.po
index 2307a36..68a43a6 100644
--- a/po/el.po
+++ b/po/el.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2006-10-14 19:59+0200\n"
 "Last-Translator: Stavros Giannouris <stavrosg at serverhive.com>\n"
 "Language-Team: Greek <nls at tux.hellug.gr>\n"
@@ -147,8 +147,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Σκληροί δίσκοι"
 
diff --git a/po/en_GB.po b/po/en_GB.po
index e41f5cd..f4d4663 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-08-30 17:10+1000\n"
 "Last-Translator: Jeff Bailes <thepizzaking at gmail.com>\n"
 "Language-Team: English/GB\n"
@@ -140,8 +140,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Hard disks"
 
diff --git a/po/es.po b/po/es.po
index 1cd7dfc..6863b59 100644
--- a/po/es.po
+++ b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce 4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-08-21 01:32-0300\n"
 "Last-Translator: elega <elega at elega.com.ar>\n"
 "Language-Team: Spanish\n"
@@ -140,8 +140,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Discos duros"
 
diff --git a/po/eu.po b/po/eu.po
index fa72d69..5ff2120 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: eu\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-07-22 23:08+0200\n"
 "Last-Translator: Piarres Beobide <pi at beobide.net>\n"
 "Language-Team: Basque <kde-i18n-doc at kde.org>\n"
@@ -142,8 +142,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Disko gogorrak"
 
diff --git a/po/fi.po b/po/fi.po
index 1b4fba8..ef5f0f7 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.11.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2008-12-17 17:12+0200\n"
 "Last-Translator: Jari Rahkonen <jari.rahkonen at pp1.inet.fi>\n"
 "Language-Team: Finnish\n"
@@ -141,8 +141,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Kiintolevyt"
 
diff --git a/po/fr.po b/po/fr.po
index a256237..acf8925 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-19 21:00+0100\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-03-19 21:00+0100\n"
 "Last-Translator: Mike Massonnet <mmassonnet at gmail.com>\n"
 "Language-Team: French <xfce-i18n at xfce.org>\n"
@@ -17,17 +17,17 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:783
+#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
 msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
 msgstr "<span foreground=\"#000000\"><b>Capteurs</b></span>"
 
-#: ../panel-plugin/sensors-plugin.c:600
+#: ../panel-plugin/sensors-plugin.c:604
 msgid "No sensors selected!"
 msgstr "Aucun capteur sélectionné !"
 
 #. FIXME: either print nothing, or undertake appropriate action,
 #. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:638
+#: ../panel-plugin/sensors-plugin.c:642
 #, c-format
 msgid ""
 "Sensors Plugin:\n"
@@ -38,105 +38,110 @@ msgstr ""
 "Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n"
 "L'exécution normale ne peut pas être garantie.\n"
 
-#: ../panel-plugin/sensors-plugin.c:1386
+#: ../panel-plugin/sensors-plugin.c:1414
 msgid "UI style:"
 msgstr "Style de l'interface :"
 
-#: ../panel-plugin/sensors-plugin.c:1387
+#: ../panel-plugin/sensors-plugin.c:1415
 msgid "_text"
 msgstr "_texte"
 
-#: ../panel-plugin/sensors-plugin.c:1389
+#: ../panel-plugin/sensors-plugin.c:1417
 msgid "g_raphical"
 msgstr "g_raphique"
 
-#: ../panel-plugin/sensors-plugin.c:1426
-msgid "Show _labels in graphical UI"
-msgstr "Affic_her les étiquettes dans l'interface graphique"
+#: ../panel-plugin/sensors-plugin.c:1454
+#, fuzzy
+msgid "Show _labels"
+msgstr "Affi_cher le titre"
 
-#: ../panel-plugin/sensors-plugin.c:1456
+#: ../panel-plugin/sensors-plugin.c:1484
 msgid "Show colored _bars"
 msgstr "Afficher les _barres en couleur"
 
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1512
 msgid "_Show title"
 msgstr "Affi_cher le titre"
 
-#: ../panel-plugin/sensors-plugin.c:1510
+#: ../panel-plugin/sensors-plugin.c:1536
+msgid "_Number of text lines:"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1571
 msgid "F_ont size:"
 msgstr "Taille de la _police :"
 
 #. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1517
+#: ../panel-plugin/sensors-plugin.c:1578
 msgid "x-small"
 msgstr "très petite"
 
-#: ../panel-plugin/sensors-plugin.c:1518
+#: ../panel-plugin/sensors-plugin.c:1579
 msgid "small"
 msgstr "petite"
 
-#: ../panel-plugin/sensors-plugin.c:1519
+#: ../panel-plugin/sensors-plugin.c:1580
 msgid "medium"
 msgstr "normale"
 
-#: ../panel-plugin/sensors-plugin.c:1520
+#: ../panel-plugin/sensors-plugin.c:1581
 msgid "large"
 msgstr "grande"
 
-#: ../panel-plugin/sensors-plugin.c:1521
+#: ../panel-plugin/sensors-plugin.c:1582
 msgid "x-large"
 msgstr "très grande"
 
-#: ../panel-plugin/sensors-plugin.c:1549
+#: ../panel-plugin/sensors-plugin.c:1610
 msgid "Show _Units"
 msgstr "Afficher les _unités"
 
-#: ../panel-plugin/sensors-plugin.c:1570
+#: ../panel-plugin/sensors-plugin.c:1631
 msgid "Small horizontal s_pacing"
 msgstr "E_space horizontal petit"
 
-#: ../panel-plugin/sensors-plugin.c:1592
+#: ../panel-plugin/sensors-plugin.c:1653
 msgid "Suppress messages"
 msgstr "Supprimer les messages"
 
-#: ../panel-plugin/sensors-plugin.c:1621
+#: ../panel-plugin/sensors-plugin.c:1682
 msgid "U_pdate interval (seconds):"
 msgstr "_Intervalle de mise-à-jour (secondes) :"
 
-#: ../panel-plugin/sensors-plugin.c:1651
+#: ../panel-plugin/sensors-plugin.c:1712
 msgid "E_xecute on double click:"
 msgstr "E_xécute après un double clic :"
 
-#: ../panel-plugin/sensors-plugin.c:1694
+#: ../panel-plugin/sensors-plugin.c:1755
 msgid "_View"
 msgstr "_Afficher"
 
-#: ../panel-plugin/sensors-plugin.c:1726
+#: ../panel-plugin/sensors-plugin.c:1788
 msgid "_Miscellaneous"
 msgstr "_Divers"
 
-#: ../panel-plugin/sensors-plugin.c:1798 ../panel-plugin/sensors-plugin.h:30
+#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
 #: ../lib/hddtemp.c:152
 msgid "Sensors Plugin"
 msgstr "Greffon de Capteurs"
 
 #. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1841
+#: ../panel-plugin/sensors-plugin.c:1903
 msgid ""
 "You can change a feature's properties such as name, colours, min/max value "
 "by double-clicking the entry, editing the content, and pressing \"Return\" "
 "or selecting a different field."
 msgstr ""
-"Vous pouvez changez les propriétés d'un aspect tel que le nom, les couleurs, la "
-"valeur min/max en double-cliquant sur l'entrée, éditer le contenu et presser "
-"\"Entrée\" ou sélectionner un autre champ."
+"Vous pouvez changez les propriétés d'un aspect tel que le nom, les couleurs, "
+"la valeur min/max en double-cliquant sur l'entrée, éditer le contenu et "
+"presser \"Entrée\" ou sélectionner un autre champ."
 
 #. only use this if no hddtemp sensor
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Disques dur"
 
@@ -177,12 +182,12 @@ msgid ""
 "%s\n"
 "with a return value of %d.\n"
 msgstr ""
-"\"hddtemp\" n'a pas été exécuté correctement bien qu'il soit exécutable. Il se "
-"pourrait bien que ce soit dû à des privilèges restreint pour la lecture des "
-"températures et que \"hddtemp\" ne soit pas fixé avec un setuid root.\n"
+"\"hddtemp\" n'a pas été exécuté correctement bien qu'il soit exécutable. Il "
+"se pourrait bien que ce soit dû à des privilèges restreint pour la lecture "
+"des températures et que \"hddtemp\" ne soit pas fixé avec un setuid root.\n"
 "\n"
-"Une solution simple mais radicale consiste à lancer la commande \"chmod u+s %s\" en "
-"tant que root et de relancer le greffon ou le panneau.\n"
+"Une solution simple mais radicale consiste à lancer la commande \"chmod u+s %"
+"s\" en tant que root et de relancer le greffon ou le panneau.\n"
 "\n"
 "L'appel à \"%s\" a donné l'erreur suivante :\n"
 "%s\n"
@@ -197,13 +202,15 @@ msgstr "Ne plus afficher ce message"
 msgid ""
 "An error occurred when executing \"%s\":\n"
 "%s"
-msgstr "Une erreur est survenue lors de l'exécution de \"%s\" :\n%s"
+msgstr ""
+"Une erreur est survenue lors de l'exécution de \"%s\" :\n"
+"%s"
 
 #. if (scale == FAHRENHEIT) {
 #. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
 #. } else { // Celsius
 #. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:140
+#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
 #, c-format
 msgid "%.1f °C"
 msgstr "%.1f °C"
@@ -217,11 +224,11 @@ msgstr "lm-sensors"
 msgid "Error: Could not connect to sensors!"
 msgstr "Erreur : ne peut pas se connecter aux capteurs !"
 
-#: ../lib/sensors-interface.c:66
+#: ../lib/sensors-interface.c:80
 msgid "Sensors Plugin Failure"
 msgstr "Erreur dans le greffon de capteurs"
 
-#: ../lib/sensors-interface.c:67
+#: ../lib/sensors-interface.c:81
 msgid ""
 "Seems like there was a problem reading a sensor feature value.\n"
 "Proper proceeding cannot be guaranteed."
@@ -229,51 +236,51 @@ msgstr ""
 "Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n"
 "L'exécution normale ne peut pas être garantie."
 
-#: ../lib/sensors-interface.c:145
+#: ../lib/sensors-interface.c:162
 msgid "Sensors t_ype:"
 msgstr "T_ype de capteurs :"
 
-#: ../lib/sensors-interface.c:170
+#: ../lib/sensors-interface.c:187
 msgid "Description:"
 msgstr "Description :"
 
-#: ../lib/sensors-interface.c:208
+#: ../lib/sensors-interface.c:225
 msgid "Name"
 msgstr "Nom"
 
-#: ../lib/sensors-interface.c:218
+#: ../lib/sensors-interface.c:235
 msgid "Value"
 msgstr "Valeur"
 
-#: ../lib/sensors-interface.c:226
+#: ../lib/sensors-interface.c:243
 msgid "Show"
 msgstr "Afficher"
 
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:252
 msgid "Color"
 msgstr "Couleur"
 
-#: ../lib/sensors-interface.c:248 ../lib/sensors-interface.c:254
+#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
 msgid "Min"
 msgstr "Min"
 
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
 msgid "Max"
 msgstr "Max"
 
-#: ../lib/sensors-interface.c:306
+#: ../lib/sensors-interface.c:323
 msgid "Temperature scale:"
 msgstr "Échelle de température :"
 
-#: ../lib/sensors-interface.c:308
+#: ../lib/sensors-interface.c:325
 msgid "_Celsius"
 msgstr "_Celsius"
 
-#: ../lib/sensors-interface.c:310
+#: ../lib/sensors-interface.c:327
 msgid "_Fahrenheit"
 msgstr "_Fahrenheit"
 
-#: ../lib/sensors-interface.c:346
+#: ../lib/sensors-interface.c:363
 msgid "_Sensors"
 msgstr "_Senseurs"
 
@@ -281,30 +288,30 @@ msgstr "_Senseurs"
 msgid "No sensors found!"
 msgstr "Aucun senseur trouvé !"
 
-#: ../lib/sensors-interface-common.c:137
+#: ../lib/sensors-interface-common.c:138
 #, c-format
 msgid "%.1f °F"
 msgstr "%.1f °F"
 
-#: ../lib/sensors-interface-common.c:145
+#: ../lib/sensors-interface-common.c:146
 #, c-format
 msgid "%+.2f V"
 msgstr "%+.2f V"
 
-#: ../lib/sensors-interface-common.c:149
+#: ../lib/sensors-interface-common.c:150
 #, c-format
 msgid "%.0f mWh"
 msgstr "%.0f mWh"
 
-#: ../lib/sensors-interface-common.c:154
+#: ../lib/sensors-interface-common.c:155
 msgid "off"
 msgstr "inactif"
 
-#: ../lib/sensors-interface-common.c:156
+#: ../lib/sensors-interface-common.c:157
 msgid "on"
 msgstr "actif"
 
-#: ../lib/sensors-interface-common.c:160
+#: ../lib/sensors-interface-common.c:161
 #, c-format
 msgid "%.0f rpm"
 msgstr "%.0f tr/mn"
@@ -373,3 +380,6 @@ msgstr "Afficher les valeurs du capteur."
 #: ../panel-plugin/xfce4-sensors-plugin.desktop.in.in.h:1
 msgid "Sensor plugin "
 msgstr "Greffon de capteurs"
+
+#~ msgid "Show _labels in graphical UI"
+#~ msgstr "Affic_her les étiquettes dans l'interface graphique"
diff --git a/po/gl.po b/po/gl.po
index f245fbe..f47ac02 100644
--- a/po/gl.po
+++ b/po/gl.po
@@ -11,7 +11,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-10-04 14:28+0100\n"
 "Last-Translator: Leandro Regueiro <leandro.regueiro at gmail.com>\n"
 "Language-Team: Galician <proxecto at trasno.net>\n"
@@ -149,8 +149,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Discos duros"
 
diff --git a/po/hu.po b/po/hu.po
index 8631090..b55f826 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-07-24 18:10+0200\n"
 "Last-Translator: Gabor Kelemen <kelemeng at gnome dot hu>\n"
 "Language-Team: Hungarian <gnome at gnome dot hu>\n"
@@ -142,8 +142,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Merevlemezek"
 
diff --git a/po/id.po b/po/id.po
index 4cafaa9..1f68d7c 100644
--- a/po/id.po
+++ b/po/id.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-04-09 21:46-0400\n"
 "Last-Translator: Andhika Padmawan <andhika.padmawan at gmail.com>\n"
 "Language-Team: Indonesian <id at li.org>\n"
@@ -138,8 +138,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Cakram keras"
 
diff --git a/po/it.po b/po/it.po
index 9f609ec..91f33ab 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-03-21 07:40+0100\n"
 "Last-Translator: Cristian Marchi <cri.penta at gmail.com>\n"
 "Language-Team: Italian <xfce-it-translators at googlegroups.com>\n"
@@ -138,8 +138,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Dischi rigidi"
 
diff --git a/po/ja.po b/po/ja.po
index 06a449b..db3863a 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 23:54+0900\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-10-20 23:53+0900\n"
 "Last-Translator: Masato Hashimoto <cabezon.hashimoto at gmail.com>\n"
 "Language-Team: xfce-users-jp <xfce-users-jp at ml.fdiary.net>\n"
diff --git a/po/ko.po b/po/ko.po
index abc3421..4ed8b8a 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2005-12-11 02:20+0900\n"
 "Last-Translator: ByungHyun Choi <byunghyun.choi at debianusers.org>\n"
 "Language-Team: xfce4-users-kr-i18n <xfce4-users-kr-i18n at lists.sourceforge."
@@ -141,8 +141,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "하드 디스크"
 
diff --git a/po/lt.po b/po/lt.po
index fa11b1b..00b32f6 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2005-02-04 21:07+0200\n"
 "Last-Translator: Rimas Kudelis <rq at akl.lt>\n"
 "Language-Team: Lithuanian <komp_lt at konferencijos.lt>\n"
@@ -142,8 +142,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr ""
 
diff --git a/po/lv.po b/po/lv.po
index c51b512..4957182 100644
--- a/po/lv.po
+++ b/po/lv.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Pxfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-09-18 23:12+0100\n"
 "Last-Translator: Rihards Prieditis <rprieditis at gmail.com>\n"
 "Language-Team: Latvian <translation-team-lv at lists.sourceforge.net>\n"
@@ -142,8 +142,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Cietie diski"
 
diff --git a/po/pl.po b/po/pl.po
index f588466..6d56dc7 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-04-08 11:40+0100\n"
 "Last-Translator: Piotr Sokół <piotr.sokol at 10g.pl>\n"
 "Language-Team: Polish\n"
@@ -137,8 +137,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Dyski twarde"
 
diff --git a/po/pt.po b/po/pt.po
index f81023d..629c192 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-03-28 15:59+0100\n"
 "Last-Translator: Nuno Miguel <nunis at netcabo.pt>\n"
 "Language-Team: \n"
@@ -138,8 +138,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Discos rígidos"
 
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 109badf..16ccf10 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -9,7 +9,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2008-11-28 21:49-0500\n"
 "Last-Translator: Og Maciel <ogmaciel at gnome.org>\n"
 "Language-Team: Brazilian Portuguese <ldp-br at bazar2.conectiva.com.br>\n"
@@ -142,8 +142,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Discos rígidos"
 
diff --git a/po/ru.po b/po/ru.po
index 3079701..5b9334f 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2006-04-09 17:07+0600\n"
 "Last-Translator: Andrey Fedoseev <andrey.fedoseev at gmail.com>\n"
 "Language-Team: Russian <ru at li.org>\n"
@@ -142,8 +142,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr ""
 
diff --git a/po/sq.po b/po/sq.po
index 0059703..73996d5 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2008-11-04 23:27+0200\n"
 "Last-Translator: Besnik Bleta <besnik at programeshqip.org>\n"
 "Language-Team: Albanian <translation-team-sq at lists.sourceforge.net>\n"
@@ -140,8 +140,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Hard disqe"
 
diff --git a/po/sv.po b/po/sv.po
index 217a514..baa6c6f 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-01-18 13:08+0100\n"
 "Last-Translator: Daniel Nylander <po at danielnylander.se>\n"
 "Language-Team: Swedish <tp-sv at listor.tp-sv.se>\n"
@@ -132,8 +132,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "HÃ¥rddiskar"
 
diff --git a/po/tr.po b/po/tr.po
index ca2de1c..52b0243 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -2,7 +2,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4 sensors plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: \n"
 "Last-Translator: Samed Beyribey <ras0ir at eventualis.org>\n"
 "Language-Team: Xfce-TR <xfce-tr at googlegroups.com>\n"
@@ -134,8 +134,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Sabit diskler "
 
diff --git a/po/uk.po b/po/uk.po
index b35c77d..f12d13d 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2008-11-17 13:48+0200\n"
 "Last-Translator: Dmitry Nikitin <luckas_fb at mail.ru>\n"
 "Language-Team: Ukrainian <xfce4-dev at xfce.org>\n"
@@ -140,8 +140,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "Жорсткі диски"
 
diff --git a/po/ur.po b/po/ur.po
index 165aa66..d514bdf 100644
--- a/po/ur.po
+++ b/po/ur.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-05-14 03:19+0500\n"
 "Last-Translator: Muhammad Ali Makki <makki.ma at gmail.com>\n"
 "Language-Team: Urdu <makki.ma at gmail.com>\n"
@@ -142,8 +142,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "ہارڈ ڈسکس"
 
diff --git a/po/ur_PK.po b/po/ur_PK.po
index 165aa66..d514bdf 100644
--- a/po/ur_PK.po
+++ b/po/ur_PK.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-05-14 03:19+0500\n"
 "Last-Translator: Muhammad Ali Makki <makki.ma at gmail.com>\n"
 "Language-Team: Urdu <makki.ma at gmail.com>\n"
@@ -142,8 +142,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "ہارڈ ڈسکس"
 
diff --git a/po/vi.po b/po/vi.po
index fd1e857..e0dd017 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2006-02-19 22:51+0300\n"
 "Last-Translator: Phan Vĩnh Thịnh <teppi at vnlinux.org>\n"
 "Language-Team: Vietnamese <none at li.org>\n"
@@ -146,8 +146,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr ""
 
diff --git a/po/zh_CN.po b/po/zh_CN.po
index c86a05a..77f4639 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce 4-sensors-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2009-05-09 13:38+0800\n"
 "Last-Translator: Hunt Xu <huntxu at live.cn>\n"
 "Language-Team: Chinese (simplified)\n"
@@ -137,8 +137,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr "硬盘"
 
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 0a3c5a6..131ea07 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2009-10-20 19:58+0200\n"
 "PO-Revision-Date: 2006-06-26 22:37+0800\n"
 "Last-Translator: Hydonsingore Cia <hydonsingore at educities.edu.tw>\n"
 "Language-Team: Chinese (traditional) <zh-l10n at linux.org.tw>\n"
@@ -146,8 +146,8 @@ msgstr ""
 #. or do only use this , if it is an lmsensors device. whatever.
 #. FIXME: compare strings, or also have hddtmep and acpi store numeric values
 #. assert correctly saved file
-#: ../lib/configuration.c:152 ../lib/configuration.c:332
-#: ../lib/configuration.c:339 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:154 ../lib/configuration.c:336
+#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
 msgid "Hard disks"
 msgstr ""
 
diff --git a/src/callbacks.c b/src/callbacks.c
index 4c828d4..08a33f9 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -57,6 +57,9 @@ on_main_window_response (GtkWidget *dlg, int response, t_sensors_dialog *sd)
         //g_free(sd->suppressmessage_checkbox);
         //g_free(sd->temperature_radio_group);
         //g_free(sd->unit_checkbox);
+        
+        // we don't save any values until now
+        //gtk_window_get_size ( GTK_WINDOW(dlg), &(sd->sensors->preferred_width), &(sd->sensors->preferred_height));
 
         g_free(sd);
 
diff --git a/src/interface.c b/src/interface.c
index c866987..c274ccb 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -70,6 +70,8 @@ create_main_window (t_sensors_dialog *sd)
     add_sensor_settings_box(vbox, sd);
     add_temperature_unit_box(vbox, sd);
     gtk_widget_show_all (vbox);
+    
+    gtk_window_set_default_size (GTK_WINDOW(dlg), sd->sensors->preferred_width, sd->sensors->preferred_height);
 
     g_signal_connect (dlg, "response",
             G_CALLBACK(on_main_window_response), sd);



More information about the Xfce4-commits mailing list