[Xfce4-commits] xfce4-taskmanager:master Include sys/proc.h for P_ZOMBIE SSLEEP macros definition.

2014-01-09 Thread Landry Breuil
Updating branch refs/heads/master
 to e293a72e0f990780e5fb11a1286095ef8119f01c (commit)
   from d720c86b87e183e05b5f5158c03d77d97e889c40 (commit)

commit e293a72e0f990780e5fb11a1286095ef8119f01c
Author: Landry Breuil lan...@xfce.org
Date:   Thu Jan 9 22:10:09 2014 +0100

Include sys/proc.h for P_ZOMBIE  SSLEEP macros definition.

 src/task-manager-bsd.c |2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/task-manager-bsd.c b/src/task-manager-bsd.c
index 2bdfd70..c34e1ad 100644
--- a/src/task-manager-bsd.c
+++ b/src/task-manager-bsd.c
@@ -31,6 +31,8 @@
 #include string.h
 /* for getpagesize() */
 #include unistd.h
+/* for P_ZOMBIE  SSLEEP */
+#include sys/proc.h
 #include task-manager.h
 
 char   *state_abbrev[] = {
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-diskperf-plugin:master Add support for FreeBSD (bug #10350)

2013-09-14 Thread Landry Breuil
Updating branch refs/heads/master
 to 0faba9adc585a02071b4ab1d8761413b4cc35a9a (commit)
   from b1167d15ad443ac1b97a4c1f360e5e345d25747a (commit)

commit 0faba9adc585a02071b4ab1d8761413b4cc35a9a
Author: Danilo Egea daniloe...@yahoo.com.br
Date:   Sat Sep 14 10:13:23 2013 +0200

Add support for FreeBSD (bug #10350)

 panel-plugin/devperf.c |   88 
 panel-plugin/main.c|   17 ++
 2 files changed, 98 insertions(+), 7 deletions(-)

diff --git a/panel-plugin/devperf.c b/panel-plugin/devperf.c
index 4f7bbf2..45391d5 100644
--- a/panel-plugin/devperf.c
+++ b/panel-plugin/devperf.c
@@ -225,6 +225,94 @@ int main ()
 
/** Linux End   ***/
 
+#elif defined(__FreeBSD__)
+
+#include sys/disk.h
+#include sys/param.h
+#include sys/sysctl.h
+#include sys/types.h
+#include sys/errno.h
+#include sys/resource.h
+#include sys/time.h
+#include devstat.h
+#include fcntl.h
+#include limits.h
+#include string.h
+#include syslog.h
+#include stdarg.h
+
+#define MAXNAMELEN 256
+
+int DevPerfInit ()
+{
+   return (0);
+}
+
+int DevCheckStatAvailability(char const **strptr)
+{
+   return (0);
+}
+
+int DevGetPerfData (const void *p_pvDevice, struct devperf_t *perf)
+{
+   struct timeval tv;
+   struct timespec ts;
+   struct statinfo stats;
+   struct devinfo dinfo;
+   struct devstat dev;
+   kvm_t *kd = NULL;
+   int i, found = 0;
+   char *check_dev = (char *) p_pvDevice;
+
+   memset(stats, 0, sizeof(stats));
+   memset(dinfo, 0, sizeof(dinfo));
+   stats.dinfo = dinfo;
+
+   if(devstat_getdevs(kd, stats) == -1) {
+   syslog(0, DISKPERF: getdevs fail);
+   }
+
+   for(found = 0, i = 0; i  (stats.dinfo)-numdevs; i++) {
+   char dev_name[MAXNAMELEN];
+   dev = (stats.dinfo)-devices[i];
+   snprintf(dev_name, MAXNAMELEN-1, %s%d,
+   dev.device_name, dev.unit_number);
+   if ((check_dev != NULL)  (strcmp(check_dev, dev_name) != 0))
+   continue;
+   else {
+   found = 1;
+   break;
+   }
+
+   }
+
+   if(check_dev != NULL  found) {
+   perf-wbytes = dev.bytes[DEVSTAT_WRITE];
+   perf-rbytes = dev.bytes[DEVSTAT_READ];
+   gettimeofday (tv, 0);
+   perf-timestamp_ns = (uint64_t)1000ull * 1000ull * 1000ull *
+   tv.tv_sec + 1000ull * tv.tv_usec;
+   perf-qlen = dev.start_count - dev.end_count;
+   // I'm not sure about rbusy and wbusy calculation
+   bintime2timespec(dev.busy_time, ts);
+   perf-rbusy_ns = (uint64_t) ts.tv_nsec;
+   perf-wbusy_ns = perf-rbusy_ns;
+   }
+
+   return (0);
+}
+
+#if 0  /* Standalone test purpose */
+int main ()
+{
+struct devperf_t oPerf;
+DevGetPerfData ((void*)ada0, oPerf);
+printf (%lu\t%lu\n, oPerf.rbytes, oPerf.wbytes);
+return (0);
+}
+#endif
+
+
 
 #elif defined(__NetBSD__)
/**/
diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 87e4d9c..6d49b28 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -86,7 +86,7 @@ typedef enum monitor_bar_order_t {
 typedef struct param_t {
 /* Configurable parameters */
 characDevice[64];
-#if  !defined(__NetBSD__)  !defined(__OpenBSD__)  !defined(__sun__)
+#if  !defined(__FreeBSD__)  !defined(__NetBSD__)  !defined(__OpenBSD__)  
!defined(__sun__)
 dev_t   st_rdev;
 #endif
 int fTitleDisplayed;
@@ -172,7 +172,7 @@ static int DisplayPerf (struct diskperf_t *p_poPlugin)
 struct param_t *poConf = (p_poPlugin-oConf.oParam);
 struct monitor_t *poMonitor = (p_poPlugin-oMonitor);
 struct perfbar_t *poPerf = poMonitor-aoPerfBar;
-#if !defined(__NetBSD__)  !defined(__OpenBSD__)  !defined(__sun__)
+#if !defined(__FreeBSD__)  !defined(__NetBSD__)  !defined(__OpenBSD__)  
!defined(__sun__)
 struct stat oStat;
 #endif
 uint64_tiInterval_ns, rbytes, wbytes, iRBusy_ns, iWBusy_ns;
@@ -185,7 +185,7 @@ static int DisplayPerf (struct diskperf_t *p_poPlugin)
 rbytes = wbytes = iRBusy_ns = iWBusy_ns = -1;
 memset (oPerf, 0, sizeof (oPerf));
 oPerf.qlen = -1;
-#if defined (__NetBSD__) || defined(__OpenBSD__) || defined(__sun__)
+#if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__OpenBSD__) || 
defined(__sun__)
 status = DevGetPerfData (poConf-acDevice, oPerf);
 #else
 if (poConf-st_rdev == 0)
@@ -429,7 +429,7 @@ static diskperf_t *diskperf_create_control (XfcePanelPlugin 
*plugin)
 struct diskperf_t *poPlugin;
 struct param_t *poConf;
 struct monitor_t *poMonitor;
-#if !defined(__NetBSD__)  !defined(__OpenBSD__)  !defined(__sun__)
+#if 

[Xfce4-commits] xfce4-smartbookmark-plugin:master Remove the GtkEventBox and use an XfceHVBox instead

2013-02-18 Thread Landry Breuil
Updating branch refs/heads/master
 to 8c4971e17efdfc207d73089e5803ad1c0f30d76f (commit)
   from 98b402b9b7e639c6fae77c572c1ba67324cef538 (commit)

commit 8c4971e17efdfc207d73089e5803ad1c0f30d76f
Author: Landry Breuil lan...@xfce.org
Date:   Mon Feb 18 21:47:30 2013 +0100

Remove the GtkEventBox and use an XfceHVBox instead

Pack the box inside the GtkAlignment so that both label
and entry are nicely centered like it was with the ebox.

 src/smartbookmark.c |   23 ++-
 1 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index 176bb05..01e71fb 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -47,7 +47,7 @@
  * Types
  */
 typedef struct {
-GtkWidget *ebox;
+GtkWidget *box;
 GtkWidget *entry;   /* keyword entry */
 GtkWidget *label;
 
@@ -99,10 +99,10 @@ static gboolean do_search(const char *url, const char 
*keyword)
 /* redraw the plugin */
 static void update_search(t_search *search) {
 DBG (Update search);
-gtk_widget_hide(GTK_WIDGET(search-ebox));
+gtk_widget_hide(GTK_WIDGET(search-box));
 gtk_widget_hide(search-label);
 gtk_label_set_text(GTK_LABEL(search-label), search-label_text);
-gtk_widget_show(GTK_WIDGET(search-ebox));
+gtk_widget_show(GTK_WIDGET(search-box));
 if (!search-hide_label) {
 gtk_widget_show(search-label);
 }
@@ -173,14 +173,13 @@ static void search_read_config(t_search *search, const 
gchar* filename);
 static t_search *search_new(XfcePanelPlugin *plugin)
 {
 t_search *search;
-GtkWidget *box, *align;
+GtkWidget *align;
 gchar* filename;
 
 search = g_new0(t_search, 1);
-search-ebox = gtk_event_box_new();
+search-box = xfce_hvbox_new(!xfce_panel_plugin_get_orientation(plugin), 
FALSE, 0);
 align = gtk_alignment_new(0.5, 0.5, 0, 0);
-gtk_container_add(GTK_CONTAINER(search-ebox), align);
-box = gtk_vbox_new(FALSE, 0);
+gtk_container_add(GTK_CONTAINER(align), search-box);
 
 /* default options */
 search-url = http://bugs.debian.org/;;
@@ -191,20 +190,18 @@ static t_search *search_new(XfcePanelPlugin *plugin)
 filename = xfce_panel_plugin_save_location(plugin, TRUE);
 search_read_config(search, filename);
 
-gtk_container_add(GTK_CONTAINER(align), box);
 search-entry = gtk_entry_new();
 gtk_entry_set_width_chars(GTK_ENTRY(search-entry), search-size);
 
 search-label = gtk_label_new(search-label_text);
-gtk_box_pack_start(GTK_BOX(box), search-label, FALSE, FALSE, 0);
-gtk_box_pack_start(GTK_BOX(box), search-entry, FALSE, FALSE, 0);
+gtk_box_pack_start(GTK_BOX(search-box), search-label, FALSE, FALSE, 0);
+gtk_box_pack_start(GTK_BOX(search-box), search-entry, FALSE, FALSE, 0);
 // g_signal_connect(command-entry, activate, G_CALLBACK(runcl), 
command);
 g_signal_connect(search-entry, key-press-event, 
G_CALLBACK(entry_keypress_cb), search);
 g_signal_connect (search-entry, button-press-event, 
G_CALLBACK(entry_buttonpress_cb), plugin);
 
-gtk_container_add( GTK_CONTAINER(plugin), search-ebox);
-xfce_panel_plugin_add_action_widget(plugin, search-ebox);
-gtk_widget_show_all(search-ebox);
+gtk_container_add( GTK_CONTAINER(plugin), align);
+gtk_widget_show_all(align);
 
 if (search-hide_label) {
 gtk_widget_hide(search-label);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-smartbookmark-plugin:master remove commented out code

2013-02-18 Thread Landry Breuil
Updating branch refs/heads/master
 to afd8dcba74102be5924bb9d0c8d06614f58c97db (commit)
   from 8c4971e17efdfc207d73089e5803ad1c0f30d76f (commit)

commit afd8dcba74102be5924bb9d0c8d06614f58c97db
Author: Landry Breuil lan...@xfce.org
Date:   Mon Feb 18 22:14:49 2013 +0100

remove commented out code

 src/smartbookmark.c |   35 ---
 1 files changed, 0 insertions(+), 35 deletions(-)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index 01e71fb..a74d21c 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -207,45 +207,11 @@ static t_search *search_new(XfcePanelPlugin *plugin)
 gtk_widget_hide(search-label);
 }
 
-/*
-filename = xfce_panel_plugin_save_location(plugin, TRUE);
-search_read_config(search, filename);
-*/
 DBG (SmartBookMark created);
 
 return (search);
 }
 
-/*
-static gboolean search_control_new(Control * ctrl)
-{
-t_search *search;
-
-search = search_new();
-
-gtk_container_add(GTK_CONTAINER(ctrl-base), search-ebox);
-
-ctrl-data = (gpointer) search;
-ctrl-with_popup = FALSE;
-
-gtk_widget_set_size_request(ctrl-base, -1, -1);
-
-return (TRUE);
-}
-
-static void search_free(Control * ctrl)
-{
-t_search *search;
-
-g_return_if_fail(ctrl != NULL);
-g_return_if_fail(ctrl-data != NULL);
-
-search = (t_search *) ctrl-data;
-
-g_free(search);
-}
-*/
-
 static void search_read_config(t_search *search, const gchar* filename)
 {
 XfceRc* rcfile;
@@ -387,6 +353,5 @@ smartbookmark_construct(XfcePanelPlugin *plugin)
 xfce_panel_plugin_menu_show_configure (plugin);
 g_signal_connect (plugin, configure-plugin,
   G_CALLBACK (search_create_options), search);
-//cc-read_config = search_read_config;
 }
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-datetime-plugin:master Set widgets orientation according to the panel orientation.

2013-02-14 Thread Landry Breuil
Updating branch refs/heads/master
 to 34b77702471d93f2d8f19e736d616ea0b01f4664 (commit)
   from e55a418bd9d8c284774d7b8ac33aff0356a5a4ab (commit)

commit 34b77702471d93f2d8f19e736d616ea0b01f4664
Author: Harald Judt h.j...@gmx.at
Date:   Mon May 21 10:54:00 2012 +0200

Set widgets orientation according to the panel orientation.

This makes the plugin rotate its widgets in vertical mode
and introduces support for panel-4.10 features, like the new
deskbar mode.

Signed-off-by: Landry Breuil lan...@xfce.org

 panel-plugin/datetime.c |   82 ++
 panel-plugin/datetime.h |2 +-
 2 files changed, 68 insertions(+), 16 deletions(-)

diff --git a/panel-plugin/datetime.c b/panel-plugin/datetime.c
index 3350c3a..559020e 100644
--- a/panel-plugin/datetime.c
+++ b/panel-plugin/datetime.c
@@ -38,6 +38,13 @@
 
 #define DATETIME_MAX_STRLEN 256
 
+/* check for new Xfce 4.10 panel features */
+#ifdef LIBXFCE4PANEL_CHECK_VERSION
+#if LIBXFCE4PANEL_CHECK_VERSION (4,9,0)
+#define HAS_PANEL_49
+#endif
+#endif
+
 /**
  *  Convert a GTimeVal to milliseconds.
  *  Fractions of a millisecond are truncated.
@@ -440,13 +447,13 @@ void datetime_apply_layout(t_datetime *datetime, t_layout 
layout)
   switch(datetime-layout)
   {
 case LAYOUT_TIME_DATE:
-  gtk_box_reorder_child(GTK_BOX(datetime-vbox), datetime-time_label, 0);
-  gtk_box_reorder_child(GTK_BOX(datetime-vbox), datetime-date_label, 1);
+  gtk_box_reorder_child(GTK_BOX(datetime-box), datetime-time_label, 0);
+  gtk_box_reorder_child(GTK_BOX(datetime-box), datetime-date_label, 1);
   break;
 
 default:
-  gtk_box_reorder_child(GTK_BOX(datetime-vbox), datetime-time_label, 1);
-  gtk_box_reorder_child(GTK_BOX(datetime-vbox), datetime-date_label, 0);
+  gtk_box_reorder_child(GTK_BOX(datetime-box), datetime-time_label, 1);
+  gtk_box_reorder_child(GTK_BOX(datetime-box), datetime-date_label, 0);
   }
 
   datetime_set_update_interval(datetime);
@@ -585,18 +592,53 @@ void datetime_write_rc_file(XfcePanelPlugin *plugin, 
t_datetime *dt)
 }
 
 /*
+ * change widgets orientation when the panel orientation changes
+ */
+#ifdef HAS_PANEL_49
+static void datetime_set_mode(XfcePanelPlugin *plugin, XfcePanelPluginMode 
mode, t_datetime *datetime)
+{
+  GtkOrientation panel_orientation = xfce_panel_plugin_get_orientation 
(plugin);
+  GtkOrientation orientation = (mode == XFCE_PANEL_PLUGIN_MODE_VERTICAL) ?
+GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL;
+#else
+static void datetime_set_orientation(XfcePanelPlugin *plugin, GtkOrientation 
orientation, t_datetime *datetime)
+{
+#endif
+  if (orientation == GTK_ORIENTATION_VERTICAL)
+  {
+xfce_hvbox_set_orientation(XFCE_HVBOX(datetime-box), 
GTK_ORIENTATION_HORIZONTAL);
+gtk_label_set_angle(GTK_LABEL(datetime-time_label), -90);
+gtk_label_set_angle(GTK_LABEL(datetime-date_label), -90);
+gtk_box_reorder_child(GTK_BOX(datetime-box), datetime-time_label, 0);
+gtk_box_reorder_child(GTK_BOX(datetime-box), datetime-date_label, 1);
+  }
+  else
+  {
+xfce_hvbox_set_orientation(XFCE_HVBOX(datetime-box), 
GTK_ORIENTATION_VERTICAL);
+gtk_label_set_angle(GTK_LABEL(datetime-time_label), 0);
+gtk_label_set_angle(GTK_LABEL(datetime-date_label), 0);
+gtk_box_reorder_child(GTK_BOX(datetime-box), datetime-date_label, 0);
+gtk_box_reorder_child(GTK_BOX(datetime-box), datetime-time_label, 1);
+  }
+}
+
+/*
  * create the gtk-part of the datetime plugin
  */
 static void datetime_create_widget(t_datetime * datetime)
 {
+  GtkOrientation orientation;
+  orientation = xfce_panel_plugin_get_orientation(datetime-plugin);
+
   /* create button */
   datetime-button = xfce_create_panel_toggle_button();
   gtk_widget_show(datetime-button);
 
-  /* create vertical box */
-  datetime-vbox = gtk_vbox_new(TRUE, 0);
-  gtk_widget_show(datetime-vbox);
-  gtk_container_add(GTK_CONTAINER(datetime-button), datetime-vbox);
+  /* create a box which can be easily adapted to the panel orientation */
+  datetime-box = xfce_hvbox_new(GTK_ORIENTATION_VERTICAL, TRUE, 0);
+
+  gtk_widget_show(datetime-box);
+  gtk_container_add(GTK_CONTAINER(datetime-button), datetime-box);
 
   /* create time and date lines */
   datetime-time_label = gtk_label_new();
@@ -604,17 +646,22 @@ static void datetime_create_widget(t_datetime * datetime)
   gtk_label_set_justify(GTK_LABEL(datetime-time_label), GTK_JUSTIFY_CENTER);
   gtk_label_set_justify(GTK_LABEL(datetime-date_label), GTK_JUSTIFY_CENTER);
 
-  /* add time and date lines to the vbox */
-  gtk_box_pack_start(GTK_BOX(datetime-vbox),
+  /* add time and date lines to the box */
+  gtk_box_pack_start(GTK_BOX(datetime-box),
   datetime-time_label, FALSE, FALSE, 0);
-  gtk_box_pack_start(GTK_BOX(datetime-vbox),
+  gtk_box_pack_start(GTK_BOX(datetime-box),
   datetime-date_label, FALSE, FALSE, 0);
-  gtk_box_reorder_child(GTK_BOX(datetime-vbox), datetime-time_label

[Xfce4-commits] xfce4-datetime-plugin:master Remove the #ifdef machinery checking if GtkTooltip is available

2013-02-14 Thread Landry Breuil
Updating branch refs/heads/master
 to 1bd3d679d4591dd6689f0f7008e69d5fe8fe177e (commit)
   from 34b77702471d93f2d8f19e736d616ea0b01f4664 (commit)

commit 1bd3d679d4591dd6689f0f7008e69d5fe8fe177e
Author: Landry Breuil lan...@xfce.org
Date:   Thu Feb 14 21:30:41 2013 +0100

Remove the #ifdef machinery checking if GtkTooltip is available

Gtk 2.15.4 was released 4 years ago and GtkTooltip is here since 2.12...

 panel-plugin/datetime-dialog.c |   23 ---
 panel-plugin/datetime.c|4 
 panel-plugin/datetime.h|8 
 3 files changed, 0 insertions(+), 35 deletions(-)

diff --git a/panel-plugin/datetime-dialog.c b/panel-plugin/datetime-dialog.c
index 4ef3ab8..ede858f 100644
--- a/panel-plugin/datetime-dialog.c
+++ b/panel-plugin/datetime-dialog.c
@@ -170,7 +170,6 @@ datetime_layout_changed(GtkComboBox *cbox, t_datetime *dt)
   /* read layout */
   layout = gtk_combo_box_get_active(cbox);
 
-#if USE_GTK_TOOLTIP_API
   switch(layout)
   {
 case LAYOUT_DATE:
@@ -196,24 +195,6 @@ datetime_layout_changed(GtkComboBox *cbox, t_datetime *dt)
   gtk_widget_show(dt-time_font_hbox);
   gtk_widget_hide(dt-time_tooltip_label);
   }
-#else
-  switch(layout)
-  {
-case LAYOUT_DATE:
-  gtk_widget_set_sensitive(dt-date_frame, TRUE);
-  gtk_widget_set_sensitive(dt-time_frame, FALSE);
-  break;
-
-case LAYOUT_TIME:
-  gtk_widget_set_sensitive(dt-date_frame, FALSE);
-  gtk_widget_set_sensitive(dt-time_frame, TRUE);
-  break;
-
-default:
-  gtk_widget_set_sensitive(dt-date_frame, TRUE);
-  gtk_widget_set_sensitive(dt-time_frame, TRUE);
-  }
-#endif
 
   datetime_apply_layout(dt, layout);
   datetime_update(dt);
@@ -431,7 +412,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, 
t_datetime * datetime)
   vbox = gtk_vbox_new(FALSE, 8);
   gtk_container_add(GTK_CONTAINER(bin),vbox);
 
-#if USE_GTK_TOOLTIP_API
   /* tooltip label */
   str = g_markup_printf_escaped(span style=\italic\%s/span,
 _(The date will appear in a tooltip.));
@@ -440,7 +420,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, 
t_datetime * datetime)
   gtk_label_set_use_markup(GTK_LABEL(datetime-date_tooltip_label), TRUE);
   gtk_misc_set_alignment(GTK_MISC(datetime-date_tooltip_label), 0.0f, 0.0f);
   gtk_box_pack_start(GTK_BOX(vbox), datetime-date_tooltip_label, FALSE, 
FALSE, 0);
-#endif
 
   /* hbox */
   datetime-date_font_hbox = gtk_hbox_new(FALSE, 2);
@@ -534,7 +513,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, 
t_datetime * datetime)
   vbox = gtk_vbox_new(FALSE, 8);
   gtk_container_add(GTK_CONTAINER(bin),vbox);
 
-#if USE_GTK_TOOLTIP_API
   /* tooltip label */
   str = g_markup_printf_escaped(span style=\italic\%s/span,
 _(The time will appear in a tooltip.));
@@ -543,7 +521,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, 
t_datetime * datetime)
   gtk_label_set_use_markup(GTK_LABEL(datetime-time_tooltip_label), TRUE);
   gtk_misc_set_alignment(GTK_MISC(datetime-time_tooltip_label), 0.0f, 0.0f);
   gtk_box_pack_start(GTK_BOX(vbox), datetime-time_tooltip_label, FALSE, 
FALSE, 0);
-#endif
 
   /* hbox */
   datetime-time_font_hbox = gtk_hbox_new(FALSE, 2);
diff --git a/panel-plugin/datetime.c b/panel-plugin/datetime.c
index 559020e..181c273 100644
--- a/panel-plugin/datetime.c
+++ b/panel-plugin/datetime.c
@@ -177,7 +177,6 @@ gboolean datetime_update(t_datetime *datetime)
   return TRUE;
 }
 
-#if USE_GTK_TOOLTIP_API
 static gboolean datetime_tooltip_timer(t_datetime *datetime)
 {
   DBG(wake);
@@ -244,7 +243,6 @@ static gboolean datetime_query_tooltip(GtkWidget *widget,
 
   return TRUE;
 }
-#endif
 
 static void on_calendar_realized(GtkWidget *widget, t_datetime *datetime)
 {
@@ -420,7 +418,6 @@ void datetime_apply_layout(t_datetime *datetime, t_layout 
layout)
   break;
   }
 
-#if USE_GTK_TOOLTIP_API
   /* update tooltip handler */
   if (datetime-tooltip_handler_id)
   {
@@ -441,7 +438,6 @@ void datetime_apply_layout(t_datetime *datetime, t_layout 
layout)
 default:
   gtk_widget_set_has_tooltip(GTK_WIDGET(datetime-button), FALSE);
   }
-#endif
 
   /* set order based on layout-selection */
   switch(datetime-layout)
diff --git a/panel-plugin/datetime.h b/panel-plugin/datetime.h
index 73aa4ed..5f09f83 100644
--- a/panel-plugin/datetime.h
+++ b/panel-plugin/datetime.h
@@ -22,8 +22,6 @@
 #ifndef DATETIME_H
 #define DATETIME_H
 
-#define USE_GTK_TOOLTIP_API GTK_CHECK_VERSION(2,15,4)
-
 /* enums */
 enum {
   DATE = 0,
@@ -48,10 +46,8 @@ typedef struct {
   GtkWidget *time_label;
   guint update_interval;  /* time between updates in milliseconds */
   guint timeout_id;
-#if USE_GTK_TOOLTIP_API
   guint tooltip_timeout_id;
   gulong tooltip_handler_id;
-#endif
 
   /* settings */
   gchar *date_font;
@@ -62,17 +58,13 @@ typedef struct {
 
   /* option widgets */
   GtkWidget *date_frame;
-#if USE_GTK_TOOLTIP_API
   GtkWidget

[Xfce4-commits] xfce4-datetime-plugin:master Updates for release 0.6.2.

2013-02-14 Thread Landry Breuil
Updating branch refs/heads/master
 to dd789c65229ae2ee452227619ea95c93381b8604 (commit)
   from 1bd3d679d4591dd6689f0f7008e69d5fe8fe177e (commit)

commit dd789c65229ae2ee452227619ea95c93381b8604
Author: Landry Breuil lan...@xfce.org
Date:   Thu Feb 14 22:02:44 2013 +0100

Updates for release 0.6.2.

Reset maintainer to goodies-dev..

 NEWS|8 
 configure.ac.in |9 +
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index 0afc635..787db3d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+2013-02-14
+
+xfce4-datetime-plugin v0.6.2 released
+
+* port to libxfce4ui (bug #8064)
+* set text orientation according to panel mode/orientation (bug #8926)
+* update toolchain/makefiles
+
 2008-11-19
 

 xfce4-datetime-plugin v0.6.1 released
diff --git a/configure.ac.in b/configure.ac.in
index cdb3536..9113f98 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -1,13 +1,14 @@
 dnl Version information
 m4_define([datetime_version_major], [0])
 m4_define([datetime_version_minor], [6])
-m4_define([datetime_version_micro], [1])
+m4_define([datetime_version_micro], [2])
 m4_define([datetime_version], 
[datetime_version_major().datetime_version_minor().datetime_version_micro()])
 
 dnl Initialize autoconf
-AC_COPYRIGHT([Copyright (c) 2006
-Remco den Breeje re...@sx.mine.nu])
-AC_INIT([xfce4-datetime-plugin], [datetime_version], [ongar...@gmail.com])
+AC_COPYRIGHT([Copyright (c) 2006-2009
+Remco den Breeje re...@sx.mine.nu
+Diego Ongaro ongar...@gmail.com])
+AC_INIT([xfce4-datetime-plugin], [datetime_version], [goodies-...@xfce.org])
 
 dnl Initialize automake
 AM_INIT_AUTOMAKE([AC_PACKAGE_TARNAME()], [AC_PACKAGE_VERSION()])
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-datetime-plugin|datetime-0.6.2 Creating annotated tag datetime-0.6.2

2013-02-14 Thread Landry Breuil
Updating annotated tag refs/tags/datetime-0.6.2
 as new annotated tag
 to 985e825ec4db00ddd0cfe604f5061140e3b4d99c (tag)
   succeeds datetime-0.6.1-103-g1bd3d67
  tagged by Landry Breuil lan...@xfce.org
 on 2013-02-14 22:04 +0100

Landry Breuil (1):
  Updates for release 0.6.2.

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-datetime-plugin:master Port to libxfce4ui. (bug #8064)

2013-02-13 Thread Landry Breuil
Updating branch refs/heads/master
 to 61eba531ec7daa0e38b3d9b89c1c34a4cbac976f (commit)
   from 7d11392ef6d626519e5c6ef317b681df61637ca6 (commit)

commit 61eba531ec7daa0e38b3d9b89c1c34a4cbac976f
Author: Landry Breuil lan...@xfce.org
Date:   Wed Feb 13 22:30:03 2013 +0100

Port to libxfce4ui. (bug #8064)

Joachim Wiedorn sent a very similar patch, thanks too!

 INSTALL|   53 +++
 configure.ac.in|   29 ++---
 panel-plugin/Makefile.am   |4 +-
 panel-plugin/datetime-dialog.c |8 +++---
 panel-plugin/datetime.c|2 +-
 5 files changed, 47 insertions(+), 49 deletions(-)

diff --git a/INSTALL b/INSTALL
index d3c5b40..23e5f25 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,8 +1,8 @@
 Installation Instructions
 *
 
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006, 2007 Free Software Foundation, Inc.
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
+Software Foundation, Inc.
 
 This file is free documentation; the Free Software Foundation gives
 unlimited permission to copy, distribute and modify it.
@@ -10,10 +10,7 @@ unlimited permission to copy, distribute and modify it.
 Basic Installation
 ==
 
-Briefly, the shell commands `./configure; make; make install' should
-configure, build, and install this package.  The following
-more-detailed instructions are generic; see the `README' file for
-instructions specific to this package.
+These are generic installation instructions.
 
The `configure' shell script attempts to guess correct values for
 various system-dependent variables used during compilation.  It uses
@@ -26,9 +23,9 @@ debugging `configure').
 
It can also use an optional file (typically called `config.cache'
 and enabled with `--cache-file=config.cache' or simply `-C') that saves
-the results of its tests to speed up reconfiguring.  Caching is
+the results of its tests to speed up reconfiguring.  (Caching is
 disabled by default to prevent problems with accidental use of stale
-cache files.
+cache files.)
 
If you need to do unusual things to compile the package, please try
 to figure out how `configure' could check whether to do them, and mail
@@ -38,17 +35,20 @@ some point `config.cache' contains results you don't want 
to keep, you
 may remove or edit it.
 
The file `configure.ac' (or `configure.in') is used to create
-`configure' by a program called `autoconf'.  You need `configure.ac' if
-you want to change it or regenerate `configure' using a newer version
-of `autoconf'.
+`configure' by a program called `autoconf'.  You only need
+`configure.ac' if you want to change it or regenerate `configure' using
+a newer version of `autoconf'.
 
 The simplest way to compile this package is:
 
   1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system.
+ `./configure' to configure the package for your system.  If you're
+ using `csh' on an old version of System V, you might need to type
+ `sh ./configure' instead to prevent `csh' from trying to execute
+ `configure' itself.
 
- Running `configure' might take a while.  While running, it prints
- some messages telling which features it is checking for.
+ Running `configure' takes awhile.  While running, it prints some
+ messages telling which features it is checking for.
 
   2. Type `make' to compile the package.
 
@@ -67,9 +67,6 @@ The simplest way to compile this package is:
  all sorts of other programs in order to regenerate files that came
  with the distribution.
 
-  6. Often, you can also type `make uninstall' to remove the installed
- files again.
-
 Compilers and Options
 =
 
@@ -81,7 +78,7 @@ details on some of the pertinent environment variables.
 by setting variables in the command line or in the environment.  Here
 is an example:
 
- ./configure CC=c99 CFLAGS=-g LIBS=-lposix
+ ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
 
*Note Defining Variables::, for more details.
 
@@ -90,15 +87,17 @@ Compiling For Multiple Architectures
 
 You can compile the package for more than one kind of computer at the
 same time, by placing the object files for each architecture in their
-own directory.  To do this, you can use GNU `make'.  `cd' to the
+own directory.  To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
 directory where you want the object files and executables to go and run
 the `configure' script.  `configure' automatically checks for the
 source code in the directory that `configure' is in and in `..'.
 
-   With a non-GNU `make', it is safer to compile the package for one
-architecture at a time in the source code directory.  After you have
-installed the package for one architecture, use `make distclean

[Xfce4-commits] xfce4-datetime-plugin:master remove useless pot file

2013-02-13 Thread Landry Breuil
Updating branch refs/heads/master
 to 25c3c81a01a899577702b9cabdb60a3b7da7483a (commit)
   from 61eba531ec7daa0e38b3d9b89c1c34a4cbac976f (commit)

commit 25c3c81a01a899577702b9cabdb60a3b7da7483a
Author: Landry Breuil lan...@xfce.org
Date:   Wed Feb 13 22:33:07 2013 +0100

remove useless pot file

 po/xfce4-datetime-plugin.pot |  108 --
 1 files changed, 0 insertions(+), 108 deletions(-)

diff --git a/po/xfce4-datetime-plugin.pot b/po/xfce4-datetime-plugin.pot
deleted file mode 100644
index 72a099b..000
--- a/po/xfce4-datetime-plugin.pot
+++ /dev/null
@@ -1,108 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR EMAIL@ADDRESS, YEAR.
-#
-#, fuzzy
-msgid 
-msgstr 
-Project-Id-Version: PACKAGE VERSION\n
-Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2009-07-31 13:39-0500\n
-PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n
-Last-Translator: FULL NAME EMAIL@ADDRESS\n
-Language-Team: LANGUAGE l...@li.org\n
-MIME-Version: 1.0\n
-Content-Type: text/plain; charset=CHARSET\n
-Content-Transfer-Encoding: 8bit\n
-
-#: ../panel-plugin/datetime.c:82
-msgid Invalid format
-msgstr 
-
-#: ../panel-plugin/datetime.c:87
-msgid Error
-msgstr 
-
-#: ../panel-plugin/datetime-dialog.c:42
-msgid Date, then time
-msgstr 
-
-#: ../panel-plugin/datetime-dialog.c:43
-msgid Time, then date
-msgstr 
-
-#: ../panel-plugin/datetime-dialog.c:44
-msgid Date only
-msgstr 
-
-#: ../panel-plugin/datetime-dialog.c:45
-msgid Time only
-msgstr 
-
-#. placeholder
-#: ../panel-plugin/datetime-dialog.c:85 ../panel-plugin/datetime-dialog.c:96
-msgid Custom...
-msgstr 
-
-#: ../panel-plugin/datetime-dialog.c:131
-msgid Select font
-msgstr 
-
-#: ../panel-plugin/datetime-dialog.c:332
-#, c-format
-msgid Unable to open the following url: %s
-msgstr 
-
-#: ../panel-plugin/datetime-dialog.c:371
-msgid Datetime
-msgstr 
-
-#.
-#. * layout frame
-#.
-#: ../panel-plugin/datetime-dialog.c:391
-msgid Layout
-msgstr 
-
-#. Format label
-#. format label
-#: ../panel-plugin/datetime-dialog.c:405 ../panel-plugin/datetime-dialog.c:467
-#: ../panel-plugin/datetime-dialog.c:570
-msgid Format:
-msgstr 
-
-#.
-#. * Date frame
-#.
-#: ../panel-plugin/datetime-dialog.c:425
-msgid Date
-msgstr 
-
-#: ../panel-plugin/datetime-dialog.c:437
-msgid The date will appear in a tooltip.
-msgstr 
-
-#. font label
-#: ../panel-plugin/datetime-dialog.c:450 ../panel-plugin/datetime-dialog.c:553
-msgid Font:
-msgstr 
-
-#.
-#. * time frame
-#.
-#: ../panel-plugin/datetime-dialog.c:528
-msgid Time
-msgstr 
-
-#: ../panel-plugin/datetime-dialog.c:540
-msgid The time will appear in a tooltip.
-msgstr 
-
-#: ../panel-plugin/datetime.desktop.in.in.h:1
-msgid Date and Time plugin with a simple calendar
-msgstr 
-
-#: ../panel-plugin/datetime.desktop.in.in.h:2
-msgid DateTime
-msgstr 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-datetime-plugin:master Remove Xfce 4.6 compat files, we now depend on 4.8.

2013-02-13 Thread Landry Breuil
Updating branch refs/heads/master
 to cd1bb412779e6240eeffecc717528c8053f0fe1d (commit)
   from 25c3c81a01a899577702b9cabdb60a3b7da7483a (commit)

commit cd1bb412779e6240eeffecc717528c8053f0fe1d
Author: Landry Breuil lan...@xfce.org
Date:   Wed Feb 13 22:35:04 2013 +0100

Remove Xfce 4.6 compat files, we now depend on 4.8.

 panel-plugin/Makefile.am |4 +-
 panel-plugin/datetime.c  |2 -
 panel-plugin/xfce46-compat.c |  193 --
 panel-plugin/xfce46-compat.h |   20 -
 4 files changed, 1 insertions(+), 218 deletions(-)

diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 6f0bb00..18bbc7e 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -7,9 +7,7 @@ libdatetime_la_SOURCES =\
datetime.h  \
datetime.c  \
datetime-dialog.h   \
-   datetime-dialog.c   \
-   xfce46-compat.h \
-   xfce46-compat.c
+   datetime-dialog.c
 
 libdatetime_la_CFLAGS =\
-I$(top_srcdir) \
diff --git a/panel-plugin/datetime.c b/panel-plugin/datetime.c
index 031166a..0738889 100644
--- a/panel-plugin/datetime.c
+++ b/panel-plugin/datetime.c
@@ -33,8 +33,6 @@
 #include libxfce4panel/xfce-panel-plugin.h
 #include libxfce4panel/xfce-panel-convenience.h
 
-#include xfce46-compat.h
-
 #include datetime.h
 #include datetime-dialog.h
 
diff --git a/panel-plugin/xfce46-compat.c b/panel-plugin/xfce46-compat.c
deleted file mode 100644
index 97f10b1..000
--- a/panel-plugin/xfce46-compat.c
+++ /dev/null
@@ -1,193 +0,0 @@
-/*
- * Code was taken from libxfce4panel (LGPL2 or any later version),
- * distributed here under the GPL.
- *
- * Copyright (c) 2005-2007 Jasper Huijsmans jas...@xfce.org
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU Library General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#ifdef HAVE_CONFIG_H
-#  include config.h
-#endif
-
-#ifndef HAVE_LIBXFCE4PANEL_46
-
-#include xfce46-compat.h
-
-#include libxfce4panel/xfce-panel-plugin.h
-#include libxfce4panel/xfce-panel-macros.h
-
-/* support macros for debugging */
-#ifndef NDEBUG
-#define _panel_assert(expr)  g_assert (expr)
-#define _panel_assert_not_reached()  g_assert_not_reached ()
-#define _panel_return_if_fail(expr)  g_return_if_fail (expr)
-#define _panel_return_val_if_fail(expr, val) g_return_val_if_fail (expr, (val))
-#else
-#define _panel_assert(expr)  G_STMT_START{ (void)0; }G_STMT_END
-#define _panel_assert_not_reached()  G_STMT_START{ (void)0; }G_STMT_END
-#define _panel_return_if_fail(expr)  G_STMT_START{ (void)0; }G_STMT_END
-#define _panel_return_val_if_fail(expr, val) G_STMT_START{ (void)0; }G_STMT_END
-#endif
-
-/**
- * xfce_panel_plugin_arrow_type:
- * @plugin: an #XfcePanelPlugin
- *
- * Determine the #GtkArrowType for a widget that opens a menu and uses
- *  xfce_panel_plugin_position_menu() to position the menu.
- *
- * Returns: The #GtkArrowType to use.
- **/
-GtkArrowType
-xfce_panel_plugin_arrow_type (XfcePanelPlugin *plugin)
-{
-XfceScreenPosition  position;
-GdkScreen  *screen;
-GdkRectanglegeom;
-gintmon, x, y;
-
-if (!GTK_WIDGET_REALIZED (plugin))
-return GTK_ARROW_UP;
-
-position = xfce_panel_plugin_get_screen_position (plugin);
-switch (position)
-{
-/* top */
-case XFCE_SCREEN_POSITION_NW_H:
-case XFCE_SCREEN_POSITION_N:
-case XFCE_SCREEN_POSITION_NE_H:
-return GTK_ARROW_DOWN;
-
-/* left */
-case XFCE_SCREEN_POSITION_NW_V:
-case XFCE_SCREEN_POSITION_W:
-case XFCE_SCREEN_POSITION_SW_V:
-return GTK_ARROW_RIGHT;
-
-/* right */
-case XFCE_SCREEN_POSITION_NE_V:
-case XFCE_SCREEN_POSITION_E:
-case XFCE_SCREEN_POSITION_SE_V:
-return GTK_ARROW_LEFT;
-
-/* bottom */
-case XFCE_SCREEN_POSITION_SW_H:
-case XFCE_SCREEN_POSITION_S:
-case XFCE_SCREEN_POSITION_SE_H:
-return GTK_ARROW_UP;
-
-/* floating */
-default:
-/* get the screen

[Xfce4-commits] xfce4-datetime-plugin:master Update to 2013 xfce standards

2013-02-13 Thread Landry Breuil
Updating branch refs/heads/master
 to e55a418bd9d8c284774d7b8ac33aff0356a5a4ab (commit)
   from cd1bb412779e6240eeffecc717528c8053f0fe1d (commit)

commit e55a418bd9d8c284774d7b8ac33aff0356a5a4ab
Author: Landry Breuil lan...@xfce.org
Date:   Wed Feb 13 22:49:21 2013 +0100

Update to 2013 xfce standards

- rename datetime.desktop.in.in
- use newer xfce4/panel/plugins paths for desktop and module file
- register the module as not internal to the panel
- remove now useless cygwin check

 configure.ac.in|1 -
 panel-plugin/Makefile.am   |   27 ++-
 panel-plugin/datetime.c|2 +-
 ...{datetime.desktop.in.in = datetime.desktop.in} |2 +-
 po/POTFILES.in |2 +-
 5 files changed, 12 insertions(+), 22 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 98b394a..cdb3536 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -17,7 +17,6 @@ AM_MAINTAINER_MODE()
 dnl Check for UNIX variants
 AC_AIX
 AC_ISC_POSIX
-AM_CONDITIONAL([HAVE_CYGWIN], [test `uname | grep \CYGWIN\` != ])
 
 dnl check for basic programs
 AC_PROG_CC
diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 18bbc7e..c6e44df 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -1,4 +1,4 @@
-plugindir = $(libdir)/xfce4/panel-plugins/
+plugindir = $(libdir)/xfce4/panel/plugins/
 
 plugin_LTLIBRARIES =   \
libdatetime.la
@@ -19,12 +19,10 @@ libdatetime_la_CFLAGS = \
 
 libdatetime_la_LDFLAGS =   \
-avoid-version  \
-   -module
-
-if HAVE_CYGWIN
-libdatetime_la_LDFLAGS +=  \
-   -no-undefined
-endif
+   -module \
+   -no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
+   $(PLATFORM_LDFLAGS)
 
 libdatetime_la_LIBADD =\
$(GTK_LIBS) \
@@ -32,19 +30,12 @@ libdatetime_la_LIBADD = \
$(LIBXFCE4UI_LIBS)  \
$(LIBXFCE4UTIL_LIBS)
 
-desktopdir = $(datadir)/xfce4/panel-plugins
-desktop_in_in_files = datetime.desktop.in.in
-desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
-%.desktop.in: %.desktop.in.in
-   sed -e s,\@libdir\@,$(libdir),g  $  $@
+desktopdir = $(datadir)/xfce4/panel/plugins
+desktop_in_files = datetime.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 
-EXTRA_DIST =   \
-   $(desktop_in_in_files)
-
-DISTCLEANFILES =   \
-   $(desktop_DATA) \
-   $(desktop_in_files)
+EXTRA_DIST = $(desktop_in_files)
 
+CLEANFILES = $(desktop_DATA)
diff --git a/panel-plugin/datetime.c b/panel-plugin/datetime.c
index 0738889..3350c3a 100644
--- a/panel-plugin/datetime.c
+++ b/panel-plugin/datetime.c
@@ -694,5 +694,5 @@ static void datetime_construct(XfcePanelPlugin *plugin)
 }
 
 
-XFCE_PANEL_PLUGIN_REGISTER_INTERNAL(datetime_construct);
+XFCE_PANEL_PLUGIN_REGISTER(datetime_construct);
 
diff --git a/panel-plugin/datetime.desktop.in.in 
b/panel-plugin/datetime.desktop.in
similarity index 75%
rename from panel-plugin/datetime.desktop.in.in
rename to panel-plugin/datetime.desktop.in
index e3e3c5d..3c3277a 100644
--- a/panel-plugin/datetime.desktop.in.in
+++ b/panel-plugin/datetime.desktop.in
@@ -4,4 +4,4 @@ _Name=DateTime
 _Comment=Date and Time plugin with a simple calendar
 Icon=xfce-schedule
 X-XFCE-Module=datetime
-X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
+X-XFCE-Internal=FALSE
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ec27071..971c3a3 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,3 @@
 panel-plugin/datetime.c
 panel-plugin/datetime-dialog.c
-panel-plugin/datetime.desktop.in.in
+panel-plugin/datetime.desktop.in
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-smartbookmark-plugin:master Make sure childs are reaped, instead of leaving zombies behind (bug #9791)

2013-01-24 Thread Landry Breuil
Updating branch refs/heads/master
 to a56503f4aba4525c5951d14bb1b4251e8df06f57 (commit)
   from 700a8552263982b6358cca808d9236805dbd01e4 (commit)

commit a56503f4aba4525c5951d14bb1b4251e8df06f57
Author: Landry Breuil lan...@xfce.org
Date:   Thu Jan 24 10:17:58 2013 +0100

Make sure childs are reaped, instead of leaving zombies behind (bug #9791)

 src/smartbookmark.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index 6f358d3..176bb05 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -84,7 +84,7 @@ static gboolean do_search(const char *url, const char 
*keyword)
 argv[3] = complete_url;
 
 success = g_spawn_async(NULL, (gchar **)argv, NULL,
-G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, NULL, 
error);
+G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, error);
 
 if (!success) {
 xfce_dialog_show_error(NULL, error, _(Failed to send %s to your 
preferred browser), complete_url);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-smartbookmark-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-smartbookmark-plugin

2013-01-24 Thread Landry Breuil
Updating branch refs/heads/master
 to 4fc14cde30b4504a44d7fb0e2de4ff988da8c847 (commit)
   from a56503f4aba4525c5951d14bb1b4251e8df06f57 (commit)

commit 4fc14cde30b4504a44d7fb0e2de4ff988da8c847
Merge: a56503f 9c47bb1
Author: Landry Breuil lan...@xfce.org
Date:   Thu Jan 24 10:18:38 2013 +0100

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-smartbookmark-plugin

commit 9c47bb114df692995078b9c7e85a9725849a6d08
Author: Seong-ho Cho darkcircle.0...@gmail.com
Date:   Wed Jan 23 19:19:48 2013 +0100

l10n: Updated Korean (ko) translation to 100%

New status: 9 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/ko.po |   22 +++---
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/po/ko.po b/po/ko.po
index 9a62e62..a8b2f57 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -1,17 +1,16 @@
 # Korean translation for xfce4-smartbookmark-plugin package.
 # Copyright (C) 2006-2012  Emanuele Rocca et al.
 # This file is distributed under the same license as the 
xfce4-smartbookmark-plugin package.
-# Seong-ho, Cho darkcircle.0...@gmail.com, 2012.
+# Seong-ho Cho darkcircle.0...@gmail.com, 2012, 2013.
 #
 msgid 
 msgstr 
 Project-Id-Version: xfce4-smartbookmark-plugin.master\n
-Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2013-01-03 22:26+0100\n
-PO-Revision-Date: 2012-02-26 14:37+0900\n
-Last-Translator: Seong-ho, Cho darkcircle.0...@gmail.com\n
-Language-Team: xfce4-users-kr-i18n xfce4-users-kr-i18n@lists.sourceforge.
-net\n
+Report-Msgid-Bugs-To: 
https://bugzilla.xfce.org/enter_bug.cgi?product=xfce4-smartbookmark-plugin\n;
+POT-Creation-Date: 2013-01-23 13:48+\n
+PO-Revision-Date: 2013-01-24 03:18+0900\n
+Last-Translator: Seong-ho Cho darkcircle.0...@gmail.com\n
+Language-Team: xfce4-users-kr-i18n 
xfce4-users-kr-i...@lists.sourceforge.net\n
 Language: ko\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
@@ -24,7 +23,7 @@ msgstr 
 #: ../src/smartbookmark.c:90
 #, c-format
 msgid Failed to send %s to your preferred browser
-msgstr 
+msgstr %s을(를) 기본 브라우저로 보내는데 실패했습니다
 
 #: ../src/smartbookmark.c:296
 msgid Smartbookmark
@@ -55,9 +54,10 @@ msgid URL:  
 msgstr URL:
 
 #: ../src/smartbookmark.desktop.in.h:1
+msgid Query websites from the Xfce panel
+msgstr Xfce 패널에서 웹사이트 요청하기
+
+#: ../src/smartbookmark.desktop.in.h:2
 msgid SmartBookmark
 msgstr 똑똑한 북마크
 
-#: ../src/smartbookmark.desktop.in.h:2
-msgid Query websites from the Xfce panel
-msgstr Xfce 패널에서 웹사이트 요청하기
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-smartbookmark-plugin:master updates for 0.4.5 release

2013-01-20 Thread Landry Breuil
Updating branch refs/heads/master
 to 700a8552263982b6358cca808d9236805dbd01e4 (commit)
   from 8f13e2b967814f7d41caf39c35d3d29eff9f9134 (commit)

commit 700a8552263982b6358cca808d9236805dbd01e4
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jan 20 21:34:23 2013 +0100

updates for 0.4.5 release

 NEWS|8 
 configure.ac.in |2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 13a929e..75dc2b7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+0.4.5 : 2013/01/20
+=
+- Port to libxfce4ui
+- Build the plugin as a module
+- Fix broken argument handling (bug #8642)
+- Save config after destroying the dialog (bug #9523)
+- Allow numpad enter to trigger the search too (bug #9663)
+
 0.4.4
 =
 - Fix compatibility with Xfce 4.7+, fixing bug #6939 and #6940
diff --git a/configure.ac.in b/configure.ac.in
index 0db20e8..49f206e 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -1,7 +1,7 @@
 dnl Version information
 m4_define([smartbookmark_version_major], [0])
 m4_define([smartbookmark_version_minor], [4])
-m4_define([smartbookmark_version_micro], [4])
+m4_define([smartbookmark_version_micro], [5])
 m4_define([smartbookmark_version],
 
[smartbookmark_version_major.smartbookmark_version_minor.smartbookmark_version_micro])
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-smartbookmark-plugin|0.4.5 Creating annotated tag 0.4.5

2013-01-20 Thread Landry Breuil
Updating annotated tag refs/tags/0.4.5
 as new annotated tag
 to 05f2eff71e518e6f55c53f6c113b68dad63b489f (tag)
   succeeds 0.4.4-31-g8f13e2b
  tagged by Landry Breuil lan...@xfce.org
 on 2013-01-20 21:45 +0100

Landry Breuil (1):
  updates for 0.4.5 release

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-verve-plugin:master Fix style when the entry loses focus (bug #3525)

2013-01-20 Thread Landry Breuil
Updating branch refs/heads/master
 to 271221054d21aab631dc7a37c2fa49f2dc19cf19 (commit)
   from 3d0844ad0833df6d8f06286e0072e6da2c47 (commit)

commit 271221054d21aab631dc7a37c2fa49f2dc19cf19
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jan 20 21:59:13 2013 +0100

Fix style when the entry loses focus (bug #3525)

 panel-plugin/verve-plugin.c |   22 +-
 1 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index 194b76c..e61e043 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -120,7 +120,6 @@ verve_plugin_load_completion (VerveEnv* env, gpointer 
user_data)
 static gboolean
 verve_plugin_focus_timeout (VervePlugin *verve)
 {
-  GtkStyle *default_style;
   GtkStyle *style;
   
   g_return_val_if_fail (verve != NULL, FALSE);
@@ -129,16 +128,13 @@ verve_plugin_focus_timeout (VervePlugin *verve)
   /* Determine current entry style */
   style = gtk_widget_get_style (verve-input);
 
-  /* Get default style for widgets */
-  default_style = gtk_widget_get_default_style ();
-  
   /* Check whether the entry already is highlighted */
   if (gdk_color_equal (style-base[GTK_STATE_NORMAL], 
style-base[GTK_STATE_SELECTED]))
 {
   /* Make it look normal again */
-  gtk_widget_modify_base (verve-input, GTK_STATE_NORMAL, 
default_style-base[GTK_STATE_NORMAL]);
-  gtk_widget_modify_bg (verve-input, GTK_STATE_NORMAL, 
default_style-bg[GTK_STATE_NORMAL]);
-  gtk_widget_modify_text (verve-input, GTK_STATE_NORMAL, 
default_style-text[GTK_STATE_NORMAL]);
+  gtk_widget_modify_base (verve-input, GTK_STATE_NORMAL, 
style-base[GTK_STATE_NORMAL]);
+  gtk_widget_modify_bg (verve-input, GTK_STATE_NORMAL, 
style-bg[GTK_STATE_NORMAL]);
+  gtk_widget_modify_text (verve-input, GTK_STATE_NORMAL, 
style-text[GTK_STATE_NORMAL]);
 }
   else
 {
@@ -156,7 +152,7 @@ verve_plugin_focus_timeout (VervePlugin *verve)
 static void
 verve_plugin_focus_timeout_reset (VervePlugin *verve)
 {
-  GtkStyle *default_style;
+  GtkStyle *style;
 
   g_return_if_fail (verve != NULL);
   g_return_if_fail (verve-input != NULL || GTK_IS_ENTRY (verve-input));
@@ -168,13 +164,13 @@ verve_plugin_focus_timeout_reset (VervePlugin *verve)
   verve-focus_timeout = 0;
 }
   
-  /* Get default style */
-  default_style = gtk_widget_get_default_style ();
+  /* Determine current entry style */
+  style = gtk_widget_get_style (verve-input);
   
   /* Reset entry background */
-  gtk_widget_modify_base (verve-input, GTK_STATE_NORMAL, 
default_style-base[GTK_STATE_NORMAL]);
-  gtk_widget_modify_bg (verve-input, GTK_STATE_NORMAL, 
default_style-bg[GTK_STATE_NORMAL]);
-  gtk_widget_modify_text (verve-input, GTK_STATE_NORMAL, 
default_style-text[GTK_STATE_NORMAL]);
+  gtk_widget_modify_base (verve-input, GTK_STATE_NORMAL, 
style-base[GTK_STATE_NORMAL]);
+  gtk_widget_modify_bg (verve-input, GTK_STATE_NORMAL, 
style-bg[GTK_STATE_NORMAL]);
+  gtk_widget_modify_text (verve-input, GTK_STATE_NORMAL, 
style-text[GTK_STATE_NORMAL]);
 }
 
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-smartbookmark-plugin:master Fix broken argument handling (bug #8642)

2013-01-03 Thread Landry Breuil
Updating branch refs/heads/master
 to d077cd1dfa46cb6d736bedf172f33d51e1fed334 (commit)
   from 860c500cf991c0d64f1538abf39c7579bad4a9ed (commit)

commit d077cd1dfa46cb6d736bedf172f33d51e1fed334
Author: Landry Breuil lan...@xfce.org
Date:   Thu Jan 3 22:22:27 2013 +0100

Fix broken argument handling (bug #8642)

Use g_spawn_async() instead of building a commandline and passing it
to g_spawn_command_line_async() which will in turn use 
g_shell_parse_argv()..
Fix some corner cases with some special chars interpreted by the shell.
Mostly from Guido Berhoerster, thanks!

 src/smartbookmark.c |   19 +--
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index b78d014..6f358d3 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -76,14 +76,21 @@ XFCE_PANEL_PLUGIN_REGISTER(smartbookmark_construct);
 static gboolean do_search(const char *url, const char *keyword)
 {
 DBG (Do search);
-gchar *execute;
+gchar *argv[] = { exo-open, --launch, WebBrowser, NULL, NULL };
+GError *error = NULL;
+gchar *complete_url;
 gboolean success;
-execute = g_strconcat(exo-open --launch WebBrowser \, url, NULL);
-execute = g_strconcat(execute, keyword, NULL);
-execute = g_strconcat(execute, \, NULL);
+complete_url = g_strconcat(url, keyword, NULL);
+argv[3] = complete_url;
 
-success = g_spawn_command_line_async(execute, NULL);
-g_free(execute);
+success = g_spawn_async(NULL, (gchar **)argv, NULL,
+G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, NULL, 
error);
+
+if (!success) {
+xfce_dialog_show_error(NULL, error, _(Failed to send %s to your 
preferred browser), complete_url);
+g_error_free(error);
+}
+g_free(complete_url);
 
 return success;
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-time-out-plugin:master Ditch _xfce_create_framebox() and use xfce_gtk_frame_box_new() instead

2012-12-30 Thread Landry Breuil
Updating branch refs/heads/master
 to 8d85aff5c22fff30f7b10cb09cb1ff4bbff3a0ee (commit)
   from f8d8c71f00cbe891b67116d4fa7178e8ebd31645 (commit)

commit 8d85aff5c22fff30f7b10cb09cb1ff4bbff3a0ee
Author: Landry Breuil lan...@xfce.org
Date:   Sun Dec 30 17:31:17 2012 +0100

Ditch _xfce_create_framebox() and use xfce_gtk_frame_box_new() instead

 panel-plugin/time-out.c |   36 +++-
 1 files changed, 3 insertions(+), 33 deletions(-)

diff --git a/panel-plugin/time-out.c b/panel-plugin/time-out.c
index 2544f01..5c3cf5d 100644
--- a/panel-plugin/time-out.c
+++ b/panel-plugin/time-out.c
@@ -431,36 +431,6 @@ time_out_about (XfcePanelPlugin *plugin)
  NULL);
 }
 
-GtkWidget *
-_xfce_create_framebox(const gchar *title, GtkWidget **frame_bin)
-{
-  GtkWidget *framebox;
-
-  g_return_val_if_fail(frame_bin, NULL);
-
-  framebox = gtk_frame_new(NULL);
-  gtk_frame_set_shadow_type(GTK_FRAME(framebox), GTK_SHADOW_NONE);
-  gtk_frame_set_label_align(GTK_FRAME(framebox), 0.0, 1.0);
-  gtk_widget_show(framebox);
-
-  if(title) {
-gchar *tmp = g_strdup_printf(b%s/b, title);
-GtkWidget *label = gtk_label_new(tmp);
-gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
-gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
-gtk_widget_show(label);
-gtk_frame_set_label_widget(GTK_FRAME(framebox), label);
-g_free(tmp);
-  }
-
-  *frame_bin = gtk_alignment_new(0.0, 0.0, 1.0, 1.0);
-  gtk_alignment_set_padding(GTK_ALIGNMENT(*frame_bin), 5, 5, 21, 5);
-  gtk_widget_show(*frame_bin);
-  gtk_container_add(GTK_CONTAINER(framebox), *frame_bin);
-
-  return framebox;
-}
-
 static void
 time_out_configure (XfcePanelPlugin *plugin,
 TimeOutPlugin   *time_out)
@@ -504,7 +474,7 @@ time_out_configure (XfcePanelPlugin *plugin,
   gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
 
   /* Create time settings section */
-  framebox = _xfce_create_framebox (_(Time settings), timebin);
+  framebox = xfce_gtk_frame_box_new (_(Time settings), timebin);
   gtk_container_set_border_width (GTK_CONTAINER (framebox), 6);
   gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)-vbox), framebox, TRUE, 
TRUE, 0);
   gtk_widget_show (framebox);
@@ -588,7 +558,7 @@ time_out_configure (XfcePanelPlugin *plugin,
   gtk_widget_show (spin);
 
   /* Create behaviour section */
-  framebox = _xfce_create_framebox (_(Behaviour), behaviourbin);
+  framebox = xfce_gtk_frame_box_new (_(Behaviour), behaviourbin);
   gtk_container_set_border_width (GTK_CONTAINER (framebox), 6);
   gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)-vbox), framebox, TRUE, 
TRUE, 0);
   gtk_widget_show (framebox);
@@ -613,7 +583,7 @@ time_out_configure (XfcePanelPlugin *plugin,
   gtk_widget_show (checkbutton);
 
   /* Create appearance section */
-  framebox = _xfce_create_framebox (_(Appearance), appearancebin);
+  framebox = xfce_gtk_frame_box_new (_(Appearance), appearancebin);
   gtk_container_set_border_width (GTK_CONTAINER (framebox), 6);
   gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)-vbox), framebox, TRUE, 
TRUE, 0);
   gtk_widget_show (framebox);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-smartbookmark-plugin:master Bring up-to-date with 2012 xfce standards.

2012-12-30 Thread Landry Breuil
Updating branch refs/heads/master
 to 1592b6de9aea22296e32ff9c2d5a56910e69a865 (commit)
   from c983114f440474090940b02ad37c758de206591a (commit)

commit 1592b6de9aea22296e32ff9c2d5a56910e69a865
Author: Landry Breuil lan...@xfce.org
Date:   Sun Dec 30 17:59:40 2012 +0100

Bring up-to-date with 2012 xfce standards.

- port to libxfce4ui
- build as a module
- dont force -O0
- use 'exo-open --launch WebBrowser'  g_spawn_command_line_async() instead
of 'xfbrowser4'  exec_command()
- use system-search icon for desktop file/dialog icon

 configure.ac.in|   11 ---
 src/Makefile.am|   31 +++
 src/smartbookmark.c|   24 ++-
 ...mark.desktop.in.in = smartbookmark.desktop.in} |4 +-
 4 files changed, 29 insertions(+), 41 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 6bfddf2..0db20e8 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -16,17 +16,18 @@ AM_MAINTAINER_MODE()
 dnl check for basic programs
 AC_PROG_CC()
 AC_PROG_INSTALL()
-AC_PROG_LIBTOOL()
 AC_PROG_INTLTOOL()
 
+dnl Initialize libtool
+LT_PREREQ([2.2.6])
+LT_INIT([disable-static])
+
 dnl Check for i18n support
 XDT_I18N([@LINGUAS@])
 
 dnl Check for required packages
-XDT_CHECK_LIBX11_REQUIRE()
-XDT_CHECK_PACKAGE([GDK], [gdk-2.0], [2.0])
-XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.2])
-XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.20])
+XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.8.0])
+XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.8.0])
 
 XDT_FEATURE_DEBUG()
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 406421e..47eb803 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,42 +1,35 @@
-plugindir = $(libdir)/xfce4/panel-plugins
+plugindir = $(libdir)/xfce4/panel/plugins
 
 plugin_LTLIBRARIES =   \
libsmartbookmark.la
 
 libsmartbookmark_la_LDFLAGS =  
\
-   -O0 \
-avoid-version  \
-module \
+   -no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
+   $(PLATFORM_LDFLAGS)
+
+libsmartbookmark_la_LIBADD = \
@LIBXFCE4PANEL_LIBS@ \
-   @LIBXFCEGUI4_LIBS@  \
-   @GDK_LIBS@
+   @LIBXFCE4UI_LIBS@
 
 libsmartbookmark_la_SOURCES =  
\
smartbookmark.c
 
 
 libsmartbookmark_la_CFLAGS =\
-   -O0 \
-I$(top_srcdir) \
-   @LIBXFCEGUI4_CFLAGS@ \
+   @LIBXFCE4UI_CFLAGS@ \
@LIBXFCE4PANEL_CFLAGS@ \
-   @GDK_CFLAGS@\
-DPACKAGE_LOCALE_DIR=\$(localedir)\
 
-desktop_in_in_files = smartbookmark.desktop.in.in
-desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
+desktop_in_files = smartbookmark.desktop.in
 
-desktopdir = $(datadir)/xfce4/panel-plugins
+desktopdir = $(datadir)/xfce4/panel/plugins
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
-EXTRA_DIST =   \
-   $(desktop_in_in_files)
-
-DISTCLEANFILES =   \
-   $(desktop_DATA) $(desktop_in_files)
+EXTRA_DIST = $(desktop_in_files)
 
-# get full path into .desktop file
-%.desktop.in: %.desktop.in.in
-   sed -e s^@INTERNAL_PLUGIN_PATH@^$(libdir)/xfce4/panel-plugins^ \
-   $  $@
+DISTCLEANFILES = $(desktop_DATA)
diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index 17db33e..ca284b1 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -40,7 +40,7 @@
 #include gdk/gdkx.h
 
 #include libxfce4util/libxfce4util.h
-#include libxfcegui4/dialogs.h
+#include libxfce4ui/libxfce4ui.h
 #include libxfce4panel/xfce-panel-plugin.h
 
 /*
@@ -71,19 +71,18 @@ typedef struct {
 
 static void
 smartbookmark_construct(XfcePanelPlugin *plugin);
-XFCE_PANEL_PLUGIN_REGISTER_INTERNAL(smartbookmark_construct);
+XFCE_PANEL_PLUGIN_REGISTER(smartbookmark_construct);
 
 static gboolean do_search(const char *url, const char *keyword)
 {
 DBG (Do search);
 gchar *execute;
 gboolean success;
-execute = g_strconcat(xfbrowser4  \, url, NULL);//works better for me
-//execute = g_strconcat(x-www-browser \, url, NULL);
+execute = g_strconcat(exo-open --launch WebBrowser \, url, NULL);
 execute = g_strconcat(execute, keyword, NULL);
 execute = g_strconcat(execute, \, NULL);
 
-success = exec_command(execute);
+success = g_spawn_command_line_async(execute, NULL);
 g_free(execute);
 
 return success;
@@ -285,21 +284,16 @@ static void search_create_options(XfcePanelPlugin 
*plugin, t_search *search)
 xfce_panel_plugin_block_menu(plugin);
 GtkWidget *urllabel, *textlabel, *sizelabel;
 DBG (search_create_options

[Xfce4-commits] xfce4-smartbookmark-plugin:master Allow numpad enter to trigger the search too (bug #9663)

2012-12-30 Thread Landry Breuil
Updating branch refs/heads/master
 to fd0efa33db5a940f905eaa56597293e21de6ce08 (commit)
   from 1592b6de9aea22296e32ff9c2d5a56910e69a865 (commit)

commit fd0efa33db5a940f905eaa56597293e21de6ce08
Author: Landry Breuil lan...@xfce.org
Date:   Sun Dec 30 18:14:28 2012 +0100

Allow numpad enter to trigger the search too (bug #9663)

While here add a comment explaining why we dont use GDK_KEY_* defines..

 src/smartbookmark.c |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index ca284b1..fee3d19 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -146,7 +146,9 @@ static gboolean entry_keypress_cb(GtkWidget *entry, 
GdkEventKey *event, t_search
 const gchar *key = NULL;   /* keyword */
 
 switch (event-keyval) {
+/* XXX use GDK_KEY_xx from gdkkeyssyms.h when we depend on gtk+  2.22 */
 case GDK_Return:
+case GDK_KP_Enter:
 key = gtk_entry_get_text(GTK_ENTRY(entry));
 
 if (do_search(search-url, key)) {
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-smartbookmark-plugin:master Save config after destroying the dialog (bug #9523)

2012-12-30 Thread Landry Breuil
Updating branch refs/heads/master
 to 14dab798f15a2738bbce271590d93176ddf32e88 (commit)
   from fd0efa33db5a940f905eaa56597293e21de6ce08 (commit)

commit 14dab798f15a2738bbce271590d93176ddf32e88
Author: Evangelos Foutras evange...@foutrelis.com
Date:   Sun Dec 30 18:25:28 2012 +0100

Save config after destroying the dialog (bug #9523)

Previously the config was only saved upon 'save' signal.

 src/smartbookmark.c |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index fee3d19..b78d014 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -361,6 +361,7 @@ static void search_create_options(XfcePanelPlugin *plugin, 
t_search *search)
 search_apply_options_cb(search);
 gtk_widget_destroy(search-opt_dialog);
 xfce_panel_plugin_unblock_menu(plugin);
+search_write_config(plugin, search);
 }
 
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-verve-plugin:master Port to libxfce4ui.

2012-12-30 Thread Landry Breuil
Updating branch refs/heads/master
 to ba3167019ae25cb340c36b676f038ec73bb47d98 (commit)
   from 592853aeed8df90e06f37d98e68c6110dc8ae232 (commit)

commit ba3167019ae25cb340c36b676f038ec73bb47d98
Author: Landry Breuil lan...@xfce.org
Date:   Sun Dec 30 18:30:34 2012 +0100

Port to libxfce4ui.

While here only call g_thread_init() on glib  2.32.

 configure.ac.in |   16 +++-
 panel-plugin/Makefile.am|6 ++
 panel-plugin/verve-plugin.c |8 +---
 scripts/Makefile.am |2 --
 4 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 758fad6..9f9f49b 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -35,8 +35,8 @@ AC_PROG_INTLTOOL()
 dnl **
 dnl *** Initialize libtool ***
 dnl **
-AC_DISABLE_STATIC()
-AC_PROG_LIBTOOL()
+LT_PREREQ([2.2.6])
+LT_INIT([disable-static])
 
 dnl **
 dnl *** Check for standard headers ***
@@ -51,12 +51,10 @@ XDT_I18N([@LINGUAS@])
 dnl ***
 dnl *** Check for required packages ***
 dnl ***
-XDT_CHECK_PACKAGE([LIBEXO], [exo-0.3], [0.3.1.3], [],
-  [XDT_CHECK_PACKAGE([LIBEXO], [exo-1], [0.5.0])])
-XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.4.0])
-XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0])
-XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0])
-XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.6.4])
+XDT_CHECK_PACKAGE([LIBEXO], [exo-1], [0.5.0])
+XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.8.0])
+XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.8.0])
+XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.8.0])
 XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.4])
 XDT_CHECK_PACKAGE([LIBPCRE], [libpcre], [5.0])
 
@@ -77,7 +75,7 @@ fi
 dnl ***
 dnl *** Check for debugging support ***
 dnl ***
-BM_DEBUG_SUPPORT()
+XDT_FEATURE_DEBUG()
 
 AC_OUTPUT([
 Makefile
diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 06d68ef..69fb4bd 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -18,19 +18,17 @@ xfce4_verve_plugin_CFLAGS = 
\
-DPACKAGE_LOCALE_DIR=\$(localedir)\   \
@LIBEXO_CFLAGS@ \
@LIBXFCE4PANEL_CFLAGS@  \
+   @LIBXFCE4UI_CFLAGS@ \
@LIBXFCE4UTIL_CFLAGS@   \
-   @LIBXFCEGUI4_CFLAGS@\
@LIBPCRE_CFLAGS@\
-   @GLIB_CFLAGS@   \
@GTHREAD_CFLAGS@
 
 xfce4_verve_plugin_LDADD = \
@LIBEXO_LIBS@   \
@LIBXFCE4PANEL_LIBS@\
+   @LIBXFCE4UI_LIBS@   \
@LIBXFCE4UTIL_LIBS@ \
-   @LIBXFCEGUI4_LIBS@  \
@LIBPCRE_LIBS@  \
-   @GLIB_LIBS@ \
@GTHREAD_LIBS@
 
 if HAVE_DBUS
diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index ecc9015..1403b2a 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -411,7 +411,7 @@ verve_plugin_keypress_cb (GtkWidget   *entry,
 gchar *msg = g_strconcat (_(Could not execute command:),  , 
command, NULL);
 
 /* Display error message dialog */
-xfce_err (msg);
+xfce_dialog_show_error (NULL, NULL, msg);
 
 /* Free message */
 g_free (msg);
@@ -501,8 +501,10 @@ verve_plugin_new (XfcePanelPlugin *plugin)
   /* Set application name */
   g_set_application_name (Verve);
 
+#if !GLIB_CHECK_VERSION (2, 30, 0)
   /* Init thread system */
   g_thread_init (NULL);
+#endif
 
   /* Init Verve mini-framework */
   verve_init ();
@@ -804,7 +806,7 @@ verve_plugin_properties (XfcePanelPlugin *plugin,
   gtk_container_set_border_width (GTK_CONTAINER (dialog), 2);
 
   /* Frame for appearance settings */
-  frame = xfce_create_framebox (_(Appearance), bin1);
+  frame = xfce_gtk_frame_box_new (_(Appearance), bin1);
   gtk_container_set_border_width (GTK_CONTAINER (frame), 6);
   gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)-vbox), frame, TRUE, TRUE, 
0);
   gtk_widget_show (frame);
@@ -835,7 +837,7 @@ verve_plugin_properties (XfcePanelPlugin *plugin,
   g_signal_connect

[Xfce4-commits] xfce4-verve-plugin:master fix gtk_adjustment warning

2012-12-30 Thread Landry Breuil
Updating branch refs/heads/master
 to e113585ff14a119094b28b2f0d2757db4b491cc6 (commit)
   from f7b923d980e3004c634750d6c2fedeb73f10b51e (commit)

commit e113585ff14a119094b28b2f0d2757db4b491cc6
Author: Landry Breuil lan...@xfce.org
Date:   Sun Dec 30 18:51:19 2012 +0100

fix gtk_adjustment warning

 panel-plugin/verve-plugin.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index f8bd7c4..194b76c 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -822,7 +822,7 @@ verve_plugin_properties (XfcePanelPlugin *plugin,
   gtk_widget_show (size_label);
 
   /* Plugin size adjustment */
-  adjustment = gtk_adjustment_new (verve-size, 5, 100, 1, 5, 10);
+  adjustment = gtk_adjustment_new (verve-size, 5, 100, 1, 5, 0);
 
   /* Plugin size spin button */
   size_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjustment), 1, 0);
@@ -853,7 +853,7 @@ verve_plugin_properties (XfcePanelPlugin *plugin,
   gtk_widget_show (history_length_label);
 
   /* History length adjustment */
-  adjustment = gtk_adjustment_new (verve-history_length, 0, 1000, 1, 5, 10);
+  adjustment = gtk_adjustment_new (verve-history_length, 0, 1000, 1, 5, 0);
 
   /* History length spin button */
   history_length_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjustment), 1, 
0);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-verve-plugin:master Build the plugin as a module

2012-12-30 Thread Landry Breuil
Updating branch refs/heads/master
 to f7b923d980e3004c634750d6c2fedeb73f10b51e (commit)
   from ba3167019ae25cb340c36b676f038ec73bb47d98 (commit)

commit f7b923d980e3004c634750d6c2fedeb73f10b51e
Author: Landry Breuil lan...@xfce.org
Date:   Sun Dec 30 18:50:07 2012 +0100

Build the plugin as a module

 panel-plugin/Makefile.am   |   45 +--
 panel-plugin/verve-plugin.c|2 +-
 ...desktop.in.in = xfce4-verve-plugin.desktop.in} |4 +-
 3 files changed, 24 insertions(+), 27 deletions(-)

diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 69fb4bd..5ac7b84 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -1,9 +1,8 @@
-plugindir = $(libexecdir)/xfce4/panel-plugins
+plugindir = $(libexecdir)/xfce4/panel/plugins
 
-plugin_PROGRAMS =  \
-   xfce4-verve-plugin
+plugin_LTLIBRARIES = libverve.la
 
-xfce4_verve_plugin_SOURCES =   \
+libverve_la_SOURCES =  \
verve-plugin.c  \
verve.c \
verve-history.c \
@@ -12,7 +11,7 @@ xfce4_verve_plugin_SOURCES =  
\
verve-history.h \
verve-env.h
 
-xfce4_verve_plugin_CFLAGS =\
+libverve_la_CFLAGS =   \
-I$(top_builddir)   \
-I$(top_srcdir) \
-DPACKAGE_LOCALE_DIR=\$(localedir)\   \
@@ -23,7 +22,7 @@ xfce4_verve_plugin_CFLAGS =   
\
@LIBPCRE_CFLAGS@\
@GTHREAD_CFLAGS@
 
-xfce4_verve_plugin_LDADD = \
+libverve_la_LIBADD =   \
@LIBEXO_LIBS@   \
@LIBXFCE4PANEL_LIBS@\
@LIBXFCE4UI_LIBS@   \
@@ -31,17 +30,24 @@ xfce4_verve_plugin_LDADD =  
\
@LIBPCRE_LIBS@  \
@GTHREAD_LIBS@
 
+libverve_la_LDFLAGS = \
+   -avoid-version \
+   -module \
+   -no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
+   $(PLATFORM_LDFLAGS)
+
 if HAVE_DBUS
-xfce4_verve_plugin_SOURCES +=  \
+libverve_la_SOURCES += 
\
verve-dbus-service-infos.h  \
verve-dbus-service.h\
verve-dbus-service.c
 
-xfce4_verve_plugin_CFLAGS +=   \
+libverve_la_CFLAGS +=  \
-DDBUS_API_SUBJECT_TO_CHANGE\
$(DBUS_CFLAGS)
 
-xfce4_verve_plugin_LDADD +=\
+libverve_la_LIBADD +=  \
$(DBUS_LIBS)
 
 verve-dbus-service-infos.h: Makefile $(srcdir)/verve-dbus-service-infos.xml 
@@ -53,32 +59,23 @@ endif
 
 # .desktop file
 #
-# Some automake trickery here. Because we cannot use $(libexecdir) in the
-# automake stage, we'll use sed to get the full path into the .desktop file.
-# We also need to let intltool merge the translated fields, so we add an
-# additional level of indirection: a name.desktop.in.in file.
+# We need to let intltool merge the translated fields, so we add a
+# level of indirection: a name.desktop.in file.
 # 
-desktop_in_in_files = xfce4-verve-plugin.desktop.in.in
-desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
-desktopdir = $(datadir)/xfce4/panel-plugins
+desktop_in_files = xfce4-verve-plugin.desktop.in
+desktopdir = $(datadir)/xfce4/panel/plugins
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 EXTRA_DIST =   \
-   $(desktop_in_in_files)  \
+   $(desktop_in_files) \
verve-dbus-service-infos.xml
  
-DISTCLEANFILES =   \
-   $(desktop_DATA) $(desktop_in_files

[Xfce4-commits] xfce4-smartbookmark-plugin:master fix POTFILES.in

2012-12-30 Thread Landry Breuil
Updating branch refs/heads/master
 to 860c500cf991c0d64f1538abf39c7579bad4a9ed (commit)
   from 14dab798f15a2738bbce271590d93176ddf32e88 (commit)

commit 860c500cf991c0d64f1538abf39c7579bad4a9ed
Author: Landry Breuil lan...@xfce.org
Date:   Sun Dec 30 19:13:09 2012 +0100

fix POTFILES.in

 po/POTFILES.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index 092d988..7cf1def 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,3 @@
 src/smartbookmark.c
 
-src/smartbookmark.desktop.in.in
+src/smartbookmark.desktop.in
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-verve-plugin:master fix POTFILES.in

2012-12-30 Thread Landry Breuil
Updating branch refs/heads/master
 to 3d0844ad0833df6d8f06286e0072e6da2c47 (commit)
   from e113585ff14a119094b28b2f0d2757db4b491cc6 (commit)

commit 3d0844ad0833df6d8f06286e0072e6da2c47
Author: Landry Breuil lan...@xfce.org
Date:   Sun Dec 30 19:13:33 2012 +0100

fix POTFILES.in

 po/POTFILES.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5b7f36f..edcbe0c 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,5 +5,5 @@ panel-plugin/verve-env.c
 panel-plugin/verve-history.h
 panel-plugin/verve-history.c
 panel-plugin/verve-plugin.c
-panel-plugin/xfce4-verve-plugin.desktop.in.in
+panel-plugin/xfce4-verve-plugin.desktop.in
 scripts/verve-focus.c
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master Only set the barcolor if a color was actually specified (bug #9081)

2012-07-04 Thread Landry Breuil
Updating branch refs/heads/master
 to 8149080cd9798f17821b75a6cd532b3ae2a82bf9 (commit)
   from 1b4295c483adf48e2e1479cf836552223c7f5220 (commit)

commit 8149080cd9798f17821b75a6cd532b3ae2a82bf9
Author: Landry Breuil lan...@xfce.org
Date:   Wed Jul 4 16:15:20 2012 +0200

Only set the barcolor if a color was actually specified (bug #9081)

- instead of trying to detect the theme color, default to not set the bar 
color.
- only save the bar color if it was actually set
- make the ui default to gold yellow (this doesnt mean it's applied,
  the user needs to validate it)

 panel-plugin/cpu.c|   12 +++-
 panel-plugin/cpu.h|1 +
 panel-plugin/properties.c |1 +
 panel-plugin/settings.c   |   17 -
 4 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index c454124..927bb1e 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -120,6 +120,7 @@ static CPUGraph * create_gui( XfcePanelPlugin * plugin )
g_signal_connect_after( base-draw_area, expose-event, G_CALLBACK( 
draw_area_cb ), base );
 
base-has_bars = FALSE;
+   base-has_barcolor = FALSE;
base-bars = NULL;
 
 #ifdef HAS_PANEL_49
@@ -173,10 +174,11 @@ static void create_bars( CPUGraph *base )
{
base-bars[i] = GTK_WIDGET(gtk_progress_bar_new());
/* Set bar colors */
-   gtk_widget_modify_bg(base-bars[i], GTK_STATE_PRELIGHT, 
base-colors[4]);
-   gtk_widget_modify_bg(base-bars[i], GTK_STATE_SELECTED, 
base-colors[4]);
-   gtk_widget_modify_base(base-bars[i], GTK_STATE_SELECTED, 
base-colors[4]);
-
+   if (base-has_barcolor) {
+   gtk_widget_modify_bg(base-bars[i], GTK_STATE_PRELIGHT, 
base-colors[4]);
+   gtk_widget_modify_bg(base-bars[i], GTK_STATE_SELECTED, 
base-colors[4]);
+   gtk_widget_modify_base(base-bars[i], 
GTK_STATE_SELECTED, base-colors[4]);
+   }
gtk_box_pack_end( GTK_BOX(base-box), base-bars[i], FALSE, 
FALSE, 0 );
gtk_widget_show( base-bars[i] );
}
@@ -517,7 +519,7 @@ void set_color( CPUGraph *base, guint number, GdkColor 
color )
gtk_widget_modify_bg( base-draw_area, GTK_STATE_INSENSITIVE, 
base-colors[0] );
gtk_widget_modify_bg( base-draw_area, GTK_STATE_NORMAL, 
base-colors[0] );
}
-   if( number == 4  base-has_bars )
+   if( number == 4  base-has_bars  base-has_barcolor )
{
n = nb_bars( base );
 
diff --git a/panel-plugin/cpu.h b/panel-plugin/cpu.h
index 527c229..fcd9d85 100644
--- a/panel-plugin/cpu.h
+++ b/panel-plugin/cpu.h
@@ -54,6 +54,7 @@ typedef struct
gboolean has_frame;
gboolean has_border;
gboolean has_bars;
+   gboolean has_barcolor;
gchar  *command;
gboolean in_terminal;
gboolean startup_notification;
diff --git a/panel-plugin/properties.c b/panel-plugin/properties.c
index f83c611..53fe0ff 100644
--- a/panel-plugin/properties.c
+++ b/panel-plugin/properties.c
@@ -330,6 +330,7 @@ static void change_color_0( GtkColorButton * button, 
CPUGraph * base )
 
 static void change_color_4( GtkColorButton * button, CPUGraph * base )
 {
+   base-has_barcolor = TRUE;
change_color( button, base, 4);
 }
 
diff --git a/panel-plugin/settings.c b/panel-plugin/settings.c
index bec6585..8679f2d 100644
--- a/panel-plugin/settings.c
+++ b/panel-plugin/settings.c
@@ -62,8 +62,6 @@ void read_settings( XfcePanelPlugin * plugin, CPUGraph * base 
)
GdkColor foreground3;
GdkColor background;
GdkColor barscolor;
-   GtkWidget* bar;
-   GtkStyle* barstyle;
guint size;
const gchar  *associated_command;
gboolean in_terminal;
@@ -85,11 +83,9 @@ void read_settings( XfcePanelPlugin * plugin, CPUGraph * 
base )
background.green = 65535;
background.blue = 65535;
 
-   /* use color from theme for default bar color */
-   bar = gtk_progress_bar_new();
-   barstyle = gtk_widget_get_style(bar);
-   barscolor = barstyle-bg[GTK_STATE_SELECTED];
-   gtk_widget_destroy(bar);
+   barscolor.red = 65535;
+   barscolor.green = 47872;
+   barscolor.blue = 0;
 
size = xfce_panel_plugin_get_size( plugin );
default_command( associated_command, in_terminal, 
startup_notification );
@@ -122,8 +118,10 @@ void read_settings( XfcePanelPlugin * plugin, CPUGraph * 
base )
gdk_color_parse( value, foreground3 );
if( (value = xfce_rc_read_entry( rc, Background, NULL 
)) )
gdk_color_parse( value, background );
-   if( (value = xfce_rc_read_entry( rc, BarsColor, NULL 
)) )
+   if( (value = xfce_rc_read_entry( rc, BarsColor, NULL

[Xfce4-commits] xfce4-cpugraph-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin

2012-07-04 Thread Landry Breuil
Updating branch refs/heads/master
 to 4997ef8e1759c8a13179b9602fec39f9eb08544b (commit)
   from 8149080cd9798f17821b75a6cd532b3ae2a82bf9 (commit)

commit 4997ef8e1759c8a13179b9602fec39f9eb08544b
Merge: 8149080 97b7109
Author: Landry Breuil lan...@xfce.org
Date:   Wed Jul 4 16:19:18 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin

commit 97b7109a4647b0db954076f6ec65e123e536f18c
Author: Yarema aka Knedlyk yupad...@gmail.com
Date:   Tue Jul 3 13:46:38 2012 +0200

l10n: Updated Ukrainian (uk) translation to 100%

New status: 37 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/uk.po |   76 -
 1 files changed, 40 insertions(+), 36 deletions(-)

diff --git a/po/uk.po b/po/uk.po
index 0d744a5..ffc3fa8 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -7,7 +7,7 @@ msgid 
 msgstr 
 Project-Id-Version: xfce4-cpugraph-plugin\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-04-23 20:45+\n
+POT-Creation-Date: 2012-07-03 07:33+\n
 PO-Revision-Date: 2008-07-28 18:20+0300\n
 Last-Translator: Dmitry Nikitin luckas...@mail.ru\n
 Language-Team: Ukrainian xfce4-...@xfce.org\n
@@ -18,147 +18,151 @@ msgstr 
 Plural-Forms: nplurals=3; plural=(n%10==1  n%100!=11 ? 0 : n%10=2  
n%10=4  (n%10010 || n%100=20) ? 1 : 2);\n
 X-Generator: KBabel 1.11.4\n
 
-#: ../panel-plugin/cpu.c:150 ../panel-plugin/cpugraph.desktop.in.h:2
+#: ../panel-plugin/cpu.c:152 ../panel-plugin/cpugraph.desktop.in.h:2
 msgid Graphical representation of the CPU load
 msgstr Графічне представлення завантаження процесора
 
-#: ../panel-plugin/cpu.c:152
+#: ../panel-plugin/cpu.c:154
 msgid Copyright (c) 2003-2012\n
 msgstr Всі права застережено (c) 2003-2012\n
 
-#: ../panel-plugin/cpu.c:359
+#: ../panel-plugin/cpu.c:366
 #, c-format
 msgid Usage: %u%%
 msgstr Використання: %u%%
 
-#: ../panel-plugin/properties.c:78
+#: ../panel-plugin/properties.c:80
 msgid CPU Graph Properties
 msgstr Налаштування CPU Graph
 
-#: ../panel-plugin/properties.c:96
+#: ../panel-plugin/properties.c:98
 msgid Use non-linear time-scale
 msgstr Використовувати нелінійну шкалу часу
 
-#: ../panel-plugin/properties.c:97
+#: ../panel-plugin/properties.c:99
 msgid Show frame
 msgstr Показувати рамку
 
-#: ../panel-plugin/properties.c:98
+#: ../panel-plugin/properties.c:100
 msgid Show border
 msgstr Показувати рамку
 
-#: ../panel-plugin/properties.c:99
+#: ../panel-plugin/properties.c:101
 msgid Show current usage bar
 msgid_plural Show current usage bars
 msgstr[0] Показати панель поточного використання
 msgstr[1] Показати панелі поточного використання
 msgstr[2] Показати панелі поточного використання
 
-#: ../panel-plugin/properties.c:101
+#: ../panel-plugin/properties.c:103
 msgid Run in terminal
 msgstr Запустити в терміналі
 
-#: ../panel-plugin/properties.c:102
+#: ../panel-plugin/properties.c:104
 msgid Use startup notification
 msgstr Використовувати повідомлення при старті
 
-#: ../panel-plugin/properties.c:105
+#: ../panel-plugin/properties.c:107
 msgid Color 1:
 msgstr Колір 1:
 
-#: ../panel-plugin/properties.c:106
+#: ../panel-plugin/properties.c:108
 msgid Color 2:
 msgstr Колір 2:
 
-#: ../panel-plugin/properties.c:107
+#: ../panel-plugin/properties.c:109
 msgid Color 3:
 msgstr Колір 3:
 
-#: ../panel-plugin/properties.c:108
+#: ../panel-plugin/properties.c:110
 msgid Background:
 msgstr Тло:
 
-#: ../panel-plugin/properties.c:115
+#: ../panel-plugin/properties.c:114
+msgid Bars color:
+msgstr Колір стовпчиків:
+
+#: ../panel-plugin/properties.c:119
 msgid Appearance
 msgstr Вигляд
 
-#: ../panel-plugin/properties.c:117
+#: ../panel-plugin/properties.c:121
 msgid Advanced
 msgstr Додатково
 
-#: ../panel-plugin/properties.c:193
+#: ../panel-plugin/properties.c:197
 msgid Fastest (~250ms)
 msgstr Якнайшвидше (~250мс)
 
-#: ../panel-plugin/properties.c:194
+#: ../panel-plugin/properties.c:198
 msgid Fast (~500ms)
 msgstr Швидко (~500мс)
 
-#: ../panel-plugin/properties.c:195
+#: ../panel-plugin/properties.c:199
 msgid Normal (~750ms)
 msgstr Нормально (~750мс)
 
-#: ../panel-plugin/properties.c:196
+#: ../panel-plugin/properties.c:200
 msgid Slow (~1s)
 msgstr Поволі (~1с)
 
-#: ../panel-plugin/properties.c:200
+#: ../panel-plugin/properties.c:204
 msgid Update Interval:
 msgstr Інтервал поновлення:
 
-#: ../panel-plugin/properties.c:208
+#: ../panel-plugin/properties.c:212
 msgid All
 msgstr Все
 
-#: ../panel-plugin/properties.c:213
+#: ../panel-plugin/properties.c:217
 msgid Tracked Core:
 msgstr Спостереження за ядром:
 
-#: ../panel-plugin/properties.c:224
+#: ../panel-plugin/properties.c:228
 msgid Width:
 msgstr Ширина:
 
-#: ../panel-plugin/properties.c:226
+#: ../panel-plugin/properties.c:230
 msgid Height:
 msgstr Висота:
 
-#: ../panel-plugin/properties.c:240
+#: ../panel-plugin/properties.c:244
 msgid Associated command:
 msgstr Асоційовано з командою

[Xfce4-commits] xfce4-cpugraph-plugin:master updates for 1.0.5

2012-07-04 Thread Landry Breuil
Updating branch refs/heads/master
 to ce6263c5febad0c4bc14b286241add2d7fce1be2 (commit)
   from 4997ef8e1759c8a13179b9602fec39f9eb08544b (commit)

commit ce6263c5febad0c4bc14b286241add2d7fce1be2
Author: Landry Breuil lan...@xfce.org
Date:   Wed Jul 4 16:28:56 2012 +0200

updates for 1.0.5

 NEWS|5 +
 configure.ac.in |2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index d52a449..9fc7ecc 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+1.0.5 (4/7/2012)
+=
+- Only set bar color if a color was actually specified (bug #9081)
+- Only set bar color if bars are enabled (bug #9071)
+
 1.0.4 (2/7/2012)
 =
 - Fix FTBFS with panel 4.8
diff --git a/configure.ac.in b/configure.ac.in
index 6f4d79f..f538b63 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -5,7 +5,7 @@ dnl
 dnl 2004 Alexander Nordfelth alex.nordfe...@telia.com
 dnl
 
-m4_define([cpugraph_version],[1.0.4])
+m4_define([cpugraph_version],[1.0.5])
 
 AC_INIT([xfce4-cpugraph-plugin], [cpugraph_version],
[goodies-...@xfce.org])
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin|1.0.5 Creating annotated tag 1.0.5

2012-07-04 Thread Landry Breuil
Updating annotated tag refs/tags/1.0.5
 as new annotated tag
 to a9b0a0c217a7c2e934020c682b6c101f20bd89ee (tag)
   succeeds 1.0.4-7-g4997ef8
  tagged by Landry Breuil lan...@xfce.org
 on 2012-07-04 16:29 +0200

Landry Breuil (1):
  updates for 1.0.5

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master use AUTOMAKE_OPTIONS to set dist-bzip2 target

2012-07-02 Thread Landry Breuil
Updating branch refs/heads/master
 to da421d085e420de9840bd4331c91069f9998be24 (commit)
   from 50f47c7d5797cbd81dc68fd41a1bd328db2e5255 (commit)

commit da421d085e420de9840bd4331c91069f9998be24
Author: Landry Breuil lan...@xfce.org
Date:   Mon Jul 2 16:00:09 2012 +0200

use AUTOMAKE_OPTIONS to set dist-bzip2 target

 Makefile.am |6 +-
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index a8be6ce..39f0a85 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,11 +5,7 @@ SUBDIRS = panel-plugin po icons
 distclean-local:
rm -rf *.cache *~
 
-dist-bz2: dist
-   zcat $(PACKAGE)-$(VERSION).tar.gz | bzip2 --best -c  
$(PACKAGE)-$(VERSION).tar.bz2
-
-distcheck-bz2: distcheck
-   zcat $(PACKAGE)-$(VERSION).tar.gz | bzip2 --best -c  
$(PACKAGE)-$(VERSION).tar.bz2
+AUTOMAKE_OPTIONS = 1.8 dist-bzip2
 
 .PHONY: ChangeLog
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master Updates for 1.0.4

2012-07-02 Thread Landry Breuil
Updating branch refs/heads/master
 to 95997aef92a29ee155ac442965915927950bfdfc (commit)
   from da421d085e420de9840bd4331c91069f9998be24 (commit)

commit 95997aef92a29ee155ac442965915927950bfdfc
Author: Landry Breuil lan...@xfce.org
Date:   Mon Jul 2 16:06:00 2012 +0200

Updates for 1.0.4

 NEWS|4 
 configure.ac.in |2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 0a14900..d52a449 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+1.0.4 (2/7/2012)
+=
+- Fix FTBFS with panel 4.8
+
 1.0.3 (30/6/2012)
 =
 - Better compliance with panel plugin HIG
diff --git a/configure.ac.in b/configure.ac.in
index 0d946d8..6f4d79f 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -5,7 +5,7 @@ dnl
 dnl 2004 Alexander Nordfelth alex.nordfe...@telia.com
 dnl
 
-m4_define([cpugraph_version],[1.0.3])
+m4_define([cpugraph_version],[1.0.4])
 
 AC_INIT([xfce4-cpugraph-plugin], [cpugraph_version],
[goodies-...@xfce.org])
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master Only set bar color if bars are enabled (bug #9071)

2012-07-02 Thread Landry Breuil
Updating branch refs/heads/master
 to 25b2e1e8deec574201092559901d6154dc608ab7 (commit)
   from 95997aef92a29ee155ac442965915927950bfdfc (commit)

commit 25b2e1e8deec574201092559901d6154dc608ab7
Author: Landry Breuil lan...@xfce.org
Date:   Mon Jul 2 17:12:03 2012 +0200

Only set bar color if bars are enabled (bug #9071)

 panel-plugin/cpu.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index b1030c2..c454124 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -517,7 +517,7 @@ void set_color( CPUGraph *base, guint number, GdkColor 
color )
gtk_widget_modify_bg( base-draw_area, GTK_STATE_INSENSITIVE, 
base-colors[0] );
gtk_widget_modify_bg( base-draw_area, GTK_STATE_NORMAL, 
base-colors[0] );
}
-   if( number == 4 )
+   if( number == 4  base-has_bars )
{
n = nb_bars( base );
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin

2012-07-02 Thread Landry Breuil
Updating branch refs/heads/master
 to 1b4295c483adf48e2e1479cf836552223c7f5220 (commit)
   from 25b2e1e8deec574201092559901d6154dc608ab7 (commit)

commit 1b4295c483adf48e2e1479cf836552223c7f5220
Merge: 25b2e1e 60102a3
Author: Landry Breuil lan...@xfce.org
Date:   Mon Jul 2 17:12:35 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin

commit 60102a3da40d2bf55ed39e447a6966a43f590d4e
Author: Sergio Marques smarque...@gmail.com
Date:   Sun Jul 1 12:31:19 2012 +0200

l10n: Updated Portuguese (pt) translation to 100%

New status: 37 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit e5a3f2eb9067a403f2a70058ca4b1f1d8b77ed43
Author: Andhika Padmawan andhika.padma...@gmail.com
Date:   Sun Jul 1 04:13:06 2012 +0200

l10n: Updated Indonesian (id) translation to 100%

New status: 37 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/id.po |   72 +++---
 po/pt.po |   76 -
 2 files changed, 78 insertions(+), 70 deletions(-)

diff --git a/po/id.po b/po/id.po
index 9f185a2..d125b09 100644
--- a/po/id.po
+++ b/po/id.po
@@ -7,7 +7,7 @@ msgid 
 msgstr 
 Project-Id-Version: xfce4-cpugraph-plugin 0.3.0\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-06-10 08:30+\n
+POT-Creation-Date: 2012-07-01 02:03+\n
 PO-Revision-Date: 2010-06-24 00:04+0700\n
 Last-Translator: Andhika Padmawan andhika.padma...@gmail.com\n
 Language-Team: Indonesian translation-team...@lists.sourceforge.net\n
@@ -24,137 +24,141 @@ msgstr Representasi grafik dari beban CPU
 msgid Copyright (c) 2003-2012\n
 msgstr Hak Cipta 2003-2012\n
 
-#: ../panel-plugin/cpu.c:361
+#: ../panel-plugin/cpu.c:367
 #, c-format
 msgid Usage: %u%%
 msgstr Penggunaan: %u%%
 
-#: ../panel-plugin/properties.c:78
+#: ../panel-plugin/properties.c:80
 msgid CPU Graph Properties
 msgstr Properti Grafik CPU
 
-#: ../panel-plugin/properties.c:96
+#: ../panel-plugin/properties.c:98
 msgid Use non-linear time-scale
 msgstr Gunakan skala waktu non linear
 
-#: ../panel-plugin/properties.c:97
+#: ../panel-plugin/properties.c:99
 msgid Show frame
 msgstr Tampilkan bingkai
 
-#: ../panel-plugin/properties.c:98
+#: ../panel-plugin/properties.c:100
 msgid Show border
 msgstr Tampilkan batas
 
-#: ../panel-plugin/properties.c:99
+#: ../panel-plugin/properties.c:101
 msgid Show current usage bar
 msgid_plural Show current usage bars
 msgstr[0] Tampilkan batang penggunaan saat ini
 
-#: ../panel-plugin/properties.c:101
+#: ../panel-plugin/properties.c:103
 msgid Run in terminal
 msgstr Jalankan di terminal
 
-#: ../panel-plugin/properties.c:102
+#: ../panel-plugin/properties.c:104
 msgid Use startup notification
 msgstr Gunakan notifikasi hidupkan
 
-#: ../panel-plugin/properties.c:105
+#: ../panel-plugin/properties.c:107
 msgid Color 1:
 msgstr Warna 1:
 
-#: ../panel-plugin/properties.c:106
+#: ../panel-plugin/properties.c:108
 msgid Color 2:
 msgstr Warna 2:
 
-#: ../panel-plugin/properties.c:107
+#: ../panel-plugin/properties.c:109
 msgid Color 3:
 msgstr Warna 3:
 
-#: ../panel-plugin/properties.c:108
+#: ../panel-plugin/properties.c:110
 msgid Background:
 msgstr Latar belakang:
 
-#: ../panel-plugin/properties.c:115
+#: ../panel-plugin/properties.c:114
+msgid Bars color:
+msgstr Warna batang:
+
+#: ../panel-plugin/properties.c:119
 msgid Appearance
 msgstr Tampilan
 
-#: ../panel-plugin/properties.c:117
+#: ../panel-plugin/properties.c:121
 msgid Advanced
 msgstr Mahir
 
-#: ../panel-plugin/properties.c:193
+#: ../panel-plugin/properties.c:197
 msgid Fastest (~250ms)
 msgstr Tercepat (~250md)
 
-#: ../panel-plugin/properties.c:194
+#: ../panel-plugin/properties.c:198
 msgid Fast (~500ms)
 msgstr Cepat (~500md)
 
-#: ../panel-plugin/properties.c:195
+#: ../panel-plugin/properties.c:199
 msgid Normal (~750ms)
 msgstr Normal (~750md)
 
-#: ../panel-plugin/properties.c:196
+#: ../panel-plugin/properties.c:200
 msgid Slow (~1s)
 msgstr Pelan (~1d)
 
-#: ../panel-plugin/properties.c:200
+#: ../panel-plugin/properties.c:204
 msgid Update Interval:
 msgstr Interval Pemutakhiran:
 
-#: ../panel-plugin/properties.c:208
+#: ../panel-plugin/properties.c:212
 msgid All
 msgstr Semua
 
-#: ../panel-plugin/properties.c:213
+#: ../panel-plugin/properties.c:217
 msgid Tracked Core:
 msgstr Inti Terlacak:
 
-#: ../panel-plugin/properties.c:224
+#: ../panel-plugin/properties.c:228
 msgid Width:
 msgstr Lebar:
 
-#: ../panel-plugin/properties.c:226
+#: ../panel-plugin/properties.c:230
 msgid Height:
 msgstr Tinggi:
 
-#: ../panel-plugin/properties.c:240
+#: ../panel-plugin/properties.c:244
 msgid Associated command:
 msgstr Perintah diasosiasikan:
 
-#: ../panel-plugin/properties.c:264
+#: ../panel-plugin/properties.c:268
 msgid Normal
 msgstr Normal
 
-#: ../panel-plugin

[Xfce4-commits] xfce4-cpugraph-plugin|1.0.4 Creating annotated tag 1.0.4

2012-07-02 Thread Landry Breuil
Updating annotated tag refs/tags/1.0.4
 as new annotated tag
 to 7cb7ae4ccdc38c03e96bdb9839b81b96a2f1bb83 (tag)
   succeeds 1.0.3-2-gda421d0
  tagged by Landry Breuil lan...@xfce.org
 on 2012-07-02 16:06 +0200

Landry Breuil (1):
  Updates for 1.0.4

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master Fix FTBFS with panel 4.8.

2012-07-02 Thread Landry Breuil
Updating branch refs/heads/master
 to 50f47c7d5797cbd81dc68fd41a1bd328db2e5255 (commit)
   from 9be0ab867b0f085191503f83492db2f9cbfb1761 (commit)

commit 50f47c7d5797cbd81dc68fd41a1bd328db2e5255
Author: Landry Breuil lan...@xfce.org
Date:   Mon Jul 2 15:58:17 2012 +0200

Fix FTBFS with panel 4.8.

While here simplifiy 4.9 mode-changed callback codepath.

 panel-plugin/cpu.c |9 -
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index b997840..b1030c2 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -281,18 +281,17 @@ static void set_bars_size( CPUGraph *base, gint size, 
GtkOrientation orientation
 #ifdef HAS_PANEL_49
 static void mode_cb( XfcePanelPlugin * plugin, XfcePanelPluginMode mode, 
CPUGraph *base )
 {
-   GtkOrientation panel_orientation = xfce_panel_plugin_get_orientation 
(plugin);
-   GtkOrientation orientation = (mode == XFCE_PANEL_PLUGIN_MODE_VERTICAL) ?
-   GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL;
+   GtkOrientation orientation = (mode == 
XFCE_PANEL_PLUGIN_MODE_HORIZONTAL) ?
+   GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL;
 
-   xfce_hvbox_set_orientation( XFCE_HVBOX( base-box ), panel_orientation 
);
+   xfce_hvbox_set_orientation( XFCE_HVBOX( base-box ), 
xfce_panel_plugin_get_orientation (plugin));
 #else
 static void orientation_cb( XfcePanelPlugin * plugin, GtkOrientation 
orientation, CPUGraph *base )
 {
xfce_hvbox_set_orientation( XFCE_HVBOX( base-box ), orientation );
 #endif
if( base-has_bars )
-   set_bars_orientation( base, panel_orientation );
+   set_bars_orientation( base, orientation );
 
size_cb( plugin, xfce_panel_plugin_get_size( base-plugin ), base);
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-battery-plugin:master Updates for 1.0.5.

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to 297b29b560fa302d3399c879e38d700634063739 (commit)
   from 013b96b84185c4f63773c99b3146ddb20ad07e3e (commit)

commit 297b29b560fa302d3399c879e38d700634063739
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 09:37:38 2012 +0200

Updates for 1.0.5.

 NEWS|5 +
 configure.ac.in |2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index b45a3e7..eb78336 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+1.0.5 (2012/05/30):
+* Better compliance with the panel plugin HIG
+* Don't set labels orientation on 4.8 panels (bug #8961)
+* Set progressbar orientation in setup_battmon (bug #8935)
+
 1.0.4 (2012/05/14):
 ===
 * Fix compilation with panel version  4.9
diff --git a/configure.ac.in b/configure.ac.in
index 7f6b38e..b4d79b6 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -11,7 +11,7 @@ dnl *** Version information ***
 dnl ***
 m4_define([battery_version_major], [1])
 m4_define([battery_version_minor], [0])
-m4_define([battery_version_micro], [4])
+m4_define([battery_version_micro], [5])
 m4_define([battery_version_build], [r@REVISION@])
 m4_define([battery_version_tag], [])
 m4_define([battery_version], 
[battery_version_major().battery_version_minor().battery_version_micro()ifelse(battery_version_tag(),
 [svn], [battery_version_tag()-battery_version_build()], 
[battery_version_tag()])])
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-battery-plugin|1.0.5 Creating annotated tag 1.0.5

2012-06-30 Thread Landry Breuil
Updating annotated tag refs/tags/1.0.5
 as new annotated tag
 to 63242999af21486e4bf6a80cf0f19f0adca6472c (tag)
   succeeds 1.0.4-12-g013b96b
  tagged by Landry Breuil lan...@xfce.org
 on 2012-06-30 09:45 +0200

Landry Breuil (1):
  Updates for 1.0.5.

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master Updates for 1.0.3.

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to f992ddb2671429c04d1cc9a2dbc52a08d7bd8e97 (commit)
   from 85f05179dfa912a9310d38347f0f5f58d6a45a82 (commit)

commit f992ddb2671429c04d1cc9a2dbc52a08d7bd8e97
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 09:37:55 2012 +0200

Updates for 1.0.3.

 NEWS|5 +
 configure.ac.in |2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index ed74a08..0a14900 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+1.0.3 (30/6/2012)
+=
+- Better compliance with panel plugin HIG
+- Add an option allowing to set the bar color (bug #8923)
+- Fix transparency issues (bug #8893)
 1.0.2 (29/4/2012)
 =
 - Ported to libxfce4ui
diff --git a/configure.ac.in b/configure.ac.in
index 114198f..0d946d8 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -5,7 +5,7 @@ dnl
 dnl 2004 Alexander Nordfelth alex.nordfe...@telia.com
 dnl
 
-m4_define([cpugraph_version],[1.0.2])
+m4_define([cpugraph_version],[1.0.3])
 
 AC_INIT([xfce4-cpugraph-plugin], [cpugraph_version],
[goodies-...@xfce.org])
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master set bars orientation to opposite of panel orientation, fixes deskbar mode

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to 9be0ab867b0f085191503f83492db2f9cbfb1761 (commit)
   from f992ddb2671429c04d1cc9a2dbc52a08d7bd8e97 (commit)

commit 9be0ab867b0f085191503f83492db2f9cbfb1761
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 11:13:49 2012 +0200

set bars orientation to opposite of panel orientation, fixes deskbar mode

 panel-plugin/cpu.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index 8958259..b997840 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -292,7 +292,7 @@ static void orientation_cb( XfcePanelPlugin * plugin, 
GtkOrientation orientation
xfce_hvbox_set_orientation( XFCE_HVBOX( base-box ), orientation );
 #endif
if( base-has_bars )
-   set_bars_orientation( base, orientation );
+   set_bars_orientation( base, panel_orientation );
 
size_cb( plugin, xfce_panel_plugin_get_size( base-plugin ), base);
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin|1.0.3 Creating annotated tag 1.0.3

2012-06-30 Thread Landry Breuil
Updating annotated tag refs/tags/1.0.3
 as new annotated tag
 to 6ba8730f305e0f45cf29cf220a821df2a02b6d87 (tag)
   succeeds xfce4-cpugraph-plugin-1.0.2-25-gf992ddb
  tagged by Landry Breuil lan...@xfce.org
 on 2012-06-30 11:14 +0200

Landry Breuil (1):
  set bars orientation to opposite of panel orientation, fixes deskbar mode

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-diskperf-plugin:master Updates for 2.5.4.

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to cf7b839726f2b08c298022b041f324af94565d2a (commit)
   from c476fded0cefdbce725b616e9802ca2100debe03 (commit)

commit cf7b839726f2b08c298022b041f324af94565d2a
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 09:38:03 2012 +0200

Updates for 2.5.4.

 NEWS|6 ++
 configure.ac.in |2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 555f390..f12f1a6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+2.5.4 (2012/6/30):
+ * Better compliance with panel plugin HIG
+ * Use double values for progress bars (bug #8882)
+ * Facilitate bringing up the configuration dialog (bug #8899)
+ * Fix transparency (bug #8892)
+
 2.5.3 (2012/5/13):
 -
  * Use newer tooltip API (bug #8730)
diff --git a/configure.ac.in b/configure.ac.in
index 221a8db..074dbbe 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -5,7 +5,7 @@ dnl
 
 m4_define([diskperf_version_major], [2])
 m4_define([diskperf_version_minor], [5])
-m4_define([diskperf_version_micro], [3])
+m4_define([diskperf_version_micro], [4])
 m4_define([diskperf_version_build], [@REVISION@])
 m4_define([diskperf_version_tag], []) # leave empty for releases
 m4_define([diskperf_version], 
[diskperf_version_major().diskperf_version_minor().diskperf_version_micro()ifelse(diskperf_version_tag(),
 [git], [diskperf_version_tag()-diskperf_version_build()], 
[diskperf_version_tag()])])
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-diskperf-plugin|2.5.4 Creating annotated tag 2.5.4

2012-06-30 Thread Landry Breuil
Updating annotated tag refs/tags/2.5.4
 as new annotated tag
 to f91e7dd61f8e0b85da703626d5a7a2d38e109ebe (tag)
   succeeds 2.5.3-18-gc476fde
  tagged by Landry Breuil lan...@xfce.org
 on 2012-06-30 09:46 +0200

Landry Breuil (1):
  Updates for 2.5.4.

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-fsguard-plugin:master Updates for 1.0.1.

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to c19906d83bb08829d5bf5b5ce81b0a311866d2a2 (commit)
   from c9aa8e1f60799f239d0a031bee485964d11d6016 (commit)

commit c19906d83bb08829d5bf5b5ce81b0a311866d2a2
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 09:38:09 2012 +0200

Updates for 1.0.1.

 NEWS|   11 +++
 configure.ac.in |2 +-
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 1378a98..d83aba2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,14 @@
+20120630 (1.0.1):
+-
+
+* Better compliance with panel plugin HIG
+* Fix look on transparent/colored panels
+* Added compatibility with xfce4-panel v.4.9.0+
+* Fix config loading (bug #8821)
+* Fix build on GNU/Hurd (Bug #7955 / #8820)
+* Port to libxfce4ui (bug #8143)
+* Build the plugin as a module
+
 20101215 (1.0.0):
 -
 
diff --git a/configure.ac.in b/configure.ac.in
index e0b48dd..5444ee5 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -6,7 +6,7 @@ dnl
 
 m4_define([xfce4_fsguard_plugin_version_major], [1])
 m4_define([xfce4_fsguard_plugin_version_minor], [0])
-m4_define([xfce4_fsguard_plugin_version_micro], [0])
+m4_define([xfce4_fsguard_plugin_version_micro], [1])
 m4_define([xfce4_fsguard_plugin_version_nano], [])
 m4_define([xfce4_fsguard_plugin_version_build], [@REVISION@])
 m4_define([xfce4_fsguard_plugin_version_tag], [git]) # Leave empty for releases
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-fsguard-plugin:master oops, empty version tag for release

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to dcd2e7da1fcc623ef817aadf1c94a5504f273694 (commit)
   from c19906d83bb08829d5bf5b5ce81b0a311866d2a2 (commit)

commit dcd2e7da1fcc623ef817aadf1c94a5504f273694
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 10:02:31 2012 +0200

oops, empty version tag for release

 configure.ac.in |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 5444ee5..c02dbb3 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -9,7 +9,7 @@ m4_define([xfce4_fsguard_plugin_version_minor], [0])
 m4_define([xfce4_fsguard_plugin_version_micro], [1])
 m4_define([xfce4_fsguard_plugin_version_nano], [])
 m4_define([xfce4_fsguard_plugin_version_build], [@REVISION@])
-m4_define([xfce4_fsguard_plugin_version_tag], [git]) # Leave empty for releases
+m4_define([xfce4_fsguard_plugin_version_tag], []) # Leave empty for releases
 m4_define([xfce4_fsguard_plugin_version], 
[xfce4_fsguard_plugin_version_major().xfce4_fsguard_plugin_version_minor().xfce4_fsguard_plugin_version_micro()ifelse(xfce4_fsguard_plugin_version_nano(),
 [], [], 
[.xfce4_fsguard_plugin_version_nano()])ifelse(xfce4_fsguard_plugin_version_tag(),
 [git], 
[xfce4_fsguard_plugin_version_tag()-xfce4_fsguard_plugin_version_build()], 
[xfce4_fsguard_plugin_version_tag()])])
 
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-fsguard-plugin:master Properly resize image _and_ btn so that the image is not shrinked

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to f3b0e9a1d8c1cf0c6ce841f45a84e1bc0f136744 (commit)
   from dcd2e7da1fcc623ef817aadf1c94a5504f273694 (commit)

commit f3b0e9a1d8c1cf0c6ce841f45a84e1bc0f136744
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 11:10:05 2012 +0200

Properly resize image _and_ btn so that the image is not shrinked

 panel-plugin/fsguard.c |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/fsguard.c b/panel-plugin/fsguard.c
index fe83058..8d97574 100644
--- a/panel-plugin/fsguard.c
+++ b/panel-plugin/fsguard.c
@@ -491,8 +491,9 @@ fsguard_set_size (XfcePanelPlugin *plugin, int size, 
FsGuard *fsguard)
 gtk_widget_set_size_request (GTK_WIDGET(fsguard-progress_bar), -1, 8);
 gtk_widget_set_size_request (GTK_WIDGET(plugin), size, -1);
 }
-size -= 2 * border_width;
 gtk_widget_set_size_request (fsguard-btn_panel, size, size);
+size -= 2 * border_width;
+gtk_widget_set_size_request (fsguard-icon_panel, size, size);
 
 fsguard_refresh_icon (fsguard);
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-fsguard-plugin|1.0.1 Creating annotated tag 1.0.1

2012-06-30 Thread Landry Breuil
Updating annotated tag refs/tags/1.0.1
 as new annotated tag
 to cfb769cd302d48119c022a7817a8f978309d3b09 (tag)
   succeeds 1.0.0-42-gdcd2e7d
  tagged by Landry Breuil lan...@xfce.org
 on 2012-06-30 11:10 +0200

Landry Breuil (1):
  Properly resize image _and_ btn so that the image is not shrinked

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-mpc-plugin:master Updates for 0.4.4.

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to a54bfff373215eb593e59f2a06f8f0630ed236b1 (commit)
   from 47e7baff9c9778b9491d70b92fdfb83623bd1a0e (commit)

commit a54bfff373215eb593e59f2a06f8f0630ed236b1
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 09:38:17 2012 +0200

Updates for 0.4.4.

 ChangeLog   |5 +
 configure.ac.in |2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3ad7d41..65b1e10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+30-06-2012 Landry Breuil landry at xfce.org
+   * release 0.4.4
+   * Better compliance with the panel plugin HIG
+   * Fix wrong fr translation
+
 13-05-2012 Landry Breuil landry at xfce.org
* release 0.4.3
* set small property (unless in deskbar mode)
diff --git a/configure.ac.in b/configure.ac.in
index 2967022..047328c 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -5,7 +5,7 @@ dnl
 
 m4_define([mpc_version_major], [0])
 m4_define([mpc_version_minor], [4])
-m4_define([mpc_version_micro], [3])
+m4_define([mpc_version_micro], [4])
 m4_define([mpc_version_tag], []) # Leave empty for releases
 m4_define([mpc_version_build], [@REVISION@])
 m4_define([mpc_version], 
[mpc_version_major().mpc_version_minor().mpc_version_micro()ifelse(mpc_version_tag(),
 [], [], [mpc_version_tag()-mpc_version_build()])])
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-mpc-plugin|0.4.4 Creating annotated tag 0.4.4

2012-06-30 Thread Landry Breuil
Updating annotated tag refs/tags/0.4.4
 as new annotated tag
 to e2bd0f6777097f1ad6b79b1b0e4855bbb48eeafb (tag)
   succeeds xfce4-mpc-plugin-0.4.3-6-g47e7baf
  tagged by Landry Breuil lan...@xfce.org
 on 2012-06-30 09:47 +0200

Landry Breuil (1):
  Updates for 0.4.4.

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-systemload-plugin:master Updates for 1.1.1.

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to a907f47fc2cbf958343db5e38549f519de9358e2 (commit)
   from 522535569428beb2366795727696f84f9e2edef9 (commit)

commit a907f47fc2cbf958343db5e38549f519de9358e2
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 09:38:27 2012 +0200

Updates for 1.1.1.

 NEWS|   12 
 configure.ac.in |2 +-
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 1cad2bd..3284775 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,15 @@
+1.1.1 (2012/06/30)
+-
+- Simplify tooltip handling code
+- Better compliance with panel plugin HIG
+- Only set label angle with panel  4.9
+- Set plugin to small in all modes except deskbar modes (bug #8944)
+- Facilitate bringing up the configuration dialog (bug #8900)
+- Fix background transparency by setting the main evbox hidden (bug #8891)
+- Changing uptime label orientation in the vertical mode
+- Compatibility with panel 4.9+
+- Use only HW_PHYSMEM64 on OpenBSD, HW_SYSMEM is deprecated
+
 1.1.0 (2012/04/18)
 -
 - Fix progressbar width in vertical mode
diff --git a/configure.ac.in b/configure.ac.in
index 1594991..06a0d6d 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -9,7 +9,7 @@ dnl *** Version information ***
 dnl ***
 m4_define([systemload_version_major], [1])
 m4_define([systemload_version_minor], [1])
-m4_define([systemload_version_micro], [0])
+m4_define([systemload_version_micro], [1])
 m4_define([systemload_version_build], [r@REVISION@])
 m4_define([systemload_version_tag], [])
 m4_define([systemload_version], 
[systemload_version_major().systemload_version_minor().systemload_version_micro()ifelse(systemload_version_tag(),
 [git], [systemload_version_tag()-systemload_version_build()], 
[systemload_version_tag()])])
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-systemload-plugin|1.1.1 Creating annotated tag 1.1.1

2012-06-30 Thread Landry Breuil
Updating annotated tag refs/tags/1.1.1
 as new annotated tag
 to f4b63fc1e9f3354a94f59d118eacae7fed25f1f5 (tag)
   succeeds 1.1.0-49-g5225355
  tagged by Landry Breuil lan...@xfce.org
 on 2012-06-30 09:48 +0200

Landry Breuil (1):
  Updates for 1.1.1.

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-wavelan-plugin:master Updates for 0.5.11.

2012-06-30 Thread Landry Breuil
Updating branch refs/heads/master
 to 411fb25c74f2a6d1e869f17e3b7f5b6bd78e9dc0 (commit)
   from f3e3df9424c86c27e86ed8ae0b40a55ca393185d (commit)

commit 411fb25c74f2a6d1e869f17e3b7f5b6bd78e9dc0
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 30 09:38:34 2012 +0200

Updates for 0.5.11.

 NEWS|5 +
 configure.ac.in |2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 1fa891f..6e69c11 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+0.5.11 (2012/06/30):
+-
+  * Better compliance with panel plugin HIG
+  * Fix transparency and put event box above its children (bug #8913)
+
 0.5.10 (2012/04/13):
 -
   * Translation updates (uk,sk,eu,pt_BR,it,da,nl,pt,gl,ko,zh_CN)
diff --git a/configure.ac.in b/configure.ac.in
index 06047b7..0d6c8c5 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -5,7 +5,7 @@ dnl
 dnl Version information
 m4_define([xwp_version_major], [0])
 m4_define([xwp_version_minor], [5])
-m4_define([xwp_version_micro], [10])
+m4_define([xwp_version_micro], [11])
 m4_define([xwp_version], 
[xwp_version_major().xwp_version_minor().xwp_version_micro()])
 
 dnl Initial autoconf
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-wavelan-plugin|0.5.11 Creating annotated tag 0.5.11

2012-06-30 Thread Landry Breuil
Updating annotated tag refs/tags/0.5.11
 as new annotated tag
 to fc498b102e7f16e09f3891d2ba9cf4f4a71c374e (tag)
   succeeds xfce4-wavelan-plugin-0.5.10-27-gf3e3df9
  tagged by Landry Breuil lan...@xfce.org
 on 2012-06-30 09:48 +0200

Landry Breuil (1):
  Updates for 0.5.11.

___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-wavelan-plugin:master Use XDT_FEATURE_DEBUG instead of the deprecated BM_DEBUG_SUPPORT

2012-06-29 Thread Landry Breuil
Updating branch refs/heads/master
 to 79b2e326e295515a728ef605bc78dc2593eb3f75 (commit)
   from b26808c146b2c784c6bb847a6c391a50a33a7cd5 (commit)

commit 79b2e326e295515a728ef605bc78dc2593eb3f75
Author: Landry Breuil lan...@xfce.org
Date:   Fri Jun 29 21:58:10 2012 +0200

Use XDT_FEATURE_DEBUG instead of the deprecated BM_DEBUG_SUPPORT

Add a pair of DBG() for set-size and orientation-changed callbacks

 configure.ac.in|2 +-
 panel-plugin/wavelan.c |2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index a2e..06047b7 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -51,7 +51,7 @@ XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], 
[4.8.0])
 XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.8.0])
 
 dnl Check for debugging support
-BM_DEBUG_SUPPORT()
+XDT_FEATURE_DEBUG
 
 AC_OUTPUT([
 Makefile
diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 1699508..27d8e21 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -403,6 +403,7 @@ wavelan_write_config(XfcePanelPlugin *plugin, t_wavelan 
*wavelan)
 static void
 wavelan_set_orientation(XfcePanelPlugin* plugin, GtkOrientation orientation, 
t_wavelan *wavelan)
 {
+  DBG(wavelan_set_orientation(%d), orientation);
   wavelan-orientation = orientation;
   xfce_hvbox_set_orientation(XFCE_HVBOX(wavelan-box), orientation);
   if (orientation == GTK_ORIENTATION_HORIZONTAL) {
@@ -421,6 +422,7 @@ static void
 wavelan_set_size(XfcePanelPlugin* plugin, int size, t_wavelan *wavelan)
 {
   int border_width, image_size;
+  DBG(wavelan_set_size(%d), size);
 #ifdef HAS_PANEL_49
   size /= xfce_panel_plugin_get_nrows(plugin);
   xfce_panel_plugin_set_small (plugin, (xfce_panel_plugin_get_mode(plugin) != 
XFCE_PANEL_PLUGIN_MODE_DESKBAR));
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-wavelan-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-wavelan-plugin

2012-06-29 Thread Landry Breuil
Updating branch refs/heads/master
 to 10e836e81e48cc9ae9c1883ae4a09fbd61d883cd (commit)
   from 79b2e326e295515a728ef605bc78dc2593eb3f75 (commit)

commit 10e836e81e48cc9ae9c1883ae4a09fbd61d883cd
Merge: 79b2e32 440e758
Author: Landry Breuil lan...@xfce.org
Date:   Fri Jun 29 21:59:07 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-wavelan-plugin

commit 440e758c28d9de4503d988d304b12f41cdab3a05
Author: Gheyret Kenji ghey...@yahoo.com
Date:   Thu Jun 21 06:28:15 2012 +0200

l10n: Updated Uyghur (ug) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/ug.po |   16 
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/po/ug.po b/po/ug.po
index 486267d..37c3ca9 100644
--- a/po/ug.po
+++ b/po/ug.po
@@ -6,7 +6,7 @@
 #
 msgid 
 msgstr 
-Project-Id-Version: xfce4-wavelan-plugin 0.4.3svn\n
+Project-Id-Version: xfce4-wavelan-plugin\n
 Report-Msgid-Bugs-To: \n
 POT-Creation-Date: 2012-04-09 23:00+0200\n
 PO-Revision-Date: 2008-12-09 16:26+0900\n
@@ -19,11 +19,11 @@ msgstr 
 
 #: ../panel-plugin/wavelan.c:153
 msgid No carrier signal
-msgstr carrier سىگنالى يوق
+msgstr سىگنالى يوق
 
 #: ../panel-plugin/wavelan.c:172
 msgid No device configured
-msgstr ئۈسكۈنە سەپلەنمىگەن(تەڭشەلمىگەن)
+msgstr ئۈسكۈنە سەپلەنمىگەن
 
 #: ../panel-plugin/wavelan.c:521
 msgid Wavelan Plugin Options
@@ -35,11 +35,11 @@ msgstr خاسلىق
 
 #: ../panel-plugin/wavelan.c:547
 msgid Interface
-msgstr كۆرۈنمە يۈز
+msgstr ئارايۈز
 
 #: ../panel-plugin/wavelan.c:568
 msgid _Autohide when offline
-msgstr offline چاغدا يوشۇرسۇن(_A)
+msgstr توردا يوق چاغدا يوشۇرسۇن(_A)
 
 #: ../panel-plugin/wavelan.c:578
 msgid Autohide when no hardware present
@@ -53,11 +53,11 @@ msgstr ئىزاھات: ئۈسكۈنە يوق ۋاقىتتا قىستۇرمىن
 
 #: ../panel-plugin/wavelan.c:597
 msgid Enable signal quality colors
-msgstr 信号品質色を有効にする
+msgstr سىگنال سۈپىتى كۆرسەتكۈچىنى ئىناۋەتلىك قىلسۇن
 
 #: ../panel-plugin/wavelan.c:608
 msgid Show icon
-msgstr 
+msgstr سىنبەلگە كۆرسەتسۇن
 
 #: ../panel-plugin/wavelan.c:671 ../panel-plugin/wavelan.desktop.in.h:2
 msgid View the status of a wireless network
@@ -65,4 +65,4 @@ msgstr سىمسىز تور ھالىتىنى كۆرسەتسۇن
 
 #: ../panel-plugin/wavelan.desktop.in.h:1
 msgid Wavelan
-msgstr Wavelan
+msgstr Wavelan
\ No newline at end of file
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-wavelan-plugin:master Set small property in all cases

2012-06-29 Thread Landry Breuil
Updating branch refs/heads/master
 to f3e3df9424c86c27e86ed8ae0b40a55ca393185d (commit)
   from 10e836e81e48cc9ae9c1883ae4a09fbd61d883cd (commit)

commit f3e3df9424c86c27e86ed8ae0b40a55ca393185d
Author: Landry Breuil lan...@xfce.org
Date:   Fri Jun 29 22:07:36 2012 +0200

Set small property in all cases

The icon looks garbled in deskbar mode with several rows..

 panel-plugin/wavelan.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 27d8e21..51e8aaa 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -425,7 +425,7 @@ wavelan_set_size(XfcePanelPlugin* plugin, int size, 
t_wavelan *wavelan)
   DBG(wavelan_set_size(%d), size);
 #ifdef HAS_PANEL_49
   size /= xfce_panel_plugin_get_nrows(plugin);
-  xfce_panel_plugin_set_small (plugin, (xfce_panel_plugin_get_mode(plugin) != 
XFCE_PANEL_PLUGIN_MODE_DESKBAR));
+  xfce_panel_plugin_set_small (plugin, TRUE);
 #endif
   border_width = size  26 ? 2 : 1;
   wavelan-size = size;
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master Better compliance with panel plugin HIG

2012-06-24 Thread Landry Breuil
Updating branch refs/heads/master
 to 7a29f3435734fa83cc3b18eae52ca2a28c5b853c (commit)
   from 9447368801204a4ffc8686ca411a91da8be25c43 (commit)

commit 7a29f3435734fa83cc3b18eae52ca2a28c5b853c
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jun 24 16:14:33 2012 +0200

Better compliance with panel plugin HIG

- size pbars with 8px*-1
- call set_border() in size_cb() since border is size-dependant
- zero the border_width depending on boolean, compute it depending
  on size otherwise

 panel-plugin/cpu.c |   14 +-
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index f72c626..719dd4f 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -249,6 +249,7 @@ static gboolean size_cb( XfcePanelPlugin *plugin, guint 
size, CPUGraph *base )
 
if( base-has_bars )
set_bars_size( base, size, orientation );
+   set_border( base, base-has_border );
 
return TRUE;
 }
@@ -260,13 +261,13 @@ static void set_bars_size( CPUGraph *base, gint size, 
GtkOrientation orientation
gint h, v;
if( orientation == GTK_ORIENTATION_HORIZONTAL )
{
-   h = BORDER;
-   v = size;
+   h = 8;
+   v = -1;
}
else
{
-   h = size;
-   v = BORDER;
+   h = -1;
+   v = 8;
}
n = nb_bars( base );
for( i=0; i  n ; i++ )
@@ -443,8 +444,11 @@ void set_bars( CPUGraph * base, gboolean bars)
 
 void set_border( CPUGraph *base, gboolean border )
 {
+   int border_width = (xfce_panel_plugin_get_size( base-plugin )  26 ? 2 
: 1);
base-has_border = border;
-   gtk_container_set_border_width( GTK_CONTAINER( base-box ), border ? 
BORDER / 2 : 0 );
+   if (!base-has_border)
+   border_width = 0;
+   gtk_container_set_border_width( GTK_CONTAINER( base-box ), 
border_width);
 }
 
 void set_frame( CPUGraph *base, gboolean frame )
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master Add an option allowing to set the bar color.

2012-06-24 Thread Landry Breuil
Updating branch refs/heads/master
 to fb8f36e68b72fe1694c9c6d28ce7699a06568674 (commit)
   from 7a29f3435734fa83cc3b18eae52ca2a28c5b853c (commit)

commit fb8f36e68b72fe1694c9c6d28ce7699a06568674
Author: Sabi ade...@gmail.com
Date:   Sun Jun 24 16:38:20 2012 +0200

Add an option allowing to set the bar color.

Adds a 'Bars color:' string to translations.

 panel-plugin/cpu.c|   19 +++
 panel-plugin/cpu.h|4 ++--
 panel-plugin/properties.c |   18 ++
 panel-plugin/settings.c   |   11 +++
 4 files changed, 50 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index 719dd4f..8958259 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -172,6 +172,11 @@ static void create_bars( CPUGraph *base )
for( i=0; i n; i++ )
{
base-bars[i] = GTK_WIDGET(gtk_progress_bar_new());
+   /* Set bar colors */
+   gtk_widget_modify_bg(base-bars[i], GTK_STATE_PRELIGHT, 
base-colors[4]);
+   gtk_widget_modify_bg(base-bars[i], GTK_STATE_SELECTED, 
base-colors[4]);
+   gtk_widget_modify_base(base-bars[i], GTK_STATE_SELECTED, 
base-colors[4]);
+
gtk_box_pack_end( GTK_BOX(base-box), base-bars[i], FALSE, 
FALSE, 0 );
gtk_widget_show( base-bars[i] );
}
@@ -505,12 +510,26 @@ void set_mode( CPUGraph *base, guint mode )
 
 void set_color( CPUGraph *base, guint number, GdkColor color )
 {
+   guint i, n;
+
base-colors[number] = color;
if( number == 0 )
{
gtk_widget_modify_bg( base-draw_area, GTK_STATE_INSENSITIVE, 
base-colors[0] );
gtk_widget_modify_bg( base-draw_area, GTK_STATE_NORMAL, 
base-colors[0] );
}
+   if( number == 4 )
+   {
+   n = nb_bars( base );
+
+   for( i=0; i n; i++ )
+   {
+   /* Set bar colors */
+   gtk_widget_modify_bg(base-bars[i], GTK_STATE_PRELIGHT, 
base-colors[4]);
+   gtk_widget_modify_bg(base-bars[i], GTK_STATE_SELECTED, 
base-colors[4]);
+   gtk_widget_modify_base(base-bars[i], 
GTK_STATE_SELECTED, base-colors[4]);
+   }
+   }
 }
 
 void set_tracked_core( CPUGraph *base, guint core )
diff --git a/panel-plugin/cpu.h b/panel-plugin/cpu.h
index e7083b2..527c229 100644
--- a/panel-plugin/cpu.h
+++ b/panel-plugin/cpu.h
@@ -42,7 +42,7 @@ typedef struct
GtkWidget *draw_area;
GtkWidget *box;
GtkWidget **bars;
-   GtkWidget *color_buttons[4];
+   GtkWidget *color_buttons[5];
GtkWidget *tooltip_text;
 
/* Settings */
@@ -57,7 +57,7 @@ typedef struct
gchar  *command;
gboolean in_terminal;
gboolean startup_notification;
-   GdkColor colors[4];
+   GdkColor colors[5];
guint tracked_core;
 
/* Runtime data */
diff --git a/panel-plugin/properties.c b/panel-plugin/properties.c
index 257bdda..f83c611 100644
--- a/panel-plugin/properties.c
+++ b/panel-plugin/properties.c
@@ -53,7 +53,9 @@ static void change_color_0( GtkColorButton *button, CPUGraph 
*base );
 static void change_color_1( GtkColorButton * button, CPUGraph * base );
 static void change_color_2( GtkColorButton *button, CPUGraph *base );
 static void change_color_3( GtkColorButton *button, CPUGraph *base );
+static void change_color_4( GtkColorButton *button, CPUGraph *base );
 static void select_active_colors( CPUGraph * base );
+static void select_active_barscolors( CPUGraph * base );
 static void change_mode( GtkComboBox *om, CPUGraph *base );
 static void change_color_mode( GtkComboBox *om, CPUGraph *base );
 static void response_cb( GtkWidget *dlg, gint response, CPUGraph *base );
@@ -109,6 +111,8 @@ void create_options( XfcePanelPlugin *plugin, CPUGraph 
*base )
select_active_colors( base );
setup_mode_option( vbox2, sg, base );
setup_color_mode_option( vbox2, sg, base );
+   setup_color_option( vbox2, sg, base, 4, _(Bars color:), G_CALLBACK( 
change_color_4 ) );
+   select_active_barscolors( base );
 
Notebook = gtk_notebook_new();
gtk_container_set_border_width( GTK_CONTAINER( Notebook ), BORDER - 2 );
@@ -324,6 +328,11 @@ static void change_color_0( GtkColorButton * button, 
CPUGraph * base )
change_color( button, base, 0);
 }
 
+static void change_color_4( GtkColorButton * button, CPUGraph * base )
+{
+   change_color( button, base, 4);
+}
+
 static void select_active_colors( CPUGraph * base )
 {
if( base-color_mode != 0 || base-mode == 1 || base-mode == 3 )
@@ -337,6 +346,14 @@ static void select_active_colors( CPUGraph * base )
gtk_widget_set_sensitive( GTK_WIDGET( base-color_buttons[3] ), 
FALSE );
 }
 
+static void select_active_barscolors( CPUGraph * base )
+{
+   if( base-has_bars )
+   gtk_widget_set_sensitive( 

[Xfce4-commits] xfce4-cpugraph-plugin:master Get default barcolor from Gtk theme.

2012-06-24 Thread Landry Breuil
Updating branch refs/heads/master
 to 8b9f945b6c459dcfd050651ab4bb8371f41505d2 (commit)
   from fb8f36e68b72fe1694c9c6d28ce7699a06568674 (commit)

commit 8b9f945b6c459dcfd050651ab4bb8371f41505d2
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jun 24 17:08:47 2012 +0200

Get default barcolor from Gtk theme.

 panel-plugin/settings.c |   11 +++
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/settings.c b/panel-plugin/settings.c
index 4123140..76346ba 100644
--- a/panel-plugin/settings.c
+++ b/panel-plugin/settings.c
@@ -62,6 +62,8 @@ void read_settings( XfcePanelPlugin * plugin, CPUGraph * base 
)
GdkColor foreground3;
GdkColor background;
GdkColor barscolor;
+   GtkWidget* bar;
+   GtkStyle* barstyle;
guint size;
const gchar  *associated_command;
gboolean in_terminal;
@@ -83,10 +85,11 @@ void read_settings( XfcePanelPlugin * plugin, CPUGraph * 
base )
background.green = 65535;
background.blue = 65535;
 
-   /* gold yellow */
-   barscolor.red = 65535;
-   barscolor.green = 47872;
-   barscolor.blue = 0;
+   /* use color from theme for default bar color */
+   bar = gtk_progress_bar_new();
+   barstyle = gtk_widget_get_style(bar);
+   gtk_widget_destroy(bar);
+   barscolor = barstyle-bg[GTK_STATE_SELECTED];
 
size = xfce_panel_plugin_get_size( plugin );
default_command( associated_command, in_terminal, 
startup_notification );
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master move gtk_widget_destroy() a bit below

2012-06-24 Thread Landry Breuil
Updating branch refs/heads/master
 to 0da8abda08486c0394b5d5004210b45c3f0ba695 (commit)
   from 8b9f945b6c459dcfd050651ab4bb8371f41505d2 (commit)

commit 0da8abda08486c0394b5d5004210b45c3f0ba695
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jun 24 21:18:18 2012 +0200

move gtk_widget_destroy() a bit below

 panel-plugin/settings.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/settings.c b/panel-plugin/settings.c
index 76346ba..ca82cf1 100644
--- a/panel-plugin/settings.c
+++ b/panel-plugin/settings.c
@@ -88,8 +88,8 @@ void read_settings( XfcePanelPlugin * plugin, CPUGraph * base 
)
/* use color from theme for default bar color */
bar = gtk_progress_bar_new();
barstyle = gtk_widget_get_style(bar);
-   gtk_widget_destroy(bar);
barscolor = barstyle-bg[GTK_STATE_SELECTED];
+   gtk_widget_destroy(bar);
 
size = xfce_panel_plugin_get_size( plugin );
default_command( associated_command, in_terminal, 
startup_notification );
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master use gdk_color_to_string() instead of handcrafting color codes when saving them

2012-06-24 Thread Landry Breuil
Updating branch refs/heads/master
 to 9b7a70384962f4ada26b09342e8460c61c727b00 (commit)
   from cd8aff8ee7055ee32444aa38a7ebf3eac1ff5d84 (commit)

commit 9b7a70384962f4ada26b09342e8460c61c727b00
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jun 24 21:26:13 2012 +0200

use gdk_color_to_string() instead of handcrafting color codes when saving 
them

 panel-plugin/settings.c |   16 +---
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/panel-plugin/settings.c b/panel-plugin/settings.c
index ca82cf1..bec6585 100644
--- a/panel-plugin/settings.c
+++ b/panel-plugin/settings.c
@@ -150,7 +150,6 @@ void read_settings( XfcePanelPlugin * plugin, CPUGraph * 
base )
 
 void write_settings( XfcePanelPlugin *plugin, CPUGraph *base )
 {
-   char value[10];
XfceRc *rc;
char *file;
 
@@ -176,15 +175,10 @@ void write_settings( XfcePanelPlugin *plugin, CPUGraph 
*base )
xfce_rc_write_int_entry( rc, StartupNotification, 
base-startup_notification );
xfce_rc_write_int_entry( rc, ColorMode, base-color_mode );
 
-   g_snprintf( value, 8, #%02X%02X%02X, base-colors[1].red  8, 
base-colors[1].green  8, base-colors[1].blue  8 );
-   xfce_rc_write_entry( rc, Foreground1, value );
-   g_snprintf( value, 8, #%02X%02X%02X, base-colors[2].red  8, 
base-colors[2].green  8, base-colors[2].blue  8 );
-   xfce_rc_write_entry( rc, Foreground2, value );
-   g_snprintf( value, 8, #%02X%02X%02X, base-colors[0].red  8, 
base-colors[0].green  8, base-colors[0].blue  8 );
-   xfce_rc_write_entry( rc, Background, value );
-   g_snprintf( value, 8, #%02X%02X%02X, base-colors[3].red  8, 
base-colors[3].green  8, base-colors[3].blue  8 );
-   xfce_rc_write_entry( rc, Foreground3, value );
-   g_snprintf( value, 8, #%02X%02X%02X, base-colors[4].red  8, 
base-colors[4].green  8, base-colors[4].blue  8 );
-   xfce_rc_write_entry( rc, BarsColor, value );
+   xfce_rc_write_entry( rc, Foreground1, 
gdk_color_to_string((base-colors[1])) );
+   xfce_rc_write_entry( rc, Foreground2, 
gdk_color_to_string((base-colors[2])) );
+   xfce_rc_write_entry( rc, Foreground3, 
gdk_color_to_string((base-colors[3])) );
+   xfce_rc_write_entry( rc, Background, 
gdk_color_to_string((base-colors[0])) );
+   xfce_rc_write_entry( rc, BarsColor, 
gdk_color_to_string((base-colors[4])) );
xfce_rc_close( rc );
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-mpc-plugin:master Better compliance with the panel plugin HIG

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to cb6b7aabc10e013d90933b789abc01786ddfd6e1 (commit)
   from 01681240454d90363a87c3f605209034d19bbe3c (commit)

commit cb6b7aabc10e013d90933b789abc01786ddfd6e1
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 09:39:28 2012 +0200

Better compliance with the panel plugin HIG

- call mpc_set_size in frame-toggled callback
- compute border width depending on size and frame being displayed
- resize image accordingly (size - 2 * border_width)

 panel-plugin/xfce4-mpc-plugin.c |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/xfce4-mpc-plugin.c b/panel-plugin/xfce4-mpc-plugin.c
index b113491..7c08403 100644
--- a/panel-plugin/xfce4-mpc-plugin.c
+++ b/panel-plugin/xfce4-mpc-plugin.c
@@ -78,13 +78,14 @@ mpc_set_orientation (XfcePanelPlugin * plugin, 
GtkOrientation orientation, t_mpc
 static gboolean
 mpc_set_size (XfcePanelPlugin * plugin, int size, t_mpc * mpc)
 {
+   int border_width = (size  26  mpc-show_frame ? 1 : 0);
 #ifdef HAS_PANEL_49
 size /= xfce_panel_plugin_get_nrows (plugin);
 #endif
 
DBG (size=%d,size);
-   gtk_container_set_border_width (GTK_CONTAINER (mpc-frame), (size  26  
mpc-show_frame ? 2 : 0));
-
+   gtk_container_set_border_width (GTK_CONTAINER (mpc-frame), border_width);
+   size -= 2 * border_width;
gtk_widget_set_size_request (GTK_WIDGET (mpc-next), size, size);
gtk_widget_set_size_request (GTK_WIDGET (mpc-prev), size, size);
gtk_widget_set_size_request (GTK_WIDGET (mpc-stop), size, size);
@@ -248,7 +249,7 @@ mpc_dialog_show_frame_toggled (GtkWidget *w, t_mpc_dialog 
*dialog)
size = xfce_panel_plugin_get_size(mpc-plugin);
mpc-show_frame = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON 
(dialog-checkbox_frame));
gtk_frame_set_shadow_type (GTK_FRAME (mpc-frame), (mpc-show_frame) ? 
GTK_SHADOW_IN : GTK_SHADOW_NONE);
-   gtk_container_set_border_width (GTK_CONTAINER (mpc-frame), (size  26  
mpc-show_frame ? 2 : 0));
+   mpc_set_size(mpc-plugin, size, mpc);
 }
 
 static void
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-mpc-plugin:master remove useless pot file

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to 044fc05dacfc50ace80d52c49abdcadb94e5ed52 (commit)
   from cb6b7aabc10e013d90933b789abc01786ddfd6e1 (commit)

commit 044fc05dacfc50ace80d52c49abdcadb94e5ed52
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 09:41:33 2012 +0200

remove useless pot file

 po/xfce4-mpc-plugin.pot |  119 ---
 1 files changed, 0 insertions(+), 119 deletions(-)

diff --git a/po/xfce4-mpc-plugin.pot b/po/xfce4-mpc-plugin.pot
deleted file mode 100644
index fb02951..000
--- a/po/xfce4-mpc-plugin.pot
+++ /dev/null
@@ -1,119 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR EMAIL@ADDRESS, YEAR.
-#
-#, fuzzy
-msgid 
-msgstr 
-Project-Id-Version: PACKAGE VERSION\n
-Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-02-15 10:14+0100\n
-PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n
-Last-Translator: FULL NAME EMAIL@ADDRESS\n
-Language-Team: LANGUAGE l...@li.org\n
-Language: \n
-MIME-Version: 1.0\n
-Content-Type: text/plain; charset=CHARSET\n
-Content-Transfer-Encoding: 8bit\n
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:128
-#: ../panel-plugin/xfce4-mpc-plugin.c:204
-#: ../panel-plugin/xfce4-mpc-plugin.c:749
-msgid Launch
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:261
-msgid Mpd Client Plugin
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:267
-msgid Properties
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:280
-msgid Host : 
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:281
-msgid Port : 
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:282
-msgid Password : 
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:283
-msgid MPD Client : 
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:284
-msgid Tooltip Format : 
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:285
-msgid Playlist Format : 
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:319
-msgid Hostname or IP address
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:320
-msgid Graphical MPD Client to launch in plugin context menu
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:321
-msgid Variables : %artist%, %album%, %track% and %title%
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:322
-msgid 
-Variables : %vol%, %status%, %newline%, %artist%, %album%, %track% and %title
-%
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:327
-msgid Show _frame
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:449
-#: ../panel-plugin/xfce4-mpc-plugin.c:680
-msgid  not connected ?
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:533
-msgid Mpd playlist
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:745
-msgid Random
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:747
-msgid Repeat
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:752
-msgid biCommands/i/b
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:756
-msgid biOutputs/i/b
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:779
-msgid A simple panel-plugin client for Music Player Daemon
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:781
-msgid Copyright (c) 2006-2011 Landry Breuil\n
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.desktop.in.h:1
-msgid MPD Client Plugin
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.desktop.in.h:2
-msgid A client for MPD, The Music Player Daemon
-msgstr 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-mpc-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-mpc-plugin

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to 47e7baff9c9778b9491d70b92fdfb83623bd1a0e (commit)
   from 044fc05dacfc50ace80d52c49abdcadb94e5ed52 (commit)

commit 47e7baff9c9778b9491d70b92fdfb83623bd1a0e
Merge: 044fc05 a5e6191
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 09:41:47 2012 +0200

Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-mpc-plugin

commit a5e6191f78203770de5a85e10569bd91098165ad
Author: Gheyret Kenji ghey...@yahoo.com
Date:   Tue Jun 5 09:49:07 2012 +0200

l10n: Updated Uyghur (ug) translation to 100%

New status: 24 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/ug.po |  241 +++---
 1 files changed, 120 insertions(+), 121 deletions(-)

diff --git a/po/ug.po b/po/ug.po
index 76a56ef..e22ae66 100644
--- a/po/ug.po
+++ b/po/ug.po
@@ -2,124 +2,123 @@
 # Copyright (C) 2008 THE xfce4-mpc-plugin'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the xfce4-mpc-plugin 
package.
 # Gheyret T.Kenji ghey...@gmail.com, 2010.
-# 
-msgid 
-msgstr 
-Project-Id-Version: xfce4-mpc-plugin\n
-Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-02-15 10:14+0100\n
-PO-Revision-Date: 2009-07-26 16:34+0900\n
-Last-Translator: Gheyret T.Kenji ghey...@gmail.com\n
-Language-Team: Uyghur Computer Science Association u...@yahoogroups.com\n
-Language: \n
-MIME-Version: 1.0\n
-Content-Type: text/plain; charset=utf-8\n
-Content-Transfer-Encoding: 8bit\n
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:128
-#: ../panel-plugin/xfce4-mpc-plugin.c:204
-#: ../panel-plugin/xfce4-mpc-plugin.c:749
-msgid Launch
-msgstr ئىجرا قىلىش
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:261
-msgid Mpd Client Plugin
-msgstr Mpd Client قىستۇرمىسى
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:267
-msgid Properties
-msgstr خاسلىق
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:280
-msgid Host : 
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:281
-msgid Port : 
-msgstr ئېغىز: 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:282
-msgid Password : 
-msgstr ئىم: 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:283
-msgid MPD Client : 
-msgstr MPD Client : 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:284
-msgid Tooltip Format : 
-msgstr Tooltip فورماتى: 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:285
-msgid Playlist Format : 
-msgstr Playlist فورماتى: 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:319
-msgid Hostname or IP address
-msgstr Host ئاتى ياكى IP ئادرېسى
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:320
-msgid Graphical MPD Client to launch in plugin context menu
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:321
-msgid Variables : %artist%, %album%, %track% and %title%
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:322
-msgid 
-Variables : %vol%, %status%, %newline%, %artist%, %album%, %track% and %title
-%
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:327
-msgid Show _frame
-msgstr frame نى كۆرسەت(_F)
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:449
-#: ../panel-plugin/xfce4-mpc-plugin.c:680
-msgid  not connected ?
-msgstr  باغلانمىدىمۇ؟
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:533
-msgid Mpd playlist
-msgstr Mpd قويۇش تىزىملىكى
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:745
-msgid Random
-msgstr ئىختىيارىي
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:747
-msgid Repeat
-msgstr قايتىلا
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:752
-msgid biCommands/i/b
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:756
-msgid biOutputs/i/b
-msgstr 
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:779
-msgid A simple panel-plugin client for Music Player Daemon
-msgstr Music Player Daemon ئۈچۈن ئاددىي panel-قىستۇرما client
-
-#: ../panel-plugin/xfce4-mpc-plugin.c:781
-#, fuzzy
-msgid Copyright (c) 2006-2011 Landry Breuil\n
-msgstr Copyright (c) 2006-2008 Landry Breuil\n
-
-#: ../panel-plugin/xfce4-mpc-plugin.desktop.in.h:1
-msgid MPD Client Plugin
-msgstr MPD Client  قىستۇرمىسى
-
-#: ../panel-plugin/xfce4-mpc-plugin.desktop.in.h:2
-msgid A client for MPD, The Music Player Daemon
-msgstr MPD client پروگراممىسى، The Music Player Daemon
-
-#~ msgid Xfce4 Mpc Plugin
-#~ msgstr Xfce4 Mpc قىستۇرمىسى
-
-#~ msgid Maintainer, Original Author
-#~ msgstr مەسئۇل ، ئەسلى ئاپتور
+#
+msgid 
+msgstr 
+Project-Id-Version: xfce4-mpc-plugin\n
+Report-Msgid-Bugs-To: \n
+POT-Creation-Date: 2012-02-15 10:14+0100\n
+PO-Revision-Date: 2009-07-26 16:34+0900\n
+Last-Translator: Gheyret T.Kenji ghey...@gmail.com\n
+Language-Team: Uyghur Computer Science Association u...@yahoogroups.com\n
+Language: \n
+MIME-Version: 1.0\n
+Content-Type: text/plain; charset=UTF-8\n
+Content-Transfer-Encoding: 8bit\n
+
+#: ../panel-plugin/xfce4-mpc-plugin.c:128
+#: ../panel-plugin/xfce4-mpc-plugin.c:204
+#: ../panel-plugin/xfce4-mpc-plugin.c:749
+msgid Launch
+msgstr ئىجرا قىلىش
+
+#: ../panel-plugin/xfce4-mpc-plugin.c:261
+msgid Mpd Client Plugin
+msgstr Mpd خېرىدار قىستۇرمىسى
+
+#: ../panel-plugin/xfce4-mpc-plugin.c:267
+msgid Properties
+msgstr خاسلىق

[Xfce4-commits] xfce4-diskperf-plugin:master Better compliance with panel plugin HIG

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to c155f4c6c9822c087dabe71e454fc0243454d504 (commit)
   from f223428439d5bedfb9950c427b97d759810cfcb5 (commit)

commit c155f4c6c9822c087dabe71e454fc0243454d504
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 10:04:29 2012 +0200

Better compliance with panel plugin HIG

- set border width in set_size callback, dont hardcode it to 4
- use XfceHVBox instead of creating a HBox/VBox depending on orientation
- pack the label with a 2px spacing
- use 8 instead of the abused BORDER #define for pbar sizing

 panel-plugin/main.c |   18 --
 1 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 6a2d154..87e4d9c 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -387,13 +387,8 @@ static int CreateMonitorBars (struct diskperf_t 
*p_poPlugin,
 Widget_t   *pwBar;
 int i;
 
-if (p_iOrientation == GTK_ORIENTATION_HORIZONTAL)
-   poMonitor-wBox = gtk_hbox_new (FALSE, 0);
-else
-   poMonitor-wBox = gtk_vbox_new (FALSE, 0);
+poMonitor-wBox = xfce_hvbox_new (p_iOrientation, FALSE, 0);
 gtk_widget_show (poMonitor-wBox);
-gtk_container_set_border_width (GTK_CONTAINER
-   (poMonitor-wBox), 4);
 
 gtk_container_add (GTK_CONTAINER (poMonitor-wEventBox),
   poMonitor-wBox);
@@ -402,7 +397,7 @@ static int CreateMonitorBars (struct diskperf_t *p_poPlugin,
 if (poConf-fTitleDisplayed)
gtk_widget_show (poMonitor-wTitle);
 gtk_box_pack_start (GTK_BOX (poMonitor-wBox),
-   GTK_WIDGET (poMonitor-wTitle), FALSE, FALSE, 0);
+   GTK_WIDGET (poMonitor-wTitle), FALSE, FALSE, 2);
 
 for (i = 0; i  2; i++) {
pwBar = poMonitor-awProgressBar + i;
@@ -1095,17 +1090,20 @@ static gboolean diskperf_set_size (XfcePanelPlugin 
*plugin, int p_size,
 {
 int i, size1, size2;
 Widget_t   *pwBar;
+struct monitor_t *poMonitor = (poPlugin-oMonitor);
 
-TRACE (diskperf_set_size()\n);
+TRACE (diskperf_set_size(%d)\n, p_size);
+gtk_container_set_border_width (GTK_CONTAINER
+   (poMonitor-wBox), p_size  26 ? 2 : 1);
 if (xfce_panel_plugin_get_orientation (plugin) == 
 GTK_ORIENTATION_HORIZONTAL) {
-   size1 = BORDER;
+   size1 = 8;
 size2 = -1;
 gtk_widget_set_size_request (GTK_WIDGET (plugin), -1, p_size);
 }
 else {
size1 = -1;
-size2 = BORDER;
+size2 = 8;
 gtk_widget_set_size_request (GTK_WIDGET (plugin), p_size, -1);
 }
 for (i = 0; i  2; i++) {
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-diskperf-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to c5caba5081fdf8d877f1d28237045be483dcbe64 (commit)
   from c155f4c6c9822c087dabe71e454fc0243454d504 (commit)

commit c5caba5081fdf8d877f1d28237045be483dcbe64
Merge: c155f4c 29c511f
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 10:06:08 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin

commit 29c511fa00e65ab63d9329f7af18057cfd7baa1c
Author: Rafael Ferreira rafael.f...@gmail.com
Date:   Sun Jun 17 07:03:50 2012 +0200

l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%

New status: 38 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 4ac1e47b9186dbb3354c73bb31d227168784c20e
Author: Andhika Padmawan andhika.padma...@gmail.com
Date:   Mon Jun 11 11:54:42 2012 +0200

l10n: Updated Indonesian (id) translation to 100%

New status: 38 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 8aab680fd5ae8aa4ea032273624d620fcf44fad0
Author: Gheyret Kenji ghey...@yahoo.com
Date:   Fri Jun 1 06:58:58 2012 +0200

l10n: Updated Uyghur (ug) translation to 94%

New status: 36 messages complete with 0 fuzzies and 2 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 0e381c1a4a35b4773dd4b5fa6753f6d627fb9ad4
Author: Roman K mrdoctor...@gmail.com
Date:   Sun May 27 10:29:15 2012 +0200

l10n: Updated Russian (ru) translation to 100%

New status: 38 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/id.po|   29 ++--
 po/pt_BR.po |   41 +++---
 po/ru.po|   29 ++--
 po/ug.po|  500 ++-
 4 files changed, 309 insertions(+), 290 deletions(-)

diff --git a/po/id.po b/po/id.po
index 0bc4fba..57e0230 100644
--- a/po/id.po
+++ b/po/id.po
@@ -2,7 +2,7 @@
 # Copyright (C) 2003-2004 Roger Seguin.
 # This file is distributed under the same license as the xfce4-diskperf-plugin 
package.
 # Andhika Padmawan andhika.padma...@gmail.com, 2008.
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: xfce4-diskperf-plugin 2.0\n
@@ -11,10 +11,10 @@ msgstr 
 PO-Revision-Date: 2008-06-20 16:11+0700\n
 Last-Translator: Andhika Padmawan andhika.padma...@gmail.com\n
 Language-Team: Indonesian i...@li.org\n
-Language: id\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=utf-8\n
 Content-Transfer-Encoding: 8bit\n
+Language: id\n
 
 #: ../panel-plugin/config_gui.c:101
 msgid Device
@@ -25,9 +25,8 @@ msgid Input the device name, then press Enter
 msgstr Masukkan nama divais, kemudian tekan Enter
 
 #: ../panel-plugin/config_gui.c:118
-#, fuzzy
 msgid /dev/sda1
-msgstr /dev/hda1
+msgstr /dev/sda1
 
 #: ../panel-plugin/config_gui.c:136
 msgid Data collection period
@@ -62,9 +61,8 @@ msgid I/O transfer
 msgstr Transfer I/O
 
 #: ../panel-plugin/config_gui.c:181
-#, fuzzy
 msgid MiB transferred / second
-msgstr MB ditransfer / detik
+msgstr MiB ditransfer / detik
 
 #: ../panel-plugin/config_gui.c:187
 msgid Busy time
@@ -75,9 +73,8 @@ msgid Percentage of time the device is busy
 msgstr Persentase waktu ketika divais sibuk
 
 #: ../panel-plugin/config_gui.c:202
-#, fuzzy
 msgid Max. I/O rate (MiB/s) 
-msgstr Rasio maksimum I/O (MB/s)
+msgstr Rasio maksimum I/O (MiB/s)
 
 #: ../panel-plugin/config_gui.c:213
 msgid Input the maximum I/O transfer rate of the device, then press Enter
@@ -135,7 +132,7 @@ msgstr \Tulis\ monitor dahulu
 #: ../panel-plugin/main.c:180
 #, c-format
 msgid %s: Device statistics unavailable.
-msgstr 
+msgstr %s: Statistik divais tidak tersedia.
 
 #: ../panel-plugin/main.c:219
 #, c-format
@@ -151,6 +148,16 @@ msgid 
   Write : %3d\n
   Total : %3d
 msgstr 
+%s\n
+\n
+I/O(MiB/d)\n
+  Dibaca :%3.2f\n
+  Ditulis :%3.2f\n
+  Total :%3.2f\n
+Waktu sibuk (%c)\n
+  Dibaca : %3d\n
+  Ditulis : %3d\n
+  Total : %3d
 
 #: ../panel-plugin/main.c:823
 msgid Select color
@@ -205,11 +212,11 @@ msgstr 
 msgid 
 Diskperf monitor displays instantaneous disk I/O transfer rates and busy 
 times
-msgstr 
+msgstr Monitor Diskperf menampilkan rasio transfer dan waktu sibuk I/O cakram 
secara instan
 
 #: ../panel-plugin/main.c:916
 msgid Copyright (c) 2003, 2004 Roger Seguin
-msgstr 
+msgstr Hak Cipta 2003, 2004 Roger Seguin
 
 #: ../panel-plugin/main.c:952 ../panel-plugin/diskperf.desktop.in.h:1
 msgid Disk Performance Monitor
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 785ad1b..fd4f7be 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -8,9 +8,9 @@ msgstr 
 Project-Id-Version: xfce 4-diskperf-plugin\n
 Report-Msgid-Bugs-To: \n
 POT-Creation-Date: 2012-05-04 16:57+0200\n
-PO-Revision-Date: 2007-08-31 18:17-0300\n
-Last-Translator: Fábio Nogueira deb-user...@ubuntu.com\n
-Language-Team: Brazilian Portuguese ldp...@bazar2.conectiva.com.br\n
+PO-Revision-Date: 2012-06-17 02:03-0300\n

[Xfce4-commits] xfce4-diskperf-plugin:master add .gitignore

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to c476fded0cefdbce725b616e9802ca2100debe03 (commit)
   from c5caba5081fdf8d877f1d28237045be483dcbe64 (commit)

commit c476fded0cefdbce725b616e9802ca2100debe03
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 10:08:29 2012 +0200

add .gitignore

 .gitignore |   27 +++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..90ea06d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,27 @@
+po/*.gmo
+po/*.pot
+*Makefile
+*Makefile.in
+stamp*
+*/.deps
+.libs
+*.orig
+*.o
+*.lo
+*.la
+\[config.h\].in
+*,orig
+configure
+config.*
+configure.ac
+intltool*
+mkinstalldirs
+missing
+compile
+install-sh
+ltmain.sh
+libtool
+depcomp
+aclocal.m4
+autom4te.cache
+*.desktop
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-systemload-plugin:master Better compliance with panel plugin HIG

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to ddb74ac8d6328cf5ef1c2dcf95b4aabc9956459e (commit)
   from f93bdeec293b76fc3178768bf06836948695f102 (commit)

commit ddb74ac8d6328cf5ef1c2dcf95b4aabc9956459e
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 10:38:27 2012 +0200

Better compliance with panel plugin HIG

- set border width depending on size in set_size callback
- set pbars size to 8px/-1

 panel-plugin/systemload.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 337a36c..8d11346 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -365,7 +365,6 @@ monitor_control_new(XfcePanelPlugin *plugin)
 global-use_timeout_seconds = TRUE;
 global-timeout_id = 0;
 global-ebox = gtk_event_box_new();
-gtk_container_set_border_width (GTK_CONTAINER (global-ebox), BORDER/2);
 gtk_widget_show(global-ebox);
 global-box = NULL;
 
@@ -622,18 +621,19 @@ monitor_set_size(XfcePanelPlugin *plugin, int size, 
t_global_monitor *global)
 {
 gint count;
 
+gtk_container_set_border_width (GTK_CONTAINER (global-ebox), (size  26 ? 
2 : 1));
 for(count = 0; count  3; count++)
 {
 if (xfce_panel_plugin_get_orientation (plugin) == 
 GTK_ORIENTATION_HORIZONTAL)
 {
 
gtk_widget_set_size_request(GTK_WIDGET(global-monitor[count]-status),
-BORDER, size - BORDER);
+8, -1);
 }
 else
 {
 
gtk_widget_set_size_request(GTK_WIDGET(global-monitor[count]-status),
-size - BORDER, BORDER);
+-1, 8);
 }
 }
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-systemload-plugin:master Simplify tooltip handling code

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to 1b9d578919d245a3503fd2d4e33f50a8f148b390 (commit)
   from ddb74ac8d6328cf5ef1c2dcf95b4aabc9956459e (commit)

commit 1b9d578919d245a3503fd2d4e33f50a8f148b390
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 11:42:16 2012 +0200

Simplify tooltip handling code

- directly use gtk_widget_set_tooltip_text() on the monitor ebox
- remove the tooltip_text/query-tooltip callback hoops
- set gtk-tooltip-timeout to a bit less than the update timeout to ensure
  the tooltips are properly updated when the timeout is  500ms (taken
  from diskperf code)
- this effectively more or less reverts commit 016c155ccee / bug #5175
  but the features dont change and the code is .. simpler.

 panel-plugin/systemload.c |   60 +
 1 files changed, 12 insertions(+), 48 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 8d11346..abccd20 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -81,7 +81,6 @@ typedef struct
 GtkWidget  *label;
 GtkWidget  *status;
 GtkWidget  *ebox;
-GtkWidget  *tooltip_text;
 
 gulong history[4];
 gulong value_read;
@@ -93,7 +92,6 @@ typedef struct
 {
 GtkWidget  *label;
 GtkWidget  *ebox;
-GtkWidget  *tooltip_text;
 
 gulong value_read;
 gboolean   enabled;
@@ -160,14 +158,14 @@ update_monitors(t_global_monitor *global)
 {
 g_snprintf(caption, sizeof(caption), _(System Load: %ld%%),
global-monitor[0]-value_read);
-gtk_label_set_text(GTK_LABEL(global-monitor[0]-tooltip_text), 
caption);
+gtk_widget_set_tooltip_text(GTK_WIDGET(global-monitor[0]-ebox), 
caption);
 }
 
 if (global-monitor[1]-options.enabled)
 {
 g_snprintf(caption, sizeof(caption), _(Memory: %ldMB of %ldMB used),
MUsed  10 , MTotal  10);
-gtk_label_set_text(GTK_LABEL(global-monitor[1]-tooltip_text), 
caption);
+gtk_widget_set_tooltip_text(GTK_WIDGET(global-monitor[1]-ebox), 
caption);
 }
 
 if (global-monitor[2]-options.enabled)
@@ -178,7 +176,7 @@ update_monitors(t_global_monitor *global)
 else
 g_snprintf(caption, sizeof(caption), _(No swap));
 
-gtk_label_set_text(GTK_LABEL(global-monitor[2]-tooltip_text), 
caption);
+gtk_widget_set_tooltip_text(GTK_WIDGET(global-monitor[2]-ebox), 
caption);
 }
 
 if (global-uptime-enabled)
@@ -201,35 +199,11 @@ update_monitors(t_global_monitor *global)
caption);
 g_snprintf(caption, sizeof(caption), _(Uptime: %d:%02d), hours, 
mins);
 }
-gtk_label_set_text(GTK_LABEL(global-uptime-tooltip_text), caption);
+gtk_widget_set_tooltip_text(GTK_WIDGET(global-uptime-ebox), caption);
 }
 return TRUE;
 }
 
-static gboolean tooltip_cb0(GtkWidget *widget, gint x, gint y, gboolean 
keyboard, GtkTooltip *tooltip, t_global_monitor *global)
-{
-gtk_tooltip_set_custom(tooltip, global-monitor[0]-tooltip_text);
-return TRUE;
-}
-
-static gboolean tooltip_cb1(GtkWidget *widget, gint x, gint y, gboolean 
keyboard, GtkTooltip *tooltip, t_global_monitor *global)
-{
-gtk_tooltip_set_custom(tooltip, global-monitor[1]-tooltip_text);
-return TRUE;
-}
-
-static gboolean tooltip_cb2(GtkWidget *widget, gint x, gint y, gboolean 
keyboard, GtkTooltip *tooltip, t_global_monitor *global)
-{
-gtk_tooltip_set_custom(tooltip, global-monitor[2]-tooltip_text);
-return TRUE;
-}
-
-static gboolean tooltip_cb3(GtkWidget *widget, gint x, gint y, gboolean 
keyboard, GtkTooltip *tooltip, t_global_monitor *global)
-{
-gtk_tooltip_set_custom(tooltip, global-uptime-tooltip_text);
-return TRUE;
-}
-
 static void
 monitor_update_orientation (XfcePanelPlugin  *plugin,
 GtkOrientationpanel_orientation,
@@ -320,16 +294,6 @@ monitor_update_orientation (XfcePanelPlugin  *plugin,
 gtk_widget_show(global-uptime-ebox);
 gtk_event_box_set_visible_window(GTK_EVENT_BOX(global-uptime-ebox), 
FALSE);
 
-gtk_widget_set_has_tooltip(global-monitor[0]-ebox, TRUE);
-gtk_widget_set_has_tooltip(global-monitor[1]-ebox, TRUE);
-gtk_widget_set_has_tooltip(global-monitor[2]-ebox, TRUE);
-gtk_widget_set_has_tooltip(global-uptime-ebox, TRUE);
-g_signal_connect(global-monitor[0]-ebox, query-tooltip, 
G_CALLBACK(tooltip_cb0), global);
-g_signal_connect(global-monitor[1]-ebox, query-tooltip, 
G_CALLBACK(tooltip_cb1), global);
-g_signal_connect(global-monitor[2]-ebox, query-tooltip, 
G_CALLBACK(tooltip_cb2), global);
-g_signal_connect(global-uptime-ebox, query-tooltip, 
G_CALLBACK(tooltip_cb3), global);
-
-
 global-uptime-label = gtk_label_new();
 gtk_label_set_angle(GTK_LABEL(global-uptime-label),
 (orientation == GTK_ORIENTATION_HORIZONTAL

[Xfce4-commits] xfce4-systemload-plugin:master Refactor widget creation (sorry, couldn't resist..)

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to 0c5c25aa7d6d2f6c52858d0d933cbe1a109bd090 (commit)
   from 1b9d578919d245a3503fd2d4e33f50a8f148b390 (commit)

commit 0c5c25aa7d6d2f6c52858d0d933cbe1a109bd090
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 12:07:39 2012 +0200

Refactor widget creation (sorry, couldn't resist..)

- introduce create_monitor() called once instead of recreating
  widgets all the time in update_orientation()
- update_orientation() now _only_ takes care of orientation stuff
- use XfceHVBox instead of creating hbox/vbox depending on orientation
- remove gtk_widget_modify_bg()/_show() extra calls, this is already
  done in setup_monitor()

 panel-plugin/systemload.c |   69 
 1 files changed, 25 insertions(+), 44 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index abccd20..c44ea1a 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -211,42 +211,41 @@ monitor_update_orientation (XfcePanelPlugin  *plugin,
 t_global_monitor *global)
 {
 gint count;
-
-gtk_widget_hide(GTK_WIDGET(global-ebox));
-
-if (global-box)
-gtk_container_remove(GTK_CONTAINER(global-ebox), 
- GTK_WIDGET(global-box));
-
-if (panel_orientation == GTK_ORIENTATION_HORIZONTAL)
-{
-global-box = gtk_hbox_new(FALSE, 0);
-}
-else
-{
-global-box = gtk_vbox_new(FALSE, 0);
-}
-gtk_widget_show(global-box);
-
+xfce_hvbox_set_orientation(XFCE_HVBOX(global-box), panel_orientation);
 for(count = 0; count  3; count++)
 {
-global-monitor[count]-label =
-gtk_label_new(global-monitor[count]-options.label_text);
+xfce_hvbox_set_orientation(XFCE_HVBOX(global-monitor[count]-box), 
panel_orientation);
 gtk_label_set_angle(GTK_LABEL(global-monitor[count]-label),
 (orientation == GTK_ORIENTATION_HORIZONTAL) ? 0 : 
-90);
-
-global-monitor[count]-status = GTK_WIDGET(gtk_progress_bar_new());
-
 if (panel_orientation == GTK_ORIENTATION_HORIZONTAL)
 {
-global-monitor[count]-box = GTK_WIDGET(gtk_hbox_new(FALSE, 0));
 
gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(global-monitor[count]-status),
 GTK_PROGRESS_BOTTOM_TO_TOP);
 }
 else
 {
-global-monitor[count]-box = GTK_WIDGET(gtk_vbox_new(FALSE, 0));
 
gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(global-monitor[count]-status),
 GTK_PROGRESS_LEFT_TO_RIGHT);
 }
+}
+gtk_label_set_angle(GTK_LABEL(global-uptime-label),
+(orientation == GTK_ORIENTATION_HORIZONTAL) ? 0 : -90);
+}
+
+static void
+create_monitor (t_global_monitor *global)
+{
+gint count;
+
+global-box = 
xfce_hvbox_new(xfce_panel_plugin_get_orientation(global-plugin), FALSE, 0);
+gtk_widget_show(global-box);
+
+for(count = 0; count  3; count++)
+{
+global-monitor[count]-label =
+gtk_label_new(global-monitor[count]-options.label_text);
+
+global-monitor[count]-status = GTK_WIDGET(gtk_progress_bar_new());
+
+global-monitor[count]-box = 
xfce_hvbox_new(xfce_panel_plugin_get_orientation(global-plugin), FALSE, 0);
 
 gtk_box_pack_start(GTK_BOX(global-monitor[count]-box),
GTK_WIDGET(global-monitor[count]-label),
@@ -257,15 +256,6 @@ monitor_update_orientation (XfcePanelPlugin  *plugin,
 gtk_container_add(GTK_CONTAINER(global-monitor[count]-ebox),
   GTK_WIDGET(global-monitor[count]-box));
 
-gtk_widget_modify_bg(GTK_WIDGET(global-monitor[count]-status),
- GTK_STATE_PRELIGHT,
- global-monitor[count]-options.color);
-gtk_widget_modify_bg(GTK_WIDGET(global-monitor[count]-status),
- GTK_STATE_SELECTED,
- global-monitor[count]-options.color);
-gtk_widget_modify_base(GTK_WIDGET(global-monitor[count]-status),
-   GTK_STATE_SELECTED,
-   global-monitor[count]-options.color);
 
gtk_event_box_set_visible_window(GTK_EVENT_BOX(global-monitor[count]-ebox), 
FALSE);
 
gtk_event_box_set_above_child(GTK_EVENT_BOX(global-monitor[count]-ebox), 
TRUE);
 
@@ -278,15 +268,7 @@ monitor_update_orientation (XfcePanelPlugin  *plugin,
GTK_WIDGET(global-monitor[count]-ebox),
FALSE, FALSE, 0);
 
-if(global-monitor[count]-options.enabled)
-{
-gtk_widget_show(GTK_WIDGET(global-monitor[count]-ebox));
-gtk_widget_show(GTK_WIDGET(global-monitor[count]-box));
-if (global-monitor[count]-options.use_label)
-gtk_widget_show(global-monitor[count]-label

[Xfce4-commits] xfce4-systemload-plugin:master only set label angle with panel 4.9

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to 522535569428beb2366795727696f84f9e2edef9 (commit)
   from 0c5c25aa7d6d2f6c52858d0d933cbe1a109bd090 (commit)

commit 522535569428beb2366795727696f84f9e2edef9
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 12:26:37 2012 +0200

only set label angle with panel  4.9

 panel-plugin/systemload.c |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index c44ea1a..c0572a3 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -215,8 +215,10 @@ monitor_update_orientation (XfcePanelPlugin  *plugin,
 for(count = 0; count  3; count++)
 {
 xfce_hvbox_set_orientation(XFCE_HVBOX(global-monitor[count]-box), 
panel_orientation);
+#ifdef HAS_PANEL_49
 gtk_label_set_angle(GTK_LABEL(global-monitor[count]-label),
 (orientation == GTK_ORIENTATION_HORIZONTAL) ? 0 : 
-90);
+#endif
 if (panel_orientation == GTK_ORIENTATION_HORIZONTAL)
 {
 
gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(global-monitor[count]-status),
 GTK_PROGRESS_BOTTOM_TO_TOP);
@@ -226,8 +228,10 @@ monitor_update_orientation (XfcePanelPlugin  *plugin,
 
gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(global-monitor[count]-status),
 GTK_PROGRESS_LEFT_TO_RIGHT);
 }
 }
+#ifdef HAS_PANEL_49
 gtk_label_set_angle(GTK_LABEL(global-uptime-label),
 (orientation == GTK_ORIENTATION_HORIZONTAL) ? 0 : -90);
+#endif
 }
 
 static void
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-fsguard-plugin:master Better compliance with panel plugin HIG

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to 6a438fe10eed2316724c464a04a23cc137a01cb0 (commit)
   from be1273b1320cb95969b3159d8d24ce1cb7c2c907 (commit)

commit 6a438fe10eed2316724c464a04a23cc137a01cb0
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 12:42:21 2012 +0200

Better compliance with panel plugin HIG

- directly pass orientation to xfce_hvbox_new
- dont the the ebox above childs, this broke button sensitivity
- set border width depending on size in set_size callback
- call xfce_panel_plugin_get_nrows() only if panel  4.9 (oops!)
- properly size progressbar
- set label box with 2px spacing

 panel-plugin/fsguard.c |   27 ---
 1 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/panel-plugin/fsguard.c b/panel-plugin/fsguard.c
index 2654eb7..fe83058 100644
--- a/panel-plugin/fsguard.c
+++ b/panel-plugin/fsguard.c
@@ -407,17 +407,13 @@ fsguard_new (XfcePanelPlugin *plugin)
 
 fsguard-ebox = gtk_event_box_new();
 gtk_event_box_set_visible_window(GTK_EVENT_BOX(fsguard-ebox), FALSE);
-gtk_event_box_set_above_child(GTK_EVENT_BOX(fsguard-ebox), TRUE);
 
 GtkOrientation orientation = xfce_panel_plugin_get_orientation (plugin);
-fsguard-box =
-  xfce_hvbox_new (orientation == GTK_ORIENTATION_HORIZONTAL ?
-  GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL,
-  FALSE, 2);
+fsguard-box = xfce_hvbox_new (orientation, FALSE, 2);
 
 fsguard-lab_name = gtk_label_new (NULL);
 fsguard-lab_size = gtk_label_new (NULL);
-fsguard-lab_box = xfce_hvbox_new (GTK_ORIENTATION_VERTICAL, FALSE, 0);
+fsguard-lab_box = xfce_hvbox_new (GTK_ORIENTATION_VERTICAL, FALSE, 2);
 
 alignment = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
 
@@ -429,11 +425,7 @@ fsguard_new (XfcePanelPlugin *plugin)
 gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR(fsguard-progress_bar),
   orientation == 
GTK_ORIENTATION_HORIZONTAL ?
   GTK_PROGRESS_BOTTOM_TO_TOP : 
GTK_PROGRESS_LEFT_TO_RIGHT);
-fsguard-pb_box =
-  xfce_hvbox_new (orientation == GTK_ORIENTATION_HORIZONTAL ?
-  GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL,
-  FALSE, 0);
-gtk_container_set_border_width (GTK_CONTAINER (fsguard-pb_box), BORDER / 
2);
+fsguard-pb_box = xfce_hvbox_new (orientation, FALSE, 0);
 
 g_signal_connect (G_OBJECT(fsguard-btn_panel),
   clicked,
@@ -483,19 +475,24 @@ fsguard_free (XfcePanelPlugin *plugin, FsGuard *fsguard)
 static gboolean
 fsguard_set_size (XfcePanelPlugin *plugin, int size, FsGuard *fsguard)
 {
+int border_width = (size  26 ? 2 : 1);
+#ifdef HAS_PANEL_49
+size /= xfce_panel_plugin_get_nrows (plugin);
+#endif
 DBG (Set size to `%d', size);
 
-size /= xfce_panel_plugin_get_nrows (plugin);
-gtk_widget_set_size_request (fsguard-btn_panel, size, size);
+gtk_container_set_border_width (GTK_CONTAINER (fsguard-pb_box), 
border_width);
 
 GtkOrientation orientation = xfce_panel_plugin_get_orientation (plugin);
 if (orientation == GTK_ORIENTATION_HORIZONTAL) {
-gtk_widget_set_size_request (GTK_WIDGET(fsguard-progress_bar), 
BORDER, -1);
+gtk_widget_set_size_request (GTK_WIDGET(fsguard-progress_bar), 8, -1);
 gtk_widget_set_size_request (GTK_WIDGET(plugin), -1, size);
 } else {
-gtk_widget_set_size_request (GTK_WIDGET(fsguard-progress_bar), -1, 
BORDER);
+gtk_widget_set_size_request (GTK_WIDGET(fsguard-progress_bar), -1, 8);
 gtk_widget_set_size_request (GTK_WIDGET(plugin), size, -1);
 }
+size -= 2 * border_width;
+gtk_widget_set_size_request (fsguard-btn_panel, size, size);
 
 fsguard_refresh_icon (fsguard);
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-fsguard-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-fsguard-plugin

2012-06-23 Thread Landry Breuil
Updating branch refs/heads/master
 to c9aa8e1f60799f239d0a031bee485964d11d6016 (commit)
   from 6a438fe10eed2316724c464a04a23cc137a01cb0 (commit)

commit c9aa8e1f60799f239d0a031bee485964d11d6016
Merge: 6a438fe 2b7c5b4
Author: Landry Breuil lan...@xfce.org
Date:   Sat Jun 23 12:44:44 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-fsguard-plugin

commit 2b7c5b4674aff94194949f159e580417233c99fd
Author: Gheyret Kenji ghey...@yahoo.com
Date:   Mon Jun 4 08:07:43 2012 +0200

l10n: Updated Uyghur (ug) translation to 100%

New status: 19 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/ug.po |  216 ++---
 1 files changed, 106 insertions(+), 110 deletions(-)

diff --git a/po/ug.po b/po/ug.po
index 8aefbde..55a446a 100644
--- a/po/ug.po
+++ b/po/ug.po
@@ -1,110 +1,106 @@
-# Uyghur translations for xfce4-fsguard-plugin package.
-# Copyright (C) 2003-2004 Andre Lerche a.ler...@gmx.net.
-# Copyright (C) 2005 Stefan Ott ste...@desire.ch.
-# This file is distributed under the same license as
-#   the xfce4-fsguard-plugin package.
-# Gheyret T.Kenji ghey...@gmail.com, 2010.
-#
-msgid 
-msgstr 
-Project-Id-Version: xfce4-fsguard-plugin 0.3.0\n
-Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2009-08-14 22:39+0200\n
-PO-Revision-Date: 2009-10-05 23:07+0900\n
-Last-Translator: Gheyret T.Kenji ghey...@gmail.com\n
-Language-Team: Uyghur Computer Science Association u...@yahoogroups.com\n
-MIME-Version: 1.0\n
-Content-Type: text/plain; charset=UTF-8\n
-Content-Transfer-Encoding: 8bit\n
-
-#: ../panel-plugin/fsguard.c:244
-msgid Unable to find an appropriate application to open the mount point
-msgstr mount نۇقتىسىنى ئاچىدىغان مۇۋاپىق پروگرامما تېپىلمىدى
-
-#: ../panel-plugin/fsguard.c:281
-#: ../panel-plugin/fsguard.c:282
-#, c-format
-msgid %.2f GB
-msgstr %.2f GB
-
-#: ../panel-plugin/fsguard.c:285
-#, c-format
-msgid %s/%s space left on %s (%s)
-msgstr %3$s (%4$s) نىڭدا %1$s/%2$s  بوشلۇق قالدى
-
-#: ../panel-plugin/fsguard.c:285
-#, c-format
-msgid %s/%s space left on %s
-msgstr %3$s نىڭدا %1$s/%2$s  بوشلۇق قالدى
-
-#: ../panel-plugin/fsguard.c:288
-#: ../panel-plugin/fsguard.c:289
-#, c-format
-msgid %.0f MB
-msgstr %.0f MB
-
-#: ../panel-plugin/fsguard.c:291
-#, c-format
-msgid could not check mountpoint %s, please check your config
-msgstr mount نۇقتىسىنى (%s) جەزىملىيەلمىدى. تەڭشەككە قاراپ بېقىڭ.
-
-#: ../panel-plugin/fsguard.c:311
-#, c-format
-msgid Only %s space left on %s (%s)!
-msgstr %2$s (%3$s) نىڭدا %1$s بوشلۇق قالدى.
-
-#: ../panel-plugin/fsguard.c:314
-#, c-format
-msgid Only %s space left on %s!
-msgstr %2$s نىڭدا %1$s بوشلۇق قالدى.
-
-#. }}}
-#. vim600: set foldmethod=marker: foldmarker={{{,}}}
-#: ../panel-plugin/fsguard.c:572
-#: ../panel-plugin/fsguard.desktop.in.in.h:1
-msgid Free Space Checker
-msgstr بوشلۇق تەكشۈرگۈ
-
-#: ../panel-plugin/fsguard.c:583
-msgid Configuration
-msgstr تەڭشەك
-
-#: ../panel-plugin/fsguard.c:590
-msgid Mount point
-msgstr mount نۇقتىسىنى
-
-#: ../panel-plugin/fsguard.c:596
-msgid Warning limit (%)
-msgstr ئاگاھلاندۇرۇش چېكى (%)
-
-#: ../panel-plugin/fsguard.c:601
-msgid Urgent limit (%)
-msgstr جىددىي ھالەت چېكى (%)
-
-#: ../panel-plugin/fsguard.c:621
-msgid User Interface
-msgstr ئىشلەتكۈچى كۆرۈنمە يۈزى
-
-#: ../panel-plugin/fsguard.c:628
-msgid Name
-msgstr ئاتى
-
-#: ../panel-plugin/fsguard.c:636
-msgid Display size
-msgstr چوڭلۇقىنى كۆرسىتىدۇ
-
-#: ../panel-plugin/fsguard.c:640
-msgid Display meter
-msgstr مېتىرنى كۆرسىتىدۇ
-
-#: ../panel-plugin/fsguard.c:644
-msgid Display button
-msgstr توپچىنى كۆرسىتىدۇ
-
-#: ../panel-plugin/fsguard.desktop.in.in.h:2
-msgid Monitor free disk space
-msgstr دىسكىدىكى قالغان بوشلۇقنى كۆزىتىدۇ
-
-#~ msgid File manager
-#~ msgstr ファイルマネージャ
-
+# Uyghur translations for xfce4-fsguard-plugin package.
+# Copyright (C) 2003-2004 Andre Lerche a.ler...@gmx.net.
+# Copyright (C) 2005 Stefan Ott ste...@desire.ch.
+# This file is distributed under the same license as
+#   the xfce4-fsguard-plugin package.
+# Gheyret T.Kenji ghey...@gmail.com, 2010.
+#
+msgid 
+msgstr 
+Project-Id-Version: xfce4-fsguard-plugin 0.3.0\n
+Report-Msgid-Bugs-To: \n
+POT-Creation-Date: 2009-08-14 22:39+0200\n
+PO-Revision-Date: 2009-10-05 23:07+0900\n
+Last-Translator: Gheyret T.Kenji ghey...@gmail.com\n
+Language-Team: Uyghur Computer Science Association u...@yahoogroups.com\n
+MIME-Version: 1.0\n
+Content-Type: text/plain; charset=UTF-8\n
+Content-Transfer-Encoding: 8bit\n
+
+#: ../panel-plugin/fsguard.c:244
+msgid Unable to find an appropriate application to open the mount point
+msgstr ئېگەرلەش نۇقتىسىنى ئاچىدىغان مۇۋاپىق پروگرامما تېپىلمىدى
+
+#: ../panel-plugin/fsguard.c:281
+#: ../panel-plugin/fsguard.c:282
+#, c-format
+msgid %.2f GB
+msgstr %.2f گ ب
+
+#: ../panel-plugin/fsguard.c:285
+#, c-format
+msgid %s/%s space left on %s (%s)
+msgstr %3$s (%4$s) نىڭدا %1$s/%2$s  بوشلۇق قالدى

[Xfce4-commits] xfce4-wavelan-plugin:master Better compliance with the panel plugin HIG

2012-06-17 Thread Landry Breuil
Updating branch refs/heads/master
 to ff0c0163801a34bc10a8ac3786f1a5ff4efb368f (commit)
   from 46debc53ef79d342d0bcc87de1259521a375f473 (commit)

commit ff0c0163801a34bc10a8ac3786f1a5ff4efb368f
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jun 17 21:38:10 2012 +0200

Better compliance with the panel plugin HIG

- directly create the xfce_hvbox with the panel orientation
- use xfce_panel_image_new_from_source() to create the image
- only deal with size/orientation in wavelan_set_size/orientation
- pack the image and progressbar with 0px spacing
- compute the border  image size depending on panel size
- set small property if using panel 4.9 and not using deskbar mode

 panel-plugin/wavelan.c |   46 +-
 1 files changed, 17 insertions(+), 29 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 2652138..b2abda1 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -72,6 +72,9 @@ typedef struct
   
 } t_wavelan;
 
+static void wavelan_set_size(t_wavelan *wavelan, int size);
+static void wavelan_set_orientation(t_wavelan *wavelan, GtkOrientation 
orientation);
+
 static void
 wavelan_set_state(t_wavelan *wavelan, gint state)
 {  
@@ -326,40 +329,21 @@ wavelan_new(XfcePanelPlugin *plugin)
   g_object_ref( wavelan-tooltip_text );
 
   /* create box for img  progress bar */
-  if (wavelan-orientation == GTK_ORIENTATION_HORIZONTAL)
-wavelan-box = xfce_hvbox_new(GTK_ORIENTATION_HORIZONTAL, FALSE, 0);
-  else
-wavelan-box = xfce_hvbox_new(GTK_ORIENTATION_VERTICAL, FALSE, 0);
-  gtk_container_set_border_width(GTK_CONTAINER(wavelan-box), BORDER / 2);
+  wavelan-box = xfce_hvbox_new(wavelan-orientation, FALSE, 0);
 
   /* setup progressbar */
   wavelan-signal = gtk_progress_bar_new();
-  if (wavelan-orientation == GTK_ORIENTATION_HORIZONTAL)
-  {
-gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(wavelan-signal), 
GTK_PROGRESS_BOTTOM_TO_TOP);
-gtk_widget_set_size_request(wavelan-signal, 8, -1);
-  } else {
-gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(wavelan-signal), 
GTK_PROGRESS_LEFT_TO_RIGHT);
-gtk_widget_set_size_request(wavelan-signal, -1, 8);
-  }
+  wavelan-image = 
GTK_WIDGET(xfce_panel_image_new_from_source(network-wireless));
 
-  wavelan-image = gtk_image_new();
-#ifdef HAS_PANEL_49
-  gtk_image_set_from_pixbuf(GTK_IMAGE(wavelan-image), 
gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), network-wireless, 
wavelan-size/xfce_panel_plugin_get_nrows(wavelan-plugin)-6, 0, NULL));
-#else
-  gtk_image_set_from_pixbuf(GTK_IMAGE(wavelan-image), 
gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), network-wireless, 
wavelan-size-6, 0, NULL));
-#endif
+  gtk_box_pack_start(GTK_BOX(wavelan-box), GTK_WIDGET(wavelan-image), FALSE, 
FALSE, 0);
+  gtk_box_pack_start(GTK_BOX(wavelan-box), GTK_WIDGET(wavelan-signal), 
FALSE, FALSE, 0);
 
-  gtk_box_pack_start(GTK_BOX(wavelan-box), GTK_WIDGET(wavelan-image), FALSE, 
FALSE, 2);
-  gtk_box_pack_start(GTK_BOX(wavelan-box), GTK_WIDGET(wavelan-signal), 
FALSE, FALSE, 2);
 
+  wavelan_set_size(wavelan, wavelan-size);
+  wavelan_set_orientation(wavelan, wavelan-orientation);
   gtk_widget_show_all(wavelan-box);
   gtk_container_add(GTK_CONTAINER(wavelan-ebox), GTK_WIDGET(wavelan-box));
   gtk_widget_show_all(wavelan-ebox);
-  if (wavelan-orientation == GTK_ORIENTATION_HORIZONTAL) 
-gtk_widget_set_size_request(wavelan-ebox, -1, wavelan-size);
-  else
-gtk_widget_set_size_request(wavelan-ebox, wavelan-size, -1);
   
   wavelan_read_config(plugin, wavelan);
 
@@ -441,12 +425,16 @@ wavelan_set_orientation(t_wavelan *wavelan, 
GtkOrientation orientation)
 static void
 wavelan_set_size(t_wavelan *wavelan, int size)
 {
-  wavelan-size = size;
+  int border_width, image_size;
 #ifdef HAS_PANEL_49
-  gtk_image_set_from_pixbuf(GTK_IMAGE(wavelan-image), 
gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), network-wireless, 
wavelan-size/xfce_panel_plugin_get_nrows(wavelan-plugin)-6, 0, NULL));
-#else
-  gtk_image_set_from_pixbuf(GTK_IMAGE(wavelan-image), 
gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), network-wireless, 
wavelan-size-6, 0, NULL));
+  size /= xfce_panel_plugin_get_nrows(wavelan-plugin);
+  xfce_panel_plugin_set_small (wavelan-plugin, 
(xfce_panel_plugin_get_mode(wavelan-plugin) != 
XFCE_PANEL_PLUGIN_MODE_DESKBAR));
 #endif
+  border_width = size  26 ? 2 : 1;
+  wavelan-size = size;
+  image_size = wavelan-size - (2 * border_width);
+  gtk_widget_set_size_request(GTK_WIDGET(wavelan-image), image_size, 
image_size);
+  gtk_container_set_border_width(GTK_CONTAINER(wavelan-box), border_width);
   if (wavelan-orientation == GTK_ORIENTATION_HORIZONTAL)
gtk_widget_set_size_request(wavelan-ebox, -1, wavelan-size);
   else
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-wavelan-plugin:master Little bit of refactoring

2012-06-17 Thread Landry Breuil
Updating branch refs/heads/master
 to 9f2c3ccbe58e615d9e600102ef0315e1e901beff (commit)
   from ff0c0163801a34bc10a8ac3786f1a5ff4efb368f (commit)

commit 9f2c3ccbe58e615d9e600102ef0315e1e901beff
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jun 17 21:55:43 2012 +0200

Little bit of refactoring

- remove useless functions redirecting callbacks
- fix protos for set_size/set_orientation

 panel-plugin/wavelan.c |   71 +--
 1 files changed, 14 insertions(+), 57 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index b2abda1..006bbd2 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -72,8 +72,8 @@ typedef struct
   
 } t_wavelan;
 
-static void wavelan_set_size(t_wavelan *wavelan, int size);
-static void wavelan_set_orientation(t_wavelan *wavelan, GtkOrientation 
orientation);
+static void wavelan_set_size(XfcePanelPlugin* plugin, int size, t_wavelan 
*wavelan);
+static void wavelan_set_orientation(XfcePanelPlugin* plugin, GtkOrientation 
orientation, t_wavelan *wavelan);
 
 static void
 wavelan_set_state(t_wavelan *wavelan, gint state)
@@ -299,7 +299,6 @@ static t_wavelan *
 wavelan_new(XfcePanelPlugin *plugin)
 {
   t_wavelan *wavelan;
-  XfceScreenPosition screen_position;
   
   TRACE (Entered wavelan_new);
   
@@ -313,10 +312,6 @@ wavelan_new(XfcePanelPlugin *plugin)
 
   wavelan-plugin = plugin;
   
-  wavelan-size = xfce_panel_plugin_get_size (plugin);
-  screen_position = xfce_panel_plugin_get_screen_position (plugin);
-  wavelan-orientation = xfce_panel_plugin_get_orientation (plugin);
- 
   wavelan-ebox = gtk_event_box_new();
   gtk_widget_set_has_tooltip(wavelan-ebox, TRUE);
   gtk_event_box_set_visible_window(GTK_EVENT_BOX(wavelan-ebox), FALSE);
@@ -339,8 +334,8 @@ wavelan_new(XfcePanelPlugin *plugin)
   gtk_box_pack_start(GTK_BOX(wavelan-box), GTK_WIDGET(wavelan-signal), 
FALSE, FALSE, 0);
 
 
-  wavelan_set_size(wavelan, wavelan-size);
-  wavelan_set_orientation(wavelan, wavelan-orientation);
+  wavelan_set_size(plugin, xfce_panel_plugin_get_size (plugin), wavelan);
+  wavelan_set_orientation(plugin, xfce_panel_plugin_get_orientation (plugin),  
wavelan);
   gtk_widget_show_all(wavelan-box);
   gtk_container_add(GTK_CONTAINER(wavelan-ebox), GTK_WIDGET(wavelan-box));
   gtk_widget_show_all(wavelan-ebox);
@@ -353,7 +348,7 @@ wavelan_new(XfcePanelPlugin *plugin)
 }
 
 static void
-wavelan_free(t_wavelan *wavelan)
+wavelan_free(XfcePanelPlugin* plugin, t_wavelan *wavelan)
 {
   TRACE (Entered wavelan_free);
   
@@ -406,7 +401,7 @@ wavelan_write_config(XfcePanelPlugin *plugin, t_wavelan 
*wavelan)
 }
 
 static void
-wavelan_set_orientation(t_wavelan *wavelan, GtkOrientation orientation)
+wavelan_set_orientation(XfcePanelPlugin* plugin, GtkOrientation orientation, 
t_wavelan *wavelan)
 {
   wavelan-orientation = orientation;
   xfce_hvbox_set_orientation(XFCE_HVBOX(wavelan-box), orientation);
@@ -423,12 +418,12 @@ wavelan_set_orientation(t_wavelan *wavelan, 
GtkOrientation orientation)
 }
 
 static void
-wavelan_set_size(t_wavelan *wavelan, int size)
+wavelan_set_size(XfcePanelPlugin* plugin, int size, t_wavelan *wavelan)
 {
   int border_width, image_size;
 #ifdef HAS_PANEL_49
-  size /= xfce_panel_plugin_get_nrows(wavelan-plugin);
-  xfce_panel_plugin_set_small (wavelan-plugin, 
(xfce_panel_plugin_get_mode(wavelan-plugin) != 
XFCE_PANEL_PLUGIN_MODE_DESKBAR));
+  size /= xfce_panel_plugin_get_nrows(plugin);
+  xfce_panel_plugin_set_small (plugin, (xfce_panel_plugin_get_mode(plugin) != 
XFCE_PANEL_PLUGIN_MODE_DESKBAR));
 #endif
   border_width = size  26 ? 2 : 1;
   wavelan-size = size;
@@ -613,41 +608,6 @@ wavelan_create_options (XfcePanelPlugin *plugin, t_wavelan 
*wavelan)
 }
 
 static void
-wavelan_orientation_changed (XfcePanelPlugin *plugin,
- GtkOrientation orientation,
- t_wavelan *wavelan)
-{
-wavelan_set_orientation(wavelan, orientation);
-}
-  
-
-static void
-wavelan_size_changed(XfcePanelPlugin *plugin,
- int size,
- t_wavelan *wavelan)
-{
-wavelan_set_size(wavelan, size);
-}
-
-static void 
-wavelan_free_data (XfcePanelPlugin *plugin, t_wavelan *wavelan)
-{
-  wavelan_free(wavelan);
-}
-
-void
-wavelan_save (XfcePanelPlugin *plugin, t_wavelan *wavelan)
-{
-  wavelan_write_config(plugin, wavelan);
-}
-
-static void
-wavelan_configure (XfcePanelPlugin *plugin, t_wavelan *wavelan)
-{
-wavelan_create_options(plugin, wavelan);
-}
-
-static void
 wavelan_show_about (XfcePanelPlugin *plugin, t_wavelan *wavelan)
 {
GdkPixbuf *icon;
@@ -677,24 +637,21 @@ wavelan_construct (XfcePanelPlugin *plugin)
 
   xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, UTF-8);
 
-/*  g_signal_connect (plugin, screen-position-changed,
-G_CALLBACK (wavelan_screen_position_changed), wavelan);
-*/
   g_signal_connect (plugin, orientation-changed

[Xfce4-commits] xfce4-wavelan-plugin:master use xfce_panel_image_set_size()

2012-06-17 Thread Landry Breuil
Updating branch refs/heads/master
 to b26808c146b2c784c6bb847a6c391a50a33a7cd5 (commit)
   from 9f2c3ccbe58e615d9e600102ef0315e1e901beff (commit)

commit b26808c146b2c784c6bb847a6c391a50a33a7cd5
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jun 17 22:01:04 2012 +0200

use xfce_panel_image_set_size()

 panel-plugin/wavelan.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 006bbd2..1699508 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -428,7 +428,7 @@ wavelan_set_size(XfcePanelPlugin* plugin, int size, 
t_wavelan *wavelan)
   border_width = size  26 ? 2 : 1;
   wavelan-size = size;
   image_size = wavelan-size - (2 * border_width);
-  gtk_widget_set_size_request(GTK_WIDGET(wavelan-image), image_size, 
image_size);
+  xfce_panel_image_set_size(XFCE_PANEL_IMAGE(wavelan-image), image_size);
   gtk_container_set_border_width(GTK_CONTAINER(wavelan-box), border_width);
   if (wavelan-orientation == GTK_ORIENTATION_HORIZONTAL)
gtk_widget_set_size_request(wavelan-ebox, -1, wavelan-size);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-battery-plugin:master Better compliance with the panel plugin HIG

2012-06-17 Thread Landry Breuil
Updating branch refs/heads/master
 to d1054786423de9fa1a203da75c709a07dadd326d (commit)
   from f4292629f9faba63ad018b3e3baf4effe6ac5cba (commit)

commit d1054786423de9fa1a203da75c709a07dadd326d
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jun 17 22:10:50 2012 +0200

Better compliance with the panel plugin HIG

- compute border_size and image size depending on panel size
- fix progressbar sizing

 panel-plugin/battery.c |   10 ++
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 49fd16b..f77ba92 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -985,9 +985,11 @@ battmon_write_config(XfcePanelPlugin *plugin, t_battmon 
*battmon)
 static gboolean
 battmon_set_size(XfcePanelPlugin *plugin, int size, t_battmon *battmon)
 {
+int border_width;
 #ifdef HAS_PANEL_49
 size /= xfce_panel_plugin_get_nrows (battmon-plugin);
 #endif
+border_width = size  26 ? 2 : 1;
 DBG(set_size(%d), size);
 if (xfce_panel_plugin_get_orientation(plugin) == 
GTK_ORIENTATION_HORIZONTAL)
 {
@@ -996,7 +998,7 @@ battmon_set_size(XfcePanelPlugin *plugin, int size, 
t_battmon *battmon)
 -1, size);
 /* size of the progressbar */
 gtk_widget_set_size_request(GTK_WIDGET(battmon-battstatus),
-BORDER, size - BORDER);
+8, -1);
 }
 else
 {
@@ -1005,12 +1007,12 @@ battmon_set_size(XfcePanelPlugin *plugin, int size, 
t_battmon *battmon)
 size, -1);
 /* size of the progressbar */
 gtk_widget_set_size_request(GTK_WIDGET(battmon-battstatus),
-size - BORDER, BORDER);
+-1, 8);
 }
 
-gtk_container_set_border_width (GTK_CONTAINER (battmon-ebox), (size  26 
? BORDER - 2 : 0));
+gtk_container_set_border_width (GTK_CONTAINER (battmon-ebox), 
border_width);
 /* update the icon */
-xfce_panel_image_set_size(XFCE_PANEL_IMAGE(battmon-image), size);
+xfce_panel_image_set_size(XFCE_PANEL_IMAGE(battmon-image), size - (2 * 
border_width));
 return TRUE;
 }
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-battery-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-battery-plugin

2012-06-17 Thread Landry Breuil
Updating branch refs/heads/master
 to 013b96b84185c4f63773c99b3146ddb20ad07e3e (commit)
   from d1054786423de9fa1a203da75c709a07dadd326d (commit)

commit 013b96b84185c4f63773c99b3146ddb20ad07e3e
Merge: d105478 8e541a8
Author: Landry Breuil lan...@xfce.org
Date:   Sun Jun 17 22:11:30 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-battery-plugin

commit 8e541a8e468fadcc5d607ed7149f1641370cbb66
Author: Rafael Ferreira rafael.f...@gmail.com
Date:   Sun Jun 17 05:53:19 2012 +0200

l10n: Updated Portuguese (Brazilian) (pt_BR) translation to 100%

New status: 43 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit a1315112a41539045fd88255c03770061501774c
Author: Andhika Padmawan andhika.padma...@gmail.com
Date:   Mon Jun 11 11:56:24 2012 +0200

l10n: Updated Indonesian (id) translation to 100%

New status: 43 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 8a737aecc6a663b07059d58d104e55c1a4726bbd
Author: Gheyret Kenji ghey...@yahoo.com
Date:   Fri Jun 1 06:01:48 2012 +0200

l10n: Updated Uyghur (ug) translation to 79%

New status: 34 messages complete with 0 fuzzies and 9 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/id.po|  120 ++-
 po/pt_BR.po |  149 ---
 po/ug.po|   45 +++---
 3 files changed, 145 insertions(+), 169 deletions(-)

diff --git a/po/id.po b/po/id.po
index 62a4533..78154e6 100644
--- a/po/id.po
+++ b/po/id.po
@@ -2,53 +2,53 @@
 # Copyright (C) 2006-2007 The Xfce development team.
 # This file is distributed under the same license as the xfce4-battery-plugin 
package.
 # Andhika Padmawan andhika.padma...@gmail.com, 2008.
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: xfce4-battery-plugin 0.5.0\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-04-23 17:18+0200\n
+POT-Creation-Date: 2012-06-11 05:39+\n
 PO-Revision-Date: 2008-06-19 08:55+0700\n
 Last-Translator: Andhika Padmawan andhika.padma...@gmail.com\n
 Language-Team: Indonesian i...@li.org\n
-Language: id\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=utf-8\n
 Content-Transfer-Encoding: 8bit\n
+Language: id\n
 
-#: ../panel-plugin/battery.c:551
+#: ../panel-plugin/battery.c:536
 msgid (No battery, AC on-line)
 msgstr (Tak ada baterai, tersambung AC)
 
-#: ../panel-plugin/battery.c:553
+#: ../panel-plugin/battery.c:538
 msgid (Charging from AC)
 msgstr (Mengisi dari AC)
 
-#: ../panel-plugin/battery.c:553
+#: ../panel-plugin/battery.c:538
 msgid (AC on-line)
 msgstr (Terhubung dengan AC)
 
-#: ../panel-plugin/battery.c:563
+#: ../panel-plugin/battery.c:548
 #, c-format
 msgid %d%% (%02d:%02d) remaining
 msgstr %d%% (%02d:%02d) lagi
 
-#: ../panel-plugin/battery.c:565
+#: ../panel-plugin/battery.c:550
 #, c-format
 msgid %02d:%02d remaining
 msgstr %02d:%02d lagi
 
-#: ../panel-plugin/battery.c:567
+#: ../panel-plugin/battery.c:552
 #, c-format
 msgid %d%% remaining
 msgstr %d%% lagi
 
-#: ../panel-plugin/battery.c:569
+#: ../panel-plugin/battery.c:554
 #, c-format
 msgid AC off-line
 msgstr AC terputus
 
-#: ../panel-plugin/battery.c:637
+#: ../panel-plugin/battery.c:624
 msgid 
 WARNING: Your battery has reached critical status. You should plug in or 
 shutdown your computer now to avoid possible data loss.
@@ -57,7 +57,7 @@ msgstr 
 mencolokkan listrik atau mematikan komputer anda sekarang untuk menghindari 
 kemungkinan hilangnya data.
 
-#: ../panel-plugin/battery.c:655
+#: ../panel-plugin/battery.c:642
 msgid 
 WARNING: Your battery is running low. You should consider plugging in or 
 shutting down your computer soon to avoid possible data loss.
@@ -66,145 +66,139 @@ msgstr 
 mematikan komputer anda sesegera mungkin untuk menghindari kemungkinan 
 hilangnya data.
 
-#: ../panel-plugin/battery.c:709
+#: ../panel-plugin/battery.c:678
 msgid Battery
 msgstr Baterai
 
-#: ../panel-plugin/battery.c:1285
+#: ../panel-plugin/battery.c:1205
 msgid Select file
 msgstr Pilih berkas
 
-#: ../panel-plugin/battery.c:1326
+#: ../panel-plugin/battery.c:1246
 msgid Select command
 msgstr Pilih perintah
 
-#: ../panel-plugin/battery.c:1341
-#, fuzzy
+#: ../panel-plugin/battery.c:1261
 msgid Select color
-msgstr Pilih berkas
+msgstr Pilih warna
 
-#: ../panel-plugin/battery.c:1383
+#: ../panel-plugin/battery.c:1303
 #, c-format
 msgid Unable to open the following url: %s
 msgstr Tak dapat membuka url berikut: %s
 
-#: ../panel-plugin/battery.c:1408 ../panel-plugin/battery.desktop.in.h:1
+#: ../panel-plugin/battery.c:1328 ../panel-plugin/battery.desktop.in.h:1
 msgid Battery Monitor
 msgstr Monitor Baterai
 
-#: ../panel-plugin/battery.c:1415
+#: ../panel-plugin/battery.c:1335
 msgid Properties
-msgstr 
+msgstr Properti
 
-#: ../panel-plugin/battery.c:1441
+#: ../panel

[Xfce4-commits] xfce4-mpc-plugin:master fix error in fr translation. Outputs here was meant as Sorties, not Resultats. Translators, get some context please..

2012-05-30 Thread Landry Breuil
Updating branch refs/heads/master
 to 01681240454d90363a87c3f605209034d19bbe3c (commit)
   from d2e42873e67087bd5e76bdb5c2d89df11c8b4f84 (commit)

commit 01681240454d90363a87c3f605209034d19bbe3c
Author: Landry Breuil lan...@xfce.org
Date:   Wed May 30 09:56:56 2012 +0200

fix error in fr translation. Outputs here was meant as Sorties, not 
Resultats. Translators, get some context please..

 po/fr.po |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/po/fr.po b/po/fr.po
index 890fc36..0b155b2 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -103,7 +103,7 @@ msgstr biCommandes/i/b
 
 #: ../panel-plugin/xfce4-mpc-plugin.c:756
 msgid biOutputs/i/b
-msgstr biRésultats/i/b
+msgstr biSorties/i/b
 
 #: ../panel-plugin/xfce4-mpc-plugin.c:779
 msgid A simple panel-plugin client for Music Player Daemon
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-fsguard-plugin:master Fix look on transparent/colored panels. set small property to TRUE.

2012-05-28 Thread Landry Breuil
Updating branch refs/heads/master
 to be1273b1320cb95969b3159d8d24ce1cb7c2c907 (commit)
   from 7ddfa1ccfa7bd4e869e838c752bf5a8733cf8a61 (commit)

commit be1273b1320cb95969b3159d8d24ce1cb7c2c907
Author: Landry Breuil lan...@xfce.org
Date:   Mon May 28 14:48:55 2012 +0200

Fix look on transparent/colored panels. set small property to TRUE.

 panel-plugin/fsguard.c |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/fsguard.c b/panel-plugin/fsguard.c
index 883838c..2654eb7 100644
--- a/panel-plugin/fsguard.c
+++ b/panel-plugin/fsguard.c
@@ -406,6 +406,8 @@ fsguard_new (XfcePanelPlugin *plugin)
 tooltips = gtk_tooltips_new ();
 
 fsguard-ebox = gtk_event_box_new();
+gtk_event_box_set_visible_window(GTK_EVENT_BOX(fsguard-ebox), FALSE);
+gtk_event_box_set_above_child(GTK_EVENT_BOX(fsguard-ebox), TRUE);
 
 GtkOrientation orientation = xfce_panel_plugin_get_orientation (plugin);
 fsguard-box =
@@ -792,6 +794,7 @@ fsguard_construct (XfcePanelPlugin *plugin)
   mode-changed,
   G_CALLBACK (fsguard_set_mode),
   fsguard);
+xfce_panel_plugin_set_small (plugin, TRUE);
 #else
 g_signal_connect (plugin,
   orientation-changed,
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-battery-plugin:master Don't set labels orientation on 4.8 panels (Bug #8961)

2012-05-28 Thread Landry Breuil
Updating branch refs/heads/master
 to 7a5c18a7616944c38bd971c6a76dd93ad343ce07 (commit)
   from fd70a6269eaa3528af0fcacd86b785091bbb0887 (commit)

commit 7a5c18a7616944c38bd971c6a76dd93ad343ce07
Author: Landry Breuil lan...@xfce.org
Date:   Mon May 28 14:58:44 2012 +0200

Don't set labels orientation on 4.8 panels (Bug #8961)

 panel-plugin/battery.c |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 4168f26..49fd16b 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -800,7 +800,6 @@ battmon_set_orientation (XfcePanelPlugin *plugin, 
GtkOrientation orientation,
 xfce_hvbox_set_orientation(XFCE_HVBOX(battmon-actempbox), !orientation);
 gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(battmon-battstatus),
(orientation == GTK_ORIENTATION_HORIZONTAL ? 
GTK_PROGRESS_BOTTOM_TO_TOP : GTK_PROGRESS_LEFT_TO_RIGHT));
-battmon_set_labels_orientation(battmon, orientation);
 battmon_set_size(plugin, xfce_panel_plugin_get_size (plugin), battmon);
 update_apm_status( battmon );
 battmon-timeoutid = g_timeout_add(1 * 1024, (GSourceFunc) 
update_apm_status, battmon);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-battery-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-battery-plugin

2012-05-28 Thread Landry Breuil
Updating branch refs/heads/master
 to f4292629f9faba63ad018b3e3baf4effe6ac5cba (commit)
   from 7a5c18a7616944c38bd971c6a76dd93ad343ce07 (commit)

commit f4292629f9faba63ad018b3e3baf4effe6ac5cba
Merge: 7a5c18a 1fa4e5e
Author: Landry Breuil lan...@xfce.org
Date:   Mon May 28 14:59:28 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-battery-plugin

commit 1fa4e5e33162d91eaf5380318a5ad7c2c0a09beb
Author: Roman K mrdoctor...@gmail.com
Date:   Sun May 27 10:32:59 2012 +0200

l10n: Updated Russian (ru) translation to 93%

New status: 40 messages complete with 2 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/ru.po |  116 ++
 1 files changed, 56 insertions(+), 60 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index 090f304..50d6378 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -1,52 +1,52 @@
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: xfce4-battery-plugin\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-04-23 17:18+0200\n
+POT-Creation-Date: 2012-05-27 07:12+\n
 PO-Revision-Date: \n
 Last-Translator: Urmas dwqwt3...@sneakemail.com\n
 Language-Team: None -\n
-Language: \n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bit\n
+Language: \n
 X-Poedit-Language: Russian\n
 X-Poedit-Country: RUSSIAN FEDERATION\n
 
-#: ../panel-plugin/battery.c:551
+#: ../panel-plugin/battery.c:536
 msgid (No battery, AC on-line)
 msgstr (Нет батареи, работа от сети)
 
-#: ../panel-plugin/battery.c:553
+#: ../panel-plugin/battery.c:538
 msgid (Charging from AC)
 msgstr (Зарядка от сети)
 
-#: ../panel-plugin/battery.c:553
+#: ../panel-plugin/battery.c:538
 msgid (AC on-line)
 msgstr (От сети)
 
-#: ../panel-plugin/battery.c:563
+#: ../panel-plugin/battery.c:548
 #, c-format
 msgid %d%% (%02d:%02d) remaining
 msgstr Осталось %d%% (%02d:%02d)
 
-#: ../panel-plugin/battery.c:565
+#: ../panel-plugin/battery.c:550
 #, c-format
 msgid %02d:%02d remaining
 msgstr Осталось %02d:%02d
 
-#: ../panel-plugin/battery.c:567
+#: ../panel-plugin/battery.c:552
 #, c-format
 msgid %d%% remaining
 msgstr Осталось %d%%
 
-#: ../panel-plugin/battery.c:569
+#: ../panel-plugin/battery.c:554
 #, c-format
 msgid AC off-line
 msgstr Отключен
 
-#: ../panel-plugin/battery.c:637
+#: ../panel-plugin/battery.c:624
 msgid 
 WARNING: Your battery has reached critical status. You should plug in or 
 shutdown your computer now to avoid possible data loss.
@@ -55,7 +55,7 @@ msgstr 
 Подключитесь к электросети или выключите компьютер во избежание потери 
 данных.
 
-#: ../panel-plugin/battery.c:655
+#: ../panel-plugin/battery.c:642
 msgid 
 WARNING: Your battery is running low. You should consider plugging in or 
 shutting down your computer soon to avoid possible data loss.
@@ -63,145 +63,141 @@ msgstr 
 ВНИМАНИЕ: Ваша батарея разрядилась. Скоро вам потребуется подключиться к 
 электросети или выключить компьютер во избежание потери данных.
 
-#: ../panel-plugin/battery.c:709
+#: ../panel-plugin/battery.c:678
 msgid Battery
 msgstr Батарея
 
-#: ../panel-plugin/battery.c:1285
+#: ../panel-plugin/battery.c:1206
 msgid Select file
 msgstr Выбор файла
 
-#: ../panel-plugin/battery.c:1326
+#: ../panel-plugin/battery.c:1247
 msgid Select command
 msgstr Выбор команды
 
-#: ../panel-plugin/battery.c:1341
-#, fuzzy
+#: ../panel-plugin/battery.c:1262
 msgid Select color
-msgstr Выбор файла
+msgstr Выберите цвет
 
-#: ../panel-plugin/battery.c:1383
+#: ../panel-plugin/battery.c:1304
 #, c-format
 msgid Unable to open the following url: %s
 msgstr Не удалось открыть адрес: %s
 
-#: ../panel-plugin/battery.c:1408 ../panel-plugin/battery.desktop.in.h:1
+#: ../panel-plugin/battery.c:1329 ../panel-plugin/battery.desktop.in.h:1
 msgid Battery Monitor
 msgstr Индикатор батареи
 
-#: ../panel-plugin/battery.c:1415
+#: ../panel-plugin/battery.c:1336
 msgid Properties
-msgstr 
+msgstr Свойства
 
-#: ../panel-plugin/battery.c:1441
+#: ../panel-plugin/battery.c:1362
 msgid On AC:
-msgstr 
+msgstr При питании от зарядного устройства:
 
-#: ../panel-plugin/battery.c:1458
-#, fuzzy
+#: ../panel-plugin/battery.c:1379
 msgid Battery high:
-msgstr Батарея
+msgstr Высокий заряд батареи:
 
-#: ../panel-plugin/battery.c:1475
-#, fuzzy
+#: ../panel-plugin/battery.c:1396
 msgid Battery low:
-msgstr Батарея
+msgstr Низкий заряд батареи:
 
-#: ../panel-plugin/battery.c:1492
-#, fuzzy
+#: ../panel-plugin/battery.c:1413
 msgid Battery critical:
-msgstr Индикатор батареи
+msgstr Критический заряд батареи:
 
-#: ../panel-plugin/battery.c:1506
+#: ../panel-plugin/battery.c:1427
 msgid Bar _colors
 msgstr 
 
-#: ../panel-plugin/battery.c:1520
+#: ../panel-plugin/battery.c:1441
 msgid Low percentage:
 msgstr Уровень низкого заряда:
 
-#: ../panel-plugin/battery.c:1533
+#: ../panel-plugin/battery.c:1454
 msgid Low battery action:
 msgstr Действие при низком заряде:
 
-#: ../panel-plugin/battery.c:1539

[Xfce4-commits] xfce4-battery-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-battery-plugin

2012-05-26 Thread Landry Breuil
Updating branch refs/heads/master
 to a2078327512fe9a5797ac3b9168dfd252f0a201d (commit)
   from 69993c34ee3aecd57179b128e09fd633b2055508 (commit)

commit a2078327512fe9a5797ac3b9168dfd252f0a201d
Merge: 69993c3 0564c22
Author: Landry Breuil lan...@xfce.org
Date:   Sat May 26 08:16:03 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-battery-plugin

commit 0564c22ff643eba86df0a123bca7bc4f1fe59481
Author: Efstathios Iosifidis iefstath...@gmail.com
Date:   Sun May 20 10:45:30 2012 +0200

l10n: Updated Greek (el) translation to 100%

New status: 43 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/el.po |  127 ++---
 1 files changed, 62 insertions(+), 65 deletions(-)

diff --git a/po/el.po b/po/el.po
index 62206ed..1741e7c 100644
--- a/po/el.po
+++ b/po/el.po
@@ -3,53 +3,56 @@
 # This file is distributed under the same license as the PACKAGE package.
 #
 # Evaggelos Balaskas ebalas...@ebalaskas.gr, 2008.
+# Efstathios Iosifidis iosifi...@opensuse.org, 2012.
+#
 msgid 
 msgstr 
 Project-Id-Version: el\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-04-23 17:18+0200\n
-PO-Revision-Date: 2008-03-24 18:38+0200\n
-Last-Translator: Evaggelos Balaskas ebalas...@ebalaskas.gr\n
-Language-Team: Greek n...@tux.hellug.gr\n
+POT-Creation-Date: 2012-05-19 22:39+\n
+PO-Revision-Date: 2012-05-20 11:44+0300\n
+Last-Translator: Efstathios Iosifidis iosifi...@opensuse.org\n
+Language-Team: Ελληνικά, Σύγχρονα opensuse-translation...@opensuse.org\n
 Language: el\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
-Content-Transfer-Encoding: 8bit\n
+Content-Transfer-Encoding: 8bits\n
 X-Generator: KBabel 1.11.4\n
+Plural-Forms: nplurals=2; plural=(n!=1);\n
 
-#: ../panel-plugin/battery.c:551
+#: ../panel-plugin/battery.c:530
 msgid (No battery, AC on-line)
 msgstr (Χωρίς μπαταρία, AC στην πρίζα)
 
-#: ../panel-plugin/battery.c:553
+#: ../panel-plugin/battery.c:532
 msgid (Charging from AC)
 msgstr (Φόρτωση από το AC)
 
-#: ../panel-plugin/battery.c:553
+#: ../panel-plugin/battery.c:532
 msgid (AC on-line)
 msgstr (AC στην πρίζα)
 
-#: ../panel-plugin/battery.c:563
+#: ../panel-plugin/battery.c:542
 #, c-format
 msgid %d%% (%02d:%02d) remaining
 msgstr %d%% (%02d:%02d) απομένει
 
-#: ../panel-plugin/battery.c:565
+#: ../panel-plugin/battery.c:544
 #, c-format
 msgid %02d:%02d remaining
 msgstr %02d:%02d απομένει
 
-#: ../panel-plugin/battery.c:567
+#: ../panel-plugin/battery.c:546
 #, c-format
 msgid %d%% remaining
 msgstr %d%% απομένει
 
-#: ../panel-plugin/battery.c:569
+#: ../panel-plugin/battery.c:548
 #, c-format
 msgid AC off-line
 msgstr AC εκτός πρίζας
 
-#: ../panel-plugin/battery.c:637
+#: ../panel-plugin/battery.c:616
 msgid 
 WARNING: Your battery has reached critical status. You should plug in or 
 shutdown your computer now to avoid possible data loss.
@@ -58,7 +61,7 @@ msgstr 
 μπει στην πρίζα ή να κλείσετε τον υπολογιστή τώρα ώστε να αποφύγετε απώλεια 
 δεδομένων.
 
-#: ../panel-plugin/battery.c:655
+#: ../panel-plugin/battery.c:634
 msgid 
 WARNING: Your battery is running low. You should consider plugging in or 
 shutting down your computer soon to avoid possible data loss.
@@ -67,145 +70,139 @@ msgstr 
 είτε να βάλετε στην πρίζα είτε να κλείσετε τον υπολογιστή σας σύντομα ώστε 
 να αποφύγετε πιθανή απώλεια δεδομένων.
 
-#: ../panel-plugin/battery.c:709
+#: ../panel-plugin/battery.c:669
 msgid Battery
 msgstr Μπαταρία
 
-#: ../panel-plugin/battery.c:1285
+#: ../panel-plugin/battery.c:1194
 msgid Select file
 msgstr Επιλογή αρχείου
 
-#: ../panel-plugin/battery.c:1326
+#: ../panel-plugin/battery.c:1235
 msgid Select command
 msgstr Επιλογή εντολής
 
-#: ../panel-plugin/battery.c:1341
-#, fuzzy
+#: ../panel-plugin/battery.c:1250
 msgid Select color
-msgstr Επιλογή αρχείου
+msgstr Επιλογή χρώματος
 
-#: ../panel-plugin/battery.c:1383
+#: ../panel-plugin/battery.c:1292
 #, c-format
 msgid Unable to open the following url: %s
 msgstr Δεν ήταν δυνατή η πρόσβαση στο εξής url: %s
 
-#: ../panel-plugin/battery.c:1408 ../panel-plugin/battery.desktop.in.h:1
+#: ../panel-plugin/battery.c:1317 ../panel-plugin/battery.desktop.in.h:1
 msgid Battery Monitor
 msgstr Παρακολούθηση μπαταρίας
 
-#: ../panel-plugin/battery.c:1415
+#: ../panel-plugin/battery.c:1324
 msgid Properties
-msgstr 
+msgstr Ιδιότητες
 
-#: ../panel-plugin/battery.c:1441
+#: ../panel-plugin/battery.c:1350
 msgid On AC:
-msgstr 
+msgstr Σε τροφοδοσία AC:
 
-#: ../panel-plugin/battery.c:1458
-#, fuzzy
+#: ../panel-plugin/battery.c:1367
 msgid Battery high:
-msgstr Μπαταρία
+msgstr Μπαταρία υψηλή:
 
-#: ../panel-plugin/battery.c:1475
-#, fuzzy
+#: ../panel-plugin/battery.c:1384
 msgid Battery low:
-msgstr Μπαταρία
+msgstr Μπαταρία χαμηλή:
 
-#: ../panel-plugin/battery.c:1492
-#, fuzzy
+#: ../panel-plugin/battery.c:1401
 msgid Battery critical:
-msgstr Παρακολούθηση

[Xfce4-commits] xfce4-battery-plugin:master Improve battery UI (again..) wrt HIGs..

2012-05-26 Thread Landry Breuil
Updating branch refs/heads/master
 to fd70a6269eaa3528af0fcacd86b785091bbb0887 (commit)
   from a2078327512fe9a5797ac3b9168dfd252f0a201d (commit)

commit fd70a6269eaa3528af0fcacd86b785091bbb0887
Author: Landry Breuil lan...@xfce.org
Date:   Sat May 26 09:38:34 2012 +0200

Improve battery UI (again..) wrt HIGs..

- pack labels/alignments with a 2px spacing
- properly hide/show aligments/containers with their childs so that
 space is not wasted when hiding time/perc/source (aligment/box was
still displayed)
- improve progressbar sizing to be more inline wrt netload/systemload
- set border width to 4 like its more or less done in netload/systemload
(one does BORDER - 2 with BORDER = 6, the other does BORDER / 2 with BORDER 
= 8..)

Still not perfect, but at least there's a bit more consistency.
This is an insane spaghetti code..

 panel-plugin/battery.c |   38 --
 1 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index e529026..4168f26 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -95,6 +95,7 @@ typedef struct
 XfcePanelPlugin *plugin;
 
 GtkWidget*ebox, *timechargebox, *actempbox;
+GtkWidget*timechargealignment, *actempalignment;
 GtkWidget*battstatus;
 inttimeoutid;/* To update apm status */
 intmethod;
@@ -508,6 +509,7 @@ battmon.c:241: for each function it appears in.)
 
 if(battmon-options.display_percentage  charge  0  
!(battmon-options.hide_when_full  acline  charge = 99)){
 gtk_widget_show(GTK_WIDGET(battmon-charge));
+gtk_widget_show(GTK_WIDGET(battmon-timechargealignment));
 g_snprintf(buffer, sizeof(buffer),%d%% , charge);
 gtk_label_set_text(battmon-charge,buffer);
 } else {
@@ -516,12 +518,16 @@ battmon.c:241: for each function it appears in.)
 
 if (battmon-options.display_time  time_remaining  0  
!(battmon-options.hide_when_full  acline  charge = 99 )){
 gtk_widget_show(GTK_WIDGET(battmon-rtime));
+gtk_widget_show(GTK_WIDGET(battmon-timechargealignment));
 g_snprintf(buffer, sizeof(buffer),%02d:%02d 
,time_remaining/60,time_remaining%60);
 gtk_label_set_text(battmon-rtime,buffer);
 
 } else {
 gtk_widget_hide(GTK_WIDGET(battmon-rtime));
 }
+if ((!battmon-options.display_time  
!battmon-options.display_percentage) || (battmon-options.hide_when_full  
acline  charge = 99 )) {
+gtk_widget_hide(GTK_WIDGET(battmon-timechargealignment));
+}
 
 
 if(acline) {
@@ -553,6 +559,7 @@ battmon.c:241: for each function it appears in.)
 if(battmon-options.display_power){
   gtk_widget_show(GTK_WIDGET(battmon-acfan));
   gtk_widget_show(GTK_WIDGET(battmon-temp));
+  gtk_widget_show_all(GTK_WIDGET(battmon-actempalignment));
 
   fan=get_fan_status();
   if(acline  fan)
@@ -577,6 +584,7 @@ battmon.c:241: for each function it appears in.)
 } else {
   gtk_widget_hide(GTK_WIDGET(battmon-acfan));
   gtk_widget_hide(GTK_WIDGET(battmon-temp));
+  gtk_widget_hide(GTK_WIDGET(battmon-actempalignment));
 }
 
 gtk_progress_bar_set_text(GTK_PROGRESS_BAR(battmon-battstatus), NULL);
@@ -651,7 +659,6 @@ do_low_warn:
 
 static void setup_battmon(t_battmon *battmon)
 {
-GtkWidget *alignment;
 GdkPixbuf *icon;
 gint size;
 
@@ -669,7 +676,7 @@ static void setup_battmon(t_battmon *battmon)
(xfce_panel_plugin_get_orientation(battmon-plugin) == 
GTK_ORIENTATION_HORIZONTAL ? GTK_PROGRESS_BOTTOM_TO_TOP : 
GTK_PROGRESS_LEFT_TO_RIGHT));
 
 battmon-label = (GtkLabel *)gtk_label_new(_(Battery));
-
gtk_box_pack_start(GTK_BOX(battmon-ebox),GTK_WIDGET(battmon-label),FALSE, 
FALSE, 0);
+
gtk_box_pack_start(GTK_BOX(battmon-ebox),GTK_WIDGET(battmon-label),FALSE, 
FALSE, 2);
 
 battmon-image = xfce_panel_image_new_from_source(xfce4-battery-plugin);
 xfce_panel_image_set_size(XFCE_PANEL_IMAGE(battmon-image), size);
@@ -684,23 +691,23 @@ static void setup_battmon(t_battmon *battmon)
 /* create the label hvbox with an orientation opposite to the panel */
 battmon-timechargebox = 
xfce_hvbox_new(!xfce_panel_plugin_get_orientation(battmon-plugin), FALSE, 0);
 
-alignment = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
-gtk_container_add (GTK_CONTAINER(alignment), battmon-timechargebox);
-gtk_box_pack_start(GTK_BOX(battmon-ebox), alignment, FALSE, FALSE, 0);
+battmon-timechargealignment = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
+gtk_container_add (GTK_CONTAINER(battmon-timechargealignment), 
battmon-timechargebox);
+gtk_box_pack_start(GTK_BOX(battmon-ebox), battmon-timechargealignment, 
FALSE, FALSE, 2);
 
 battmon-charge = (GtkLabel *)gtk_label_new(50%%);
-
gtk_box_pack_start(GTK_BOX(battmon-timechargebox),GTK_WIDGET(battmon-charge),TRUE,
 TRUE, 2

[Xfce4-commits] xfce4-systemload-plugin:master Set plugin to small in all modes except deskbar modes (bug # 8944).

2012-05-25 Thread Landry Breuil
Updating branch refs/heads/master
 to 18a7cc8266a7e0c8ca87a19a96388d34d671be4f (commit)
   from 6496dd0a8f90e60bdb953e003d4062a9d87b9434 (commit)

commit 18a7cc8266a7e0c8ca87a19a96388d34d671be4f
Author: Harald Judt h.j...@gmx.at
Date:   Thu May 24 20:23:01 2012 +0200

Set plugin to small in all modes except deskbar modes (bug # 8944).

Signed-off-by: Landry Breuil lan...@xfce.org

 panel-plugin/systemload.c |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index a35f1a8..183d29b 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -652,6 +652,12 @@ monitor_set_mode (XfcePanelPlugin *plugin, 
XfcePanelPluginMode mode,
   GtkOrientation orientation = (mode == XFCE_PANEL_PLUGIN_MODE_VERTICAL) ?
 GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL;
 
+  /* Set small in all modes except deskbar mode */
+  if (mode == XFCE_PANEL_PLUGIN_MODE_DESKBAR)
+  xfce_panel_plugin_set_small(XFCE_PANEL_PLUGIN(plugin), FALSE);
+  else
+  xfce_panel_plugin_set_small(XFCE_PANEL_PLUGIN(plugin), TRUE);
+
   monitor_update_orientation (plugin, panel_orientation, orientation, global);
   monitor_set_size (plugin, xfce_panel_plugin_get_size (plugin), global);
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-systemload-plugin:master pack the monitor labels with a 2px spacing

2012-05-25 Thread Landry Breuil
Updating branch refs/heads/master
 to d1ab0cb3acbd884f2a7f7c3ebb6815d0062b1c7f (commit)
   from 18a7cc8266a7e0c8ca87a19a96388d34d671be4f (commit)

commit d1ab0cb3acbd884f2a7f7c3ebb6815d0062b1c7f
Author: Landry Breuil lan...@xfce.org
Date:   Fri May 25 21:52:11 2012 +0200

pack the monitor labels with a 2px spacing

 panel-plugin/systemload.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 183d29b..337a36c 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -276,7 +276,7 @@ monitor_update_orientation (XfcePanelPlugin  *plugin,
 
 gtk_box_pack_start(GTK_BOX(global-monitor[count]-box),
GTK_WIDGET(global-monitor[count]-label),
-   FALSE, FALSE, 0);
+   FALSE, FALSE, 2);
 
 global-monitor[count]-ebox = gtk_event_box_new();
 gtk_widget_show(global-monitor[count]-ebox);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-systemload-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-systemload-plugin

2012-05-25 Thread Landry Breuil
Updating branch refs/heads/master
 to b49dbbfae4e5b6a4be6d93cc0c785580cabb0169 (commit)
   from d1ab0cb3acbd884f2a7f7c3ebb6815d0062b1c7f (commit)

commit b49dbbfae4e5b6a4be6d93cc0c785580cabb0169
Merge: d1ab0cb 7ab21c8
Author: Landry Breuil lan...@xfce.org
Date:   Fri May 25 21:52:50 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-systemload-plugin

commit 7ab21c8a0cf6a0d689331802792541b815038c68
Author: Piotr Sokół pso...@jabster.pl
Date:   Thu May 24 21:46:15 2012 +0200

l10n: Updated Polish (pl) translation to 95%

New status: 21 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 1ec9a81eb5b74f601e9283ad9251ec3d35be0283
Author: Efstathios Iosifidis iefstath...@gmail.com
Date:   Sun May 20 10:14:11 2012 +0200

l10n: Updated Greek (el) translation to 100%

New status: 22 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/el.po |   74 ++--
 po/pl.po |   96 +
 2 files changed, 92 insertions(+), 78 deletions(-)

diff --git a/po/el.po b/po/el.po
index 69ae750..9a7394b 100644
--- a/po/el.po
+++ b/po/el.po
@@ -1,17 +1,19 @@
 #
+# Efstathios Iosifidis iosifi...@opensuse.org, 2012.
+#
 msgid 
 msgstr 
 Project-Id-Version: xfce4-systemload-plugin\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-04-18 17:17+0200\n
-PO-Revision-Date: \n
-Last-Translator: George Vasilakos forfol...@linuxteam.cs.teilar.gr\n
-Language-Team: Greek n...@tux.hellug.gr\n
+POT-Creation-Date: 2012-05-20 00:42+\n
+PO-Revision-Date: 2012-05-20 11:13+0300\n
+Last-Translator: Efstathios Iosifidis iosifi...@opensuse.org\n
+Language-Team: Ελληνικά, Σύγχρονα opensuse-translation...@opensuse.org\n
 Language: el\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
-Content-Transfer-Encoding: 8bit\n
-Plural-Forms: nplurals=2; plural=(n != 1);\n
+Content-Transfer-Encoding: 8bits\n
+Plural-Forms: nplurals=2; plural=(n!=1);\n
 X-Poedit-Language: Greek\n
 X-Poedit-Country: GREECE\n
 
@@ -19,97 +21,101 @@ msgstr 
 msgid File /proc/stat not found!
 msgstr Το αρχείο /proc/stat δε βρέθηκε!
 
-#: ../panel-plugin/systemload.c:153
+#: ../panel-plugin/systemload.c:161
 #, c-format
 msgid System Load: %ld%%
 msgstr Φόρτο συστήματος: %ld%%
 
-#: ../panel-plugin/systemload.c:160
+#: ../panel-plugin/systemload.c:168
 #, c-format
 msgid Memory: %ldMB of %ldMB used
 msgstr Μνήμη: %ldMB από %ldMB σε χρήση
 
-#: ../panel-plugin/systemload.c:168
+#: ../panel-plugin/systemload.c:176
 #, c-format
 msgid Swap: %ldMB of %ldMB used
 msgstr Swap: %ldMB από %ldMB σε χρήση
 
-#: ../panel-plugin/systemload.c:171
+#: ../panel-plugin/systemload.c:179
 #, c-format
 msgid No swap
 msgstr Χωρίς swap
 
-#: ../panel-plugin/systemload.c:182
+#: ../panel-plugin/systemload.c:190
 #, c-format
 msgid %d day
 msgid_plural %d days
 msgstr[0] %d μέρα
 msgstr[1] %d μέρες
 
-#: ../panel-plugin/systemload.c:186
+#: ../panel-plugin/systemload.c:194
 #, c-format
 msgid Uptime: %d day %d:%02d
 msgid_plural Uptime: %d days %d:%02d
 msgstr[0] Ενεργός χρόνος: %d μέρα %d:%02d
 msgstr[1] Ενεργός χρόνος: %d μέρες %d:%02d
 
-#: ../panel-plugin/systemload.c:194
-#, fuzzy, c-format
+#: ../panel-plugin/systemload.c:202
+#, c-format
 msgid Uptime: %d:%02d
-msgstr Ενεργός χρόνος: %d μέρα %d:%02d
+msgstr Ενεργός χρόνος: %d:%02d
 
-#: ../panel-plugin/systemload.c:811
+#: ../panel-plugin/systemload.c:862
 msgid CPU monitor
 msgstr Επισκόπηση CPU
 
-#: ../panel-plugin/systemload.c:812
+#: ../panel-plugin/systemload.c:863
 msgid Memory monitor
 msgstr Επισκόπηση Μνήμης
 
-#: ../panel-plugin/systemload.c:813
+#: ../panel-plugin/systemload.c:864
 msgid Swap monitor
 msgstr Επισκόπηση swap
 
-#: ../panel-plugin/systemload.c:814
+#: ../panel-plugin/systemload.c:865
 msgid Uptime monitor
 msgstr Επισκόπηση ενεργού χρόνου
 
-#: ../panel-plugin/systemload.c:819 ../panel-plugin/systemload.desktop.in.h:1
+#: ../panel-plugin/systemload.c:870 ../panel-plugin/systemload.desktop.in.h:2
 msgid System Load Monitor
 msgstr Επισκόπηση φόρτου συστήματος
 
-#: ../panel-plugin/systemload.c:834
+#: ../panel-plugin/systemload.c:885
 msgid General
-msgstr 
+msgstr Γενικά
 
-#: ../panel-plugin/systemload.c:836
+#: ../panel-plugin/systemload.c:887
 msgid Update interval:
-msgstr 
+msgstr Ενημέρωση διαστήματος:
 
-#: ../panel-plugin/systemload.c:836 ../panel-plugin/systemload.c:841
+#: ../panel-plugin/systemload.c:887 ../panel-plugin/systemload.c:892
 msgid s
-msgstr 
+msgstr s
 
-#: ../panel-plugin/systemload.c:841
+#: ../panel-plugin/systemload.c:892
 msgid Power-saving interval:
-msgstr 
+msgstr Διάστημα εξοικομόμησης ενέργειας:
 
-#: ../panel-plugin/systemload.c:855
+#: ../panel-plugin/systemload.c:906
 msgid Text to display:
 msgstr Κείμενο προς εμφάνιση:
 
-#: ../panel-plugin/systemload.c:859
+#: ../panel

[Xfce4-commits] xfce4-diskperf-plugin:master Use double values for progress bars (bug #8882).

2012-05-22 Thread Landry Breuil
Updating branch refs/heads/master
 to 315e54ec286da7a982dbd24f5f0b8f41c7e45e98 (commit)
   from 907c8ec767c2a2b77a83cd5c6f9bdaa80b8d0218 (commit)

commit 315e54ec286da7a982dbd24f5f0b8f41c7e45e98
Author: Harald Judt h.j...@gmx.at
Date:   Mon May 21 23:10:08 2012 +0200

Use double values for progress bars (bug #8882).

Otherwise the progress bars don't show anything unless we're over 100%
(100% busy, or exceeding the configured transfer rate). Thanks to
Peter Tribble for spotting this.

Signed-off-by: Landry Breuil lan...@xfce.org

 panel-plugin/main.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 450b471..6a2d154 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -143,7 +143,7 @@ typedef struct diskperf_t {
 
 static int timerNeedsUpdate = 0;
 
-static void UpdateProgressBars(struct diskperf_t *p_poPlugin, uint64_t rw, 
uint64_t r, uint64_t w) {
+static void UpdateProgressBars(struct diskperf_t *p_poPlugin, double rw, 
double r, double w) {
  /* Update combined or separate progress bars with actual data */
 struct monitor_t *poMonitor = (p_poPlugin-oMonitor);
 struct param_t *poConf = (p_poPlugin-oConf.oParam);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-diskperf-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin

2012-05-22 Thread Landry Breuil
Updating branch refs/heads/master
 to f223428439d5bedfb9950c427b97d759810cfcb5 (commit)
   from 315e54ec286da7a982dbd24f5f0b8f41c7e45e98 (commit)

commit f223428439d5bedfb9950c427b97d759810cfcb5
Merge: 315e54e d09f22e
Author: Landry Breuil lan...@xfce.org
Date:   Tue May 22 09:58:54 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin

commit d09f22ee6f0bea705aae82e4db3764481f38294a
Author: Efstathios Iosifidis iefstath...@gmail.com
Date:   Sun May 20 10:34:53 2012 +0200

l10n: Updated Greek (el) translation to 100%

New status: 38 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/el.po |   36 
 1 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/po/el.po b/po/el.po
index 2fad32f..1b4721c 100644
--- a/po/el.po
+++ b/po/el.po
@@ -3,19 +3,22 @@
 # This file is distributed under the same license as the PACKAGE package.
 #
 # Evaggelos Balaskas ebalas...@ebalaskas.gr, 2008.
+# Efstathios Iosifidis iosifi...@opensuse.org, 2012.
+#
 msgid 
 msgstr 
 Project-Id-Version: el\n
 Report-Msgid-Bugs-To: \n
 POT-Creation-Date: 2012-05-04 16:57+0200\n
-PO-Revision-Date: 2008-04-28 00:16+0300\n
-Last-Translator: Evaggelos Balaskas ebalas...@ebalaskas.gr\n
-Language-Team: Greek n...@tux.hellug.gr\n
+PO-Revision-Date: 2012-05-20 11:34+0300\n
+Last-Translator: Efstathios Iosifidis iosifi...@opensuse.org\n
+Language-Team: Ελληνικά, Σύγχρονα opensuse-translation...@opensuse.org\n
 Language: el\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
-Content-Transfer-Encoding: 8bit\n
+Content-Transfer-Encoding: 8bits\n
 X-Generator: KBabel 1.11.4\n
+Plural-Forms: nplurals=2; plural=(n!=1);\n
 
 #: ../panel-plugin/config_gui.c:101
 msgid Device
@@ -26,9 +29,8 @@ msgid Input the device name, then press Enter
 msgstr Εισαγωγή ονόματος συσκευής, μετά πατήστε Enter
 
 #: ../panel-plugin/config_gui.c:118
-#, fuzzy
 msgid /dev/sda1
-msgstr /dev/hda1
+msgstr /dev/sda1
 
 #: ../panel-plugin/config_gui.c:136
 msgid Data collection period
@@ -63,9 +65,8 @@ msgid I/O transfer
 msgstr Μετάδοση I/O
 
 #: ../panel-plugin/config_gui.c:181
-#, fuzzy
 msgid MiB transferred / second
-msgstr MB μεταφέρθηκαν / δευτερόλεπτα
+msgstr MiB μεταφέρθηκαν / δευτερόλεπτο
 
 #: ../panel-plugin/config_gui.c:187
 msgid Busy time
@@ -76,9 +77,8 @@ msgid Percentage of time the device is busy
 msgstr Ποσοστό του χρόνου που η συσκευή είναι απασχολημένη
 
 #: ../panel-plugin/config_gui.c:202
-#, fuzzy
 msgid Max. I/O rate (MiB/s) 
-msgstr Μέγιστο. I/O ρυθμός (MB/s) 
+msgstr Μέγιστος ρυθμίς I/O (MiB/s) 
 
 #: ../panel-plugin/config_gui.c:213
 msgid Input the maximum I/O transfer rate of the device, then press Enter
@@ -137,7 +137,7 @@ msgstr \Εγγραφή\ οθόνη πρώτα
 #: ../panel-plugin/main.c:180
 #, c-format
 msgid %s: Device statistics unavailable.
-msgstr 
+msgstr %s: Μη διαθέσιμα στατιστικά συσκευής.
 
 #: ../panel-plugin/main.c:219
 #, c-format
@@ -153,6 +153,16 @@ msgid 
   Write : %3d\n
   Total : %3d
 msgstr 
+%s\n
+\n
+I/O(MiB/s)\n
+  Ανάγνωση :%3.2f\n
+  Εγγραφή :%3.2f\n
+  Σύνολο :%3.2f\n
+Χρόνος Απασχόλησης (%c)\n
+  Ανάγνωση : %3d\n
+  Εγγραφή : %3d\n
+  Σύνολο : %3d
 
 #: ../panel-plugin/main.c:823
 msgid Select color
@@ -208,10 +218,12 @@ msgid 
 Diskperf monitor displays instantaneous disk I/O transfer rates and busy 
 times
 msgstr 
+Ο επόπτης Diskperf εμφανίζει στιγμιαία ρυθμο μεταφοράς I/O και χρόνους 
+απασχόλησης του δίσκου
 
 #: ../panel-plugin/main.c:916
 msgid Copyright (c) 2003, 2004 Roger Seguin
-msgstr 
+msgstr Πνευματικά Δικαιώματα (c) 2003, 2004 Roger Seguin
 
 #: ../panel-plugin/main.c:952 ../panel-plugin/diskperf.desktop.in.h:1
 msgid Disk Performance Monitor
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-diskperf-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin

2012-05-18 Thread Landry Breuil
Updating branch refs/heads/master
 to 907c8ec767c2a2b77a83cd5c6f9bdaa80b8d0218 (commit)
   from d663055221aecc5acfed38612b32d7deeb885e12 (commit)

commit 907c8ec767c2a2b77a83cd5c6f9bdaa80b8d0218
Merge: d663055 1d850ee
Author: Landry Breuil lan...@xfce.org
Date:   Fri May 18 11:08:14 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin

commit 1d850ee493041e05ac31bc710e1b6570eb695722
Author: Masato Hashimoto hash...@xfce.org
Date:   Thu May 17 14:01:41 2012 +0200

l10n: Updated Japanese (ja) translation to 100%

New status: 38 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/ja.po |   49 -
 1 files changed, 28 insertions(+), 21 deletions(-)

diff --git a/po/ja.po b/po/ja.po
index e0ac86c..73358e3 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -8,8 +8,8 @@ msgid 
 msgstr 
 Project-Id-Version: xfce 4-diskperf-plugin 2.1.0\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-05-04 16:57+0200\n
-PO-Revision-Date: 2012-04-23 21:09+0900\n
+POT-Creation-Date: 2012-05-17 20:58+0900\n
+PO-Revision-Date: 2012-05-17 21:01+0900\n
 Last-Translator: Masato Hashimoto cabezon.hashim...@gmail.com\n
 Language-Team: Japanese xfce-users...@ml.fdiary.net\n
 Language: ja\n
@@ -27,9 +27,8 @@ msgid Input the device name, then press Enter
 msgstr デバイス名を入力してください
 
 #: ../panel-plugin/config_gui.c:118
-#, fuzzy
 msgid /dev/sda1
-msgstr /dev/hda1
+msgstr /dev/sda1
 
 #: ../panel-plugin/config_gui.c:136
 msgid Data collection period
@@ -64,9 +63,8 @@ msgid I/O transfer
 msgstr I/O 転送
 
 #: ../panel-plugin/config_gui.c:181
-#, fuzzy
 msgid MiB transferred / second
-msgstr 毎秒の転送量をモニタリングします
+msgstr 秒ごとの転送量 (MiB) を監視します
 
 #: ../panel-plugin/config_gui.c:187
 msgid Busy time
@@ -74,12 +72,11 @@ msgstr 使用率
 
 #: ../panel-plugin/config_gui.c:191
 msgid Percentage of time the device is busy
-msgstr デバイスを使用していた時間の割合 (%) をモニタリングします
+msgstr デバイスを使用していた時間の割合 (%) を監視します
 
 #: ../panel-plugin/config_gui.c:202
-#, fuzzy
 msgid Max. I/O rate (MiB/s) 
-msgstr 最大 I/O レート (MB/s) 
+msgstr 最大 I/O レート (MiB/s) 
 
 #: ../panel-plugin/config_gui.c:213
 msgid Input the maximum I/O transfer rate of the device, then press Enter
@@ -136,12 +133,12 @@ msgstr 書込-読込
 msgid \Write\ monitor first
 msgstr \書き込み\ を先に表示します
 
-#: ../panel-plugin/main.c:180
+#: ../panel-plugin/main.c:196
 #, c-format
 msgid %s: Device statistics unavailable.
-msgstr 
+msgstr %s: デバイスの統計情報を利用できません。
 
-#: ../panel-plugin/main.c:219
+#: ../panel-plugin/main.c:236
 #, c-format
 msgid 
 %s\n
@@ -155,12 +152,22 @@ msgid 
   Write : %3d\n
   Total : %3d
 msgstr 
-
-#: ../panel-plugin/main.c:823
+%s\n
+\n
+I/O(MiB/s)\n
+  読込 :%3.2f\n
+  書込 :%3.2f\n
+  合計 :%3.2f\n
+ビジー時間 (%c)\n
+  読込 : %3d\n
+  書込 : %3d\n
+  合計 : %3d
+
+#: ../panel-plugin/main.c:854
 msgid Select color
 msgstr 色を選択してください
 
-#: ../panel-plugin/main.c:873
+#: ../panel-plugin/main.c:904
 #, c-format
 msgid 
 %s\n
@@ -175,7 +182,7 @@ msgstr 
 このモニターは正しく動作しないでしょう!\n
 削除してください。
 
-#: ../panel-plugin/main.c:884
+#: ../panel-plugin/main.c:915
 #, c-format
 msgid 
 %s: No disk extended statistics found!\n
@@ -193,7 +200,7 @@ msgstr 
 このモニターは正常に動作しないでしょう!\n
 削除してください。
 
-#: ../panel-plugin/main.c:892
+#: ../panel-plugin/main.c:923
 #, c-format
 msgid 
 %s: Unknown error\n
@@ -206,17 +213,17 @@ msgstr 
 このモニターは正常に動作しないでしょう!\n
 削除してください。
 
-#: ../panel-plugin/main.c:914
+#: ../panel-plugin/main.c:945
 msgid 
 Diskperf monitor displays instantaneous disk I/O transfer rates and busy 
 times
-msgstr Diskperf はディスクの I/O 転送率とビジー時間を表示します
+msgstr Diskperf モニターはディスクの I/O 転送率とビジー時間を表示します
 
-#: ../panel-plugin/main.c:916
+#: ../panel-plugin/main.c:947
 msgid Copyright (c) 2003, 2004 Roger Seguin
 msgstr Copyright (c) 2003, 2004 Roger Seguin
 
-#: ../panel-plugin/main.c:952 ../panel-plugin/diskperf.desktop.in.h:1
+#: ../panel-plugin/main.c:983 ../panel-plugin/diskperf.desktop.in.h:1
 msgid Disk Performance Monitor
 msgstr ディスクパフォーマンスモニター
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-wavelan-plugin:master Fix transparency and put event box above its children (bug #8913).

2012-05-18 Thread Landry Breuil
Updating branch refs/heads/master
 to 6db9f674f27ea27d6a6baf4881000c29260a66ee (commit)
   from 50b66a0d2ab28dbbbe854f9fceaf5d7a4737ea7a (commit)

commit 6db9f674f27ea27d6a6baf4881000c29260a66ee
Author: Harald Judt harald.j...@univie.ac.at
Date:   Fri May 18 19:26:12 2012 +0200

Fix transparency and put event box above its children (bug #8913).

Putting the event box above its children allows clicking on the
progress bars to bring up the context menu.

Signed-off-by: Landry Breuil lan...@xfce.org

 panel-plugin/wavelan.c |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index fc381bf..2652138 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -316,6 +316,8 @@ wavelan_new(XfcePanelPlugin *plugin)
  
   wavelan-ebox = gtk_event_box_new();
   gtk_widget_set_has_tooltip(wavelan-ebox, TRUE);
+  gtk_event_box_set_visible_window(GTK_EVENT_BOX(wavelan-ebox), FALSE);
+  gtk_event_box_set_above_child(GTK_EVENT_BOX(wavelan-ebox), TRUE);
   g_signal_connect(wavelan-ebox, query-tooltip, G_CALLBACK(tooltip_cb), 
wavelan);
   xfce_panel_plugin_add_action_widget(plugin, wavelan-ebox);
   gtk_container_add(GTK_CONTAINER(plugin), wavelan-ebox);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-wavelan-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-wavelan-plugin

2012-05-18 Thread Landry Breuil
Updating branch refs/heads/master
 to 22ec97923ec81cb4874ff80d2ba7c770d46b59f9 (commit)
   from 6db9f674f27ea27d6a6baf4881000c29260a66ee (commit)

commit 22ec97923ec81cb4874ff80d2ba7c770d46b59f9
Merge: 6db9f67 a0424ed
Author: Landry Breuil lan...@xfce.org
Date:   Fri May 18 21:07:26 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-wavelan-plugin

commit a0424ed9faf83a39a0cda1840bd2f4f631bf9171
Author: Masato Hashimoto hash...@xfce.org
Date:   Fri May 18 05:16:05 2012 +0200

l10n: Updated Japanese (ja) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit c66ae5cddb0f3c310403e3a9ffda481b708db7c9
Author: Masato Hashimoto hash...@xfce.org
Date:   Thu May 17 19:05:08 2012 +0200

l10n: Updated Japanese (ja) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 4fa040a68a258ae896167d25e5070bf4a6c05fba
Author: Ivica  Kolić ik...@yahoo.com
Date:   Thu May 10 20:52:20 2012 +0200

l10n: Initial Croatian (hr) translation

New status: 9 messages complete with 0 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit b65da94a4d51a86d56c15a09d7c9cea0f3d2f48d
Author: Jeff Bailes thepizzak...@gmail.com
Date:   Sat Apr 28 01:46:13 2012 +0200

l10n: Updated English (United Kingdom) (en_GB) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 0b1a6c4661b772c147ef1b7782437c9d825035b7
Author: Seong-ho Cho darkcircle.0...@gmail.com
Date:   Sun Apr 22 20:30:33 2012 +0200

l10n: Updated Korean (ko) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit a80acf0d8cf917d47e96ecde312a6064e33627e7
Author: Nuno Miguel nunom...@gmail.com
Date:   Sat Apr 21 17:05:09 2012 +0200

l10n: Updated Portuguese (pt) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit d4a80d13da71bf2dc80f6bbefc4f25ef679ffd58
Author: Algimantas Margevičius margevicius.algiman...@gmail.com
Date:   Sat Apr 21 13:58:12 2012 +0200

l10n: Added Lithuanian language

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 66e0bdb326999254cbc6a55aa8f2c84d0eb59835
Author: Gabor Kelemen kelem...@gnome.hu
Date:   Sat Apr 21 04:59:50 2012 +0200

l10n: Updated Hungarian (hu) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit d867a7bb8aa15116eda9f7f15738232783e3ecef
Author: Chipong Luo chipong@yahoo.com
Date:   Fri Apr 20 14:20:25 2012 +0200

l10n: Updated Chinese (China) (zh_CN) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 259d00a1269404eb84aec3eddffd8e60471f7a46
Author: Carles Muñoz Gorriz carle...@internautas.org
Date:   Thu Apr 19 21:30:31 2012 +0200

l10n: Updated Catalan (Valencian) (ca) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 5f575cfdb05054cc09be24e812aa6b064a15875e
Author: Sergio García oigres...@gmail.com
Date:   Thu Apr 19 07:09:51 2012 +0200

l10n: Updated Spanish (Castilian) (es) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 9c66923aadbe1b061a0127b90330827e6525f9bf
Author: Bauzhan Muftakhidinov baurthefi...@gmail.com
Date:   Mon Apr 16 09:24:38 2012 +0200

l10n: Updated Kazakh (kk) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 9c3bb4f3b1d61ce0e22bc3bed581c1a79d74c389
Author: Jakob Kramer jakob.kra...@gmx.de
Date:   Sat Apr 14 15:49:40 2012 +0200

l10n: Updated German (de) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit a069376f403c26a3130e8786bd93253397d6f16b
Author: Roman K mrdoctor...@gmail.com
Date:   Sat Apr 14 10:17:49 2012 +0200

l10n: Updated Russian (ru) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 9d414ba8934b3f8bd73d07e32bc6f26ac0577a39
Author

[Xfce4-commits] xfce4-systemload-plugin:master Fix background transparency by setting the main evbox hidden (bug #8891).

2012-05-16 Thread Landry Breuil
Updating branch refs/heads/master
 to 2fe17f0ae322c42a389775288562adab568615eb (commit)
   from 25a45351d1cb77edf34cd1b4937dc65fd8cd2aba (commit)

commit 2fe17f0ae322c42a389775288562adab568615eb
Author: Harald Judt h.j...@gmx.at
Date:   Wed May 16 12:36:28 2012 +0200

Fix background transparency by setting the main evbox hidden (bug #8891).

The transparency fix in commit e22c9b78384e31720c29e71fc87ba145b21e6cce
is incomplete. There is another Gtk.EventBox that needs to be set
invisible, otherwise the label background will not be transparent.

Signed-off-by: Landry Breuil lan...@xfce.org

 panel-plugin/systemload.c |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 50c2aa5..58cc658 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -342,6 +342,7 @@ monitor_update_orientation (XfcePanelPlugin  *plugin,
FALSE, FALSE, 0);
 
 gtk_container_add(GTK_CONTAINER(global-ebox), GTK_WIDGET(global-box));
+gtk_event_box_set_visible_window(GTK_EVENT_BOX(global-ebox), FALSE);
 gtk_widget_show(GTK_WIDGET(global-ebox));
 
 update_monitors (global);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-diskperf-plugin:master Fix transparency (bug #8892).

2012-05-16 Thread Landry Breuil
Updating branch refs/heads/master
 to 2062b48a4f93a09210ea51a07a14ecd66ea2eef0 (commit)
   from 39bdecb2b8788b2193acec6fb82ff60597201812 (commit)

commit 2062b48a4f93a09210ea51a07a14ecd66ea2eef0
Author: Harald Judt h.j...@gmx.at
Date:   Wed May 16 13:02:58 2012 +0200

Fix transparency (bug #8892).

Set the Gtk.EventBox invisible like other panel plugins do.

Signed-off-by: Landry Breuil lan...@xfce.org

 panel-plugin/main.c |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 7efbc7e..c5f71c1 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -474,6 +474,7 @@ static diskperf_t *diskperf_create_control (XfcePanelPlugin 
*plugin)
 poPlugin-oMonitor.oPrevPerf.timestamp_ns = 0;
 
 poMonitor-wEventBox = gtk_event_box_new ();
+gtk_event_box_set_visible_window(GTK_EVENT_BOX(poMonitor-wEventBox), 
FALSE);
 gtk_widget_show (poMonitor-wEventBox);
 
 xfce_panel_plugin_add_action_widget (plugin, poMonitor-wEventBox);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-diskperf-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin

2012-05-16 Thread Landry Breuil
Updating branch refs/heads/master
 to c0e0c4fb14f8db2d08988fb5d50e43a1310645fd (commit)
   from 2062b48a4f93a09210ea51a07a14ecd66ea2eef0 (commit)

commit c0e0c4fb14f8db2d08988fb5d50e43a1310645fd
Merge: 2062b48 4792621
Author: Landry Breuil lan...@xfce.org
Date:   Wed May 16 20:55:02 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin

commit 4792621f3593c7cc74ac38564c660889851d084e
Author: Sergio Marques smarque...@gmail.com
Date:   Tue May 15 17:08:59 2012 +0200

l10n: Updated Portuguese (pt) translation to 100%

New status: 38 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 174330ba7a8a3fd0f96e953c12a7ac3fabb2d62f
Author: Tomáš Vadina kyber...@gmail.com
Date:   Tue May 15 16:46:53 2012 +0200

l10n: Updated Slovak (sk) translation to 100%

New status: 38 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit f6e7766ce5f02e5e8528c9a0ae0065fdec3f68d2
Author: Piarres Beobide p...@beobide.net
Date:   Mon May 14 00:53:25 2012 +0200

l10n: Updated Basque (eu) translation to 100%

New status: 38 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/eu.po |   19 +--
 po/pt.po |3 ---
 po/sk.po |   28 ++--
 3 files changed, 31 insertions(+), 19 deletions(-)

diff --git a/po/eu.po b/po/eu.po
index 794f741..691d6eb 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -11,10 +11,10 @@ msgstr 
 PO-Revision-Date: 2008-11-09 15:41+0200\n
 Last-Translator: Piarres Beobide p...@beobide.net\n
 Language-Team: librezale librez...@librezale.org\n
-Language: eu\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bit\n
+Language: eu\n
 Plural-Forms: nplurals=2; plural=(n != 1);\n
 X-Generator: Pootle 1.2.0\n
 
@@ -27,7 +27,6 @@ msgid Input the device name, then press Enter
 msgstr Gailu izena idatzi eta Enter sakatu
 
 #: ../panel-plugin/config_gui.c:118
-#, fuzzy
 msgid /dev/sda1
 msgstr /dev/hda1
 
@@ -64,9 +63,8 @@ msgid I/O transfer
 msgstr S/I transferentzia
 
 #: ../panel-plugin/config_gui.c:181
-#, fuzzy
 msgid MiB transferred / second
-msgstr MB transeferentzia / segundu
+msgstr MB transefirentzia / segundu
 
 #: ../panel-plugin/config_gui.c:187
 msgid Busy time
@@ -77,7 +75,6 @@ msgid Percentage of time the device is busy
 msgstr Gailua lanpeturik dagoen denbora ehunekoa
 
 #: ../panel-plugin/config_gui.c:202
-#, fuzzy
 msgid Max. I/O rate (MiB/s) 
 msgstr Geh. S/I erlazioa (MB/s) 
 
@@ -137,7 +134,7 @@ msgstr \Idazkteta\ monitorea lehenengo
 #: ../panel-plugin/main.c:180
 #, c-format
 msgid %s: Device statistics unavailable.
-msgstr 
+msgstr %s: gaitu estatistika eskuraezinak
 
 #: ../panel-plugin/main.c:219
 #, c-format
@@ -153,6 +150,16 @@ msgid 
   Write : %3d\n
   Total : %3d
 msgstr 
+%s\n
+\n
+S/I(MiB/s)\n
+  Iraku :%3.2f\n
+  Idatz :%3.2f\n
+  Guzt :%3.2f\n
+Lan denb (%c)\n
+  Iraku : %3d\n
+  Idatz : %3d\n
+  Guzt : %3d
 
 #: ../panel-plugin/main.c:823
 msgid Select color
diff --git a/po/pt.po b/po/pt.po
index 377fc58..4c2cad9 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -25,7 +25,6 @@ msgid Input the device name, then press Enter
 msgstr Indique o nome do dispositivo e prima Enter
 
 #: ../panel-plugin/config_gui.c:118
-#, fuzzy
 msgid /dev/sda1
 msgstr /dev/sda1
 
@@ -62,7 +61,6 @@ msgid I/O transfer
 msgstr Transferência E/S
 
 #: ../panel-plugin/config_gui.c:181
-#, fuzzy
 msgid MiB transferred / second
 msgstr MB transferidos/segundo
 
@@ -75,7 +73,6 @@ msgid Percentage of time the device is busy
 msgstr Percentagem de tempo de ocupação do dispositivo
 
 #: ../panel-plugin/config_gui.c:202
-#, fuzzy
 msgid Max. I/O rate (MiB/s) 
 msgstr Taxa máxima de I/O (MB/s)
 
diff --git a/po/sk.po b/po/sk.po
index 1a1f726..1488d28 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -2,15 +2,16 @@
 # Copyright (C) 2006 THE xfce4-diskperf-plugin'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the xfce4-diskperf-plugin 
package.
 # Marek Hlava head...@gmail.com, 2011.
+# Tomáš Vadina kyber...@gmail.com, 2012.
 #
 msgid 
 msgstr 
 Project-Id-Version: xfce4-diskperf-plugin\n
 Report-Msgid-Bugs-To: \n
 POT-Creation-Date: 2012-05-04 16:57+0200\n
-PO-Revision-Date: 2011-08-21 12:06+0100\n
-Last-Translator: Marek Hlava head...@gmail.com\n
-Language-Team: Slovak sk-i...@lists.linux.sk\n
+PO-Revision-Date: 2012-05-15 16:45+0200\n
+Last-Translator: Tomáš Vadina kyber...@gmail.com\n
+Language-Team: slovenčina slovenska-lokalizacia-x...@googlegroups.com\n
 Language: sk\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
@@ -26,9 +27,8 @@ msgid Input the device name, then press Enter
 msgstr Zadajte názov zariadenia a stlačte Enter
 
 #: ../panel-plugin/config_gui.c:118
-#, fuzzy
 msgid /dev/sda1
-msgstr /dev/hda1
+msgstr

[Xfce4-commits] xfce4-cpugraph-plugin:master Fix transparency issues (bug #8893).

2012-05-16 Thread Landry Breuil
Updating branch refs/heads/master
 to 5ebb0b229a0da1d31f913de20baab4b50aebadfa (commit)
   from 7f16899a2989714c6892d1eb96d2df7b97b4ff90 (commit)

commit 5ebb0b229a0da1d31f913de20baab4b50aebadfa
Author: Harald Judt h.j...@gmx.at
Date:   Wed May 16 13:13:39 2012 +0200

Fix transparency issues (bug #8893).

Set the Gtk.EventBox invisible.

Signed-off-by: Landry Breuil lan...@xfce.org

 panel-plugin/cpu.c |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index d4adeda..1ea0c03 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -101,6 +101,7 @@ static CPUGraph * create_gui( XfcePanelPlugin * plugin )
base-plugin = plugin;
 
ebox = gtk_event_box_new();
+   gtk_event_box_set_visible_window(GTK_EVENT_BOX(ebox), FALSE);
gtk_container_add( GTK_CONTAINER( plugin ), ebox );
xfce_panel_plugin_add_action_widget( plugin, ebox );
g_signal_connect( ebox, button-press-event, G_CALLBACK( command_cb ), 
base );
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-cpugraph-plugin:master Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin

2012-05-16 Thread Landry Breuil
Updating branch refs/heads/master
 to 0011e3999febae9cc521209d7a9594fa12539e59 (commit)
   from 5ebb0b229a0da1d31f913de20baab4b50aebadfa (commit)

commit 0011e3999febae9cc521209d7a9594fa12539e59
Merge: 5ebb0b2 7516159
Author: Landry Breuil lan...@xfce.org
Date:   Wed May 16 20:59:18 2012 +0200

Merge branch 'master' of 
git://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin

commit 75161594d3135d48c0bb045ffc92801641ddcf1a
Author: Tomáš Vadina kyber...@gmail.com
Date:   Tue May 15 16:43:13 2012 +0200

l10n: Updated Slovak (sk) translation to 100%

New status: 36 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 2052e931e98111bc297a37865c22f620f5e00f68
Author: Andrei Zakharevich and...@zahar.ws
Date:   Fri May 4 20:52:56 2012 +0200

l10n: Updated Belarusian (be) translation to 91%

New status: 33 messages complete with 0 fuzzies and 3 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit c679a5a6f959c46175c80487fe7b1a91823843e6
Author: Andrei Zakharevich and...@zahar.ws
Date:   Fri May 4 20:51:28 2012 +0200

l10n: Updated Belarusian (be) translation to 88%

New status: 32 messages complete with 0 fuzzies and 4 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 7cdec4c1656ecc3cc887edfad9023c3357609698
Author: Seong-ho Cho darkcircle.0...@gmail.com
Date:   Thu May 3 11:45:50 2012 +0200

l10n: Updated Korean (ko) translation to 100%

New status: 36 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 3a82ee389bc076c83016af2289880465b7aa3e78
Author: Ivica  Kolić ik...@yahoo.com
Date:   Wed May 2 21:11:15 2012 +0200

l10n: Initial Croatian (hr) translation

New status: 22 messages complete with 0 fuzzies and 14 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

commit 9a13793b4e06ed97c6594701f1853ab7dcae0e64
Author: Piarres Beobide p...@beobide.net
Date:   Mon Apr 30 00:50:43 2012 +0200

l10n: Updated Basque (eu) translation to 100%

New status: 36 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).

 po/be.po|   34 ++
 po/eu.po|   20 ++
 po/{ur.po = hr.po} |   97 +++---
 po/ko.po|2 +-
 po/sk.po|   22 +++-
 5 files changed, 97 insertions(+), 78 deletions(-)

diff --git a/po/be.po b/po/be.po
index 8c67970..f56d82b 100644
--- a/po/be.po
+++ b/po/be.po
@@ -2,28 +2,36 @@
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # FIRST AUTHOR EMAIL@ADDRESS, YEAR.
-#
+# 
 msgid 
 msgstr 
 Project-Id-Version: Alexander Nyakhaychyk nyakhayc...@gmail.com\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-04-18 23:23+0200\n
+POT-Creation-Date: 2012-05-04 13:30+\n
 PO-Revision-Date: 2008-11-09 14:04+0200\n
 Last-Translator: Alexander Nyakhaychyk nyakhayc...@gmail.com\n
 Language-Team: Belarusian i...@mova.org\n
-Language: be\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=utf-8\n
 Content-Transfer-Encoding: 8bit\n
+Language: be\n
+
+#: ../panel-plugin/cpu.c:150 ../panel-plugin/cpugraph.desktop.in.h:2
+msgid Graphical representation of the CPU load
+msgstr Графічнае прадстаўленьне нагрузкі на ЦП
+
+#: ../panel-plugin/cpu.c:152
+msgid Copyright (c) 2003-2012\n
+msgstr Аўтарскія правы (c) 2003-2012\n
 
-#: ../panel-plugin/cpu.c:303
+#: ../panel-plugin/cpu.c:359
 #, c-format
 msgid Usage: %u%%
-msgstr 
+msgstr Выкарыстанне: %u%%
 
 #: ../panel-plugin/properties.c:78
 msgid CPU Graph Properties
-msgstr 
+msgstr Наладкі CPU Graph
 
 #: ../panel-plugin/properties.c:96
 msgid Use non-linear time-scale
@@ -35,7 +43,7 @@ msgstr Паказваць рамку
 
 #: ../panel-plugin/properties.c:98
 msgid Show border
-msgstr 
+msgstr Паказваць межы
 
 #: ../panel-plugin/properties.c:99
 msgid Show current usage bar
@@ -45,11 +53,11 @@ msgstr[1] 
 
 #: ../panel-plugin/properties.c:101
 msgid Run in terminal
-msgstr 
+msgstr Запусціць у тэрмінале
 
 #: ../panel-plugin/properties.c:102
 msgid Use startup notification
-msgstr 
+msgstr Паказваць паведамленне пра запусу
 
 #: ../panel-plugin/properties.c:105
 msgid Color 1:
@@ -97,7 +105,7 @@ msgstr Інтэрвал абнаўленьня:
 
 #: ../panel-plugin/properties.c:208
 msgid All
-msgstr 
+msgstr Усе
 
 #: ../panel-plugin/properties.c:213
 msgid Tracked Core:
@@ -129,7 +137,7 @@ msgstr Без гісторыі
 
 #: ../panel-plugin/properties.c:267
 msgid Grid
-msgstr 
+msgstr Сетка
 
 #: ../panel-plugin/properties.c:271
 msgid Mode:
@@ -154,7 +162,3 @@ msgstr Рэжым колераў:
 #: ../panel-plugin/cpugraph.desktop.in.h:1
 msgid CPU Graph
 msgstr Графікі ЦП
-
-#: ../panel-plugin/cpugraph.desktop.in.h:2
-msgid Graphical representation of the CPU load

[Xfce4-commits] xfce4-time-out-plugin:master Fix transparency (bug #8747).

2012-05-16 Thread Landry Breuil
Updating branch refs/heads/master
 to 5f802c26355640421f9bb0e476f1460152a66489 (commit)
   from 32c062eaa5299b9385a15c6b3a74ef9ffd0e32cc (commit)

commit 5f802c26355640421f9bb0e476f1460152a66489
Author: Harald Judt h.j...@gmx.at
Date:   Wed May 16 13:37:23 2012 +0200

Fix transparency (bug #8747).

Set the Gtk.EventBox invisible like other panel plugins do.

Signed-off-by: Landry Breuil lan...@xfce.org

 panel-plugin/time-out.c |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/time-out.c b/panel-plugin/time-out.c
index cc204b7..2544f01 100644
--- a/panel-plugin/time-out.c
+++ b/panel-plugin/time-out.c
@@ -189,6 +189,7 @@ time_out_new (XfcePanelPlugin *plugin)
 
   /* Create event box to catch user events */
   time_out-ebox = gtk_event_box_new ();
+  gtk_event_box_set_visible_window(GTK_EVENT_BOX(time_out-ebox), FALSE);
   gtk_widget_show (time_out-ebox);
 
   /* Create flexible box which can do both, horizontal and vertical layout */
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] xfce4-battery-plugin:master fix compilation with panel version 4.9

2012-05-14 Thread Landry Breuil
Updating branch refs/heads/master
 to 81909487e1a0a373c2e0d4d3cbccd657a20ba29f (commit)
   from afacc7dae5d01983b8d8ef6df0e7c64f9d3c5194 (commit)

commit 81909487e1a0a373c2e0d4d3cbccd657a20ba29f
Author: Landry Breuil lan...@xfce.org
Date:   Mon May 14 10:33:40 2012 +0200

fix compilation with panel version  4.9

 panel-plugin/battery.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 5b145bc..decd1ba 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -785,9 +785,9 @@ battmon_set_orientation (XfcePanelPlugin *plugin, 
GtkOrientation orientation,
 if (battmon-timeoutid) g_source_remove(battmon-timeoutid);
 xfce_hvbox_set_orientation(XFCE_HVBOX(battmon-ebox), orientation);
 xfce_hvbox_set_orientation(XFCE_HVBOX(battmon-timechargebox), 
!orientation);
-xfce_hvbox_set_orientation(XFCE_HVBOX(battmon-acfanbox), !orientation);
+xfce_hvbox_set_orientation(XFCE_HVBOX(battmon-actempbox), !orientation);
 gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(battmon-battstatus),
-   (orientation == GTK_ORIENTATION_HORIZONTAL ? 
GTK_PROGRESS_BOTTOM_TO_TOP : GTK_PROGRESS_LEFT_TO_RIGHT)i);
+   (orientation == GTK_ORIENTATION_HORIZONTAL ? 
GTK_PROGRESS_BOTTOM_TO_TOP : GTK_PROGRESS_LEFT_TO_RIGHT));
 battmon_set_labels_orientation(battmon, orientation);
 battmon_set_size(plugin, xfce_panel_plugin_get_size (plugin), battmon);
 update_apm_status( battmon );
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


  1   2   3   4   >