[Goodies-commits] r2355 - in xfce4-datetime-plugin/branches/enhanced_configdialog: . panel-plugin po

Remco den Breeje stacium at xfce.org
Sat Jan 13 22:45:06 CET 2007


Author: stacium
Date: 2007-01-13 21:45:06 +0000 (Sat, 13 Jan 2007)
New Revision: 2355

Modified:
   xfce4-datetime-plugin/branches/enhanced_configdialog/ChangeLog
   xfce4-datetime-plugin/branches/enhanced_configdialog/configure.in.in
   xfce4-datetime-plugin/branches/enhanced_configdialog/panel-plugin/datetime-dialog.c
   xfce4-datetime-plugin/branches/enhanced_configdialog/po/hu.po
   xfce4-datetime-plugin/branches/enhanced_configdialog/po/nl.po
Log:
datetime-plugin: Grouped the labels in the config-dialog

Modified: xfce4-datetime-plugin/branches/enhanced_configdialog/ChangeLog
===================================================================
--- xfce4-datetime-plugin/branches/enhanced_configdialog/ChangeLog	2007-01-13 19:48:32 UTC (rev 2354)
+++ xfce4-datetime-plugin/branches/enhanced_configdialog/ChangeLog	2007-01-13 21:45:06 UTC (rev 2355)
@@ -1,15 +1,14 @@
-2007-01-12  Remco den Breeje <remco at sx.mine.nu>
+2007-01-13  Remco den Breeje <remco at sx.mine.nu>
+    * Version 0.5.0 - User can choose a layout, added built-in formats of date
+      and time. Based on the patch for the clock-plugin by Nick Schermer and 
+      Brian Tarricone. 
+      See http://foo-projects.org/~nick/patches/xfce4-panel-clock.patch
     * Show actual date and times instead of the format codes in the
     config-dialog. 
     * Created general strftime function for the datetime plugin
-      
+    * Fixed some warnings that show when -Wall enabled
+    * Grouped the labels in the config-dialog
 
-2006-12-26  Remco den Breeje <remco at sx.mine.nu>
-    * Trial Version 0.5.0 - User can choose a layout, added built-in formats of date
-      and time. Based on the patch for the clock-plugin by Nick Schermer and 
-      Brian Tarricone. 
-      See http://foo-projects.org/~nick/patches/xfce4-panel-clock.patch
-
 2006-12-19  Nick Schermer <nick at xfce.org>
     * configure.in.in: Bump version to 0.4.1 for release
 

Modified: xfce4-datetime-plugin/branches/enhanced_configdialog/configure.in.in
===================================================================
--- xfce4-datetime-plugin/branches/enhanced_configdialog/configure.in.in	2007-01-13 19:48:32 UTC (rev 2354)
+++ xfce4-datetime-plugin/branches/enhanced_configdialog/configure.in.in	2007-01-13 21:45:06 UTC (rev 2355)
@@ -38,6 +38,8 @@
 dnl Check for optional packages
 XDT_CHECK_OPTIONAL_PACKAGE([DBUS], [dbus-1], [0.22], [dbus], [D-BUS support])
 
+#CFLAGS="$CFLAGS -Wall -Werror"
+
 dnl Check for debugging support
 BM_DEBUG_SUPPORT()
 

Modified: xfce4-datetime-plugin/branches/enhanced_configdialog/panel-plugin/datetime-dialog.c
===================================================================
--- xfce4-datetime-plugin/branches/enhanced_configdialog/panel-plugin/datetime-dialog.c	2007-01-13 19:48:32 UTC (rev 2354)
+++ xfce4-datetime-plugin/branches/enhanced_configdialog/panel-plugin/datetime-dialog.c	2007-01-13 21:45:06 UTC (rev 2355)
@@ -296,6 +296,7 @@
 	    *button,
 	    *entry,
 	    *bin;
+  GtkSizeGroup *sg;
 
   xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
 
@@ -312,6 +313,9 @@
   gtk_window_set_icon_name (GTK_WINDOW (dlg), "xfce4-settings");
 
   gtk_container_set_border_width(GTK_CONTAINER(dlg), 2);
+  
+  /* size group */
+  sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
 
   /*
    * layout frame
@@ -333,6 +337,7 @@
   label = gtk_label_new(_("Format:"));
   gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+  gtk_size_group_add_widget(sg, label);
 
   /* Layout combobox */
   layout_combobox = gtk_combo_box_new_text();
@@ -366,6 +371,7 @@
   label = gtk_label_new(_("Font:"));
   gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+  gtk_size_group_add_widget(sg, label);
 
   /* font button */
   button = gtk_button_new_with_label(datetime->time_font);
@@ -382,6 +388,7 @@
   label = gtk_label_new(_("Format:"));
   gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+  gtk_size_group_add_widget(sg, label);
   
   /* format combobox */
   time_combobox = gtk_combo_box_new_text();
@@ -443,6 +450,7 @@
   label = gtk_label_new(_("Font:"));
   gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+  gtk_size_group_add_widget(sg, label);
 
   /* font button */
   button = gtk_button_new_with_label(datetime->date_font);
@@ -459,6 +467,7 @@
   label = gtk_label_new(_("Format:"));
   gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+  gtk_size_group_add_widget(sg, label);
 
   /* format combobox */
   date_combobox = gtk_combo_box_new_text();

Modified: xfce4-datetime-plugin/branches/enhanced_configdialog/po/hu.po
===================================================================
--- xfce4-datetime-plugin/branches/enhanced_configdialog/po/hu.po	2007-01-13 19:48:32 UTC (rev 2354)
+++ xfce4-datetime-plugin/branches/enhanced_configdialog/po/hu.po	2007-01-13 21:45:06 UTC (rev 2355)
@@ -2,7 +2,7 @@
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-12-26 15:07+0100\n"
+"POT-Creation-Date: 2007-01-13 21:14+0100\n"
 "PO-Revision-Date: 2006-12-17 15:02+0100\n"
 "Last-Translator: SZERVÁC Attila <sas at 321.hu>\n"
 "Language-Team: Hungarian\n"
@@ -13,11 +13,15 @@
 "X-Poedit-Language: Hungarian\n"
 "X-Poedit-Country: HUNGARY\n"
 
-#: ../panel-plugin/datetime.c:73 ../panel-plugin/datetime.c:92
+#: ../panel-plugin/datetime.c:49
+msgid "Invalid format"
+msgstr ""
+
+#: ../panel-plugin/datetime.c:54
 msgid "Error"
 msgstr "Hiba"
 
-#: ../panel-plugin/datetime.c:284
+#: ../panel-plugin/datetime.c:282
 msgid "Date:"
 msgstr "Dátum:"
 
@@ -44,55 +48,55 @@
 msgid "Custom..."
 msgstr ""
 
-#: ../panel-plugin/datetime-dialog.c:89
+#: ../panel-plugin/datetime-dialog.c:92
 msgid "Select font"
 msgstr "Válassz betűt"
 
-#: ../panel-plugin/datetime-dialog.c:299
+#: ../panel-plugin/datetime-dialog.c:305
 msgid "Datetime properties"
 msgstr "A Dátum és idő tulajdonságai"
 
 #.
 #. * layout frame
 #.
-#: ../panel-plugin/datetime-dialog.c:314
+#: ../panel-plugin/datetime-dialog.c:323
 msgid "Layout"
 msgstr ""
 
 #. Format label
 #. format label
-#: ../panel-plugin/datetime-dialog.c:328 ../panel-plugin/datetime-dialog.c:377
-#: ../panel-plugin/datetime-dialog.c:449
+#: ../panel-plugin/datetime-dialog.c:337 ../panel-plugin/datetime-dialog.c:388
+#: ../panel-plugin/datetime-dialog.c:467
 msgid "Format:"
 msgstr "Formátum:"
 
 #.
 #. * time frame
 #.
-#: ../panel-plugin/datetime-dialog.c:347
+#: ../panel-plugin/datetime-dialog.c:357
 msgid "Time"
 msgstr "Idő"
 
 #. font label
-#: ../panel-plugin/datetime-dialog.c:361 ../panel-plugin/datetime-dialog.c:433
+#: ../panel-plugin/datetime-dialog.c:371 ../panel-plugin/datetime-dialog.c:450
 msgid "Font:"
 msgstr "Betű"
 
 #.
 #. * Date frame
 #.
-#: ../panel-plugin/datetime-dialog.c:419
+#: ../panel-plugin/datetime-dialog.c:436
 msgid "Date"
 msgstr "Dátum"
 
 #.
 #. * Calendar options frame
 #.
-#: ../panel-plugin/datetime-dialog.c:491
+#: ../panel-plugin/datetime-dialog.c:515
 msgid "Calendar"
 msgstr "Naptár"
 
-#: ../panel-plugin/datetime-dialog.c:509
+#: ../panel-plugin/datetime-dialog.c:533
 msgid ""
 "The information on which day the calendar week starts is derived from the "
 "locale."

Modified: xfce4-datetime-plugin/branches/enhanced_configdialog/po/nl.po
===================================================================
--- xfce4-datetime-plugin/branches/enhanced_configdialog/po/nl.po	2007-01-13 19:48:32 UTC (rev 2354)
+++ xfce4-datetime-plugin/branches/enhanced_configdialog/po/nl.po	2007-01-13 21:45:06 UTC (rev 2355)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: datetime 0.4.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-12-26 15:07+0100\n"
+"POT-Creation-Date: 2007-01-13 21:14+0100\n"
 "PO-Revision-Date: 2006-10-06 11:16+0200\n"
 "Last-Translator: Remco den Breeje <remco at sx.mine.nu>\n"
 "Language-Team: Dutch <foo at bar>\n"
@@ -15,11 +15,15 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: ../panel-plugin/datetime.c:73 ../panel-plugin/datetime.c:92
+#: ../panel-plugin/datetime.c:49
+msgid "Invalid format"
+msgstr "Ongeldige opmaak"
+
+#: ../panel-plugin/datetime.c:54
 msgid "Error"
 msgstr "Fout"
 
-#: ../panel-plugin/datetime.c:284
+#: ../panel-plugin/datetime.c:282
 msgid "Date:"
 msgstr "Datum"
 
@@ -43,55 +47,55 @@
 msgid "Custom..."
 msgstr "Handmatig..."
 
-#: ../panel-plugin/datetime-dialog.c:89
+#: ../panel-plugin/datetime-dialog.c:92
 msgid "Select font"
 msgstr "Kies lettertype"
 
-#: ../panel-plugin/datetime-dialog.c:299
+#: ../panel-plugin/datetime-dialog.c:305
 msgid "Datetime properties"
 msgstr "Datetime eigenschappen"
 
 #.
 #. * layout frame
 #.
-#: ../panel-plugin/datetime-dialog.c:314
+#: ../panel-plugin/datetime-dialog.c:323
 msgid "Layout"
 msgstr "Layout"
 
 #. Format label
 #. format label
-#: ../panel-plugin/datetime-dialog.c:328 ../panel-plugin/datetime-dialog.c:377
-#: ../panel-plugin/datetime-dialog.c:449
+#: ../panel-plugin/datetime-dialog.c:337 ../panel-plugin/datetime-dialog.c:388
+#: ../panel-plugin/datetime-dialog.c:467
 msgid "Format:"
 msgstr "Opmaak:"
 
 #.
 #. * time frame
 #.
-#: ../panel-plugin/datetime-dialog.c:347
+#: ../panel-plugin/datetime-dialog.c:357
 msgid "Time"
 msgstr "Tijd"
 
 #. font label
-#: ../panel-plugin/datetime-dialog.c:361 ../panel-plugin/datetime-dialog.c:433
+#: ../panel-plugin/datetime-dialog.c:371 ../panel-plugin/datetime-dialog.c:450
 msgid "Font:"
 msgstr "Lettertype:"
 
 #.
 #. * Date frame
 #.
-#: ../panel-plugin/datetime-dialog.c:419
+#: ../panel-plugin/datetime-dialog.c:436
 msgid "Date"
 msgstr "Datum"
 
 #.
 #. * Calendar options frame
 #.
-#: ../panel-plugin/datetime-dialog.c:491
+#: ../panel-plugin/datetime-dialog.c:515
 msgid "Calendar"
 msgstr "Kalender"
 
-#: ../panel-plugin/datetime-dialog.c:509
+#: ../panel-plugin/datetime-dialog.c:533
 msgid ""
 "The information on which day the calendar week starts is derived from the "
 "locale."




More information about the Goodies-commits mailing list