[Xfce4-commits] [apps/xfce4-notifyd] 01/01: I18n: Update translation fi (100%).

2017-10-14 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a 
commit to branch 
master
in repository apps/xfce4-notifyd.

commit fdea7f25cd17c5a8ab9386e25f888d4a4e1fe8ef
Author: Pasi Lallinaho 
Date:   Sun Oct 15 00:31:31 2017 +0200

I18n: Update translation fi (100%).

68 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
---
 po/fi.po | 75 ++--
 1 file changed, 45 insertions(+), 30 deletions(-)

diff --git a/po/fi.po b/po/fi.po
index 7ed0eea..2d2eeb7 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -9,9 +9,9 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Xfce Apps\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-09-09 00:31+0200\n"
-"PO-Revision-Date: 2017-09-19 18:05+\n"
-"Last-Translator: Xfce Bot \n"
+"POT-Creation-Date: 2017-10-10 12:32+0200\n"
+"PO-Revision-Date: 2017-10-14 20:13+\n"
+"Last-Translator: Pasi Lallinaho \n"
 "Language-Team: Finnish 
(http://www.transifex.com/xfce/xfce-apps/language/fi/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -19,7 +19,7 @@ msgstr ""
 "Language: fi\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: ../panel-plugin/notification-plugin.c:183
+#: ../panel-plugin/notification-plugin.c:188
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:12
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.desktop.in.h:1
 msgid "Notifications"
@@ -28,39 +28,48 @@ msgstr "Ilmoitukset"
 #: ../panel-plugin/notification-plugin-dialogs.c:52
 #, c-format
 msgid "Unable to open the following url: %s"
-msgstr ""
+msgstr "Ei voitu avata osoitetta: %s"
 
 #. create the dialog
 #: ../panel-plugin/notification-plugin-dialogs.c:77
 msgid "Notification Plugin Settings"
-msgstr ""
+msgstr "Ilmoituslisäosan asetukset"
 
 #: ../panel-plugin/notification-plugin-dialogs.c:99
 msgid "Number of notifications to show"
-msgstr ""
+msgstr "Näytettävien ilmoitusten määrä"
 
 #: ../panel-plugin/notification-plugin-dialogs.c:107
 msgid "Only show notifications from today"
-msgstr ""
+msgstr "Näytä vain tämän päivän ilmoitukset"
 
 #: ../panel-plugin/notification-plugin-dialogs.c:140
 msgid "This is the notification plugin"
-msgstr ""
+msgstr "Tämä on ilmoituslisäosa"
 
 #: ../panel-plugin/notification-plugin-dialogs.c:142
 msgid "Copyright © 2017 Simon Steinbeiß\n"
-msgstr ""
+msgstr "Tekijänoikeus © 2017 Simon Steinbeiß\n"
+
+#. checkmenuitem for the do not disturb mode of xfce4-notifyd
+#: ../panel-plugin/notification-plugin-log.c:253
+msgid "_Do not disturb"
+msgstr "Älä _häiritse"
+
+#: ../panel-plugin/notification-plugin-log.c:269
+msgid "_Notification settings…"
+msgstr "_Ilmoitusasetukset..."
 
 #: ../panel-plugin/notification-plugin.desktop.in.h:1
 msgid "Notification Plugin"
-msgstr ""
+msgstr "Ilmoituslisäosa"
 
 #: ../panel-plugin/notification-plugin.desktop.in.h:2
 msgid "Notification plugin for the Xfce panel"
-msgstr ""
+msgstr "Ilmoituslisäosa Xfce:n paneelille"
 
 #: ../xfce4-notifyd/main.c:53 ../xfce4-notifyd/main.c:63
-#: ../xfce4-notifyd-config/main.c:774
+#: ../xfce4-notifyd-config/main.c:794
 msgid "Xfce Notify Daemon"
 msgstr "Xfce:n ilmoituspalvelu"
 
@@ -73,7 +82,7 @@ msgstr "Tuntematon valitsin \"%s\"\n"
 msgid "Unable to start notification daemon"
 msgstr "Ilmoituspalvelua ei voi käynnistää"
 
-#: ../xfce4-notifyd/xfce-notify-daemon.c:362
+#: ../xfce4-notifyd/xfce-notify-daemon.c:404
 #, c-format
 msgid "Another notification daemon is running, exiting\n"
 msgstr "Toinen ilmoitussovellus on käynnissä, poistutaan\n"
@@ -94,57 +103,63 @@ msgstr "Painike"
 msgid "Notification preview failed"
 msgstr "Ilmoituksen esikatselua ei voi näyttää"
 
-#: ../xfce4-notifyd-config/main.c:776
+#: ../xfce4-notifyd-config/main.c:796
 msgid "Settings daemon is unavailable"
 msgstr "Asetuspalveluun ei saa yhteyttä"
 
-#: ../xfce4-notifyd-config/main.c:908
+#: ../xfce4-notifyd-config/main.c:921
+msgid ""
+"Empty log\n"
+"No notifications have been logged yet."
+msgstr "Tyhjä loki\nLokissa ei ole vielä yhtään ilmoitusta."
+
+#: ../xfce4-notifyd-config/main.c:928
 msgid "Refresh"
 msgstr "Päivitä"
 
-#: ../xfce4-notifyd-config/main.c:909
+#: ../xfce4-notifyd-config/main.c:929
 msgid "Refresh the notification log"
 msgstr "Päivitä ilmoitusloki"
 
-#: ../xfce4-notifyd-config/main.c:914
+#: ../xfce4-notifyd-config/main.c:934
 msgid "Open"
 msgstr "Avaa"
 
-#: ../xfce4-notifyd-config/main.c:915
+#: ../xfce4-notifyd-config/main.c:935
 msgid "Open the notification log in an external editor"
 msgstr "Avaa ilmoitusloki ulkoisessa sovelluksessa"
 
-#: ../xfce4-notifyd-config/main.c:920
+#: ../xfce4-notifyd-config/main.c:940
 msgid "Clear"
 msgstr "Tyhjennä"
 
-#: ../xfce4-notifyd-config/main.c:921
+#: ../xfce4-notifyd-config/main.c:941
 msgid "Clear 

[Xfce4-commits] [apps/xfce4-notifyd] branch master updated (d8f2dd4 -> fdea7f2)

2017-10-14 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a 
change to branch 
master
in repository apps/xfce4-notifyd.

  from  d8f2dd4   I18n: Update translation pl (100%).
   new  fdea7f2   I18n: Update translation fi (100%).

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 po/fi.po | 75 ++--
 1 file changed, 45 insertions(+), 30 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] branch master updated (7c2e79a -> abdc05a)

2017-10-14 Thread noreply
This is an automated email from the git hooks/post-receive script.

bluesabre pushed a 
change to branch 
master
in repository panel-plugins/xfce4-pulseaudio-plugin.

  from  7c2e79a   Fix panel icon too big with high DPI (bug #13894)
   new  abdc05a   Fix build with clang (non-void function should return a 
value [-Wreturn-type]) (bug #13889)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 panel-plugin/pulseaudio-volume.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 01/01: Fix build with clang (non-void function should return a value [-Wreturn-type]) (bug #13889)

2017-10-14 Thread noreply
This is an automated email from the git hooks/post-receive script.

bluesabre pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-pulseaudio-plugin.

commit abdc05acdf5315f01d01b73ef21f47a270aa81db
Author: Olivier Duchateau 
Date:   Fri Sep 29 20:46:03 2017 +0200

Fix build with clang (non-void function should return a value 
[-Wreturn-type]) (bug #13889)

Signed-off-by: Sean Davis 
---
 panel-plugin/pulseaudio-volume.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/pulseaudio-volume.c b/panel-plugin/pulseaudio-volume.c
index 7840afa..df93d13 100644
--- a/panel-plugin/pulseaudio-volume.c
+++ b/panel-plugin/pulseaudio-volume.c
@@ -810,7 +810,7 @@ pulseaudio_volume_get_output_list (PulseaudioVolume *volume)
   GList *list;
   GList *sorted;
 
-  g_return_if_fail (IS_PULSEAUDIO_VOLUME (volume));
+  g_return_val_if_fail (IS_PULSEAUDIO_VOLUME (volume), NULL);
 
   list = g_hash_table_get_keys (volume->sinks);
   sorted = g_list_sort_with_data (list, (GCompareDataFunc) sort_device_list, 
volume->sinks);
@@ -824,7 +824,7 @@ gchar *
 pulseaudio_volume_get_output_by_name (PulseaudioVolume *volume,
   gchar*name)
 {
-  g_return_if_fail (IS_PULSEAUDIO_VOLUME (volume));
+  g_return_val_if_fail (IS_PULSEAUDIO_VOLUME (volume), NULL);
   return (gchar *) g_hash_table_lookup (volume->sinks, name);
 }
 
@@ -836,7 +836,7 @@ pulseaudio_volume_get_input_list (PulseaudioVolume *volume)
   GList *list;
   GList *sorted;
 
-  g_return_if_fail (IS_PULSEAUDIO_VOLUME (volume));
+  g_return_val_if_fail (IS_PULSEAUDIO_VOLUME (volume), NULL);
 
   list = g_hash_table_get_keys (volume->sources);
   sorted = g_list_sort_with_data (list, (GCompareDataFunc) sort_device_list, 
volume->sources);
@@ -850,7 +850,7 @@ gchar *
 pulseaudio_volume_get_input_by_name (PulseaudioVolume *volume,
  gchar*name)
 {
-  g_return_if_fail (IS_PULSEAUDIO_VOLUME (volume));
+  g_return_val_if_fail (IS_PULSEAUDIO_VOLUME (volume), NULL);
   return (gchar *) g_hash_table_lookup (volume->sources, name);
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 01/01: Fix panel icon too big with high DPI (bug #13894)

2017-10-14 Thread noreply
This is an automated email from the git hooks/post-receive script.

bluesabre pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-pulseaudio-plugin.

commit 7c2e79ae34488c03518409651aa866614e056fbe
Author: Sean Davis 
Date:   Sat Oct 14 08:18:26 2017 -0400

Fix panel icon too big with high DPI (bug #13894)
---
 panel-plugin/pulseaudio-plugin.c | 36 
 1 file changed, 8 insertions(+), 28 deletions(-)

diff --git a/panel-plugin/pulseaudio-plugin.c b/panel-plugin/pulseaudio-plugin.c
index ff1cd63..c4346c0 100644
--- a/panel-plugin/pulseaudio-plugin.c
+++ b/panel-plugin/pulseaudio-plugin.c
@@ -252,40 +252,20 @@ pulseaudio_plugin_size_changed (XfcePanelPlugin *plugin,
 {
   PulseaudioPlugin *pulseaudio_plugin = PULSEAUDIO_PLUGIN (plugin);
   gint  icon_size;
-#if !LIBXFCE4PANEL_CHECK_VERSION (4, 13, 0)
-  GtkStyleContext  *context;
-  GtkBorder padding;
-  GtkBorder border;
-  gint  width;
-  gint  xthickness;
-  gint  ythickness;
-#endif
 
   /* The plugin only occupies a single row */
-  size /= xfce_panel_plugin_get_nrows (plugin);
 #if LIBXFCE4PANEL_CHECK_VERSION (4, 13, 0)
   icon_size = xfce_panel_plugin_get_icon_size (plugin);
 #else
   // fall-back for older panel versions
-  /* Get widget's padding and border to correctly calculate the button's icon 
size */
-  context = gtk_widget_get_style_context (GTK_WIDGET 
(pulseaudio_plugin->button));
-  gtk_style_context_get_padding (context, gtk_widget_get_state_flags 
(GTK_WIDGET (pulseaudio_plugin->button)), );
-  gtk_style_context_get_border (context, gtk_widget_get_state_flags 
(GTK_WIDGET (pulseaudio_plugin->button)), );
-  xthickness = padding.left+padding.right+border.left+border.right;
-  ythickness = padding.top+padding.bottom+border.top+border.bottom;
-
-  width = size - 2 * MAX (xthickness, ythickness);
-  /* Since symbolic icons are usually only provided in 16px we
-   * try to be clever and use size steps */
-
-  if (width <= 21)
-  icon_size = 16;
-  else if (width >=22 && width <= 29)
-  icon_size = 24;
-  else if (width >= 30 && width <= 40)
-  icon_size = 32;
-  else
-  icon_size = width;
+  icon_size = size / xfce_panel_plugin_get_nrows(plugin);
+  icon_size -= 4;
+  if (icon_size < 24)
+icon_size = 16;
+  else if (icon_size < 32)
+icon_size = 24;
+  else if (icon_size < 36)
+icon_size = 32;
 #endif
 
   pulseaudio_button_set_size (pulseaudio_plugin->button, size, icon_size);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] branch master updated (ecf0ef0 -> 7c2e79a)

2017-10-14 Thread noreply
This is an automated email from the git hooks/post-receive script.

bluesabre pushed a 
change to branch 
master
in repository panel-plugins/xfce4-pulseaudio-plugin.

  from  ecf0ef0   I18n: Update translation pt_BR (100%).
   new  7c2e79a   Fix panel icon too big with high DPI (bug #13894)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 panel-plugin/pulseaudio-plugin.c | 36 
 1 file changed, 8 insertions(+), 28 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits