[Goodies-commits] r4848 - in xfce4-datetime-plugin/trunk: . panel-plugin po

Diego Ongaro ongardie at xfce.org
Tue May 27 23:50:56 CEST 2008


Author: ongardie
Date: 2008-05-27 21:50:55 +0000 (Tue, 27 May 2008)
New Revision: 4848

Modified:
   xfce4-datetime-plugin/trunk/ChangeLog
   xfce4-datetime-plugin/trunk/panel-plugin/datetime-dialog.c
   xfce4-datetime-plugin/trunk/panel-plugin/datetime.c
   xfce4-datetime-plugin/trunk/panel-plugin/datetime.h
   xfce4-datetime-plugin/trunk/po/ChangeLog
Log:
Formatted ChangeLog files, removed tabs and trailing space from code


Modified: xfce4-datetime-plugin/trunk/ChangeLog
===================================================================
--- xfce4-datetime-plugin/trunk/ChangeLog	2008-05-27 19:07:50 UTC (rev 4847)
+++ xfce4-datetime-plugin/trunk/ChangeLog	2008-05-27 21:50:55 UTC (rev 4848)
@@ -1,109 +1,133 @@
-2008-05-21  Diego Ongaro <ongardie at gmail.com>
-    * panel-plugin/datetime.c:
-      - Remove date input (Bug #4023)
-      - Fix tooltip hiding
+2008-05-21	Diego Ongaro <ongardie at gmail.com>
 
-2008-05-18  Diego Ongaro <ongardie at gmail.com>
-    * panel-plugin/datetime-dialog.c: Missing static keywords
+	* {,po/}ChangeLog, panel-plugin/*.{c,h}: formatting
+	* panel-plugin/datetime.c:
+	  - Remove date input (Bug #4023)
+	  - Fix tooltip hiding
 
-2008-05-17  Diego Ongaro <ongardie at gmail.com>
-    * panel-plugin/datetime-dialog.c:
-      - translate strings in combo boxes
-    * panel-plugin/datetime.c:
-      - Use GtkToggleButton in panel (Bug #3456)
-      - handle delete event on popup calendar (patch from Mike Massonet)
-      - show popup calendar on all workspaces (patch from Mike Massonet)
-      - allow ctrl-click on plugin (patch from Mike Massonet)
+2008-05-18	Diego Ongaro <ongardie at gmail.com>
 
-2008-05-02  Diego Ongaro <ongardie at gmail.com>
-    * panel-plugin/datetime.c:
-      - fix memory leak with double-g_strdup of setting strings
-      - handle NULL from xfce_rc_simple_open,
-    * panel-plugin/datetime.h: Use GtkTooltips type (fixes build)
+	* panel-plugin/datetime-dialog.c: Missing static keywords
 
-2007-04-07  Remco den Breeje <remco at sx.mine.nu>
-    * panel-plugin/datetime.{c,h}, 
-    * panel-plugin/datetime-dialog.c: Enable tooltips. Based 
-    on a patch by Laurent Meunier <meunier.laurent at laposte.net> (#3073)
+2008-05-17	Diego Ongaro <ongardie at gmail.com>
 
-2007-04-02  Remco den Breeje <remco at sx.mine.nu>
-    * THANKS: added contributors
-    * panel-plugin/datetime.c: Fix incorrect display when panel starts (#3062)
+	* panel-plugin/datetime-dialog.c:
+	  - translate strings in combo boxes
+	* panel-plugin/datetime.c:
+	  - Use GtkToggleButton in panel (Bug #3456)
+	  - handle delete event on popup calendar (patch from Mike Massonet)
+	  - show popup calendar on all workspaces (patch from Mike Massonet)
+	  - allow ctrl-click on plugin (patch from Mike Massonet)
 
-2007-03-02  Remco den Breeje <remco at sx.mine.nu>
-    * THANKS: added contributors
-    * LINGUAS,uk.po: Add Ukrainian translations by LuckAs <luckas_fb at mail.ru>
+2008-05-02	Diego Ongaro <ongardie at gmail.com>
 
-2007-01-13  Remco den Breeje <remco at sx.mine.nu>
-    * release 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
+	* panel-plugin/datetime.c:
+	  - fix memory leak with double-g_strdup of setting strings
+	  - handle NULL from xfce_rc_simple_open,
+	* panel-plugin/datetime.h: Use GtkTooltips type (fixes build)
 
-2006-12-19  Nick Schermer <nick at xfce.org>
-    * configure.in.in: Bump version to 0.4.1 for release
+2007-04-07	Remco den Breeje <remco at sx.mine.nu>
 
-2006-12-17  Nick Schermer <nick at xfce.org>
-    * Move the file into trunk.
-    * Fix compiler warnings.
-    * Add LINGUAS support.
-    * Cygwin Fix.
-    * Fix compiler warnings and header includes.
-    * Use new module detection for the panel.
-    * Fix multiple memory leaks.
-    * Fix crash when the plugin was removed from the panel.
-    * Use panel slice macros for creating structures.
+	* panel-plugin/datetime.{c,h}, 
+	* panel-plugin/datetime-dialog.c: Enable tooltips. Based 
+	on a patch by Laurent Meunier <meunier.laurent at laposte.net> (#3073)
 
-2006-10-06  Remco den Breeje <remco at sx.mine.nu>
-    * release 0.4.0
-    compatible with xfce 4.4
+2007-04-02	Remco den Breeje <remco at sx.mine.nu>
 
-2004-09-11  Choe Hwanjin <krisna at kldp.org>
-    * release 0.3.1
+	* THANKS: added contributors
+	* panel-plugin/datetime.c: Fix incorrect display when panel starts (#3062)
 
-2004-09-09  Choe Hwanjin <krisna at kldp.org>
-    * Add French translation.
-    Thanks to Stephane Roy <sroy at j2n.net>
+2007-03-02	Remco den Breeje <remco at sx.mine.nu>
 
-2004-05-31  Choe Hwanjin <krisna at kldp.org>
-    * Add Catalan translation.
-    Thanks to Carles Muñoz Gorriz <carlesmu at internautas.org>
+	* THANKS: added contributors
+	* LINGUAS,uk.po: Add Ukrainian translations by LuckAs <luckas_fb at mail.ru>
 
-2004-01-18  Choe Hwanjin <krisna at kldp.org>
-    * release 0.3.0
+2007-01-13	Remco den Breeje <remco at sx.mine.nu>
 
-2004-01-04  Choe Hwanjin <krisna at kldp.org>
-    * datetime/datetime.c: automatically change layout when the panel size is
-      small
+	* release 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
 
-2004-01-01  Choe Hwanjin <krisna at kldp.org>
-    * datetime/datetime.c: append entry to select date. format change is
-      applied on closing option window
+2006-12-19	Nick Schermer <nick at xfce.org>
 
-2003-12-29  Choe Hwanjin <krisna at kldp.org>
-    * internationalization
+	* configure.in.in: Bump version to 0.4.1 for release
 
-2003-12-29  Choe Hwanjin <krisna at kldp.org>
-    * datetime/datetime.c: split main label into two, date label and time label
-      add Week starts monday option for calendar (#1181)
-      Thanks to Jeroen Peters (xfce-goodies at jpeters.coldmail.nl)
+2006-12-17	Nick Schermer <nick at xfce.org>
 
-2003-12-13  Choe Hwanjin <krisna at kldp.org>
-    * add autogen.sh
-    * update libtool to 1.5.0a
+	* Move the file into trunk.
+	* Fix compiler warnings.
+	* Add LINGUAS support.
+	* Cygwin Fix.
+	* Fix compiler warnings and header includes.
+	* Use new module detection for the panel.
+	* Fix multiple memory leaks.
+	* Fix crash when the plugin was removed from the panel.
+	* Use panel slice macros for creating structures.
 
-2003-11-02  Choe Hwanjin <krisna at kldp.org>
-    * datetime/datetime.c:
-      change timeout interval with format string(aware of second field)
+2006-10-06	Remco den Breeje <remco at sx.mine.nu>
 
-2003-10-13  Choe Hwanjin <krisna at kldp.org>
-    * src/datetime.c: Calendar window is toggled by clicking datetime widget
+	* release 0.4.0
+	compatible with xfce 4.4
 
-2003-10-05  Choe Hwanjin <krisna at kldp.org>
-    * src/datetime.c: i18n update (#981)
+2004-09-11	Choe Hwanjin <krisna at kldp.org>
+
+	* release 0.3.1
+
+2004-09-09	Choe Hwanjin <krisna at kldp.org>
+
+	* Add French translation.
+	Thanks to Stephane Roy <sroy at j2n.net>
+
+2004-05-31	Choe Hwanjin <krisna at kldp.org>
+
+	* Add Catalan translation.
+	Thanks to Carles Muñoz Gorriz <carlesmu at internautas.org>
+
+2004-01-18	Choe Hwanjin <krisna at kldp.org>
+
+	* release 0.3.0
+
+2004-01-04	Choe Hwanjin <krisna at kldp.org>
+
+	* datetime/datetime.c: automatically change layout when the panel size is
+	  small
+
+2004-01-01	Choe Hwanjin <krisna at kldp.org>
+
+	* datetime/datetime.c: append entry to select date. format change is
+	  applied on closing option window
+
+2003-12-29	Choe Hwanjin <krisna at kldp.org>
+
+	* internationalization
+
+2003-12-29	Choe Hwanjin <krisna at kldp.org>
+
+	* datetime/datetime.c: split main label into two, date label and time label
+	  add Week starts monday option for calendar (#1181)
+	  Thanks to Jeroen Peters (xfce-goodies at jpeters.coldmail.nl)
+
+2003-12-13	Choe Hwanjin <krisna at kldp.org>
+
+	* add autogen.sh
+	* update libtool to 1.5.0a
+
+2003-11-02	Choe Hwanjin <krisna at kldp.org>
+
+	* datetime/datetime.c:
+	  change timeout interval with format string(aware of second field)
+
+2003-10-13	Choe Hwanjin <krisna at kldp.org>
+
+	* src/datetime.c: Calendar window is toggled by clicking datetime widget
+
+2003-10-05	Choe Hwanjin <krisna at kldp.org>
+
+	* src/datetime.c: i18n update (#981)

Modified: xfce4-datetime-plugin/trunk/panel-plugin/datetime-dialog.c
===================================================================
--- xfce4-datetime-plugin/trunk/panel-plugin/datetime-dialog.c	2008-05-27 19:07:50 UTC (rev 4847)
+++ xfce4-datetime-plugin/trunk/panel-plugin/datetime-dialog.c	2008-05-27 21:50:55 UTC (rev 4848)
@@ -47,20 +47,20 @@
 /* builtin formats - derived from xfce4-panel-clock.patch by Nick Schermer */
 #define TIME_FORMAT_COUNT 6
 static const char *time_format[] = {
-  "%H:%M",		"%H:%M:%S",
-  "%l:%M %P",		"%l:%M:%S %P",
+  "%H:%M",              "%H:%M:%S",
+  "%l:%M %P",           "%l:%M:%S %P",
   "---",
   N_("Custom...")
 };
 
 #define DATE_FORMAT_COUNT 13
 static const char *date_format[] = {
-  "%Y/%m/%d",		"%m/%d/%Y",
-  "%B %d, %Y",		"%b %d, %Y",
-  "%A, %B %d, %Y",	"%a, %b %d, %Y",
-  "%d/%m/%Y",		"%d %B %Y",
-  "%d %b %Y",		"%A, %d %B %Y",
-  "%a, %d %b %Y",	"---",
+  "%Y/%m/%d",           "%m/%d/%Y",
+  "%B %d, %Y",          "%b %d, %Y",
+  "%A, %B %d, %Y",      "%a, %b %d, %Y",
+  "%d/%m/%Y",           "%d %B %Y",
+  "%d %b %Y",           "%A, %d %B %Y",
+  "%a, %d %b %Y",       "---",
   N_("Custom...")
 };
 
@@ -93,12 +93,12 @@
 
   dialog = gtk_font_selection_dialog_new(_("Select font"));
   gtk_font_selection_dialog_set_font_name(GTK_FONT_SELECTION_DIALOG(dialog),
-					  fontname);
+                                          fontname);
 
   if (G_LIKELY (previewtext != NULL))
   {
     gtk_font_selection_dialog_set_preview_text(GTK_FONT_SELECTION_DIALOG(dialog),
-					       previewtext);
+                                               previewtext);
   }
 
   result = gtk_dialog_run(GTK_DIALOG(dialog));
@@ -112,9 +112,9 @@
       gtk_button_set_label(GTK_BUTTON(widget), font_name);
 
       if(target == DATE)
-	datetime_apply_font(dt, font_name, NULL);
+        datetime_apply_font(dt, font_name, NULL);
       else
-	datetime_apply_font(dt, NULL, font_name);
+        datetime_apply_font(dt, NULL, font_name);
 
       g_free (font_name);
     }
@@ -125,7 +125,7 @@
 /*
  * Read layout from combobox and set sensitivity
  */
-static void 
+static void
 datetime_layout_changed(GtkComboBox *cbox, t_datetime *dt)
 {
   t_layout layout;
@@ -136,47 +136,47 @@
   switch(layout)
   {
     case LAYOUT_DATE:
-      gtk_widget_set_sensitive(dt->date_font_selector,	  TRUE);
+      gtk_widget_set_sensitive(dt->date_font_selector,    TRUE);
       gtk_widget_set_sensitive(dt->date_format_combobox,  TRUE);
-      gtk_widget_set_sensitive(dt->date_format_entry,	  TRUE);
-      gtk_widget_set_sensitive(dt->time_font_selector,	  FALSE);
+      gtk_widget_set_sensitive(dt->date_format_entry,     TRUE);
+      gtk_widget_set_sensitive(dt->time_font_selector,    FALSE);
       gtk_widget_set_sensitive(dt->time_format_combobox,  FALSE);
-      gtk_widget_set_sensitive(dt->time_format_entry,	  FALSE);
+      gtk_widget_set_sensitive(dt->time_format_entry,     FALSE);
       break;
 
     case LAYOUT_TIME:
-      gtk_widget_set_sensitive(dt->date_font_selector,	  FALSE);
+      gtk_widget_set_sensitive(dt->date_font_selector,    FALSE);
       gtk_widget_set_sensitive(dt->date_format_combobox,  FALSE);
-      gtk_widget_set_sensitive(dt->date_format_entry,	  FALSE);
-      gtk_widget_set_sensitive(dt->time_font_selector,	  TRUE);
+      gtk_widget_set_sensitive(dt->date_format_entry,     FALSE);
+      gtk_widget_set_sensitive(dt->time_font_selector,    TRUE);
       gtk_widget_set_sensitive(dt->time_format_combobox,  TRUE);
-      gtk_widget_set_sensitive(dt->time_format_entry,	  TRUE);
+      gtk_widget_set_sensitive(dt->time_format_entry,     TRUE);
       break;
 
     default:
-      gtk_widget_set_sensitive(dt->date_font_selector,	  TRUE);
+      gtk_widget_set_sensitive(dt->date_font_selector,    TRUE);
       gtk_widget_set_sensitive(dt->date_format_combobox,  TRUE);
-      gtk_widget_set_sensitive(dt->date_format_entry,	  TRUE);
-      gtk_widget_set_sensitive(dt->time_font_selector,	  TRUE);
+      gtk_widget_set_sensitive(dt->date_format_entry,     TRUE);
+      gtk_widget_set_sensitive(dt->time_font_selector,    TRUE);
       gtk_widget_set_sensitive(dt->time_format_combobox,  TRUE);
-      gtk_widget_set_sensitive(dt->time_format_entry,	  TRUE);
+      gtk_widget_set_sensitive(dt->time_format_entry,     TRUE);
   }
 
   datetime_apply_layout(dt, layout);
   datetime_update(dt);
 }
 
-/* 
- * Row seperator for format-comboboxes of date and time 
- * derived from xfce4-panel-clock.patch by Nick Schermer 
+/*
+ * Row seperator for format-comboboxes of date and time
+ * derived from xfce4-panel-clock.patch by Nick Schermer
  */
 static gboolean
 combo_box_row_separator (GtkTreeModel *model,
-			 GtkTreeIter  *iter,
-			 gpointer data)
+                         GtkTreeIter  *iter,
+                         gpointer data)
 {
   /* Hack: the 2nd item from the end will be a separator */
- 
+
   gint total, current;
   GtkTreePath *path;
 
@@ -192,7 +192,7 @@
     return FALSE;
 }
 
-/* 
+/*
  * Read date format from combobox and set sensitivity
  */
 static void
@@ -213,11 +213,11 @@
     gtk_widget_hide(dt->date_format_entry);
     datetime_apply_format(dt, date_format[active], NULL);
   }
-  
+
   datetime_update(dt);
 }
 
-/* 
+/*
  * Read time format from combobox and set sensitivity
  */
 static void
@@ -238,23 +238,23 @@
     gtk_widget_hide(dt->time_format_entry);
     datetime_apply_format(dt, NULL, time_format[active]);
   }
-  
+
   datetime_update(dt);
 }
 
 /*
  * read values from date and time entry and inform datetime about it
  */
-static gboolean 
+static gboolean
 datetime_entry_change_cb(GtkWidget *widget, GdkEventFocus *ev, t_datetime *dt)
 {
   const gchar *format;
   format = gtk_entry_get_text(GTK_ENTRY(widget));
   if (format != NULL)
   {
-    if(widget == dt->date_format_entry)		/* date */
+    if(widget == dt->date_format_entry)         /* date */
       datetime_apply_format(dt, format, NULL);
-    else if(widget == dt->time_format_entry)	/* or time */
+    else if(widget == dt->time_format_entry)    /* or time */
       datetime_apply_format(dt, NULL, format);
   }
   datetime_update(dt);
@@ -264,7 +264,7 @@
 /*
  * user closed the properties dialog
  */
-static void 
+static void
 datetime_dialog_response(GtkWidget *dlg, int foo, t_datetime *dt)
 {
   if(dt == NULL)
@@ -280,24 +280,24 @@
 /*
  * show datetime properties dialog
  */
-void 
+void
 datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime)
 {
   gint i;
   gchar *utf8str;
   struct tm *exampletm;
   GtkWidget *dlg,
-	    *frame,
-	    *vbox,
-	    *hbox,
-	    *layout_combobox,
-	    *time_combobox,
-	    *date_combobox,
-	    *label,
-	    *image,
-	    *button,
-	    *entry,
-	    *bin;
+            *frame,
+            *vbox,
+            *hbox,
+            *layout_combobox,
+            *time_combobox,
+            *date_combobox,
+            *label,
+            *image,
+            *button,
+            *entry,
+            *bin;
   GtkSizeGroup *sg;
 
   xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
@@ -315,7 +315,7 @@
   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);
 
@@ -409,18 +409,18 @@
       gtk_combo_box_append_text(GTK_COMBO_BOX(date_combobox), _(date_format[i]));
     }
 
-    /* set active 
-     * strcmp isn't fast, but it is done only once while opening the dialog 
+    /* set active
+     * strcmp isn't fast, but it is done only once while opening the dialog
      */
     if(strcmp(datetime->date_format,date_format[i]) == 0)
       gtk_combo_box_set_active(GTK_COMBO_BOX(date_combobox), i);
   }
   /* if no field selected -> select custom field */
-  if(gtk_combo_box_get_active(GTK_COMBO_BOX(date_combobox)) < 0) 
+  if(gtk_combo_box_get_active(GTK_COMBO_BOX(date_combobox)) < 0)
     gtk_combo_box_set_active(GTK_COMBO_BOX(date_combobox), DATE_FORMAT_COUNT-1);
   gtk_combo_box_set_row_separator_func(GTK_COMBO_BOX(date_combobox),
-				       combo_box_row_separator,
-				       NULL, NULL);
+                                       combo_box_row_separator,
+                                       NULL, NULL);
   g_signal_connect(G_OBJECT(date_combobox), "changed",
       G_CALLBACK(date_format_changed), datetime);
   datetime->date_format_combobox = date_combobox;
@@ -477,7 +477,7 @@
   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();
   gtk_box_pack_start(GTK_BOX(hbox), time_combobox, TRUE, TRUE, 0);
@@ -495,18 +495,18 @@
       gtk_combo_box_append_text(GTK_COMBO_BOX(time_combobox), _(time_format[i]));
     }
 
-    /* set active 
-     * strcmp isn't fast, but it is done only once while opening the dialog 
+    /* set active
+     * strcmp isn't fast, but it is done only once while opening the dialog
      */
     if(strcmp(datetime->time_format,time_format[i]) == 0)
       gtk_combo_box_set_active(GTK_COMBO_BOX(time_combobox), i);
   }
   /* if no field selected -> select custom field */
-  if(gtk_combo_box_get_active(GTK_COMBO_BOX(time_combobox)) < 0) 
+  if(gtk_combo_box_get_active(GTK_COMBO_BOX(time_combobox)) < 0)
     gtk_combo_box_set_active(GTK_COMBO_BOX(time_combobox), TIME_FORMAT_COUNT-1);
   gtk_combo_box_set_row_separator_func(GTK_COMBO_BOX(time_combobox),
-				       combo_box_row_separator,
-				       NULL, NULL);
+                                       combo_box_row_separator,
+                                       NULL, NULL);
   g_signal_connect(G_OBJECT(time_combobox), "changed",
       G_CALLBACK(time_format_changed), datetime);
   datetime->time_format_combobox = time_combobox;
@@ -547,7 +547,7 @@
   label = gtk_label_new(NULL);
   gtk_label_set_markup(GTK_LABEL(label),
       _("The information on which day the calendar week "
-	"starts is derived from the locale."));
+        "starts is derived from the locale."));
   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
   gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
 
@@ -556,7 +556,7 @@
   /* We're done! */
   g_signal_connect(dlg, "response",
       G_CALLBACK(datetime_dialog_response), datetime);
-  
+
   /* set sensitivity for all widgets */
   datetime_layout_changed(GTK_COMBO_BOX(layout_combobox), datetime);
   date_format_changed(GTK_COMBO_BOX(date_combobox), datetime);

Modified: xfce4-datetime-plugin/trunk/panel-plugin/datetime.c
===================================================================
--- xfce4-datetime-plugin/trunk/panel-plugin/datetime.c	2008-05-27 19:07:50 UTC (rev 4847)
+++ xfce4-datetime-plugin/trunk/panel-plugin/datetime.c	2008-05-27 21:50:55 UTC (rev 4848)
@@ -175,23 +175,23 @@
   {
     if (parent_x < root_w / 2) {
       if (parent_y < root_h / 2) {
-	/* upper left */
-	x = parent_x + parent_w;
-	y = parent_y;
+        /* upper left */
+        x = parent_x + parent_w;
+        y = parent_y;
       } else {
-	/* lower left */
-	x = parent_x + parent_w;
-	y = parent_y + parent_h - height;
+        /* lower left */
+        x = parent_x + parent_w;
+        y = parent_y + parent_h - height;
       }
     } else {
       if (parent_y < root_h / 2) {
-	/* upper right */
-	x = parent_x - width;
-	y = parent_y;
+        /* upper right */
+        x = parent_x - width;
+        y = parent_y;
       } else {
-	/* lower right */
-	x = parent_x - width;
-	y = parent_y + parent_h - height;
+        /* lower right */
+        x = parent_x - width;
+        y = parent_y + parent_h - height;
       }
     }
   }
@@ -201,30 +201,30 @@
     {
       if (parent_y < root_h / 2)
       {
-	/* upper left */
-	x = parent_x;
-	y = parent_y + parent_h;
+        /* upper left */
+        x = parent_x;
+        y = parent_y + parent_h;
       }
       else
       {
-	/* lower left */
-	x = parent_x;
-	y = parent_y - height;
+        /* lower left */
+        x = parent_x;
+        y = parent_y - height;
       }
     }
     else
     {
       if (parent_y < root_h / 2)
       {
-	/* upper right */
-	x = parent_x + parent_w - width;
-	y = parent_y + parent_h;
+        /* upper right */
+        x = parent_x + parent_w - width;
+        y = parent_y + parent_h;
       }
       else
       {
-	/* lower right */
-	x = parent_x + parent_w - width;
-	y = parent_y - height;
+        /* lower right */
+        x = parent_x + parent_w - width;
+        y = parent_y - height;
       }
     }
   }
@@ -466,7 +466,7 @@
 
     if(rc != NULL)
     {
-      layout	  = xfce_rc_read_int_entry(rc, "layout", layout);
+      layout      = xfce_rc_read_int_entry(rc, "layout", layout);
       date_font   = xfce_rc_read_entry(rc, "date_font", date_font);
       time_font   = xfce_rc_read_entry(rc, "time_font", time_font);
       date_format = xfce_rc_read_entry(rc, "date_format", date_format);

Modified: xfce4-datetime-plugin/trunk/panel-plugin/datetime.h
===================================================================
--- xfce4-datetime-plugin/trunk/panel-plugin/datetime.h	2008-05-27 19:07:50 UTC (rev 4847)
+++ xfce4-datetime-plugin/trunk/panel-plugin/datetime.h	2008-05-27 21:50:55 UTC (rev 4848)
@@ -70,9 +70,9 @@
 gboolean
 datetime_update(gpointer data);
 
-gchar * 
+gchar *
 datetime_do_utf8strftime(
-    const char *format, 
+    const char *format,
     const struct tm *tm);
 
 void
@@ -85,8 +85,8 @@
     const gchar *date_format,
     const gchar *time_format);
 
-void 
-datetime_apply_layout(t_datetime *datetime, 
+void
+datetime_apply_layout(t_datetime *datetime,
     t_layout layout);
 
 void

Modified: xfce4-datetime-plugin/trunk/po/ChangeLog
===================================================================
--- xfce4-datetime-plugin/trunk/po/ChangeLog	2008-05-27 19:07:50 UTC (rev 4847)
+++ xfce4-datetime-plugin/trunk/po/ChangeLog	2008-05-27 21:50:55 UTC (rev 4848)
@@ -2,7 +2,7 @@
 
 	* es.po: Added missing letter (Bug #4114)
 
-2008-05-27  Mike Massonnet <mmassonnet at xfce.org>
+2008-05-27	Mike Massonnet <mmassonnet at xfce.org>
 
 	* da.po, LINGUAS: Add Danish translation (Jens Hyllegaard)
 
@@ -34,7 +34,7 @@
 	* ur.po: Update translation by Muhammad Ali Makki <makki.ma at gmail.com>
 	* pk.po, ur.po: Rename pk.po to ur.po.
 
-2007-11-06  Og Maciel <ogmaciel at gnome.org>
+2007-11-06	Og Maciel <ogmaciel at gnome.org>
 
 	* pt_BR.po: Updated the Brazilian Portuguese translation
 	by Fábio Nogueira <deb-user-ba at ubuntu.com>
@@ -43,35 +43,35 @@
 
 	* pk.po: Add new translation by محمد علي المكي <makki.ma at gmail.com>
 
-2007-06-11  Maximilian Schleiss <maximilian at xfce.org>
+2007-06-11	Maximilian Schleiss <maximilian at xfce.org>
 
 	* pt_BR.po: Updated the Brazilian Portuguese translation
 	by Pablo Lerina <pabloalr at gmail.com>
 
-2007-03-14  Piarres Beobide <pi at beobide.net>
+2007-03-14	Piarres Beobide <pi at beobide.net>
 
 	* eu.po: Added basque translation
 
-2007-03-02  Maximilian Schleiss <maximilian at xfce.org>
+2007-03-02	Maximilian Schleiss <maximilian at xfce.org>
 
 	* fr.po: Added the French translation.
 
-2007-03-02  Remco den Breeje <remco at vioco.nl>
+2007-03-02	Remco den Breeje <remco at vioco.nl>
 
 	* uk.po: Added Ukrainian translations
 
-2007-01-13  Remco den Breeje <remco at vioco.nl>
+2007-01-13	Remco den Breeje <remco at vioco.nl>
 
 	* Updated name of pot-file
 
-2006-12-17  sas <sas at 321>
+2006-12-17	sas <sas at 321>
 
 	* hu.po: Added Hungarian translation
 
-2006-12-17  Nick Schermer <nick at xfce.org>
+2006-12-17	Nick Schermer <nick at xfce.org>
 
 	* Created pot file for translators
 
-2006-10-06  Remco den Breeje <remco at sx.mine.nu>
+2006-10-06	Remco den Breeje <remco at sx.mine.nu>
 
 	* nl.po: Created Dutch translation




More information about the Goodies-commits mailing list