[Xfce4-commits] [apps/xfce4-notifyd] branch master updated (e4df993 -> bfce8aa)

2019-11-08 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

  from  e4df993   Switch to new fallback style class "keycap"
   new  bfce8aa   panel-plugin: Toggle 'Do not disturb' with middle mouse 
click (Bug #16132)

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/notification-plugin.c | 20 ++--
 1 file changed, 14 insertions(+), 6 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] [apps/xfce4-notifyd] 01/01: panel-plugin: Toggle 'Do not disturb' with middle mouse click (Bug #16132)

2019-11-08 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

commit bfce8aa1108239eb58de3f588c4b3f5b75a7f91c
Author: Andre Miranda 
Date:   Fri Nov 8 19:45:58 2019 -0300

panel-plugin: Toggle 'Do not disturb' with middle mouse click (Bug #16132)
---
 panel-plugin/notification-plugin.c | 20 ++--
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/panel-plugin/notification-plugin.c 
b/panel-plugin/notification-plugin.c
index 0572de2..b43a33b 100644
--- a/panel-plugin/notification-plugin.c
+++ b/panel-plugin/notification-plugin.c
@@ -88,12 +88,20 @@ cb_button_pressed (GtkButton *button,
GdkEventButton *event,
NotificationPlugin *notification_plugin)
 {
-  if (event->button != 1)
-return FALSE;
-  if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)))
-notification_plugin_popup_menu (notification_plugin);
-
-  return TRUE;
+  if (event->button == 1 && !gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON 
(button)))
+{
+  notification_plugin_popup_menu (notification_plugin);
+  return TRUE;
+}
+
+  if (event->button == 2)
+{
+  gboolean state = xfconf_channel_get_bool (notification_plugin->channel, 
"/do-not-disturb", FALSE);
+  xfconf_channel_set_bool (notification_plugin->channel, 
"/do-not-disturb", !state);
+  return TRUE;
+}
+
+  return FALSE;
 }
 
 

-- 
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] [xfce/xfwm4] 01/01: I18n: Update translation nb (100%).

2019-11-08 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a 
commit to branch 
master
in repository xfce/xfwm4.

commit 88c739c3efba49d4c1d539db7fb5d4b7066e3a34
Author: Åsmund Berg Holm 
Date:   Sat Nov 9 00:32:05 2019 +0100

I18n: Update translation nb (100%).

170 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
---
 po/nb.po | 39 ++-
 1 file changed, 22 insertions(+), 17 deletions(-)

diff --git a/po/nb.po b/po/nb.po
index dcfb16c..b14fa82 100644
--- a/po/nb.po
+++ b/po/nb.po
@@ -5,6 +5,7 @@
 # Translators:
 # Allan Nordhøy , 2014-2015
 # Allan Nordhøy , 2015-2016
+# Åsmund Berg Holm , 2019
 # Erlend Østlie , 2018
 # Eskild Hustvedt , 2004
 # Harald H. , 2014
@@ -15,9 +16,9 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Xfwm4\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2019-08-02 18:32+0200\n"
-"PO-Revision-Date: 2019-08-11 04:20+\n"
-"Last-Translator: Kjell Cato Heskjestad \n"
+"POT-Creation-Date: 2019-08-29 00:32+0200\n"
+"PO-Revision-Date: 2019-11-08 20:48+\n"
+"Last-Translator: Åsmund Berg Holm \n"
 "Language-Team: Norwegian Bokmål 
(http://www.transifex.com/xfce/xfwm4/language/nb/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -122,7 +123,7 @@ msgstr "_Hjelp"
 
 #. 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:4
-#: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:4 ../src/menu.c:71
+#: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:4 ../src/menu.c:72
 msgid "_Close"
 msgstr "_Lukk"
 
@@ -692,52 +693,56 @@ msgid "_Same as Other Windows"
 msgstr "_Samme som andre vinduer"
 
 #: ../src/menu.c:61
+msgid "Always _Below Other Windows"
+msgstr "Alltid _under andre vinduer"
+
+#: ../src/menu.c:62
 msgid "Roll Window Up"
 msgstr "Rull vindu opp"
 
-#: ../src/menu.c:62
+#: ../src/menu.c:63
 msgid "Roll Window Down"
 msgstr "Rull vindu ned"
 
-#: ../src/menu.c:63
+#: ../src/menu.c:64
 msgid "_Fullscreen"
 msgstr "_Fullskjerm"
 
-#: ../src/menu.c:64
+#: ../src/menu.c:65
 msgid "Leave _Fullscreen"
 msgstr "_Fullskjerm av"
 
-#: ../src/menu.c:65
+#: ../src/menu.c:66
 msgid "Context _Help"
 msgstr "Kontekst_hjelp"
 
 #. 
-#: ../src/menu.c:67
+#: ../src/menu.c:68
 msgid "Always on _Visible Workspace"
-msgstr "Alltid på _synlig arbeidsområde"
+msgstr "Alltid på _Synlig arbeidsområde"
 
-#: ../src/menu.c:68
+#: ../src/menu.c:69
 msgid "Only _Visible on This Workspace"
-msgstr "Bare _synlig på dette arbeidsområdet"
+msgstr "Bare _Synlig på dette arbeidsområdet"
 
-#: ../src/menu.c:69
+#: ../src/menu.c:70
 msgid "Move to Another _Workspace"
 msgstr "Flytt til et annet _arbeidsområde"
 
 #. 
-#: ../src/menu.c:74
+#: ../src/menu.c:75
 msgid "Destroy"
 msgstr "Ødelegg"
 
-#: ../src/menu.c:77
+#: ../src/menu.c:78
 msgid "_Quit"
 msgstr "_Avslutt"
 
-#: ../src/menu.c:78
+#: ../src/menu.c:79
 msgid "Restart"
 msgstr "Start på nytt"
 
-#: ../src/menu.c:535
+#: ../src/menu.c:536
 #, c-format
 msgid "%s: GtkMenu failed to grab the pointer\n"
 msgstr "%s: GtkMenu kunne ikke fange opp pekeren\n"

-- 
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] [xfce/xfwm4] branch master updated (e1f2e34 -> 88c739c)

2019-11-08 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a 
change to branch 
master
in repository xfce/xfwm4.

  from  e1f2e34   I18n: Update translation ka (100%).
   new  88c739c   I18n: Update translation nb (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/nb.po | 39 ++-
 1 file changed, 22 insertions(+), 17 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