[Xfce4-commits] Add Previous/Next Track to Notify Plugin

2013-08-31 Thread Sean Davis
Updating branch refs/heads/bluesabre/gtk3
 to 6bbe02976885a4578f5ac00735b19734ebddab63 (commit)
   from e297f9073f4112e0d567af1d8ef013607c83e83e (commit)

commit 6bbe02976885a4578f5ac00735b19734ebddab63
Author: Sean Davis 
Date:   Sat Aug 31 21:56:27 2013 -0400

Add Previous/Next Track to Notify Plugin

 src/plugins/notify/notify-provider.c |   22 ++
 1 file changed, 22 insertions(+)

diff --git a/src/plugins/notify/notify-provider.c 
b/src/plugins/notify/notify-provider.c
index d04ac19..20da833 100644
--- a/src/plugins/notify/notify-provider.c
+++ b/src/plugins/notify/notify-provider.c
@@ -80,6 +80,18 @@ close_notification (NotifyProvider *notify)
 }
 
 static void
+on_previous_clicked(NotifyNotification *notification, char *action, 
NotifyProvider *notify)
+{
+parole_provider_player_play_previous (notify->player);
+}
+
+static void
+on_next_clicked(NotifyNotification *notification, char *action, NotifyProvider 
*notify)
+{
+parole_provider_player_play_next (notify->player);
+}
+
+static void
 notify_playing (NotifyProvider *notify, const ParoleStream *stream)
 {
 GdkPixbuf *pix;
@@ -178,6 +190,16 @@ notify_playing (NotifyProvider *notify, const ParoleStream 
*stream)
 notify_notification_set_urgency (notify->notification, NOTIFY_URGENCY_LOW);
 notify_notification_set_timeout (notify->notification, 5000);
 
+notify_notification_add_action (notify->notification, 
+"play-previous", _("Previous Track"), 
+
NOTIFY_ACTION_CALLBACK(on_previous_clicked),
+notify, NULL);
+
+notify_notification_add_action (notify->notification, 
+"play-next", _("Next Track"), 
+NOTIFY_ACTION_CALLBACK(on_next_clicked),
+notify, NULL);
+
 notify_notification_show (notify->notification, NULL);
 g_signal_connect (notify->notification, "closed",
   G_CALLBACK (notification_closed_cb), notify);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Initial support for IndicatorNg service files

2013-08-31 Thread Andrzej
Updating branch refs/heads/master
 to 48edafdc08b869bed74695ef257c0bd23c3cb3e3 (commit)
   from 05fdb4dd6c03d6c811448677973562cea51b5a83 (commit)

commit 48edafdc08b869bed74695ef257c0bd23c3cb3e3
Author: Andrzej 
Date:   Sun Sep 1 00:40:31 2013 +0100

Initial support for IndicatorNg service files

 panel-plugin/indicator-button-box.c |2 +-
 panel-plugin/indicator.c|  121 +++
 2 files changed, 122 insertions(+), 1 deletion(-)

diff --git a/panel-plugin/indicator-button-box.c 
b/panel-plugin/indicator-button-box.c
index 75285c1..d20840e 100644
--- a/panel-plugin/indicator-button-box.c
+++ b/panel-plugin/indicator-button-box.c
@@ -510,7 +510,7 @@ indicator_button_box_size_allocate (GtkWidget *widget,
   width  = allocation->width;
   height = allocation->height;
 
-  if (indicator_button_box_is_small (box)) // check & cache
+  if (indicator_button_box_is_small (box) && box->icon != NULL) // check & 
cache
 {
   child_allocation.x = x + (width - ICON_SIZE + 1) / 2;
   child_allocation.y = y + (height - ICON_SIZE + 1) / 2;
diff --git a/panel-plugin/indicator.c b/panel-plugin/indicator.c
index 0e7b996..74d542e 100644
--- a/panel-plugin/indicator.c
+++ b/panel-plugin/indicator.c
@@ -36,6 +36,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "indicator.h"
 #include "indicator-box.h"
@@ -64,6 +65,7 @@ static void indicator_mode_changed
 (XfcePanelPlu
 static void indicator_orientation_changed  
(XfcePanelPlugin   *plugin,
 
GtkOrientation orientation);
 #endif
+static gint indicator_load_indicators_ng   
(IndicatorPlugin   *indicator);
 
 
 struct _IndicatorPluginClass
@@ -332,6 +334,8 @@ indicator_construct (XfcePanelPlugin *plugin)
 g_dir_close (dir);
   }
 
+  indicators_loaded += indicator_load_indicators_ng (indicator);
+
   if (indicators_loaded == 0) {
 /* A label to allow for click through */
 indicator->item = xfce_indicator_button_new (NULL,
@@ -360,6 +364,8 @@ entry_added (IndicatorObject * io, IndicatorObjectEntry * 
entry, gpointer user_d
plugin,
indicator->config);
 
+  g_debug("Entry added for io=%s", io_name);
+
   /* remove placeholder item when there are real entries to be added */
   if (indicator->item != NULL)
 {
@@ -436,6 +442,121 @@ load_module (const gchar * name, IndicatorPlugin * 
indicator)
 }
 
 
+static void
+load_indicator (IndicatorPlugin *indicator,
+   IndicatorObject *io,
+   const gchar *name)
+{
+  GList*entries, *entry;
+  IndicatorObjectEntry *entrydata;
+
+  g_debug ("Load indicator_ng: %s", name);
+
+  indicator_config_add_known_indicator (indicator->config, name);
+
+  g_object_set_data (G_OBJECT (io), "io-name", g_strdup (name));
+
+  /* Connect to its signals */
+  g_signal_connect(G_OBJECT(io), INDICATOR_OBJECT_SIGNAL_ENTRY_ADDED,
+   G_CALLBACK(entry_added), indicator);
+  g_signal_connect(G_OBJECT(io), INDICATOR_OBJECT_SIGNAL_ENTRY_REMOVED,
+   G_CALLBACK(entry_removed), indicator->buttonbox);
+
+  /* Work on the entries */
+  entries = indicator_object_get_entries(io);
+  entry = NULL;
+
+  for (entry = entries; entry != NULL; entry = g_list_next(entry))
+{
+  entrydata = (IndicatorObjectEntry *)entry->data;
+  entry_added(io, entrydata, indicator);
+}
+
+  g_list_free(entries);
+}
+
+
+
+#define INDICATORS_NG_DIR "/usr/share/unity/indicators"
+
+static gint
+indicator_load_indicators_ng (IndicatorPlugin *indicator)
+{
+  GDir*indicators_ng_dir;
+  const gchar *io_name;
+  GError  *err = NULL;
+  gint indicators = 0;
+  gchar   *file_name = NULL;
+  IndicatorNg *indicator_ng = NULL;
+
+  g_return_val_if_fail (XFCE_IS_INDICATOR_PLUGIN (indicator), 0);
+
+  indicators_ng_dir = g_dir_open (INDICATORS_NG_DIR, 0, &err);
+
+  if (!indicators_ng_dir)
+{
+  g_warning ("%s", err->message);
+  g_error_free (err);
+
+  return 0;
+}
+
+  if (indicator_config_get_mode_whitelist (indicator->config))
+{
+  while ((io_name = g_dir_read_name (indicators_ng_dir)) != NULL)
+   {
+  if (indicator_config_is_whitelisted (indicator->config, io_name))
+{
+  g_debug ("Loading whitelisted IndicatorNg: %s", io_name);
+ file_name = g_build_filename (INDICATORS_NG_DIR, io_name, NULL);
+ indicator_ng = indicator_ng_new_for_profile (file_name, 
"desktop", &err);
+ g_free (file_name);
+ if (indicator_ng)
+   {
+ load_indicator (indicator, INDICATOR_OBJECT (indicator_ng), 
io_name);
+ indicators++;
+   }
+ else
+   {
+  

[Xfce4-commits] I18n: Update translation pt (100%).

2013-08-31 Thread Transifex
Updating branch refs/heads/master
 to 7d8dcbd0647d2d07057a31e94288eede4bf34e18 (commit)
   from 2da2f546df985d8d0acc57f95dd55d3165479eb2 (commit)

commit 7d8dcbd0647d2d07057a31e94288eede4bf34e18
Author: nunom 
Date:   Sun Sep 1 00:32:09 2013 +0200

I18n: Update translation pt (100%).

12 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).

 po/pt.po |   63 ++
 1 file changed, 30 insertions(+), 33 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 1715a61..cbfbd23 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -1,78 +1,75 @@
-# Portuguese translation for xfce4-wmdock-plugin package.
-# Copyright (C) 2008 xfce4-wmdock-plugin's COPYRIGHT HOLDER
-# This file is distributed under the same license as the xfce4-wmdock-plugin 
package.
-# Sérgio Marques , 2009.
-#
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# 
+# Translators:
+# nunom , 2013
+# Sérgio Marques , 2009
 msgid ""
 msgstr ""
-"Project-Id-Version: xfce4-wmdock-plugin\n"
+"Project-Id-Version: Xfce Panel Plugins\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-01-26 20:22+0100\n"
-"PO-Revision-Date: \n"
-"Last-Translator: Sérgio Marques \n"
-"Language-Team: \n"
+"POT-Creation-Date: 2013-07-13 22:15+0200\n"
+"PO-Revision-Date: 2013-08-31 21:54+\n"
+"Last-Translator: nunom \n"
+"Language-Team: Portuguese 
(http://www.transifex.com/projects/p/xfce/language/pt/)\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"
-"X-Poedit-Language: Portuguese\n"
-"X-Poedit-Country: Portugal\n"
+"Language: pt\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: panel-plugin/wmdock.c:196
+#: ../panel-plugin/wmdock.c:246
 #, c-format
 msgid "Do you want remove the dockapp \"%s\"?"
 msgstr "Pretende remover a aplicação \"%s\"?"
 
-#: panel-plugin/wmdock.c:398
+#: ../panel-plugin/wmdock.c:448
 msgid "No dockapp is running!"
 msgstr "Nenhuma aplicação em execução!"
 
-#: panel-plugin/wmdock.c:858
+#: ../panel-plugin/wmdock.c:907
 #, c-format
 msgid "Failed to start %s!"
 msgstr "Falha ao iniciar %s!"
 
-#: panel-plugin/wmdock.c:1148
+#. Create the configure dialog.
+#: ../panel-plugin/wmdock.c:1211
 msgid "WMdock"
 msgstr "WMdock"
 
-#: panel-plugin/wmdock.c:1151
+#: ../panel-plugin/wmdock.c:1214
 msgid "Remove dockapp"
 msgstr "Remover aplicação"
 
-#: panel-plugin/wmdock.c:1167
+#: ../panel-plugin/wmdock.c:1230
 msgid "General settings"
 msgstr "Definições gerais"
 
-#: panel-plugin/wmdock.c:1168
+#: ../panel-plugin/wmdock.c:1231
 msgid "Dockapp detection"
 msgstr "Deteção de aplicação"
 
-#: panel-plugin/wmdock.c:1216
+#: ../panel-plugin/wmdock.c:1279
 msgid "Select dockapp to configure:"
 msgstr "Selecione a aplicação a configurar:"
 
-#: panel-plugin/wmdock.c:1225
+#: ../panel-plugin/wmdock.c:1288
 msgid "Shell command:"
 msgstr "Comando de consola:"
 
-#: panel-plugin/wmdock.c:1236
+#: ../panel-plugin/wmdock.c:1299
 msgid "Display tile in the background."
 msgstr "Exibir título em segundo plano."
 
-#: panel-plugin/wmdock.c:1237
+#: ../panel-plugin/wmdock.c:1300
 msgid ""
 "Display a separate WMdock properties\n"
 "button in the panel."
-msgstr ""
-"Exibir no painel o botão\n"
-"das propriedades WMdock."
+msgstr "Exibir no painel o botão\ndas propriedades WMdock."
 
-#: panel-plugin/wmdock.c:1238
+#: ../panel-plugin/wmdock.c:1301
 msgid ""
 "Add only dockapps which start with\n"
-"wm* in the name."
-msgstr ""
-"Apenas adicionar aplicações\n"
-"cujo nome inicie por wm*."
-
+"pattern in list. (e.g.: ^wm;^as)"
+msgstr "Adicione apenas aplicações que iniciem com\npadrão em lista. (ex.: 
^wm;^as)"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] I18n: Update translation pt (100%).

2013-08-31 Thread Transifex
Updating branch refs/heads/master
 to a438ee4a01b121d29c605dd8109ddaf5e83e6c1c (commit)
   from 5c0f5d1fcb2b6685c111bb46314dd9ab067d2adc (commit)

commit a438ee4a01b121d29c605dd8109ddaf5e83e6c1c
Author: nunom 
Date:   Sun Sep 1 00:32:14 2013 +0200

I18n: Update translation pt (100%).

35 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).

 po/pt.po |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 72951e7..5be7764 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -4,14 +4,15 @@
 # 
 # Translators:
 # Nuno Miguel , 2007
+# nunom , 2013
 # Sérgio Marques , 2013
 msgid ""
 msgstr ""
 "Project-Id-Version: Xfce Panel Plugins\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2013-07-13 22:15+0200\n"
-"PO-Revision-Date: 2013-08-29 16:48+\n"
-"Last-Translator: Sérgio Marques \n"
+"PO-Revision-Date: 2013-08-31 21:50+\n"
+"Last-Translator: nunom \n"
 "Language-Team: Portuguese 
(http://www.transifex.com/projects/p/xfce/language/pt/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -100,7 +101,7 @@ msgstr "_Ligar"
 msgid ""
 "Notice:\n"
 "Do not change this property from XMMS or BeepMediaPlayer to the other one 
when either one of these is running. It will crash because they use same socket 
address. For the same reason, you cannot run the other player when this plugin 
is running."
-msgstr ""
+msgstr "Aviso:\nNão altere esta propriedade a partir do XMMS ou do 
BeepMediaPlayer para o outro quando um deles estiver em execução. Irá bloquear 
porque usam o mesmo espaço de endereço. Pela mesma razão, não pode executar 
outro reprodutor quando o \"plugin\" está ativo."
 
 #: ../panel-plugin/preferences.c:315
 msgid "Properties"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] I18n: Update translation pt (100%).

2013-08-31 Thread Transifex
Updating branch refs/heads/master
 to 60534dc37ca2b678d07720f40838278163765854 (commit)
   from 1ad7da9370a9026076b7a4aa6b3108f74090b7de (commit)

commit 60534dc37ca2b678d07720f40838278163765854
Author: nunom 
Date:   Sun Sep 1 00:30:12 2013 +0200

I18n: Update translation pt (100%).

34 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).

 po/pt.po |   85 +++---
 1 file changed, 48 insertions(+), 37 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 2bd84d3..571bd68 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -1,23 +1,22 @@
-# Portuguese translations for libxfce package.
-# Copyright (C) 2007 THE libxfce'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the libxfce package.
-# Nuno Miguel , 2007-2012.
-#
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# 
+# Translators:
+# nunom , 2013
 msgid ""
 msgstr ""
-"Project-Id-Version: garcon\n"
+"Project-Id-Version: Garcon\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-02-02 08:12+\n"
-"PO-Revision-Date: 2012-04-12 18:16+0100\n"
-"Last-Translator: Nuno Miguel \n"
-"Language-Team: \n"
+"POT-Creation-Date: 2013-08-03 00:30+0200\n"
+"PO-Revision-Date: 2013-08-31 22:00+\n"
+"Last-Translator: nunom \n"
+"Language-Team: Portuguese 
(http://www.transifex.com/projects/p/xfce/language/pt/)\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Language: pt\n"
-"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Poedit-Language: Portuguese\n"
-"X-Poedit-Country: PORTUGAL\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #: ../data/xfce/xfce-accessories.directory.in.h:1
 msgid "Accessories"
@@ -68,21 +67,21 @@ msgid "Settings for several hardware devices"
 msgstr "Definições para os componentes do computador"
 
 #: ../data/xfce/xfce-multimedia.directory.in.h:1
-msgid "Audio and video players and editors"
-msgstr "Editores e reprodutores de vídeo e áudio"
-
-#: ../data/xfce/xfce-multimedia.directory.in.h:2
 msgid "Multimedia"
 msgstr "Multimédia"
 
-#: ../data/xfce/xfce-network.directory.in.h:1
-msgid "Applications for Internet access"
-msgstr "Aplicações para aceder à Internet"
+#: ../data/xfce/xfce-multimedia.directory.in.h:2
+msgid "Audio and video players and editors"
+msgstr "Editores e reprodutores de vídeo e áudio"
 
-#: ../data/xfce/xfce-network.directory.in.h:2
+#: ../data/xfce/xfce-network.directory.in.h:1
 msgid "Internet"
 msgstr "Internet"
 
+#: ../data/xfce/xfce-network.directory.in.h:2
+msgid "Applications for Internet access"
+msgstr "Aplicações para aceder à Internet"
+
 #: ../data/xfce/xfce-office.directory.in.h:1
 msgid "Office"
 msgstr "Produtividade"
@@ -92,13 +91,13 @@ msgid "Office and productivity applications"
 msgstr "Aplicações de escritório e produtividade"
 
 #: ../data/xfce/xfce-other.directory.in.h:1
-msgid "Applications that don't fit into other categories"
-msgstr "Aplicações não enquadráveis noutras categorias"
-
-#: ../data/xfce/xfce-other.directory.in.h:2
 msgid "Other"
 msgstr "Outras"
 
+#: ../data/xfce/xfce-other.directory.in.h:2
+msgid "Applications that don't fit into other categories"
+msgstr "Aplicações não enquadráveis noutras categorias"
+
 #: ../data/xfce/xfce-personal.directory.in.h:1
 msgid "Personal"
 msgstr "Pessoais"
@@ -108,21 +107,21 @@ msgid "Personal settings"
 msgstr "Definições pessoais"
 
 #: ../data/xfce/xfce-screensavers.directory.in.h:1
-msgid "Screensaver applets"
-msgstr "\"Applets\" de proteção do ecrã"
-
-#: ../data/xfce/xfce-screensavers.directory.in.h:2
 msgid "Screensavers"
 msgstr "Proteção de ecrã"
 
-#: ../data/xfce/xfce-settings.directory.in.h:1
-msgid "Desktop and system settings applications"
-msgstr "Aplicações de definições do sistema e do ambiente de trabalho"
+#: ../data/xfce/xfce-screensavers.directory.in.h:2
+msgid "Screensaver applets"
+msgstr "\"Applets\" de proteção do ecrã"
 
-#: ../data/xfce/xfce-settings.directory.in.h:2
+#: ../data/xfce/xfce-settings.directory.in.h:1
 msgid "Settings"
 msgstr "Definições"
 
+#: ../data/xfce/xfce-settings.directory.in.h:2
+msgid "Desktop and system settings applications"
+msgstr "Aplicações de definições do sistema e do ambiente de trabalho"
+
 #: ../data/xfce/xfce-system.directory.in.h:1
 msgid "System"
 msgstr "Sistema"
@@ -131,18 +130,30 @@ msgstr "Sistema"
 msgid "System tools and utilities"
 msgstr "Ferramentas e utilitários do sistema"
 
-#: ../garcon/garcon-menu.c:706
+#: ../garcon/garcon-menu.c:702
 #, c-format
 msgid "File \"%s\" not found"
 msgstr "O ficheiro \"%s\" não foi encontrado"
 
-#: ../garcon/garcon-menu-parser.c:280
+#: ../garcon/garcon-menu-parser.c:276
 #, c-format
 msgid "Could not load menu file data from %s: %s"
 msgstr "Incapaz de carregar os dados do menu em %s: %s"
 
-#: .

[Xfce4-commits] I18n: Update translation pt (100%).

2013-08-31 Thread Transifex
Updating branch refs/heads/master
 to b502ec97927a20d2e09902896d910896574f4eba (commit)
   from 58918dfcbc775d403c7a8fece3097bc1b865b52f (commit)

commit b502ec97927a20d2e09902896d910896574f4eba
Author: nunom 
Date:   Sun Sep 1 00:31:20 2013 +0200

I18n: Update translation pt (100%).

39 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).

 po/pt.po |  111 ++
 1 file changed, 47 insertions(+), 64 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 843f406..40938b6 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -1,39 +1,40 @@
-# European Portuguese translation of the xfce4-cpufreq-plugin package.
+# SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
-# Nuno Miguel , 2007.
-#
+# 
+# Translators:
+# Nuno Miguel , 2007
+# nunom , 2013
+# Sérgio Marques , 2013
 msgid ""
 msgstr ""
-"Project-Id-Version: xfce4-cpufreq-plugin\n"
+"Project-Id-Version: Xfce Panel Plugins\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-08-18 09:44+0200\n"
-"PO-Revision-Date: 2012-01-09 11:22-\n"
-"Last-Translator: Sérgio Marques \n"
-"Language-Team: \n"
-"Language: \n"
+"POT-Creation-Date: 2013-08-30 00:31+0200\n"
+"PO-Revision-Date: 2013-08-31 21:44+\n"
+"Last-Translator: nunom \n"
+"Language-Team: Portuguese 
(http://www.transifex.com/projects/p/xfce/language/pt/)\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Poedit-Language: Portuguese\n"
-"X-Poedit-Country: Portugal\n"
+"Language: pt\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:78
 msgid "Select font..."
-msgstr ""
+msgstr "Selecionar tipo de letra..."
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:80
 msgid "Select font family and size to use for the labels."
-msgstr ""
+msgstr "Selecionar família de tipo de letra e tamanho para as etiquetas."
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:84
 msgid "Right-click to revert to the default font."
-msgstr ""
+msgstr "Clique direito para reverter para o tipo de letra por omissão."
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:102
 msgid "Select font"
-msgstr ""
+msgstr "Selecionar tipo de letra"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:188
 msgid "Configure CPU Frequency Monitor"
@@ -49,7 +50,7 @@ msgstr "Monitorizar"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:223
 msgid "_Update interval:"
-msgstr ""
+msgstr "Intervalo de at_ualização:"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:241
 msgid "Panel"
@@ -57,56 +58,50 @@ msgstr "Painel"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:257
 msgid "_Font:"
-msgstr ""
+msgstr "_Tipo de letra:"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:275
-#, fuzzy
 msgid "_Display CPU:"
-msgstr "Exibir CPU:"
+msgstr "_Exibir CPU:"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:290
 msgid "min"
-msgstr ""
+msgstr "min"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:291
 msgid "avg"
-msgstr ""
+msgstr "média"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:292
 msgid "max"
-msgstr ""
+msgstr "max"
 
 #. check buttons for display widgets in panel
 #: ../panel-plugin/xfce4-cpufreq-configure.c:298
 msgid "_Keep compact"
-msgstr ""
+msgstr "_Manter compato"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:303
 msgid "Show text in a single _line"
-msgstr ""
+msgstr "Mostrar texto numa _linha única"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:308
-#, fuzzy
 msgid "Show CPU _icon"
-msgstr "Mostrar ícone"
+msgstr "Mostrar í_cone do CPU"
 
-#: ../panel-plugin/xfce4-cpufreq-configure.c:313
-#, fuzzy
+#: ../panel-plugin/xfce4-cpufreq-configure.c:315
 msgid "Show CPU fre_quency"
-msgstr "Mostrar frequência"
+msgstr "Mostrar fre_quência do CPU"
 
-#: ../panel-plugin/xfce4-cpufreq-configure.c:318
-#, fuzzy
+#: ../panel-plugin/xfce4-cpufreq-configure.c:320
 msgid "Show CPU _governor"
-msgstr "Mostrar regulador"
+msgstr "Mostrar re_gulador de CPU"
 
-#: ../panel-plugin/xfce4-cpufreq-linux.c:465
+#: ../panel-plugin/xfce4-cpufreq-linux.c:485
 msgid ""
 "Your system does not support cpufreq.\n"
 "The applet only shows the current cpu frequency"
-msgstr ""
-"O seu sistema não possui suporte ao cpufreq.\n"
-"O \"applet\" só mostra a frequência atual do CPU."
+msgstr "O seu sistema não possui suporte ao cpufreq.\nO \"applet\" só mostra a 
frequência atual do CPU"
 
 #: ../panel-plugin/xfce4-cpufreq-overview.c:73
 msgid "Scaling driver:"
@@ -139,65 +134,53 @@ msgstr "Uma sinopse de todos os CPUs do sistema"
 
 #: ../panel-plugin/xfce4-cpufreq-plugin.c:60
 msgid "current min"
-msgstr ""
+msgstr "min atual"
 
 #: ../panel-plugin/xfce4-cpufreq-plugin.c:79
 msgid "current avg"
-msgstr ""
+msgstr "média atual"
 
 #: ../panel-plugin/xfce4-cpufreq-plugin.c:97
 msgid "curre

[Xfce4-commits] I18n: Update translation tr (70%).

2013-08-31 Thread Transifex
Updating branch refs/heads/master
 to bda009e5ed1a9dcd1c6eab6c2c5f55ae19a01c85 (commit)
   from d64038ae4f84e9d98e0d66d9cb3dfce3cb3bc229 (commit)

commit bda009e5ed1a9dcd1c6eab6c2c5f55ae19a01c85
Author: Anonymous 
Date:   Sun Sep 1 00:31:48 2013 +0200

I18n: Update translation tr (70%).

31 translated messages, 13 untranslated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).

 po/tr.po |   56 
 1 file changed, 28 insertions(+), 28 deletions(-)

diff --git a/po/tr.po b/po/tr.po
index eb6cedc..b428a88 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -1,21 +1,23 @@
-# Turkish translation of xfce4-places-plugin
-# Copyright (C) 2008 THE xfce4-places-plugin'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the xfce4-places-plugin 
package.
-#
-# Gökmen Görgen , 2008.
-#
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# 
+# Translators:
+# Gökmen Görgen , 2008
+# wexaw, 2013
 msgid ""
 msgstr ""
-"Project-Id-Version: \n"
+"Project-Id-Version: Xfce Panel Plugins\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2012-09-28 17:07+0100\n"
-"PO-Revision-Date: \n"
-"Last-Translator: Samed Beyribey \n"
-"Language-Team: \n"
-"Language: \n"
+"PO-Revision-Date: 2013-08-31 19:17+\n"
+"Last-Translator: wexaw\n"
+"Language-Team: Turkish 
(http://www.transifex.com/projects/p/xfce/language/tr/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"Language: tr\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
 #. vim: set ai et tabstop=4:
 #: ../panel-plugin/places.desktop.in.h:1 ../panel-plugin/cfg.c:102
@@ -42,19 +44,19 @@ msgid "File System"
 msgstr "Dosya Sistemi"
 
 #: ../panel-plugin/model_volumes.c:71
-#, fuzzy, c-format
+#, c-format
 msgid "Failed to eject \"%s\""
-msgstr "\"%s\" çıkarılması başarısız oldu"
+msgstr ""
 
 #: ../panel-plugin/model_volumes.c:120
-#, fuzzy, c-format
+#, c-format
 msgid "Failed to unmount \"%s\""
-msgstr "\"%s\" bağlantının kaldırılması başarısız oldu"
+msgstr ""
 
 #: ../panel-plugin/model_volumes.c:170 ../panel-plugin/model_volumes.c:193
-#, fuzzy, c-format
+#, c-format
 msgid "Failed to mount \"%s\""
-msgstr "\"%s\" bağlanma başarısız oldu"
+msgstr ""
 
 #: ../panel-plugin/model_volumes.c:478
 msgid "Mount and Open"
@@ -81,8 +83,8 @@ msgstr ""
 #: ../panel-plugin/model_volumes_notify.c:131
 #, c-format
 msgid ""
-"The device \"%s\" is being unmounted by the system. Please do not remove the "
-"media or disconnect the drive"
+"The device \"%s\" is being unmounted by the system. Please do not remove the"
+" media or disconnect the drive"
 msgstr ""
 
 #. TRANSLATORS: Please use the same translation here as in Thunar
@@ -96,8 +98,8 @@ msgstr ""
 #: ../panel-plugin/model_volumes_notify.c:265
 #, c-format
 msgid ""
-"There is data that needs to be written to the device \"%s\" before it can be "
-"removed. Please do not remove the media or disconnect the drive"
+"There is data that needs to be written to the device \"%s\" before it can be"
+" removed. Please do not remove the media or disconnect the drive"
 msgstr ""
 
 #. TRANSLATORS: Please use the same translation here as in Thunar
@@ -193,30 +195,28 @@ msgid "Open"
 msgstr "Aç"
 
 #: ../panel-plugin/support.c:170
-#, fuzzy
 msgid "Open Terminal Here"
-msgstr "Komut Satırını Burada Aç"
+msgstr ""
 
 #: ../panel-plugin/xfce4-popup-places.sh:28
 msgid "Usage:"
-msgstr ""
+msgstr "Kullanım:"
 
 #: ../panel-plugin/xfce4-popup-places.sh:29
 msgid "OPTION"
-msgstr ""
+msgstr "SEÇENEK"
 
 #: ../panel-plugin/xfce4-popup-places.sh:31
 msgid "Options:"
-msgstr ""
+msgstr "Seçenekler:"
 
 #: ../panel-plugin/xfce4-popup-places.sh:32
 msgid "Popup menu at current mouse position"
 msgstr ""
 
 #: ../panel-plugin/xfce4-popup-places.sh:33
-#, fuzzy
 msgid "Show help options"
-msgstr "T_emizleme seçeneğini göster"
+msgstr "Yardım seçeneklerini göster"
 
 #: ../panel-plugin/xfce4-popup-places.sh:34
 msgid "Print version information and exit"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] fix hiding

2013-08-31 Thread Sean Davis
Updating branch refs/heads/bluesabre/gtk3
 to e297f9073f4112e0d567af1d8ef013607c83e83e (commit)
   from 518302b29b9f9435bd1cc0774c3d135aea2b6c8f (commit)

commit e297f9073f4112e0d567af1d8ef013607c83e83e
Author: Sean Davis 
Date:   Sat Aug 31 15:20:32 2013 -0400

fix hiding

 src/parole-player.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/parole-player.c b/src/parole-player.c
index a37eac9..4927701 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -1984,7 +1984,7 @@ parole_player_reset_controls (ParolePlayer *player, 
gboolean fullscreen)
 
 gtk_window_unfullscreen (GTK_WINDOW (player->priv->window));
 gtk_notebook_set_current_page (GTK_NOTEBOOK 
(player->priv->playlist_nt), current_page);
-gdkwindow = gtk_widget_get_window (player->priv->window);
+gdkwindow = gtk_widget_get_window (player->priv->gst);
 gdk_window_set_cursor (gdkwindow, NULL);
 player->priv->full_screen = FALSE;
 }
@@ -2169,7 +2169,7 @@ gboolean parole_player_hide_fs_window (gpointer data)
 if ( gtk_widget_get_visible (controls) )
 {
 gtk_widget_hide(controls);
-gdkwindow = gtk_widget_get_window (controls);
+gdkwindow = gtk_widget_get_window (GTK_WIDGET(player->priv->gst));
 parole_window_invisible_cursor (gdkwindow);
 }
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Use overlay exclusively, replace fs-window, autohide when content playing

2013-08-31 Thread Sean Davis
Updating branch refs/heads/bluesabre/gtk3
 to 518302b29b9f9435bd1cc0774c3d135aea2b6c8f (commit)
   from 161fa1438b8d027c7b7d6ce80fc9a948cd7a1dd1 (commit)

commit 518302b29b9f9435bd1cc0774c3d135aea2b6c8f
Author: Sean Davis 
Date:   Sat Aug 31 15:14:01 2013 -0400

Use overlay exclusively, replace fs-window, autohide when content playing

 src/gst/parole-gst.c |2 +-
 src/parole-player.c  |  131 ++
 2 files changed, 27 insertions(+), 106 deletions(-)

diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index e9e6989..57e17a6 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -467,7 +467,7 @@ static void
 parole_gst_set_video_overlay (ParoleGst *gst)
 {
 GstElement *video_sink;
-GtkWidget *label;
+//GtkWidget *label;
 //GtkStyleContext *context;
 //GdkRGBA *rgba;
 //gchar *converting_value, *hex_value;
diff --git a/src/parole-player.c b/src/parole-player.c
index a2dcabd..a37eac9 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -296,6 +296,8 @@ static void parole_player_dvd_chapter_change_cb 
(ParoleGst *gst,
 gbooleanparole_player_key_press (GtkWidget *widget, 
  GdkEventKey *ev, 
  ParolePlayer *player);
+ 
+gboolean parole_player_hide_fs_window (gpointer data);
  
 static GtkTargetEntry target_entry[] =
 {
@@ -345,9 +347,7 @@ struct ParolePlayerPrivate
 
 GtkWidget  *label_elapsed;
 GtkWidget  *label_duration;
-GtkWidget  *fs_window; /* Window for packing control widgets 
-* when in full screen mode
-*/
+
 GtkWidget  *control; /* contains all play button*/
 GtkWidget  *fullscreen_button;
 GtkWidget  *fullscreen_image;
@@ -667,32 +667,32 @@ parole_player_dvd_reset (ParolePlayer *player)
 }
 }
 
-void
+static void
 parole_player_dvd_menu_activated (GtkMenuItem *widget, ParolePlayer *player)
 {
 parole_gst_send_navigation_command (PAROLE_GST(player->priv->gst), 
GST_DVD_ROOT_MENU);
 }
 
-void
+static void
 parole_player_dvd_title_activated (GtkMenuItem *widget, ParolePlayer *player)
 {
 parole_gst_send_navigation_command (PAROLE_GST(player->priv->gst), 
GST_DVD_TITLE_MENU);
 }
 
-void
+static void
 parole_player_dvd_audio_activated (GtkMenuItem *widget, ParolePlayer *player)
 {
 parole_gst_send_navigation_command (PAROLE_GST(player->priv->gst), 
GST_DVD_AUDIO_MENU);
 
 }
 
-void
+static void
 parole_player_dvd_angle_activated (GtkMenuItem *widget, ParolePlayer *player)
 {
 parole_gst_send_navigation_command (PAROLE_GST(player->priv->gst), 
GST_DVD_ANGLE_MENU);
 }
 
-void
+static void
 parole_player_dvd_chapter_activated (GtkMenuItem *widget, ParolePlayer *player)
 {
 parole_gst_send_navigation_command (PAROLE_GST(player->priv->gst), 
GST_DVD_CHAPTER_MENU);
@@ -1285,12 +1285,6 @@ parole_player_media_list_show_playlist_cb 
(ParoleMediaList *list, gboolean show_
 }
 
 static void
-parole_player_media_list_gst_nav_message_cb (ParoleMediaList *list, gint 
msg_id, ParolePlayer *player)
-{
-
-}
-
-static void
 parole_player_media_progressed_cb (ParoleGst *gst, const ParoleStream *stream, 
gint64 value, ParolePlayer *player)
 {
 #ifdef DEBUG
@@ -1468,6 +1462,8 @@ parole_player_playing (ParolePlayer *player, const 
ParoleStream *stream)
 parole_media_list_select_row (player->priv->list, player->priv->row);
 gtk_widget_grab_focus (player->priv->gst);
 parole_player_update_languages (player, PAROLE_GST(player->priv->gst));
+
+g_timeout_add_seconds (4, (GSourceFunc) parole_player_hide_fs_window, 
player);
 }
 
 static void
@@ -1938,31 +1934,6 @@ parole_player_play_menu_item_activate (ParolePlayer 
*player)
 gtk_widget_activate (player->priv->play_pause);
 }
 
-static void
-parole_player_move_fs_window (ParolePlayer *player)
-{
-GdkScreen *screen;
-GdkRectangle rect;
-GtkAllocation *allocation = g_new0 (GtkAllocation, 1);
-
-screen = gtk_window_get_screen (GTK_WINDOW (player->priv->fs_window));
-
-gdk_screen_get_monitor_geometry (screen,
-gdk_screen_get_monitor_at_window (screen, gtk_widget_get_window( 
GTK_WIDGET(player->priv->window))),
-&rect);
-
-gtk_widget_get_allocation( GTK_WIDGET(player->priv->play_box), allocation 
);
-gtk_window_resize (GTK_WINDOW (player->priv->fs_window), 
-   rect.width, 
-   allocation->height);
-
-gtk_window_move (GTK_WINDOW (player->priv->fs_window),
- rect.x, 
- rect.height + rect.y - allocation->height);
-
-g_free(allocation);
-}
-
 gboolean
 parole_player_window_state_event (GtkWidget *widget, 
 

[Xfce4-commits] Fix gettext translatable string

2013-08-31 Thread Ján Sučan
Updating branch refs/heads/master
 to fc9c9f704b72c5741d3cce2a977b023b5e9a0449 (commit)
   from a3059a222c798e31530d9abdea0075cd89449d4e (commit)

commit fc9c9f704b72c5741d3cce2a977b023b5e9a0449
Author: Ján Sučan 
Date:   Sat Aug 31 19:25:18 2013 +0200

Fix gettext translatable string

gettext does not support macros for type specifiers other than ISO C99
inttypes.

Divide string construction into the type specifier dependent code and
the type specifier independent code.

 libmailwatch-core/mailwatch-net-conn.c |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libmailwatch-core/mailwatch-net-conn.c 
b/libmailwatch-core/mailwatch-net-conn.c
index 454f6ed..9e589a6 100644
--- a/libmailwatch-core/mailwatch-net-conn.c
+++ b/libmailwatch-core/mailwatch-net-conn.c
@@ -965,9 +965,11 @@ xfce_mailwatch_net_conn_recv_line(XfceMailwatchNetConn 
*net_conn,
 
 if((gint)buf_len < p - (gchar *)net_conn->buffer) {
 if(error) {
+gchar *bl = g_strdup_printf("%" G_GSIZE_FORMAT, buf_len);
 g_set_error(error, XFCE_MAILWATCH_ERROR, 0,
-_("Buffer is not large enough to hold a full line (%" 
G_GSIZE_FORMAT " < %d)"),
-buf_len, (gint)(p - (gchar *)net_conn->buffer));
+_("Buffer is not large enough to hold a full line (%s 
< %d)"),
+bl, (gint)(p - (gchar *)net_conn->buffer));
+g_free(bl);
 }
 return -1;
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Support displaying the controls over gst video

2013-08-31 Thread Sean Davis
Updating branch refs/heads/bluesabre/gtk3
 to 161fa1438b8d027c7b7d6ce80fc9a948cd7a1dd1 (commit)
   from 0e427f3519fa6c047c652e083fee68a1fac357c0 (commit)

commit 161fa1438b8d027c7b7d6ce80fc9a948cd7a1dd1
Author: Sean Davis 
Date:   Sat Aug 31 13:02:41 2013 -0400

Support displaying the controls over gst video

 src/gst/parole-gst.c |   37 +
 src/parole-player.c  |4 
 2 files changed, 41 insertions(+)

diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index 6997385..e9e6989 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -27,6 +27,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 
@@ -466,6 +467,12 @@ static void
 parole_gst_set_video_overlay (ParoleGst *gst)
 {
 GstElement *video_sink;
+GtkWidget *label;
+//GtkStyleContext *context;
+//GdkRGBA *rgba;
+//gchar *converting_value, *hex_value;
+//gint hex_int;
+//char *endptr;
 
 g_object_get (G_OBJECT (gst->priv->playbin),
   "video-sink", &video_sink,
@@ -481,6 +488,36 @@ parole_gst_set_video_overlay (ParoleGst *gst)
 gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (video_sink),
   GDK_WINDOW_XID ( gtk_widget_get_window(GTK_WIDGET 
(gst)) ));
 #endif
+/* The below code is an attempt to dynamically support theming on the 
controls.
+label = GTK_WIDGET(gtk_label_new(""));
+context = gtk_widget_get_style_context(GTK_WIDGET(label));
+gtk_style_context_add_class (context, "osd");
+gtk_style_context_get(context, GTK_STATE_FLAG_NORMAL, 
+GTK_STYLE_PROPERTY_BACKGROUND_COLOR, &rgba, NULL);
+
+hex_value = g_strdup("");
+converting_value = g_strdup_printf("%X", (int)(rgba->red * 255.0));
+if ((int)strlen(converting_value) == 1)
+hex_value = g_strjoin("", hex_value, "0", NULL);
+hex_value = g_strjoin("", hex_value, converting_value, NULL);
+
+converting_value = g_strdup_printf("%X", (int)(rgba->green * 255.0));
+if ((int)strlen(converting_value) == 1)
+hex_value = g_strjoin("", hex_value, "0", NULL);
+hex_value = g_strjoin("", hex_value, converting_value, NULL);
+
+converting_value = g_strdup_printf("%X", (int)(rgba->blue * 255.0));
+if ((int)strlen(converting_value) == 1)
+hex_value = g_strjoin("", hex_value, "0", NULL);
+hex_value = g_strjoin("", hex_value, converting_value, NULL);
+
+hex_int = (int)strtol(hex_value, &endptr, 16);
+
+g_object_set(video_sink, "autopaint-colorkey", FALSE,
+ "colorkey", hex_int, NULL);
+*/
+g_object_set(video_sink, "autopaint-colorkey", FALSE,
+ "colorkey", 0x080810, NULL);
 
 gst_object_unref (video_sink);
 }
diff --git a/src/parole-player.c b/src/parole-player.c
index 402880a..a2dcabd 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -3222,7 +3222,11 @@ parole_player_init (ParolePlayer *player)
 gtk_widget_set_margin_top(tmp_box, 10);
 gtk_widget_set_valign(tmp_box, GTK_ALIGN_END);
 controls_style = gtk_widget_get_style_context(GTK_WIDGET(tmp_box));
+//gtk_style_context_add_class (controls_style, "osd");
+gdk_color_parse("#080810", &background);
 gtk_style_context_add_class (controls_style, "osd");
+//gtk_widget_modify_bg(GTK_WIDGET(tmp_box), GTK_STATE_NORMAL, &background);
+gtk_widget_modify_bg(GTK_WIDGET(controls_overlay), GTK_STATE_NORMAL, 
&background);
 gtk_widget_reparent(GTK_WIDGET(player->priv->control), tmp_box);
 gtk_overlay_add_overlay(GTK_OVERLAY(controls_overlay), tmp_box);
 gtk_box_set_child_packing( GTK_BOX(player->priv->control), 
GTK_WIDGET(player->priv->play_box), TRUE, TRUE, 2, GTK_PACK_START );
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] I18n: Update translation hr (100%).

2013-08-31 Thread Transifex
Updating branch refs/heads/master
 to 58918dfcbc775d403c7a8fece3097bc1b865b52f (commit)
   from c48b90a0192281b6c4799e16ced29e158cec9f1e (commit)

commit 58918dfcbc775d403c7a8fece3097bc1b865b52f
Author: destogl 
Date:   Sat Aug 31 18:31:20 2013 +0200

I18n: Update translation hr (100%).

39 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).

 po/hr.po |  121 +-
 1 file changed, 56 insertions(+), 65 deletions(-)

diff --git a/po/hr.po b/po/hr.po
index fb43f4f..fef7d89 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -1,42 +1,39 @@
-#  Croatian translation for xfce4-cpufreq-plugin package.
+# SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the xfce4-cpufreq-plugin 
package.
-# FIRST AUTHOR , YEAR.
-# Ivica Kolić , 2012.
-#
+# This file is distributed under the same license as the PACKAGE package.
+# 
+# Translators:
+# destogl , 2013
+# Ivica  Kolić , 2012
 msgid ""
 msgstr ""
-"Project-Id-Version: xfce4-cpufreq-plugin\n"
+"Project-Id-Version: Xfce Panel Plugins\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-08-18 09:44+0200\n"
-"PO-Revision-Date: 2012-05-02 21:44+0200\n"
-"Last-Translator: Ivica Kolić \n"
-"Language-Team: Hrvatski \n"
-"Language: hr\n"
+"POT-Creation-Date: 2013-08-30 00:31+0200\n"
+"PO-Revision-Date: 2013-08-31 10:50+\n"
+"Last-Translator: destogl \n"
+"Language-Team: Croatian 
(http://www.transifex.com/projects/p/xfce/language/hr/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-"X-Poedit-Language: Croatian\n"
-"X-Poedit-Country: CROATIA\n"
-"X-Poedit-SourceCharset: utf-8\n"
+"Language: hr\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && 
n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:78
 msgid "Select font..."
-msgstr ""
+msgstr "Odaberite font..."
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:80
 msgid "Select font family and size to use for the labels."
-msgstr ""
+msgstr "Odaberite grupu fontova i veličina koje će se koristiti za oznake."
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:84
 msgid "Right-click to revert to the default font."
-msgstr ""
+msgstr "Desni klik za povratak na zadani font."
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:102
 msgid "Select font"
-msgstr ""
+msgstr "Odaberite font"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:188
 msgid "Configure CPU Frequency Monitor"
@@ -52,7 +49,7 @@ msgstr "Monitor"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:223
 msgid "_Update interval:"
-msgstr ""
+msgstr "_Vrijeme osvježavanja:"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:241
 msgid "Panel"
@@ -60,63 +57,59 @@ msgstr "Ploča"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:257
 msgid "_Font:"
-msgstr ""
+msgstr "_Font:"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:275
-#, fuzzy
 msgid "_Display CPU:"
-msgstr "Prikaži procesor:"
+msgstr "_Prikaži procesor:"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:290
 msgid "min"
-msgstr ""
+msgstr "minimum"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:291
 msgid "avg"
-msgstr ""
+msgstr "prosjek"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:292
 msgid "max"
-msgstr ""
+msgstr "maksimum"
 
 #. check buttons for display widgets in panel
 #: ../panel-plugin/xfce4-cpufreq-configure.c:298
 msgid "_Keep compact"
-msgstr ""
+msgstr "_Drži kompaktno"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:303
 msgid "Show text in a single _line"
-msgstr ""
+msgstr "Prikaži tekst u jednoj _liniji"
 
 #: ../panel-plugin/xfce4-cpufreq-configure.c:308
-#, fuzzy
 msgid "Show CPU _icon"
-msgstr "Pokaži ikonu procesora"
+msgstr "Prikaži _ikonu procesora"
 
-#: ../panel-plugin/xfce4-cpufreq-configure.c:313
-#, fuzzy
+#: ../panel-plugin/xfce4-cpufreq-configure.c:315
 msgid "Show CPU fre_quency"
-msgstr "Pokaži frekvenciju procesora"
+msgstr "Prikaži fre_kvenciju procesora"
 
-#: ../panel-plugin/xfce4-cpufreq-configure.c:318
-#, fuzzy
+#: ../panel-plugin/xfce4-cpufreq-configure.c:320
 msgid "Show CPU _governor"
-msgstr "Pokaži ikonu procesora"
+msgstr "Prikaži _način upravljanja procesorom"
 
-#: ../panel-plugin/xfce4-cpufreq-linux.c:465
+#: ../panel-plugin/xfce4-cpufreq-linux.c:485
 msgid ""
 "Your system does not support cpufreq.\n"
 "The applet only shows the current cpu frequency"
-msgstr ""
+msgstr "Vaš sustav ne podržava cpufreq.⏎\nPriključak pokazuje samo 
trenutnu frekvenciju procesora"
 
 #: ../panel-plugin/xfce4-cpufreq-overview.c:73
 msgid "Scaling driver:"
-msgstr ""
+msgstr "Upravljački program skaliranja:"
 
 #: ../panel-plugin/xfce4-cpufreq-overview.c:81
 #, c-format
 msgid "No scaling driver available"
-msgstr ""
+msgstr "Upravljački program skaliranja nije 

[Xfce4-commits] Fix format string of printf-like function

2013-08-31 Thread Ján Sučan
Updating branch refs/heads/master
 to a3059a222c798e31530d9abdea0075cd89449d4e (commit)
   from 19be3432dc694143084e33630a11a7d2157373d8 (commit)

commit a3059a222c798e31530d9abdea0075cd89449d4e
Author: Ján Sučan 
Date:   Sat Aug 31 17:36:41 2013 +0200

Fix format string of printf-like function

 libmailwatch-core/mailwatch-net-conn.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmailwatch-core/mailwatch-net-conn.c 
b/libmailwatch-core/mailwatch-net-conn.c
index 8d0d07d..454f6ed 100644
--- a/libmailwatch-core/mailwatch-net-conn.c
+++ b/libmailwatch-core/mailwatch-net-conn.c
@@ -225,7 +225,7 @@ xfce_mailwatch_net_conn_tls_handshake(XfceMailwatchNetConn 
*net_conn,
 else
 reason = gnutls_strerror(ret);
 if(error)
-g_set_error(error, XFCE_MAILWATCH_ERROR, code, reason);
+g_set_error(error, XFCE_MAILWATCH_ERROR, code, "%s", reason);
 g_critical("XfceMailwatch: TLS handshake failed: %s", reason);
 
 return FALSE;
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Fix recieving data from multiple packets

2013-08-31 Thread Ján Sučan
Updating branch refs/heads/master
 to 19be3432dc694143084e33630a11a7d2157373d8 (commit)
   from d271a1a6e341fdc2e94762a747c4120bacdfe81a (commit)

commit 19be3432dc694143084e33630a11a7d2157373d8
Author: Ján Sučan 
Date:   Sat Aug 31 13:21:43 2013 +0200

Fix recieving data from multiple packets

Check if there are unread data in the gnutls buffers, first.

gnutls is buffering data from the last packet internally. Therefore,
there can be some received data, even if the socket file descriptor is
not readable.

Thanks to Bron Gondwana for tracing this bug.

 libmailwatch-core/mailwatch-net-conn.c |7 +++
 1 file changed, 7 insertions(+)

diff --git a/libmailwatch-core/mailwatch-net-conn.c 
b/libmailwatch-core/mailwatch-net-conn.c
index 785eaf4..8d0d07d 100644
--- a/libmailwatch-core/mailwatch-net-conn.c
+++ b/libmailwatch-core/mailwatch-net-conn.c
@@ -760,6 +760,13 @@ xfce_mailwatch_net_conn_recv_internal(XfceMailwatchNetConn 
*net_conn,
 if(!block)
 tv.tv_sec = 0;
 
+#ifdef HAVE_SSL_SUPPORT
+/* Read data from the gnutls read buffer, first. */
+if (net_conn->is_secure
+&& (ret = gnutls_record_check_pending(net_conn->gt_session)) > 0) {
+break;
+}
+#endif
 ret = select(FD_SETSIZE, &rfd, NULL, NULL, &tv);
 if(ret > 0 && FD_ISSET(net_conn->fd, &rfd))
 break;
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] I18n: Update translation ru (100%).

2013-08-31 Thread Transifex
Updating branch refs/heads/master
 to b09838acb9c283efe57c35694a171d5518d24d77 (commit)
   from 9e916d6c70146d0957301bc0c8e8cde706c97f7d (commit)

commit b09838acb9c283efe57c35694a171d5518d24d77
Author: asvl 
Date:   Sat Aug 31 12:30:57 2013 +0200

I18n: Update translation ru (100%).

224 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).

 po/ru.po |  652 +++---
 1 file changed, 244 insertions(+), 408 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index ff0a12a..84e0591 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -1,183 +1,183 @@
-# Russian translations for parole-media-player package.
-# Copyright (C) 2009 the parole-media-player's copyright holder
-# This file is distributed under the same license as the parole-media-player 
package.
-# Anatoly Chernov , 2009.
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# 
+# Translators:
+# Anatoly Chernov , 2009
+# mrDoctorWho , 2013
 msgid ""
 msgstr ""
-"Project-Id-Version: Parole 0.1.99git.rALT0.4\n"
+"Project-Id-Version: Xfce Apps\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-05-20 15:09+\n"
-"PO-Revision-Date: 2012-08-27 23:16+1000\n"
-"Last-Translator: Alex 'AdUser' Z \n"
-"Language-Team: Russia, ALT LInux\n"
+"POT-Creation-Date: 2013-07-03 20:28+0200\n"
+"PO-Revision-Date: 2013-08-31 08:00+\n"
+"Last-Translator: asvl \n"
+"Language-Team: Russian 
(http://www.transifex.com/projects/p/xfce/language/ru/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Language: \n"
+"Language: ru\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && 
n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 
-#: ../data/interfaces/parole.ui.h:1
-msgid "16:9 (Widescreen)"
-msgstr "16:9 (Широкий экран)"
+#: ../data/interfaces/parole.ui.h:1 ../data/desktop/parole.desktop.in.in.h:1
+#: ../src/parole-about.c:68
+msgid "Parole Media Player"
+msgstr "Медиаплеер Parole"
 
 #: ../data/interfaces/parole.ui.h:2
-msgid "20:9 (DVB)"
-msgstr "20:9 (DVB)"
+msgid "_Media"
+msgstr "_Фильм"
 
 #: ../data/interfaces/parole.ui.h:3
-msgid "4:3 (TV)"
-msgstr "4:3 (TV)"
+msgid "Open _Location"
+msgstr "Открыть _местоположение"
 
 #: ../data/interfaces/parole.ui.h:4
-msgid ""
-"by Unknown "
-"Artist"
-msgstr ""
-"by Неизвестный автор"
+msgid "Open Recent"
+msgstr "Открыть последние"
 
-#: ../data/interfaces/parole.ui.h:5
-msgid ""
-"on Unknown "
-"Album"
-msgstr ""
-"on Неизвестный альбом"
+#: ../data/interfaces/parole.ui.h:5 ../src/parole-disc.c:110
+#: ../src/parole-disc.c:156
+msgid "Insert Disc"
+msgstr "Вставьте диск"
 
 #: ../data/interfaces/parole.ui.h:6
-msgid "Unknown Song"
-msgstr "Неизвестная песня"
+msgid "_Edit"
+msgstr "_Правка"
 
-#: ../data/interfaces/parole.ui.h:7 ../src/misc/parole-filters.c:64
-msgid "Audio"
-msgstr "Звук"
+#: ../data/interfaces/parole.ui.h:7
+msgid "_Repeat"
+msgstr "П_овтор"
 
 #: ../data/interfaces/parole.ui.h:8
-msgid "Audio Track:"
-msgstr "Звуковая дорожка:"
+msgid "_Shuffle"
+msgstr "Случайно"
 
 #: ../data/interfaces/parole.ui.h:9
-msgid "Auto"
-msgstr "Авто"
+msgid "Plugins"
+msgstr "Модули"
+
+#: ../data/interfaces/parole.ui.h:10
+msgid "_View"
+msgstr "_Вид"
 
 #: ../data/interfaces/parole.ui.h:11
-#, no-c-format
-msgid "Buffering (0%)"
-msgstr "Буферизация (0%)"
+msgid "_Aspect Ratio"
+msgstr "_Формат экрана"
 
-#: ../data/interfaces/parole.ui.h:12 ../src/parole-player.c:746
-msgid "Empty"
-msgstr "Пусто"
+#: ../data/interfaces/parole.ui.h:12
+msgid "None"
+msgstr "Нет"
 
 #: ../data/interfaces/parole.ui.h:13
-msgid "Fullscreen"
-msgstr "Полноэкранный режим"
+msgid "Auto"
+msgstr "Авто"
 
-#: ../data/interfaces/parole.ui.h:14 ../src/parole-disc.c:110
-#: ../src/parole-disc.c:156
-msgid "Insert Disc"
-msgstr "Вставьте диск"
+#: ../data/interfaces/parole.ui.h:14
+msgid "Square"
+msgstr "Квадрат"
 
 #: ../data/interfaces/parole.ui.h:15
-msgid "Languages"
-msgstr "Языки"
+msgid "4:3 (TV)"
+msgstr "4:3 (TV)"
 
 #: ../data/interfaces/parole.ui.h:16
-msgid "Media player"
-msgstr "Медиапригрыватель"
+msgid "16:9 (Widescreen)"
+msgstr "16:9 (широкий экран)"
 
 #: ../data/interfaces/parole.ui.h:17
-msgid "Next"
-msgstr "Далее"
+msgid "20:9 (DVB)"
+msgstr "20:9 (DVB)"
 
 #: ../data/interfaces/parole.ui.h:18
-msgid "None"
-msgstr "Нет"
+msgid "Subtitles"
+msgstr "Субтитры"
 
 #: ../data/interfaces/parole.ui.h:19
-msgid "Open Recent"
-msgstr "Открыть последние"
+msgid "Select Text Subtitles..."
+msgstr "Выбрать субтитры..."
 
 #: ../data/interfaces/parole.ui.h:20
-msgid "Open _Location"
-msgstr "Открыть _местоположение"
+msgid "Show _playlist"
+msgstr "Показать список воспроизведения"
 
-#: ../data/interfaces/parole.ui.h:21 ../data/desktop/parole.desktop.in.in.h:2
-#: ../src/parole-about.c:68
-msgid "Parole Media Player"
-msgstr "Медиапроигрыватель Parole"
+

[Xfce4-commits] Fix window placing with gst1.0

2013-08-31 Thread Sean Davis
Updating branch refs/heads/bluesabre/gtk3
 to 0e427f3519fa6c047c652e083fee68a1fac357c0 (commit)
   from 4f85818fcac47d754b115d2502349baa919b5dfd (commit)

commit 0e427f3519fa6c047c652e083fee68a1fac357c0
Author: Sean Davis 
Date:   Sat Aug 31 06:14:45 2013 -0400

Fix window placing with gst1.0

 src/gst/parole-gst.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index b1818d0..6997385 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -952,7 +952,7 @@ static void
 parole_gst_element_message_sync (GstBus *bus, GstMessage *message, ParoleGst 
*gst)
 {
 #if GST_CHECK_VERSION(1, 0, 0)
-if ( gst_message_has_name (message, "prepare-xwindow-id") )
+if ( gst_message_has_name (message, "prepare-window-handle") )
 #else
 if ( !message->structure )
 goto out;
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits