[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 01/02: Simplify loading the icons for the panel button
This is an automated email from the git hooks/post-receive script. andrzejr pushed a commit to branch master in repository panel-plugins/xfce4-pulseaudio-plugin. commit 7cf51c40fb639c892bf3fd2e7df38aef73c0fc09 Author: Simon Steinbeiss simon.steinbe...@elfenbeinturm.at Date: Sat Mar 21 01:13:55 2015 +0100 Simplify loading the icons for the panel button --- panel-plugin/pulseaudio-button.c | 55 +- 1 file changed, 13 insertions(+), 42 deletions(-) diff --git a/panel-plugin/pulseaudio-button.c b/panel-plugin/pulseaudio-button.c index d064be8..2d1eb6f 100644 --- a/panel-plugin/pulseaudio-button.c +++ b/panel-plugin/pulseaudio-button.c @@ -88,10 +88,6 @@ struct _PulseaudioButton gint icon_size; gint size; - /* Array of preloaded icons */ - guint pixbuf_idx; - GdkPixbuf **pixbufs; - GtkWidget*menu; gulongvolume_changed_id; @@ -137,8 +133,6 @@ pulseaudio_button_init (PulseaudioButton *button) gtk_widget_set_name (GTK_WIDGET (button), pulseaudio-button); /* Preload icons */ - button-pixbuf_idx = 0; - button-pixbufs = g_new0 (GdkPixbuf*, G_N_ELEMENTS (icons)-1); g_signal_connect (G_OBJECT (button), style-updated, G_CALLBACK (pulseaudio_button_update_icons), button); /* Setup Gtk style */ @@ -157,7 +151,7 @@ pulseaudio_button_init (PulseaudioButton *button) button-volume_changed_id = 0; button-deactivate_id = 0; - button-image = xfce_panel_image_new (); + button-image = gtk_image_new (); gtk_container_add (GTK_CONTAINER (button), button-image); gtk_widget_show (button-image); @@ -176,12 +170,6 @@ pulseaudio_button_finalize (GObject *object) PulseaudioButton *button = PULSEAUDIO_BUTTON (object); guint i; - /* Free pre-allocated icon pixbufs */ - for (i = 0; i G_N_ELEMENTS (icons)-1; ++i) -if (GDK_IS_PIXBUF (button-pixbufs[i])) - g_object_unref (G_OBJECT (button-pixbufs[i])); - g_free (button-pixbufs); - if (button-menu != NULL) { gtk_menu_detach (GTK_MENU (button-menu)); @@ -275,23 +263,6 @@ pulseaudio_button_menu_deactivate (PulseaudioButton *button, static void pulseaudio_button_update_icons (PulseaudioButton *button) { - guint i; - GtkIconInfo *info; - GtkStyleContext *context; - - g_return_if_fail (IS_PULSEAUDIO_BUTTON (button)); - - context = GTK_STYLE_CONTEXT (gtk_widget_get_style_context (GTK_WIDGET (gtk_widget_get_parent (GTK_WIDGET (button); - - /* Pre-load all icons */ - for (i = 0; i G_N_ELEMENTS (icons)-1; ++i) -{ - if (GDK_IS_PIXBUF (button-pixbufs[i])) -g_object_unref (G_OBJECT (button-pixbufs[i])); -info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (), icons[i], button-icon_size, GTK_ICON_LOOKUP_USE_BUILTIN); -button-pixbufs[i] = gtk_icon_info_load_symbolic_for_context (info, context, NULL, NULL); -} - /* Update the state of the button */ pulseaudio_button_update (button, TRUE); } @@ -301,10 +272,10 @@ static void pulseaudio_button_update (PulseaudioButton *button, gboolean force_update) { - guint idx; gdouble volume; gboolean muted; gchar*tip_text; + const gchar*icon_name; g_return_if_fail (IS_PULSEAUDIO_BUTTON (button)); g_return_if_fail (IS_PULSEAUDIO_VOLUME (button-volume)); @@ -312,15 +283,15 @@ pulseaudio_button_update (PulseaudioButton *button, volume = pulseaudio_volume_get_volume (button-volume); muted = pulseaudio_volume_get_muted (button-volume); if (muted) -idx = V_MUTED; +icon_name = icons[0]; else if (volume = 0.0) -idx = V_MUTED; +icon_name = icons[0]; else if (volume = 0.3) -idx = V_LOW; +icon_name = icons[1]; else if (volume = 0.7) -idx = V_MEDIUM; +icon_name = icons[2]; else -idx = V_HIGH; +icon_name = icons[3]; if (muted) tip_text = g_strdup_printf (_(Volume %d%% (muted)), (gint) round (volume * 100)); @@ -329,11 +300,11 @@ pulseaudio_button_update (PulseaudioButton *button, gtk_widget_set_tooltip_text (GTK_WIDGET (button), tip_text); g_free (tip_text); - if (force_update || button-pixbuf_idx != idx) -{ - button-pixbuf_idx = idx; - xfce_panel_image_set_from_pixbuf (XFCE_PANEL_IMAGE (button-image), button-pixbufs[button-pixbuf_idx]); -} + if (force_update) + { +gtk_image_set_from_icon_name (GTK_IMAGE (button-image), icon_name, GTK_ICON_SIZE_BUTTON); +gtk_image_set_pixel_size (GTK_IMAGE (button-image), button-icon_size); + } } @@ -385,7 +356,7 @@ pulseaudio_button_volume_changed (PulseaudioButton *button, { g_return_if_fail (IS_PULSEAUDIO_BUTTON (button)); - pulseaudio_button_update (button, FALSE); + pulseaudio_button_update (button, TRUE); } -- To stop receiving notification emails like this one, please contact the administrator of this repository.
[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 02/02: Clean up and prevent frequent updates when icon_name hasn't changed
This is an automated email from the git hooks/post-receive script. andrzejr pushed a commit to branch master in repository panel-plugins/xfce4-pulseaudio-plugin. commit b51ef49ee33e033e083242e857b5511315b79eba Author: Andrzej ndrwr...@gmail.com Date: Sat Mar 21 00:46:31 2015 + Clean up and prevent frequent updates when icon_name hasn't changed --- panel-plugin/pulseaudio-button.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/panel-plugin/pulseaudio-button.c b/panel-plugin/pulseaudio-button.c index 2d1eb6f..5412733 100644 --- a/panel-plugin/pulseaudio-button.c +++ b/panel-plugin/pulseaudio-button.c @@ -86,7 +86,7 @@ struct _PulseaudioButton /* Icon size currently used */ gint icon_size; - gint size; + const gchar *icon_name; GtkWidget*menu; @@ -146,6 +146,8 @@ pulseaudio_button_init (PulseaudioButton *button) button-plugin = NULL; button-config = NULL; button-volume = NULL; + button-icon_size = 16; + button-icon_name = NULL; button-menu = NULL; button-volume_changed_id = 0; @@ -168,7 +170,6 @@ static void pulseaudio_button_finalize (GObject *object) { PulseaudioButton *button = PULSEAUDIO_BUTTON (object); - guint i; if (button-menu != NULL) { @@ -272,10 +273,10 @@ static void pulseaudio_button_update (PulseaudioButton *button, gboolean force_update) { - gdouble volume; - gboolean muted; - gchar*tip_text; - const gchar*icon_name; + gdouble volume; + gboolean muted; + gchar *tip_text; + const gchar *icon_name; g_return_if_fail (IS_PULSEAUDIO_BUTTON (button)); g_return_if_fail (IS_PULSEAUDIO_VOLUME (button-volume)); @@ -300,11 +301,12 @@ pulseaudio_button_update (PulseaudioButton *button, gtk_widget_set_tooltip_text (GTK_WIDGET (button), tip_text); g_free (tip_text); - if (force_update) - { -gtk_image_set_from_icon_name (GTK_IMAGE (button-image), icon_name, GTK_ICON_SIZE_BUTTON); -gtk_image_set_pixel_size (GTK_IMAGE (button-image), button-icon_size); - } + if (force_update || icon_name != button-icon_name) +{ + button-icon_name = icon_name; + gtk_image_set_from_icon_name (GTK_IMAGE (button-image), icon_name, GTK_ICON_SIZE_BUTTON); + gtk_image_set_pixel_size (GTK_IMAGE (button-image), button-icon_size); +} } @@ -356,7 +358,7 @@ pulseaudio_button_volume_changed (PulseaudioButton *button, { g_return_if_fail (IS_PULSEAUDIO_BUTTON (button)); - pulseaudio_button_update (button, TRUE); + pulseaudio_button_update (button, 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] [panel-plugins/xfce4-pulseaudio-plugin] branch master updated (275f795 - b51ef49)
This is an automated email from the git hooks/post-receive script. andrzejr pushed a change to branch master in repository panel-plugins/xfce4-pulseaudio-plugin. from 275f795 Clean up some compilation warnings new 7cf51c4 Simplify loading the icons for the panel button new b51ef49 Clean up and prevent frequent updates when icon_name hasn't changed The 2 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-button.c | 61 +++--- 1 file changed, 17 insertions(+), 44 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/orage] 01/01: I18n: Update translation lt (78%).
This is an automated email from the git hooks/post-receive script. transifex pushed a commit to branch master in repository apps/orage. commit 5379f42ce9ec4b27a18219fd7bff7c33a72c3d3f Author: Anonymous nore...@xfce.org Date: Sat Mar 21 00:31:01 2015 +0100 I18n: Update translation lt (78%). 811 translated messages, 219 untranslated messages. Transifex (https://www.transifex.com/projects/p/xfce/). --- po/lt.po | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/po/lt.po b/po/lt.po index a25764b..b86e26a 100644 --- a/po/lt.po +++ b/po/lt.po @@ -11,7 +11,7 @@ msgstr Project-Id-Version: Xfce Apps\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2014-09-23 12:30+0200\n -PO-Revision-Date: 2015-03-16 19:04+\n +PO-Revision-Date: 2015-03-20 21:08+\n Last-Translator: Moo\n Language-Team: Lithuanian (http://www.transifex.com/projects/p/xfce-apps/language/lt/)\n MIME-Version: 1.0\n @@ -1205,19 +1205,19 @@ msgstr Nauja #: ../src/day-view.c:382 msgid Back one week -msgstr +msgstr Viena savaite atgal #: ../src/day-view.c:384 msgid Back one day -msgstr +msgstr Viena diena atgal #: ../src/day-view.c:388 msgid Forward one day -msgstr +msgstr Viena diena pirmyn #: ../src/day-view.c:390 msgid Forward one week -msgstr +msgstr Viena savaite pirmyn #: ../src/day-view.c:395 ../src/event-list.c:1187 msgid Refresh @@ -1591,7 +1591,7 @@ msgstr Pagrindinis Orage kalendoriaus failas #: ../src/interface.c:1121 ../src/interface.c:1186 msgid Current file: -msgstr +msgstr Dabartinis failas: #: ../src/interface.c:1128 ../src/interface.c:1193 msgid New file: @@ -1599,7 +1599,7 @@ msgstr Naujas failas: #: ../src/interface.c:1144 ../src/interface.c:1210 msgid Action options: -msgstr +msgstr Veiksmo parinktys: #: ../src/interface.c:1147 ../src/interface.c:1213 msgid Rename -- 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/orage] branch master updated (15d5c73 - 5379f42)
This is an automated email from the git hooks/post-receive script. transifex pushed a change to branch master in repository apps/orage. from 15d5c73 I18n: Update translation lt (78%). new 5379f42 I18n: Update translation lt (78%). 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/lt.po | 14 +++--- 1 file changed, 7 insertions(+), 7 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] [xfce/libxfce4ui] 01/01: I18n: Update translation lt (92%).
This is an automated email from the git hooks/post-receive script. transifex pushed a commit to branch master in repository xfce/libxfce4ui. commit 3ac6d07bb847a92a8d8101d64b3f3156c8108be0 Author: Anonymous nore...@xfce.org Date: Sat Mar 21 00:30:12 2015 +0100 I18n: Update translation lt (92%). 157 translated messages, 12 untranslated messages. Transifex (https://www.transifex.com/projects/p/xfce/). --- po/lt.po | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/po/lt.po b/po/lt.po index 41455e5..e9e5edb 100644 --- a/po/lt.po +++ b/po/lt.po @@ -10,7 +10,7 @@ msgstr Project-Id-Version: Libxfce4ui\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2015-03-08 00:30+0100\n -PO-Revision-Date: 2015-03-16 11:54+\n +PO-Revision-Date: 2015-03-20 21:21+\n Last-Translator: Moo\n Language-Team: Lithuanian (http://www.transifex.com/projects/p/libxfce4ui/language/lt/)\n MIME-Version: 1.0\n @@ -68,7 +68,7 @@ msgstr Klausimas #: ../libxfce4ui/xfce-sm-client.c:1424 msgid Session management client ID -msgstr +msgstr Seanso tvarkymo kliento ID #: ../libxfce4ui/xfce-sm-client.c:1424 msgid ID @@ -76,15 +76,15 @@ msgstr ID #: ../libxfce4ui/xfce-sm-client.c:1425 msgid Disable session management -msgstr +msgstr Išjungti seanso tvarkymą #: ../libxfce4ui/xfce-sm-client.c:1435 msgid Session management options -msgstr +msgstr Seanso tvarkymo parinktys #: ../libxfce4ui/xfce-sm-client.c:1436 msgid Show session management options -msgstr +msgstr Rodyti seanso tvarkymo parinktis #: ../libxfce4ui/xfce-sm-client.c:1611 #, c-format @@ -146,7 +146,7 @@ msgstr Šis susiejimas jau yra naudojamas veiksmo '%s'. Kurį veiksmą norėsit #. Warn the user #: ../libxfce4kbd-private/xfce-shortcuts.c:110 msgid Please use another key combination. -msgstr +msgstr Prašome naudoti kitokią klavišų kombinaciją. #: ../libxfce4kbd-private/xfce-shortcuts.c:111 #, c-format @@ -171,17 +171,17 @@ msgstr #: ../libxfce4kbd-private/xfce-shortcut-dialog.c:212 #: ../libxfce4kbd-private/xfce-shortcut-dialog.c:226 msgid action -msgstr +msgstr veiksmas #: ../libxfce4kbd-private/xfce-shortcut-dialog.c:216 msgid Command Shortcut -msgstr +msgstr Komandos Susiejimas #. TRANSLATORS: this string will be used to create an explanation for #. * the user in a following string #: ../libxfce4kbd-private/xfce-shortcut-dialog.c:219 msgid command -msgstr +msgstr komanda #: ../libxfce4kbd-private/xfce-shortcut-dialog.c:223 msgid Shortcut @@ -189,7 +189,7 @@ msgstr Susiejimas #: ../libxfce4kbd-private/xfce-shortcut-dialog.c:247 msgid _Cancel -msgstr +msgstr _Atsisakyti #: ../libxfce4kbd-private/xfce-shortcut-dialog.c:275 #, c-format @@ -549,7 +549,7 @@ msgstr Programų leistukai, langų mygtukai, programų meniu, darbo vietos keit #: ../xfce4-about/main.c:79 msgid Desktop Manager -msgstr +msgstr Darbalaukio Tvarkyklė #: ../xfce4-about/main.c:80 msgid @@ -559,7 +559,7 @@ msgstr Nustato darbastalio fono spalvą ar paveikslėlį su nebūtinu programų #: ../xfce4-about/main.c:84 msgid File Manager -msgstr +msgstr Failų Tvarkyklė #: ../xfce4-about/main.c:85 msgid @@ -569,7 +569,7 @@ msgstr Moderni failų tvarkyklė skirta Unix/Linux darbastaliams, besistengiant #: ../xfce4-about/main.c:89 msgid Session Manager -msgstr +msgstr Seansų Tvarkyklė #: ../xfce4-about/main.c:90 msgid @@ -599,7 +599,7 @@ msgstr Parodo įdiegtas programas kategorijose, todėl galite lengvai rasti ir #: ../xfce4-about/main.c:104 msgid Settings Daemon -msgstr +msgstr Nustatymų Demonas #: ../xfce4-about/main.c:105 msgid D-Bus-based configuration storage system. @@ -737,7 +737,7 @@ msgstr Vertėjai #: ../xfce4-about/contributors.h:146 msgid Previous contributors -msgstr +msgstr Ankstesni talkininkai #: ../xfce4-about/xfce4-about.desktop.in.h:1 msgid About Xfce -- 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/libxfce4ui] branch master updated (90b1a13 - 3ac6d07)
This is an automated email from the git hooks/post-receive script. transifex pushed a change to branch master in repository xfce/libxfce4ui. from 90b1a13 I18n: Update translation el (95%). new 3ac6d07 I18n: Update translation lt (92%). 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/lt.po | 30 +++--- 1 file changed, 15 insertions(+), 15 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/mousepad] 01/01: I18n: Update translation lt (94%).
This is an automated email from the git hooks/post-receive script. transifex pushed a commit to branch master in repository apps/mousepad. commit f296045de0b887dc8cdab37d19e60e979809df93 Author: Anonymous nore...@xfce.org Date: Sat Mar 21 00:30:56 2015 +0100 I18n: Update translation lt (94%). 288 translated messages, 18 untranslated messages. Transifex (https://www.transifex.com/projects/p/xfce/). --- po/lt.po | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/po/lt.po b/po/lt.po index ab680e5..42caa95 100644 --- a/po/lt.po +++ b/po/lt.po @@ -10,7 +10,7 @@ msgstr Project-Id-Version: Xfce Apps\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2014-07-15 06:30+0200\n -PO-Revision-Date: 2015-03-16 17:51+\n +PO-Revision-Date: 2015-03-20 21:05+\n Last-Translator: Moo\n Language-Team: Lithuanian (http://www.transifex.com/projects/p/xfce-apps/language/lt/)\n MIME-Version: 1.0\n @@ -338,11 +338,11 @@ msgstr #: ../mousepad/mousepad-prefs-dialog.glade.h:5 msgid Insert Tabs -msgstr +msgstr Įterpti Tabuliavimus #: ../mousepad/mousepad-prefs-dialog.glade.h:6 msgid Insert Spaces -msgstr +msgstr Įterpti Tarpus #: ../mousepad/mousepad-prefs-dialog.glade.h:7 msgid none @@ -464,7 +464,7 @@ msgstr Elgsena: #: ../mousepad/mousepad-prefs-dialog.glade.h:36 msgid bHome/End Keys/b -msgstr bHome/End Klavišai/b +msgstr #: ../mousepad/mousepad-prefs-dialog.glade.h:37 msgid Editor @@ -512,15 +512,15 @@ msgstr bĮrankių Juosta/b #: ../mousepad/mousepad-prefs-dialog.glade.h:48 msgid Always show tabs even with one file -msgstr +msgstr Visada rodyti korteles, netgi atvėrus vieną failą #: ../mousepad/mousepad-prefs-dialog.glade.h:49 msgid Cycled notebook tab switching -msgstr +msgstr Ciklinis užrašinės kortelių perjungimas #: ../mousepad/mousepad-prefs-dialog.glade.h:50 msgid bNotebook tabs/b -msgstr +msgstr bUžrašinės kortelės/b #: ../mousepad/mousepad-prefs-dialog.glade.h:51 msgid Window @@ -553,7 +553,7 @@ msgstr Spausdinti eilučių numerius #: ../mousepad/mousepad-print.c:652 msgid Numbering interval: -msgstr +msgstr Numeravimo intervalas: #: ../mousepad/mousepad-print.c:660 msgid @@ -898,7 +898,7 @@ msgstr Keisti įprastą pasirinkimo režimą į stulpelio ir atvirkščiai #: ../mousepad/mousepad-window.c:429 msgid Conve_rt -msgstr +msgstr Konve_rtuoti #: ../mousepad/mousepad-window.c:430 msgid To _Uppercase @@ -959,11 +959,11 @@ msgstr Iš pasirinktų eilučių ar dokumento pašalinti visus pradžioj esanč #: ../mousepad/mousepad-window.c:437 msgid _Transpose -msgstr _Paversti +msgstr _Transponuoti #: ../mousepad/mousepad-window.c:437 msgid Reverse the order of something -msgstr Pakeisti kažkieno tvarką +msgstr Pakeisti ko nors tvarką #: ../mousepad/mousepad-window.c:438 msgid _Move Selection @@ -987,7 +987,7 @@ msgstr Perkelia pasirinkimą eilute žemiau #: ../mousepad/mousepad-window.c:441 msgid Dup_licate Line / Selection -msgstr +msgstr Dub_liuoti eilutę / pasirinkimą #: ../mousepad/mousepad-window.c:441 msgid Duplicate the current line or selection @@ -1015,7 +1015,7 @@ msgstr Rodyti nuostatų dialogą #: ../mousepad/mousepad-window.c:446 msgid _Search -msgstr +msgstr _Paieška #: ../mousepad/mousepad-window.c:447 msgid Search for text @@ -1131,7 +1131,7 @@ msgstr Keisti pagrindinės meniu juostos matomumą #: ../mousepad/mousepad-window.c:473 msgid _Toolbar -msgstr +msgstr Įra_nkių juosta #: ../mousepad/mousepad-window.c:473 msgid Change the visibility of the toolbar @@ -1147,11 +1147,11 @@ msgstr Keisti būsenos juostos matomumą #: ../mousepad/mousepad-window.c:475 msgid _Fullscreen -msgstr +msgstr _Visas ekranas #: ../mousepad/mousepad-window.c:475 ../mousepad/mousepad-window.c:4950 msgid Make the window fullscreen -msgstr +msgstr Rodyti langą per visą ekraną #: ../mousepad/mousepad-window.c:476 msgid _Auto Indent @@ -1228,7 +1228,7 @@ msgstr Tik skaityti msgid No template files found in\n '%s' -msgstr +msgstr Nerasta jokių šablono failų kataloge\n'%s' #. create other action #: ../mousepad/mousepad-window.c:2436 @@ -1324,7 +1324,7 @@ msgstr Pasirinkite Mousepad šriftą #: ../mousepad/mousepad-window.c:4943 msgid Leave fullscreen mode -msgstr +msgstr Palikti viso ekrano veikseną #: ../mousepad.desktop.in.in.h:2 msgid Simple Text Editor -- 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/mousepad] branch master updated (79bcd83 - f296045)
This is an automated email from the git hooks/post-receive script. transifex pushed a change to branch master in repository apps/mousepad. from 79bcd83 I18n: Update translation lt (89%). new f296045 I18n: Update translation lt (94%). 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/lt.po | 36 ++-- 1 file changed, 18 insertions(+), 18 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] [xfce/xfce4-settings] branch master updated (c94ec0c - e0565a6)
This is an automated email from the git hooks/post-receive script. transifex pushed a change to branch master in repository xfce/xfce4-settings. from c94ec0c I18n: Update translation lt (98%). new e0565a6 I18n: Update translation lt (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/lt.po | 14 +++--- 1 file changed, 7 insertions(+), 7 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] [xfce/xfce4-settings] 01/01: I18n: Update translation lt (100%).
This is an automated email from the git hooks/post-receive script. transifex pushed a commit to branch master in repository xfce/xfce4-settings. commit e0565a6262b487cc84617df1c1c2119861f9b12c Author: Anonymous nore...@xfce.org Date: Sat Mar 21 00:30:48 2015 +0100 I18n: Update translation lt (100%). 354 translated messages. Transifex (https://www.transifex.com/projects/p/xfce/). --- po/lt.po | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/po/lt.po b/po/lt.po index b06a698..195aecb 100644 --- a/po/lt.po +++ b/po/lt.po @@ -10,7 +10,7 @@ msgstr Project-Id-Version: Xfce4-settings\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2015-02-06 06:30+0100\n -PO-Revision-Date: 2015-03-19 19:08+\n +PO-Revision-Date: 2015-03-20 19:43+\n Last-Translator: Moo\n Language-Team: Lithuanian (http://www.transifex.com/projects/p/xfce4-settings/language/lt/)\n MIME-Version: 1.0\n @@ -557,7 +557,7 @@ msgstr _Pirminis ekranas msgid This is a hint for panels, docks and desktop to show on this display preferably. -msgstr +msgstr Tai yra užuomina skydeliams ir darbalaukiui būti rodomiems šiame ekrane. #: ../dialogs/display-settings/display-dialog.glade.h:11 msgid Configure _new displays when connected @@ -593,7 +593,7 @@ msgstr Išsamiau #: ../dialogs/display-settings/minimal-display-dialog.glade.h:7 msgid radiobutton -msgstr +msgstr parinkties akutė #: ../dialogs/display-settings/main.c:88 msgid Left @@ -1140,7 +1140,7 @@ msgstr Slinktis dviem pirštais #: ../dialogs/mouse-settings/mouse-dialog.glade.h:4 msgid Circular scrolling -msgstr +msgstr Žiedinė slinktis #: ../dialogs/mouse-settings/mouse-dialog.glade.h:5 msgid None (right-handed) @@ -1248,7 +1248,7 @@ msgstr Truk_mė: #: ../dialogs/mouse-settings/mouse-dialog.glade.h:29 msgid Tap touchpad to clic_k -msgstr +msgstr Bakstelėti jutiklinį kilimėlį, kad nuspausti #: ../dialogs/mouse-settings/mouse-dialog.glade.h:31 msgid Scrolling _mode: @@ -1268,7 +1268,7 @@ msgstr _Jutiklinis kilimėlis #: ../dialogs/mouse-settings/mouse-dialog.glade.h:35 msgid Trac_king mode: -msgstr +msgstr Se_kimo veiksena: #: ../dialogs/mouse-settings/mouse-dialog.glade.h:36 msgid _Rotation: @@ -1276,7 +1276,7 @@ msgstr _Pasukimas: #: ../dialogs/mouse-settings/mouse-dialog.glade.h:37 msgid Tab_let -msgstr +msgstr P_lanšetė #: ../dialogs/mouse-settings/mouse-dialog.glade.h:38 msgid _Devices -- 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/xfce4-panel] 01/01: I18n: Update translation lt (100%).
This is an automated email from the git hooks/post-receive script. transifex pushed a commit to branch master in repository xfce/xfce4-panel. commit 32dd83349549bd11c58f58320efa832dfd61dea6 Author: Anonymous nore...@xfce.org Date: Fri Mar 20 18:30:37 2015 +0100 I18n: Update translation lt (100%). 394 translated messages. Transifex (https://www.transifex.com/projects/p/xfce/). --- po/lt.po |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/lt.po b/po/lt.po index d7392de..8f9f293 100644 --- a/po/lt.po +++ b/po/lt.po @@ -10,7 +10,7 @@ msgstr Project-Id-Version: Xfce4-panel\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2014-09-05 06:30+0200\n -PO-Revision-Date: 2015-03-12 10:02+\n +PO-Revision-Date: 2015-03-20 12:41+\n Last-Translator: Moo\n Language-Team: Lithuanian (http://www.transifex.com/projects/p/xfce4-panel/language/lt/)\n MIME-Version: 1.0\n @@ -975,7 +975,7 @@ msgstr Laikrodis msgid Name of a timezone corresponding a file in the zoneinfo database, for example \America/New_York\. Leave empty to use the localtime. -msgstr +msgstr Laiko juostos pavadinimas atitinkantis juostų informacijos duomenų bazėje esantį failą, pavyzdžiui \Europe/Vilnius\. Palikite tuščią, norėdami naudoti vietinį laiką. #: ../plugins/clock/clock-dialog.glade.h:3 msgid Time_zone: -- 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-whiskermenu-plugin] branch master updated (56ca267 - af5e8af)
This is an automated email from the git hooks/post-receive script. gottcode pushed a change to branch master in repository panel-plugins/xfce4-whiskermenu-plugin. from 56ca267 Always show description if available. new af5e8af Add keyboard navigation for categories. (bug #11550) 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/window.cpp | 48 +-- 1 file changed, 30 insertions(+), 18 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-whiskermenu-plugin] 01/01: Add keyboard navigation for categories. (bug #11550)
This is an automated email from the git hooks/post-receive script. gottcode pushed a commit to branch master in repository panel-plugins/xfce4-whiskermenu-plugin. commit af5e8af6f92faad479bb90bf41dfb50f8210b376 Author: Graeme Gott gra...@gottcode.org Date: Fri Mar 20 13:14:22 2015 -0400 Add keyboard navigation for categories. (bug #11550) --- panel-plugin/window.cpp | 48 +-- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp index fdfdf80..2518d1a 100644 --- a/panel-plugin/window.cpp +++ b/panel-plugin/window.cpp @@ -715,28 +715,40 @@ gboolean WhiskerMenu::Window::on_key_press_event(GtkWidget* widget, GdkEvent* ev return true; } - // Make up and down keys always scroll current list of applications - if ((key_event-keyval == GDK_KEY_Up) || (key_event-keyval == GDK_KEY_Down)) + Page* page = NULL; + if (gtk_widget_get_visible(m_search_results-get_widget())) { - GtkWidget* view = NULL; - if (gtk_widget_get_visible(m_search_results-get_widget())) - { - view = m_search_results-get_view()-get_widget(); - } - else if (m_favorites_button-get_active()) - { - view = m_favorites-get_view()-get_widget(); - } - else if (m_recent_button-get_active()) - { - view = m_recent-get_view()-get_widget(); - } - else + page = m_search_results; + } + else if (m_favorites_button-get_active()) + { + page = m_favorites; + } + else if (m_recent_button-get_active()) + { + page = m_recent; + } + else + { + page = m_applications; + } + GtkWidget* view = page-get_view()-get_widget(); + + // Allow keyboard navigation out of treeview + if ((key_event-keyval == GDK_KEY_Left) || (key_event-keyval == GDK_KEY_Right)) + { + if ((widget == view) || (gtk_window_get_focus(m_window) == view)) { - view = m_applications-get_view()-get_widget(); + gtk_widget_grab_focus(GTK_WIDGET(m_favorites_button-get_button())); + page-reset_selection(); } + } - if ((widget != view) (gtk_window_get_focus(m_window) != view)) + // Make up and down keys scroll current list of applications from search + if ((key_event-keyval == GDK_KEY_Up) || (key_event-keyval == GDK_KEY_Down)) + { + GtkWidget* search = GTK_WIDGET(m_search_entry); + if ((widget == search) || (gtk_window_get_focus(m_window) == search)) { gtk_widget_grab_focus(view); } -- 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/xfce4-panel] branch master updated (a59714e - 32dd833)
This is an automated email from the git hooks/post-receive script. transifex pushed a change to branch master in repository xfce/xfce4-panel. from a59714e I18n: Update translation el (98%). new 32dd833 I18n: Update translation lt (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/lt.po |4 ++-- 1 file changed, 2 insertions(+), 2 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] [xfce/thunar] branch master updated (25cc8dc - 5dfdd1e)
This is an automated email from the git hooks/post-receive script. transifex pushed a change to branch master in repository xfce/thunar. from 25cc8dc I18n: Update translation lt (97%). new 5dfdd1e I18n: Update translation lt (98%). 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/lt.po | 12 ++-- 1 file changed, 6 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] [xfce/thunar] 01/01: I18n: Update translation lt (98%).
This is an automated email from the git hooks/post-receive script. transifex pushed a commit to branch master in repository xfce/thunar. commit 5dfdd1e94d2b61c12f647813f9b5934f7ec709cb Author: Anonymous nore...@xfce.org Date: Fri Mar 20 18:30:18 2015 +0100 I18n: Update translation lt (98%). 725 translated messages, 13 untranslated messages. Transifex (https://www.transifex.com/projects/p/xfce/). --- po/lt.po | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/po/lt.po b/po/lt.po index 577797d..a879799 100644 --- a/po/lt.po +++ b/po/lt.po @@ -11,7 +11,7 @@ msgstr Project-Id-Version: Thunar\n Report-Msgid-Bugs-To: \n POT-Creation-Date: 2015-02-19 18:30+0100\n -PO-Revision-Date: 2015-03-19 20:42+\n +PO-Revision-Date: 2015-03-20 12:17+\n Last-Translator: Moo\n Language-Team: Lithuanian (http://www.transifex.com/projects/p/thunar/language/lt/)\n MIME-Version: 1.0\n @@ -699,11 +699,11 @@ msgstr Darbalaukio failas \%s\ yra nesaugioje vietoje ir neturi leidimo būti #: ../thunar/thunar-dialogs.c:779 msgid _Launch Anyway -msgstr +msgstr Vis Tiek _Vykdyti #: ../thunar/thunar-dialogs.c:781 msgid Mark _Executable -msgstr +msgstr L_eisti Vykdyti Kaip Programą #: ../thunar/thunar-dnd.c:72 msgid _Copy here @@ -2193,12 +2193,12 @@ msgstr[2] %u elementų (viso %s) #. * directories were not accessible #: ../thunar/thunar-size-label.c:398 msgid (some contents unreadable) -msgstr +msgstr (kai kuris turinys neperskaitomas) #. nothing was readable, so permission was denied #: ../thunar/thunar-size-label.c:409 msgid Permission denied -msgstr +msgstr Neturite teisės #: ../thunar/thunar-standard-view.c:395 msgid Folder Context Menu @@ -2264,7 +2264,7 @@ msgstr _Invertuoti Pasirinkimą #: ../thunar/thunar-standard-view.c:406 msgid Select all and only the items that are not currently selected -msgstr +msgstr Pasirinkti visus ir tik tuos elementus, kurie šiuo metu nėra pasirinkti #: ../thunar/thunar-standard-view.c:407 msgid Du_plicate -- 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: Simplify icon-loading in the menu
This is an automated email from the git hooks/post-receive script. andrzejr pushed a commit to branch master in repository panel-plugins/xfce4-pulseaudio-plugin. commit fc315b4e5206f9efe7976b8b20d1f57a7db69264 Author: Simon Steinbeiss simon.steinbe...@elfenbeinturm.at Date: Fri Mar 20 23:10:12 2015 +0100 Simplify icon-loading in the menu --- panel-plugin/pulseaudio-menu.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/panel-plugin/pulseaudio-menu.c b/panel-plugin/pulseaudio-menu.c index 980b1ec..35f4d3d 100644 --- a/panel-plugin/pulseaudio-menu.c +++ b/panel-plugin/pulseaudio-menu.c @@ -212,9 +212,6 @@ pulseaudio_menu_new (PulseaudioVolume *volume, GdkScreen *gscreen; GtkWidget *mi; GtkWidget *img = NULL; - GdkPixbuf *pix; - GtkIconInfo*info; - GtkStyleContext *context; g_return_val_if_fail (IS_PULSEAUDIO_VOLUME (volume), NULL); g_return_val_if_fail (IS_PULSEAUDIO_CONFIG (config), NULL); @@ -239,15 +236,9 @@ pulseaudio_menu_new (PulseaudioVolume *volume, /* output volume slider */ mi = scale_menu_item_new_with_range (0.0, 100.0, 1.0); - /* attempt to load and display the brightness icon */ - context = gtk_widget_get_style_context (GTK_WIDGET (mi)); - info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (), audio-volume-high-symbolic, 24, GTK_ICON_LOOKUP_GENERIC_FALLBACK); - pix = gtk_icon_info_load_symbolic_for_context (info, context, NULL, NULL); - if (pix) -{ - img = gtk_image_new_from_pixbuf (pix); - gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img); -} + img = gtk_image_new_from_icon_name (audio-volume-high-symbolic, GTK_ICON_SIZE_DND); + gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img); + gtk_image_set_pixel_size (GTK_IMAGE (img), 24); scale_menu_item_set_description_label (SCALE_MENU_ITEM (mi), _(bAudio output volume/b)); -- 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 (4fc9544 - fc315b4)
This is an automated email from the git hooks/post-receive script. andrzejr pushed a change to branch master in repository panel-plugins/xfce4-pulseaudio-plugin. from 4fc9544 Remove grab-broken new fc315b4 Simplify icon-loading in the menu 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-menu.c | 15 +++ 1 file changed, 3 insertions(+), 12 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 (fc315b4 - 275f795)
This is an automated email from the git hooks/post-receive script. andrzejr pushed a change to branch master in repository panel-plugins/xfce4-pulseaudio-plugin. from fc315b4 Simplify icon-loading in the menu new 275f795 Clean up some compilation warnings 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-menu.c |4 +--- panel-plugin/pulseaudio-plugin.c |1 - 2 files changed, 1 insertion(+), 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: Clean up some compilation warnings
This is an automated email from the git hooks/post-receive script. andrzejr pushed a commit to branch master in repository panel-plugins/xfce4-pulseaudio-plugin. commit 275f79583d20c7202481ba90f20d4a456454e589 Author: Andrzej ndrwr...@gmail.com Date: Fri Mar 20 22:24:16 2015 + Clean up some compilation warnings --- panel-plugin/pulseaudio-menu.c |4 +--- panel-plugin/pulseaudio-plugin.c |1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/panel-plugin/pulseaudio-menu.c b/panel-plugin/pulseaudio-menu.c index 35f4d3d..30fcb1e 100644 --- a/panel-plugin/pulseaudio-menu.c +++ b/panel-plugin/pulseaudio-menu.c @@ -29,6 +29,7 @@ #include gtk/gtk.h #include libxfce4panel/libxfce4panel.h #include libxfce4util/libxfce4util.h +#include libxfce4ui/libxfce4ui.h #include pulseaudio-menu.h #include scalemenuitem.h @@ -62,12 +63,9 @@ static void pulseaudio_menu_class_init (PulseaudioMenuClass *klass) { GObjectClass *gobject_class; - GtkWidgetClass*gtkwidget_class; gobject_class = G_OBJECT_CLASS (klass); gobject_class-finalize = pulseaudio_menu_finalize; - - gtkwidget_class = GTK_WIDGET_CLASS (klass); } diff --git a/panel-plugin/pulseaudio-plugin.c b/panel-plugin/pulseaudio-plugin.c index e712a79..c75f897 100644 --- a/panel-plugin/pulseaudio-plugin.c +++ b/panel-plugin/pulseaudio-plugin.c @@ -290,7 +290,6 @@ pulseaudio_plugin_volume_key_pressed (const char *keystring, PulseaudioPlugin *pulseaudio_plugin = PULSEAUDIO_PLUGIN (user_data); gdouble volume= pulseaudio_volume_get_volume (pulseaudio_plugin-volume); gdouble volume_step = pulseaudio_config_get_volume_step (pulseaudio_plugin-config) / 100.0; - gdouble new_volume; pulseaudio_debug (%s pressed, keystring); -- 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