[Xfce4-commits] Identify Displays button

2013-12-10 Thread Sean Davis
Updating branch refs/heads/bluesabre/display-settings
 to 7b6795076e0befd9d4796a6643d8c623414fa1c9 (commit)
   from acaa796d552fbcfacc7bbb999d09674b6da8dbd1 (commit)

commit 7b6795076e0befd9d4796a6643d8c623414fa1c9
Author: Sean Davis 
Date:   Tue Dec 10 21:36:52 2013 -0500

Identify Displays button

 dialogs/display-settings/display-dialog.glade |   40 +++---
 dialogs/display-settings/main.c   |   71 ++---
 2 files changed, 74 insertions(+), 37 deletions(-)

diff --git a/dialogs/display-settings/display-dialog.glade 
b/dialogs/display-settings/display-dialog.glade
index b4bbd80..db7fcef 100644
--- a/dialogs/display-settings/display-dialog.glade
+++ b/dialogs/display-settings/display-dialog.glade
@@ -273,14 +273,40 @@
 True
 False
 
-  
-Configure _new 
displays when connected
+  
 True
-True
-False
-False
-True
-True
+False
+
+  
+Configure 
_new displays when connected
+True
+True
+False
+False
+True
+True
+  
+  
+False
+True
+0
+  
+
+
+  
+Identify 
Displays
+True
+True
+True
+False
+  
+  
+False
+True
+end
+1
+  
+
   
 
   
diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 8c706db..b48c9e9 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -154,6 +154,7 @@ static gint randr_event_base;
 
 /* Used to identify the display */
 static GHashTable *display_popups;
+gboolean show_popups = FALSE;
 
 gboolean supports_alpha = FALSE;
 
@@ -1440,6 +1441,42 @@ display_settings_dialog_response (GtkDialog  *dialog,
 gtk_main_quit ();
 }
 
+static void
+set_display_popups_visible(gboolean visible)
+{
+GHashTableIter iter;
+gpointer key, value;
+GtkWidget *popup;
+
+g_hash_table_iter_init (&iter, display_popups);
+while (g_hash_table_iter_next (&iter, &key, &value))
+{
+popup = (GtkWidget *) value;
+gtk_widget_set_visible(popup, visible);
+}
+}
+
+static gboolean
+focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer data)
+{
+set_display_popups_visible(FALSE);
+return TRUE;
+}
+
+static gboolean
+focus_in_event (GtkWidget *widget, GdkEventFocus *event, gpointer data)
+{
+set_display_popups_visible(TRUE && show_popups);
+return TRUE;
+}
+
+static void
+on_identify_displays_toggled (GtkWidget *widget, GtkBuilder *builder)
+{
+show_popups = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget));
+set_display_popups_visible (show_popups);
+}
+
 
 
 static GtkWidget *
@@ -1449,7 +1486,7 @@ display_settings_dialog_new (GtkBuilder *builder)
 GtkCellRenderer  *renderer;
 GtkTreeSelection *selection;
 GObject  *combobox;
-GObject  *label, *check, *mirror;
+GObject  *label, *check, *mirror, *identify;
 
 /* Get the treeview */
 treeview = gtk_builder_get_object (builder, "randr-outputs");
@@ -1467,6 +1504,9 @@ display_settings_dialog_new (GtkBuilder *builder)
 
 /* Identification popups */
 display_setting_identity_popups_populate ();
+identify = gtk_builder_get_object (builder, "identify-displays");
+g_signal_connect (G_OBJECT (identify), "toggled", G_CALLBACK 
(on_identify_displays_toggled), builder);
+set_display_popups_visible (show_popups);
 
 /* Treeview selection */
 selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));
@@ -1707,35 +1747,6 @@ screen_on_event (GdkXEvent *xevent,
 }
 
 static void
-set_display_popups_visible(gboolean visible)
-{
-GHashTableIter iter;
-gpointer key, value;
-GtkWidget *popup;
-
-g_hash_table_iter_init (&iter, display_popups);
-while (g_hash_table_iter_next (&iter, &key, &value))
-{
-popup = (GtkWidget *) value;
-gtk_widget_set_visible(popup, visible);
-}
-}
-
-static gboolean
-focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer data)
-{
-set_display_popups_visible(FALSE);
-return TRUE;
-}
-
-static gboolean
-focus_in_event (GtkWidget *widget, GdkEventFocus 

[Xfce4-commits] Add hotplug checkbox to plug dialog

2013-12-10 Thread Sean Davis
Updating branch refs/heads/bluesabre/display-settings
 to acaa796d552fbcfacc7bbb999d09674b6da8dbd1 (commit)
   from 7d407c2d7beccf88fa3f1fe713f921eece5c8d1d (commit)

commit acaa796d552fbcfacc7bbb999d09674b6da8dbd1
Author: Sean Davis 
Date:   Tue Dec 10 21:13:34 2013 -0500

Add hotplug checkbox to plug dialog

 dialogs/display-settings/display-dialog.glade |  454 +
 1 file changed, 232 insertions(+), 222 deletions(-)

diff --git a/dialogs/display-settings/display-dialog.glade 
b/dialogs/display-settings/display-dialog.glade
index db0dcf5..b4bbd80 100644
--- a/dialogs/display-settings/display-dialog.glade
+++ b/dialogs/display-settings/display-dialog.glade
@@ -18,241 +18,275 @@
 False
 2
 
-  
+  
 True
 False
 12
-12
+6
 
-  
-200
-True
-True
-automatic
-automatic
-etched-in
-
-  
-True
-True
-False
-False
-False
-  
-
-  
-  
-True
-True
-0
-  
-
-
-  
+  
 True
 False
-7
-2
-12
-6
-
-  
-False
-  
-  
-1
-2
-6
-7
-GTK_FILL
-  
-
-
-  
-True
-False
-  
-  
-1
-2
-5
-6
-GTK_FILL
-  
-
-
-  
-True
-False
-  
-  
-1
-2
-4
-5
-GTK_FILL
-  
-
-
-  
-True
-False
-  
-  
-1
-2
-3
-4
-GTK_FILL
-  
-
-
-  
-False
-0
-Ref_lection:
-True
-  
-  
-6
-7
-GTK_FILL
-GTK_FILL
-  
-
-
-  
-True
-False
-0
-Ro_tation:
-True
-  
-  
-5
-6
-GTK_FILL
-GTK_FILL
-  
-
-
-  
-True
-False
-0
-Refresh 
_rate:
-True
-  
-  
-4
-5
-GTK_FILL
-GTK_FILL
-  
-
-
-  
-True
-False
-0
-R_esolution:
-True
-  
-  
-3
-4
-GTK_FILL
-GTK_FILL
-  
-
-
-  
-True
-False
-0
-P_osition:
-True
-  
-  
-2
-3
-GTK_FILL
-GTK_FILL
-  
-
+12
 
-  
-_Use this 
output
+  
+200
 True
 True
-False
-False
-True
-True
-  
-  
-2
-GTK_FILL
-GTK_FILL
-  
-
-
-  
-_Mirror 
displays
-   

[Xfce4-commits] Check for empty labels to optimize layout

2013-12-10 Thread Andrzej
Updating branch refs/heads/master
 to d046d4b341f2194d52dbd8408740789ca7be0063 (commit)
   from bb667977d8fa17a8620e437d3a755832d0b91390 (commit)

commit d046d4b341f2194d52dbd8408740789ca7be0063
Author: Andrzej 
Date:   Wed Dec 11 01:18:16 2013 +

Check for empty labels to optimize layout

 panel-plugin/indicator-button-box.c |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/panel-plugin/indicator-button-box.c 
b/panel-plugin/indicator-button-box.c
index 1174260..e99df98 100644
--- a/panel-plugin/indicator-button-box.c
+++ b/panel-plugin/indicator-button-box.c
@@ -362,7 +362,8 @@ indicator_button_box_is_small (IndicatorButtonBox *box)
 
   box->orientation = indicator_config_get_panel_orientation (box->config);
 
-  if (box->label != NULL)
+  if (box->label != NULL &&
+  g_strcmp0 (gtk_label_get_label (GTK_LABEL (box->label)), "") != 0)
 {
   box->is_small = FALSE;
   if (box->orientation == GTK_ORIENTATION_VERTICAL &&
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


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

2013-12-10 Thread Transifex
Updating branch refs/heads/master
 to ae449416cf645000fc316c2fa5633275e90682a5 (commit)
   from 9a9c30016e0fdfdbdef93886b6cd5ec64cca2a57 (commit)

commit ae449416cf645000fc316c2fa5633275e90682a5
Author: Yarema aka Knedlyk 
Date:   Wed Dec 11 00:32:04 2013 +0100

I18n: Update translation uk (100%).

591 translated messages.

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

 lib/po/uk.po |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/po/uk.po b/lib/po/uk.po
index 82388b4..1a7e1cf 100644
--- a/lib/po/uk.po
+++ b/lib/po/uk.po
@@ -10,7 +10,7 @@ msgstr ""
 "Project-Id-Version: Xfce Websites\n"
 "Report-Msgid-Bugs-To: https://bugzilla.xfce.org\n";
 "POT-Creation-Date: 2013-07-03 22:08+0200\n"
-"PO-Revision-Date: 2013-12-09 22:17+\n"
+"PO-Revision-Date: 2013-12-10 20:52+\n"
 "Last-Translator: Yarema aka Knedlyk \n"
 "Language-Team: Ukrainian 
(http://www.transifex.com/projects/p/xfce/language/uk/)\n"
 "MIME-Version: 1.0\n"
@@ -2991,7 +2991,7 @@ msgid ""
 "component will remain functional even after merging the feature(s) into the "
 "master branch), to lower the risk of delaying the final release of the "
 "entire Xfce core desktop."
-msgstr ""
+msgstr "Головна гілка кожної компоненти повинна бути ретельно доглянута. 
Головна гілка повинна бути завжди в стані готовності до випуску. Нові 
властивості повинні розроблятися в простих гілках, аж поки не будуть готові 
(тобто: компіляція і сам компонент повинні функціонувати навіть після 
об’єднання властивості(тей) в головній гілці), щоб уникнути запізнення 
фінального випуску всієї стільниці Xfce."
 
 #: about/releasemodel.php:188
 msgid ""
@@ -2999,7 +2999,7 @@ msgid ""
 "Maintainers are suggested to prepare other components for these features in "
 "a separate branch before including the features in a new development "
 "release. That way the other components retain their release-ready state."
-msgstr ""
+msgstr "Нові властивості, які руйнують API або інші компоненти ядра, повинні 
бути зголошені. Організаторам рекомендовано підготувати інші компоненти для цих 
властивостей в окремих гілках перед включенням цих властивостей в новий 
розробницький випуск. Таким чином інші компоненти завжди будуть в стані 
готовності до випуску."
 
 #: about/releasemodel.php:192
 msgid "This is how the basic development workflow looks like:"
@@ -3256,7 +3256,7 @@ msgid ""
 "functionality one can expect of a modern desktop environment. They are "
 "packaged separately and you can pick among the available packages to create "
 "the optimal personal working environment."
-msgstr ""
+msgstr "Xfce втілює традиційну філософію UNIX модульності і повторного 
використання. Xfce складається з ряду компонентів, які забезпечують повну 
функціональність, яку тільки можна очікувати від сучасного середовища робочого 
столу. Вони упаковані окремо і Ви можете вибрати серед доступних пакетів ті, 
які потрібні для створення оптимального персонального робочого середовища."
 
 #: about/index.php:15
 msgid ""
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


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

2013-12-10 Thread Transifex
Updating branch refs/heads/master
 to 0642f1c5e7270a069841edf28bb90655450a0f33 (commit)
   from 0f20ff8d06d74477e2b8f7d9240ee9a85c583c12 (commit)

commit 0642f1c5e7270a069841edf28bb90655450a0f33
Author: Aputsiaĸ Niels Janussen 
Date:   Wed Dec 11 00:31:53 2013 +0100

I18n: Update translation da (100%).

28 translated messages.

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

 po/da.po |   87 +-
 1 file changed, 40 insertions(+), 47 deletions(-)

diff --git a/po/da.po b/po/da.po
index 2a8668a..a44ddb6 100644
--- a/po/da.po
+++ b/po/da.po
@@ -1,32 +1,32 @@
-# Danish translation of xfce4-wmdock-plugin.
-# Copyright (C) 2009 Andre Ellguth 
-# This file is distributed under the same license as the xfce4-wmdock-plugin 
package.
-# Per Kongstad , 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:
+# Aputsiaĸ Niels Janussen , 2013
+# Per Kongstad , 2009
 msgid ""
 msgstr ""
-"Project-Id-Version: xfce4-wmdock-plugin 0.3.2\n"
+"Project-Id-Version: Xfce Panel Plugins\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-10-20 22:08+0200\n"
-"PO-Revision-Date: 2009-02-18 13:43+0100\n"
-"Last-Translator: Per Kongstad \n"
-"Language-Team: Danish \n"
-"Language: da\n"
+"POT-Creation-Date: 2013-11-05 12:31+0100\n"
+"PO-Revision-Date: 2013-12-10 21:15+\n"
+"Last-Translator: Aputsiaĸ Niels Janussen \n"
+"Language-Team: Danish 
(http://www.transifex.com/projects/p/xfce/language/da/)\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"
-"X-Poedit-Language: Danish\n"
-"X-Poedit-Country: DENMARK\n"
-"X-Poedit-SourceCharset: utf-8\n"
+"Language: da\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #: ../panel-plugin/wmdock.c:190
 #, c-format
 msgid "Only a single instance of `%s' can run."
-msgstr ""
+msgstr "Der kan kun køre én enkelt instans af `%s'."
 
 #: ../panel-plugin/wmdock.c:193
 msgid "Only a single instance of `xfce4-wmdock-plugin' can run."
-msgstr ""
+msgstr "Der kan kun køre én enkelt instans af `xfce4-wmdock-plugin'."
 
 #: ../panel-plugin/dnd.c:73
 #, c-format
@@ -35,18 +35,18 @@ msgstr "Vil du fjerne dokprogrammet \"%s\"?"
 
 #: ../panel-plugin/props.c:93
 msgid "Changes maybe not work properly until you restart XFCE!"
-msgstr ""
+msgstr "Ændringer fungerer muligvis ikke korrekt før du genstarter XFCE!"
 
 #: ../panel-plugin/props.c:170
 msgid "Changes will take effect when you restart XFCE!"
-msgstr ""
+msgstr "Ændringer vil træde i kraft når du genstarter XFCE!"
 
 #: ../panel-plugin/props.c:386
 msgid "No dockapp is running!"
 msgstr "Intet dokprogram kører!"
 
 #. Create the configure dialog.
-#: ../panel-plugin/props.c:415
+#: ../panel-plugin/props.c:415 ../panel-plugin/wmdock.desktop.in.in.h:1
 msgid "WMdock"
 msgstr "WMdock"
 
@@ -63,9 +63,8 @@ msgid "Dockapp detection"
 msgstr "Dokprogramgenkeldelse"
 
 #: ../panel-plugin/props.c:436
-#, fuzzy
 msgid "Mode settings"
-msgstr "Generelle indstillinger"
+msgstr "Tilstandsindstillinger"
 
 #: ../panel-plugin/props.c:483
 msgid "Select dockapp to configure:"
@@ -80,66 +79,60 @@ msgid "Display tile in the background."
 msgstr "Vis flise i baggrunden."
 
 #: ../panel-plugin/props.c:504
-#, fuzzy
 msgid "Display a separate WMdock properties button in the panel."
-msgstr ""
-"Vis en separat WMdock-egenskabsknap\n"
-"i panelet."
+msgstr "Vis en separat knap for WMdock-egenskaber i panelet."
 
 #: ../panel-plugin/props.c:505
-#, fuzzy
 msgid "Add only dockapps which start with pattern in list. (e.g.: ^wm;^as)"
-msgstr ""
-"Tilføj kun dokprogrammer som starter med\n"
-"vm* i navnet."
+msgstr "Tilføj kun dokprogrammer som starter med mønsteret i listen. (F.eks.: 
^wm;^as)"
 
 #: ../panel-plugin/props.c:506
-#, fuzzy
 msgid "Display dockapps in separate windows and not in the panel."
-msgstr ""
-"Vis en separat WMdock-egenskabsknap\n"
-"i panelet."
+msgstr "Vis dokprogrammer i separate vinduer, og ikke i panelet."
 
 #: ../panel-plugin/props.c:507
 msgid "Don't use panel size as offset for the first dockapp."
-msgstr ""
+msgstr "Brug ikke panelstørrelse som afsæt i første dokprogram."
 
 #: ../panel-plugin/props.c:508
 msgid "Keep dockapp windows on top."
-msgstr ""
+msgstr "Bevar vinduer for dokprogrammer øverst."
 
 #: ../panel-plugin/props.c:509
 msgid "Enable free positioning of the first dockapp on the screen."
-msgstr ""
+msgstr "Slå fri placering til for det første dokprogram på skærmen."
 
 #: ../panel-plugin/props.c:538
 msgid ""
-"Hint: Is the first dockapp covered by a XFCE panel, please try to move the "
-"plugin\n"
+"Hint: Is the first dockapp covered by a XFCE panel, please try to move the 
plugin\n"
 "to this panel to correct this problem."
-msgstr ""
+msgstr "Tip: Hvis det første dokprogram er dækket af et XFCE-pan

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

2013-12-10 Thread Transifex
Updating branch refs/heads/master
 to 165e9b222740336642d3420d75a72734ad831138 (commit)
   from 7dbfd7e3286fe909b33cd21f8994aaf569c92ace (commit)

commit 165e9b222740336642d3420d75a72734ad831138
Author: Aputsiaĸ Niels Janussen 
Date:   Wed Dec 11 00:31:13 2013 +0100

I18n: Update translation da (100%).

33 translated messages.

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

 po/da.po |   25 +
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/po/da.po b/po/da.po
index 940c8dd..e7bb08d 100644
--- a/po/da.po
+++ b/po/da.po
@@ -3,6 +3,7 @@
 # This file is distributed under the same license as the PACKAGE package.
 # 
 # Translators:
+# Aputsiaĸ Niels Janussen , 2013
 # cedeel , 2013
 # Per Kongstad , 2012
 msgid ""
@@ -10,8 +11,8 @@ msgstr ""
 "Project-Id-Version: Xfce Panel Plugins\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2013-07-03 20:58+0200\n"
-"PO-Revision-Date: 2013-11-26 19:21+\n"
-"Last-Translator: cedeel \n"
+"PO-Revision-Date: 2013-12-10 21:08+\n"
+"Last-Translator: Aputsiaĸ Niels Janussen \n"
 "Language-Team: Danish 
(http://www.transifex.com/projects/p/xfce/language/da/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -71,14 +72,14 @@ msgid ""
 "optionally be launched. The command can either result in a window\n"
 "that matches the below criteria, or it can use the socket ID passed\n"
 "to it (%s) to embed itself automatically."
-msgstr ""
+msgstr "Hvis der ikke bliver fundet et vindue (eller der ikke er noget 
kriterie), så kan en kommando eventuelt blive udført. Kommandoen kan enten 
resultere i et vindue som passer til kriteriet nedenfor, eller den kan bruge 
sokkel-ID'et som sendes til det (%s), til at indlejre sig selv automatisk."
 
 #: ../panel-plugin/embed-dialogs.c:348
 #, c-format
 msgid ""
 "Leave blank to not launch anything\n"
 "%s expands to the socket ID"
-msgstr ""
+msgstr "Lad stå tom for at undlade at opstarte\nnoget som %s udvider til 
sokkel-ID'et"
 
 #: ../panel-plugin/embed-dialogs.c:351
 msgid "L_aunch command"
@@ -96,7 +97,7 @@ msgstr "Udvælgeseskriteria"
 msgid ""
 "The window to embed must match all of the non-blank criteria.\n"
 "Leave everything blank to rely on a launch command with socket ID."
-msgstr ""
+msgstr "Vinduet, som skal indlejres, skal matche alle de ikketomme 
kriterier.\nLad stå tom for at afhænge på kørsel af kommando med sokkel-ID."
 
 #: ../panel-plugin/embed-dialogs.c:366
 msgid "_Process name"
@@ -106,7 +107,7 @@ msgstr "_Procesnavn"
 msgid ""
 "Match the window's application's process name\n"
 "Leave blank if it is not a criterion"
-msgstr ""
+msgstr "Match vinduets programs procesnavn\nLad stå tom, hvis det ikke er et 
kriterie"
 
 #: ../panel-plugin/embed-dialogs.c:373
 msgid "_Window class"
@@ -116,7 +117,7 @@ msgstr "_Vindueklasse"
 msgid ""
 "Match the window's class\n"
 "Leave blank if it is not a criterion"
-msgstr ""
+msgstr "Match vinduets klasse\nLad stå tom, hvis det ikke er et kriterie"
 
 #: ../panel-plugin/embed-dialogs.c:380
 msgid "Window _title"
@@ -126,7 +127,7 @@ msgstr "Vindue_titel"
 msgid ""
 "Match the window's title using a REGEX\n"
 "Leave blank if it is not a criterion"
-msgstr ""
+msgstr "Match vinduets titel med brug af REGEX\nLad stå tom, hvis det ikke er 
et kriterie"
 
 #: ../panel-plugin/embed-dialogs.c:385
 msgid "Display"
@@ -137,7 +138,7 @@ msgstr "Vis"
 msgid ""
 "Leave blank to hide the label\n"
 "%s expands to the embedded window's title"
-msgstr ""
+msgstr "Lad stå tom for at skjule etikette\n%s udvider sig til den indlejrede 
vinduestitel"
 
 #: ../panel-plugin/embed-dialogs.c:391
 msgid "_Label format"
@@ -159,7 +160,7 @@ msgstr "Minimum_størrelse (piksel)"
 msgid ""
 "Minimum size of the embedded window\n"
 "Set to 0 to keep the original window size"
-msgstr ""
+msgstr "Mindststørrelse for det indlejrede vindue\nAngiv til 0 for at bevare 
den oprindelige vinduesstørrelse"
 
 #: ../panel-plugin/embed-dialogs.c:407
 msgid "_Expand"
@@ -171,11 +172,11 @@ msgstr "Brug all tilgængelig panelplads"
 
 #: ../panel-plugin/embed-dialogs.c:412
 msgid "Show _handle"
-msgstr ""
+msgstr "Vis _håndtag"
 
 #: ../panel-plugin/embed-dialogs.c:413
 msgid "Display a handle at the top of the plugin"
-msgstr ""
+msgstr "Vis et håndtag i toppen af udvidelsesmodulet"
 
 #: ../panel-plugin/embed.desktop.in.h:2
 msgid "Embeds an arbitrary window into the panel"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] I18n: Add new translation zh_HK (100%).

2013-12-10 Thread Transifex
Updating branch refs/heads/xfce-4.10
 to 8950dcc89dadeadfecb5977407721358981c8b9c (commit)
   from 102d8a9a5e23da2b62f56752b92c3f1c2847369d (commit)

commit 8950dcc89dadeadfecb5977407721358981c8b9c
Author: Walter Cheuk 
Date:   Tue Dec 10 18:31:58 2013 +0100

I18n: Add new translation zh_HK (100%).

213 translated messages.

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

 po/{zh_TW.po => zh_HK.po} |  138 ++---
 1 file changed, 69 insertions(+), 69 deletions(-)

diff --git a/po/zh_TW.po b/po/zh_HK.po
similarity index 89%
copy from po/zh_TW.po
copy to po/zh_HK.po
index 31cfdea..db22008 100644
--- a/po/zh_TW.po
+++ b/po/zh_HK.po
@@ -13,13 +13,13 @@ msgstr ""
 "Project-Id-Version: Xfdesktop\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2013-07-02 23:19+0200\n"
-"PO-Revision-Date: 2013-10-12 12:18+\n"
+"PO-Revision-Date: 2013-12-10 15:11+\n"
 "Last-Translator: Walter Cheuk \n"
-"Language-Team: Chinese (Taiwan) 
(http://www.transifex.com/projects/p/xfce/language/zh_TW/)\n"
+"Language-Team: Chinese (Hong Kong) 
(http://www.transifex.com/projects/p/xfce/language/zh_HK/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Language: zh_TW\n"
+"Language: zh_HK\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
 #: ../common/xfdesktop-common.c:96 ../common/xfdesktop-common.c:200
@@ -50,7 +50,7 @@ msgstr "垃圾桶"
 
 #: ../settings/main.c:305
 msgid "Removable Devices"
-msgstr "可移除式裝置"
+msgstr "移除式裝置"
 
 #: ../settings/main.c:485
 #, c-format
@@ -69,11 +69,11 @@ msgstr "建立或載入背景清單"
 #, c-format
 msgid ""
 "File \"%s\" is not a valid backdrop list file.  Do you wish to overwrite it?"
-msgstr "檔案「%s」並非為有效的背景清單檔案。您想要覆寫它嗎?"
+msgstr "「%s」檔案並非為有效的背景清單檔案。想要覆寫它嗎?"
 
 #: ../settings/main.c:543
 msgid "Invalid List File"
-msgstr "無效的清單檔案"
+msgstr "清單檔案無效"
 
 #: ../settings/main.c:546
 msgid "Overwriting the file will cause its contents to be lost."
@@ -86,7 +86,7 @@ msgstr "取代"
 #: ../settings/main.c:871
 #, c-format
 msgid "Failed to write backdrop list to \"%s\""
-msgstr "無法寫入背景清單至「%s」"
+msgstr "未能將背景清單寫入至「%s」"
 
 #: ../settings/main.c:898
 msgid "Add Image File(s)"
@@ -103,7 +103,7 @@ msgstr "所有檔案"
 #: ../settings/main.c:1376
 #, c-format
 msgid "Screen %d, Monitor %d (%s)"
-msgstr "畫面 %d,螢幕 %d (%s)"
+msgstr "畫面 %d,顯示器 %d (%s)"
 
 #: ../settings/main.c:1380
 #, c-format
@@ -127,7 +127,7 @@ msgstr "顯示器 %d"
 
 #: ../settings/main.c:1651
 msgid "Settings manager socket"
-msgstr "設定值管理員 socket"
+msgstr "設定管理員 socket"
 
 #: ../settings/main.c:1651
 msgid "SOCKET ID"
@@ -157,7 +157,7 @@ msgstr "桌面設定"
 
 #: ../settings/main.c:1691
 msgid "Unable to contact settings server"
-msgstr "無法聯絡設定值伺服器"
+msgstr "無法聯絡設定伺服器"
 
 #: ../settings/xfce-backdrop-settings.desktop.in.h:1
 msgid "Desktop "
@@ -219,15 +219,15 @@ msgstr "透明"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:11
 msgid "Add an image to the list"
-msgstr "將影像加入清單中"
+msgstr "將影像加入清單"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:12
 msgid "Remove the selected image(s) from the list"
-msgstr "從清單中移除所選的影像"
+msgstr "從清單移除所選影像"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:13
 msgid "Create a new list, or load an existing one"
-msgstr "建立新清單或載入現有的清單"
+msgstr "建立新清單或載入現有清單"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:14
 msgid "St_yle:"
@@ -235,7 +235,7 @@ msgstr "樣式(_Y):"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:15
 msgid "Specify how the image will be resized to fit the screen"
-msgstr "指定影像該如何被重新調整其大小以適應螢幕"
+msgstr "指定影像該如何重新調整其大小以適應螢幕"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:16
 msgid "Images"
@@ -251,11 +251,11 @@ msgstr "單一影像(_S)"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:19
 msgid "Automatically pick a random image from a list file"
-msgstr "自動從清單檔內隨機挑選影像"
+msgstr "自動從清單檔隨機挑選影像"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:20
 msgid "Image _list"
-msgstr "影像檔案"
+msgstr "影像清單(_L)"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:21
 msgid "Don't display an image at all"
@@ -275,7 +275,7 @@ msgstr "指定背景影像後方的色彩繪製樣式"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:25
 msgid "Specifies the solid color, or the \"left\" or \"top\" color of the 
gradient"
-msgstr "指定實色,或是漸層的「左」、「上」顏色"
+msgstr "指定實色,或是漸層的左方或上方顏色"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:26
 msgid "Select First Color"
@@ -283,7 +283,7 @@ msgstr "選取第一色"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:27
 msgid "Specifies the \"right\" or \"bottom\" color of the gradient"
-msgstr "指定漸層的「右」、「下」顏色"
+msgstr "指定漸層的右方或下方顏色"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:28
 msgid "Select Second Color"
@@ -291,7 +291,7 @@ msgstr "選取第二色"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:29
 msgid "Colors"
-msgstr "工作

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

2013-12-10 Thread Transifex
Updating branch refs/heads/master
 to 9c20dcc60991d1101c8e372ca773f69b72466c11 (commit)
   from 01bc17a5fb76c8431050e3eead95e2522b92dab6 (commit)

commit 9c20dcc60991d1101c8e372ca773f69b72466c11
Author: Cedric31 
Date:   Tue Dec 10 18:31:38 2013 +0100

I18n: Update translation oc (100%).

41 translated messages.

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

 po/oc.po |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/po/oc.po b/po/oc.po
index cbd9481..4d9f2b8 100644
--- a/po/oc.po
+++ b/po/oc.po
@@ -4,12 +4,13 @@
 # 
 # Translators:
 # Cedric31 , 2013
+# Cedric31 , 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-12-07 09:05+\n"
+"PO-Revision-Date: 2013-12-10 12:56+\n"
 "Last-Translator: Cedric31 \n"
 "Language-Team: Occitan (post 1500) 
(http://www.transifex.com/projects/p/xfce/language/oc/)\n"
 "MIME-Version: 1.0\n"
@@ -151,7 +152,7 @@ msgstr "Comanda d'alarma"
 
 #: ../src/xfcetimer.c:1572
 msgid "Don't display a warning  if an alarm command is set"
-msgstr ""
+msgstr "Afichetz  pas d'avertiment se una comanda d'alarma es programada"
 
 #: ../src/xfcetimer.c:1577
 msgid "Selecting a timer starts it"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] I18n: Update translation hu (59%).

2013-12-10 Thread Transifex
Updating branch refs/heads/master
 to 9a9c30016e0fdfdbdef93886b6cd5ec64cca2a57 (commit)
   from 8dc5458bd2546f46d217c504f5b992a307b48ac4 (commit)

commit 9a9c30016e0fdfdbdef93886b6cd5ec64cca2a57
Author: gyeben 
Date:   Tue Dec 10 18:31:51 2013 +0100

I18n: Update translation hu (59%).

354 translated messages, 237 untranslated messages.

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

 lib/po/hu.po |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/po/hu.po b/lib/po/hu.po
index 17f191e..d6ccbea 100644
--- a/lib/po/hu.po
+++ b/lib/po/hu.po
@@ -13,7 +13,7 @@ msgstr ""
 "Project-Id-Version: Xfce Websites\n"
 "Report-Msgid-Bugs-To: https://bugzilla.xfce.org\n";
 "POT-Creation-Date: 2013-07-03 22:08+0200\n"
-"PO-Revision-Date: 2013-11-07 21:32+\n"
+"PO-Revision-Date: 2013-12-10 14:59+\n"
 "Last-Translator: gyeben \n"
 "Language-Team: Hungarian 
(http://www.transifex.com/projects/p/xfce/language/hu/)\n"
 "MIME-Version: 1.0\n"
@@ -1858,7 +1858,7 @@ msgstr ""
 
 #: about/tour46.php:21
 msgid "New desktop menu"
-msgstr ""
+msgstr "Új asztali menü"
 
 #: about/tour46.php:26
 msgid ""
@@ -2144,7 +2144,7 @@ msgstr ""
 
 #: about/tour46.php:186
 msgid "New application finder"
-msgstr ""
+msgstr "Új alkalmazáskereső"
 
 #: about/tour46.php:198
 msgid "Written by Jérôme Guelfucci (February 2009)"
@@ -2208,7 +2208,7 @@ msgstr "Az Alkalmazáskereső kibontott nézete"
 
 #: about/tour.php:25
 msgid "Multiple Rows"
-msgstr ""
+msgstr "Több sor"
 
 #: about/tour.php:27
 msgid ""
@@ -2352,7 +2352,7 @@ msgstr ""
 
 #: about/tour.php:81
 msgid "MIME Type Editor"
-msgstr ""
+msgstr "MIME-típus szerkesztő"
 
 #: about/tour.php:83
 msgid ""
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] I18n: Add new translation zh_HK (100%).

2013-12-10 Thread Transifex
Updating branch refs/heads/master
 to ce72d74bc4d339336e2e856097d9ef82fb5a4f59 (commit)
   from cc1683ad9223989158c24de40d3d1d6e580d55da (commit)

commit ce72d74bc4d339336e2e856097d9ef82fb5a4f59
Author: Walter Cheuk 
Date:   Tue Dec 10 18:31:55 2013 +0100

I18n: Add new translation zh_HK (100%).

215 translated messages.

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

 po/{zh_TW.po => zh_HK.po} |  164 ++---
 1 file changed, 82 insertions(+), 82 deletions(-)

diff --git a/po/zh_TW.po b/po/zh_HK.po
similarity index 87%
copy from po/zh_TW.po
copy to po/zh_HK.po
index 559ddac..43cafa9 100644
--- a/po/zh_TW.po
+++ b/po/zh_HK.po
@@ -4,23 +4,23 @@
 # 
 # Translators:
 # Ambrose Li , 2004
-# Cheng-Chia Tseng , 2010
+# Cheng-Chia Tseng , 2010,2013
 # Hydonsingore Cia , 2004
+# sofyalai , 2013
 # umm , 2003
 # Walter Cheuk , 2013
-# sofyalai , 2013
 msgid ""
 msgstr ""
 "Project-Id-Version: Xfdesktop\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2013-11-15 00:31+0100\n"
-"PO-Revision-Date: 2013-11-16 10:32+\n"
-"Last-Translator: sofyalai \n"
-"Language-Team: Chinese (Taiwan) 
(http://www.transifex.com/projects/p/xfce/language/zh_TW/)\n"
+"PO-Revision-Date: 2013-12-10 15:11+\n"
+"Last-Translator: Walter Cheuk \n"
+"Language-Team: Chinese (Hong Kong) 
(http://www.transifex.com/projects/p/xfce/language/zh_HK/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Language: zh_TW\n"
+"Language: zh_HK\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
 #: ../settings/main.c:371 ../src/xfdesktop-special-file-icon.c:295
@@ -38,11 +38,11 @@ msgstr "垃圾桶"
 
 #: ../settings/main.c:377
 msgid "Removable Devices"
-msgstr "可移除式裝置"
+msgstr "移除式裝置"
 
 #: ../settings/main.c:379
 msgid "Network Shares"
-msgstr "網路共享資源"
+msgstr "網絡共享資源"
 
 #: ../settings/main.c:381
 msgid "Disks and Drives"
@@ -75,7 +75,7 @@ msgstr "螢幕 %d 的桌布"
 msgid ""
 "You are using more than one display, move this dialog to the display you "
 "want to edit the settings for."
-msgstr "當你使用一個以上的顯示器時, 將對話視窗移至該要更改設定的顯示器"
+msgstr "你正使用一個以上的顯示器,請將此對話視窗移至你想要更改設定之顯示器。"
 
 #: ../settings/main.c:697
 #, c-format
@@ -91,7 +91,7 @@ msgstr "%s 的桌布,螢幕 %d"
 msgid ""
 "You are using more than one display, move this dialog to the display and "
 "workspace you want to edit the settings for."
-msgstr "當你使用一個以上的顯示器時, 將對話視窗移至該要更改設定的顯示器以及工作區"
+msgstr "你正使用一個以上的顯示器,請將此對話視窗移至你想要更改設定之顯示器以及工作區。"
 
 #. Single monitor and single workspace
 #: ../settings/main.c:716
@@ -107,7 +107,7 @@ msgstr "%s 的桌布"
 
 #: ../settings/main.c:727
 msgid "Move this dialog to the workspace you want to edit the settings for."
-msgstr "將對話視窗移至該要更改設定的工作區"
+msgstr "請將此對話視窗移至你想要更改設定之工作區。"
 
 #: ../settings/main.c:1130
 msgid "Image selection is unavailable while the image style is set to None."
@@ -123,7 +123,7 @@ msgstr "影像檔案"
 
 #: ../settings/main.c:1939
 msgid "Settings manager socket"
-msgstr "設定值管理員 socket"
+msgstr "設定管理員 socket"
 
 #: ../settings/main.c:1939
 msgid "SOCKET ID"
@@ -153,7 +153,7 @@ msgstr "桌面設定"
 
 #: ../settings/main.c:1989
 msgid "Unable to contact settings server"
-msgstr "無法聯絡設定值伺服器"
+msgstr "無法聯絡設定伺服器"
 
 #: ../settings/xfce-backdrop-settings.desktop.in.h:1
 msgid "Desktop "
@@ -181,7 +181,7 @@ msgstr "透明"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:5
 msgid "_Folder:"
-msgstr "資料夾(_F):"
+msgstr "資料夾(_F):"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:6
 msgid "Choose the folder to select wallpapers from"
@@ -193,7 +193,7 @@ msgstr "樣式(_Y):"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:8
 msgid "Specify how the image will be resized to fit the screen"
-msgstr "指定影像該如何被重新調整其大小以適應螢幕"
+msgstr "指定影像該如何重新調整其大小以適應螢幕"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:9
 #: ../settings/xfdesktop-settings-ui.glade.h:4
@@ -234,7 +234,7 @@ msgstr "指定背景影像後方的色彩繪製樣式"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:18
 msgid "Specifies the solid color, or the \"left\" or \"top\" color of the 
gradient"
-msgstr "指定實色,或是漸層的「左」、「上」顏色"
+msgstr "指定實色,或是漸層的左方或上方顏色"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:19
 msgid "Select First Color"
@@ -242,7 +242,7 @@ msgstr "選取第一色"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:20
 msgid "Specifies the \"right\" or \"bottom\" color of the gradient"
-msgstr "指定漸層的「右」、「下」顏色"
+msgstr "指定漸層的右方或下方顏色"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:21
 msgid "Select Second Color"
@@ -254,7 +254,7 @@ msgstr "套用至所有工作空間(_W)"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:23
 msgid "Change the _background "
-msgstr "變更背景"
+msgstr "更換背景(_B)"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:24
 msgid ""
@@ -295,7 +295,7 @@ msgstr "按時間"
 
 #: ../settings/xfdesktop-settings-appearance-frame-ui.glade.h:33
 msgid "Amount of time before a different background is 

[Xfce4-commits] Show/hide display popups with focus

2013-12-10 Thread Sean Davis
Updating branch refs/heads/bluesabre/display-settings
 to 7d407c2d7beccf88fa3f1fe713f921eece5c8d1d (commit)
   from 576ceecb404297a2cc4bbc6a2134f06cab771856 (commit)

commit 7d407c2d7beccf88fa3f1fe713f921eece5c8d1d
Author: Sean Davis 
Date:   Tue Dec 10 05:32:22 2013 -0500

Show/hide display popups with focus

 dialogs/display-settings/main.c |   33 +
 1 file changed, 33 insertions(+)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 6dcfc5b..8c706db 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1707,6 +1707,35 @@ screen_on_event (GdkXEvent *xevent,
 }
 
 static void
+set_display_popups_visible(gboolean visible)
+{
+GHashTableIter iter;
+gpointer key, value;
+GtkWidget *popup;
+
+g_hash_table_iter_init (&iter, display_popups);
+while (g_hash_table_iter_next (&iter, &key, &value))
+{
+popup = (GtkWidget *) value;
+gtk_widget_set_visible(popup, visible);
+}
+}
+
+static gboolean
+focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer data)
+{
+set_display_popups_visible(FALSE);
+return TRUE;
+}
+
+static gboolean
+focus_in_event (GtkWidget *widget, GdkEventFocus *event, gpointer data)
+{
+set_display_popups_visible(TRUE);
+return TRUE;
+}
+
+static void
 display_settings_show_main_dialog (GdkDisplay *display)
 {
 GtkBuilder  *builder;
@@ -1729,6 +1758,10 @@ display_settings_show_main_dialog (GdkDisplay *display)
   randr_event_base,
   RRNotify + 1);
 gdk_window_add_filter (gdk_get_default_root_window (), 
screen_on_event, builder);
+
+/* Show/Hide the helper popups when the dialog is shown/hidden */
+g_signal_connect(G_OBJECT(dialog), "focus-out-event", G_CALLBACK 
(focus_out_event), builder);
+g_signal_connect(G_OBJECT(dialog), "focus-in-event", G_CALLBACK 
(focus_in_event), builder);
 
 if (G_UNLIKELY (opt_socket_id == 0))
 {
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits