[Xfce4-commits] [apps/xfce4-terminal] 01/01: I18n: Update translation fr (100%).
This is an automated email from the git hooks/post-receive script. t r a n s i f e x p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/xfce4-terminal. commit 8f794e293e6bbdbf0b5e1bddb036b5fdee2664bd Author: Yannick Le Guen Date: Sat Jul 13 00:31:30 2019 +0200 I18n: Update translation fr (100%). 402 translated messages. Transifex (https://www.transifex.com/xfce/public/). --- po/fr.po | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/fr.po b/po/fr.po index 6261468..f99db09 100644 --- a/po/fr.po +++ b/po/fr.po @@ -24,7 +24,7 @@ msgstr "" "Project-Id-Version: Xfce Apps\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-03-21 18:31+0100\n" -"PO-Revision-Date: 2019-03-23 15:37+\n" +"PO-Revision-Date: 2019-07-12 17:57+\n" "Last-Translator: Yannick Le Guen \n" "Language-Team: French (http://www.transifex.com/xfce/xfce-apps/language/fr/)\n" "MIME-Version: 1.0\n" @@ -1238,15 +1238,15 @@ msgstr "_Général" #: ../terminal/terminal-preferences.glade.h:62 msgid "_Keep window open when it loses focus" -msgstr "Garder la fenêtre ouverte quand elle perd le focus" +msgstr "Gar_der la fenêtre ouverte quand elle perd le focus" #: ../terminal/terminal-preferences.glade.h:63 msgid "Always keep window on _top" -msgstr "Toujours garder la fenêtre au-dessus" +msgstr "Toujours garder la fenêtre au-de_ssus" #: ../terminal/terminal-preferences.glade.h:64 msgid "Use shortcut to _focus visible window" -msgstr "Utiliser le raccourci pour voir la _fenêtre visible" +msgstr "Utiliser le raccourci pour donner le _focus à la fenêtre" #: ../terminal/terminal-preferences.glade.h:65 msgid "" -- 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-terminal] branch master updated (72c9324 -> 8f794e2)
This is an automated email from the git hooks/post-receive script. t r a n s i f e x p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository apps/xfce4-terminal. from 72c9324 Unmaximize drop-down window when hiding it new 8f794e2 I18n: Update translation fr (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/fr.po | 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] [apps/ristretto] 01/01: appdata.xml: Remove releases info and update URLs
This is an automated email from the git hooks/post-receive script. f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/ristretto. commit 7cfab432c6222dab52d70fe64ea795e321ec8790 Author: Igor Date: Fri Jul 12 15:44:03 2019 -0400 appdata.xml: Remove releases info and update URLs Fixes bug #15482 --- ristretto.appdata.xml.in | 47 --- 1 file changed, 4 insertions(+), 43 deletions(-) diff --git a/ristretto.appdata.xml.in b/ristretto.appdata.xml.in index 7766905..d3b2e4c 100644 --- a/ristretto.appdata.xml.in +++ b/ristretto.appdata.xml.in @@ -19,19 +19,19 @@ - http://goodies.xfce.org/_media/projects/applications/ristretto-screenshot.png + https://goodies.xfce.org/_media/projects/applications/ristretto-screenshot.png Ristretto - Set as Wallpaper - http://goodies.xfce.org/_media/projects/applications/ristretto-screenshot-2.png + https://goodies.xfce.org/_media/projects/applications/ristretto-screenshot-2.png - http://docs.xfce.org/apps/ristretto/start + https://docs.xfce.org/apps/ristretto/start https://bugzilla.xfce.org/describecomponents.cgi?product=Ristretto - http://docs.xfce.org/apps/ristretto/start + https://docs.xfce.org/apps/ristretto/start xfce4-...@xfce.org @@ -41,43 +41,4 @@ ristretto - - - -<_p>This version comes with the improvements such as thumbnail usage as appicon - and update to the first image in the image-list when receiving a ready-signal, - required to show the thumbnail once it's generated. - - - - - - -<_p>This release contains lots of translation-updates, - and a crash when configuring the 'limit-quality' property. - - - - - - - -<_p>This version comes with several changes such as online documentation on - docs.xfce.org, the option to limit the maximum image-quality to - the screen dimensions to improve memory-usage and performance - now ristretto - renders at full quality with this option disabled, only one toolbar - instead - of two, a quick-launch button on the toolbar to execute an editor, the option - to pick a default-editor per mime-type, an optional clock that shows up when - ristretto is fullscreen, Ristretto now shows a 'Loading..' message in the - statusbar to indicate when it is busy and progressive loading of directories to - prevent lockup of the UI. - This version is designed to work with version 4.10 of 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] [apps/ristretto] branch master updated (221535b -> 7cfab43)
This is an automated email from the git hooks/post-receive script. f 2 4 0 4 p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository apps/ristretto. from 221535b Improve "Sorting" menu new 7cfab43 appdata.xml: Remove releases info and update URLs 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: ristretto.appdata.xml.in | 47 --- 1 file changed, 4 insertions(+), 43 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/ristretto] 01/01: Improve "Sorting" menu
This is an automated email from the git hooks/post-receive script. f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/ristretto. commit 221535b2bf4a716a819f63fadad858b2ff0cc364 Author: Igor Date: Fri Jul 12 14:36:37 2019 -0400 Improve "Sorting" menu Fixes bug #15539 --- src/main_window.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main_window.c b/src/main_window.c index 0e4e09f..2c2a0b8 100644 --- a/src/main_window.c +++ b/src/main_window.c @@ -423,7 +423,7 @@ static GtkActionEntry action_entries[] = NULL, }, { "sorting-menu", NULL, -N_ ("_Sorting"), +N_ ("_Sort by"), NULL, NULL, NULL, }, @@ -663,19 +663,19 @@ static const GtkRadioActionEntry radio_action_sort_entries[] = { {"sort-filename", NULL, /* Icon-name */ -N_("sort by filename"), /* Label-text */ +N_("file name"), /* Label-text */ NULL, /* Keyboard shortcut */ NULL, /* Tooltip text */ SORT_TYPE_NAME}, {"sort-filetype", NULL, /* Icon-name */ -N_("sort by filetype"), /* Label-text */ +N_("file type"), /* Label-text */ NULL, /* Keyboard shortcut */ NULL, /* Tooltip text */ SORT_TYPE_TYPE}, {"sort-date", NULL, /* Icon-name */ -N_("sort by date"), /* Label-text */ +N_("date"), /* Label-text */ NULL, /* Keyboard shortcut */ NULL, /* Tooltip text */ SORT_TYPE_DATE}, -- 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/ristretto] branch master updated (812cc0f -> 221535b)
This is an automated email from the git hooks/post-receive script. f 2 4 0 4 p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository apps/ristretto. from 812cc0f Update thumbnail bar on changing the sorting order new 221535b Improve "Sorting" 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: src/main_window.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] [apps/ristretto] branch master updated (f1ab0ef -> 812cc0f)
This is an automated email from the git hooks/post-receive script. f 2 4 0 4 p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository apps/ristretto. from f1ab0ef Wait until the loader is done before getting the pixbuf new 812cc0f Update thumbnail bar on changing the sorting order 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: src/main_window.c | 4 1 file changed, 4 insertions(+) -- 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/ristretto] 01/01: Update thumbnail bar on changing the sorting order
This is an automated email from the git hooks/post-receive script. f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/ristretto. commit 812cc0ffb0a686167f4b005e42e22c4156ffe889 Author: Igor Date: Fri Jul 12 13:02:44 2019 -0400 Update thumbnail bar on changing the sorting order Fixes bug #10246 --- src/main_window.c | 4 1 file changed, 4 insertions(+) diff --git a/src/main_window.c b/src/main_window.c index 745792c..0e4e09f 100644 --- a/src/main_window.c +++ b/src/main_window.c @@ -2171,6 +2171,10 @@ cb_rstto_main_window_sorting_function_changed (GtkRadioAction *action, GtkRadioA } break; } + +/* update the thumbnail bar to reflect the new sorting order */ +rstto_icon_bar_set_model (RSTTO_ICON_BAR (window->priv->thumbnailbar), NULL); +rstto_icon_bar_set_model (RSTTO_ICON_BAR (window->priv->thumbnailbar), GTK_TREE_MODEL (window->priv->image_list)); } static void -- 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/ristretto] 01/01: Wait until the loader is done before getting the pixbuf
This is an automated email from the git hooks/post-receive script. f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/ristretto. commit f1ab0ef82fc96d14cf73c00f55d31581734d80d9 Author: Igor Date: Fri Jul 12 09:41:50 2019 -0400 Wait until the loader is done before getting the pixbuf This resolves the problem with larger GIF files when ristretto was getting the pixbuf too early which resulted in partially loaded images. Fixes bug #15177 --- src/image_viewer.c | 68 ++ 1 file changed, 28 insertions(+), 40 deletions(-) diff --git a/src/image_viewer.c b/src/image_viewer.c index 4ff4b5a..7a29c45 100644 --- a/src/image_viewer.c +++ b/src/image_viewer.c @@ -216,7 +216,7 @@ cb_rstto_image_viewer_read_file_ready (GObject *source_object, GAsyncResult *res static void cb_rstto_image_viewer_read_input_stream_ready (GObject *source_object, GAsyncResult *result, gpointer user_data); static void -cb_rstto_image_loader_area_prepared (GdkPixbufLoader *, RsttoImageViewerTransaction *); +cb_rstto_image_loader_image_ready (GdkPixbufLoader *, RsttoImageViewerTransaction *); static void cb_rstto_image_loader_size_prepared (GdkPixbufLoader *, gint , gint , RsttoImageViewerTransaction *); static void @@ -1815,7 +1815,6 @@ rstto_image_viewer_load_image (RsttoImageViewer *viewer, RsttoFile *file, gdoubl transaction->viewer = viewer; transaction->scale = scale; -g_signal_connect(transaction->loader, "area-prepared", G_CALLBACK(cb_rstto_image_loader_area_prepared), transaction); g_signal_connect(transaction->loader, "size-prepared", G_CALLBACK(cb_rstto_image_loader_size_prepared), transaction); g_signal_connect(transaction->loader, "closed", G_CALLBACK(cb_rstto_image_loader_closed), transaction); @@ -2023,10 +2022,7 @@ static void cb_rstto_image_viewer_value_changed (GtkAdjustment *adjustment, RsttoImageViewer *viewer) { GtkWidget *widget = GTK_WIDGET (viewer); -gdk_window_invalidate_rect ( -gtk_widget_get_window (widget), -NULL, -FALSE); +gdk_window_invalidate_rect (gtk_widget_get_window (widget), NULL, FALSE); } static void @@ -2065,7 +2061,7 @@ cb_rstto_image_viewer_read_input_stream_ready (GObject *source_object, GAsyncRes if (read_bytes > 0) { -if(gdk_pixbuf_loader_write (transaction->loader, (const guchar *)transaction->buffer, read_bytes, &transaction->error) == FALSE) +if (gdk_pixbuf_loader_write (transaction->loader, (const guchar *)transaction->buffer, read_bytes, &transaction->error) == FALSE) { /* Clean up the input-stream */ g_input_stream_close (G_INPUT_STREAM (source_object), NULL, NULL); @@ -2088,13 +2084,13 @@ cb_rstto_image_viewer_read_input_stream_ready (GObject *source_object, GAsyncRes /* Clean up the input-stream */ g_input_stream_close (G_INPUT_STREAM (source_object), NULL, NULL); -g_object_unref(source_object); +g_object_unref (source_object); } } static void -cb_rstto_image_loader_area_prepared (GdkPixbufLoader *loader, RsttoImageViewerTransaction *transaction) +cb_rstto_image_loader_image_ready (GdkPixbufLoader *loader, RsttoImageViewerTransaction *transaction) { gint timeout = 0; RsttoImageViewer *viewer = transaction->viewer; @@ -2128,13 +2124,12 @@ cb_rstto_image_loader_area_prepared (GdkPixbufLoader *loader, RsttoImageViewerTr if (timeout > 0) { -viewer->priv->animation_timeout_id = g_timeout_add(timeout, (GSourceFunc)cb_rstto_image_viewer_update_pixbuf, viewer); -} +viewer->priv->animation_timeout_id = +g_timeout_add(timeout, (GSourceFunc)cb_rstto_image_viewer_update_pixbuf, viewer); +} else { - -/* This is a single-frame image, there is no need to copy the pixbuf since it won't change. - */ +/* This is a single-frame image, there is no need to copy the pixbuf since it won't change */ viewer->priv->pixbuf = gdk_pixbuf_animation_iter_get_pixbuf (viewer->priv->iter); g_object_ref (viewer->priv->pixbuf); } @@ -2158,7 +2153,6 @@ cb_rstto_image_loader_size_prepared (GdkPixbufLoader *loader, gint width, gint h transaction->image_width = width; transaction->image_height = height; - if (limit_quality == TRUE) { /* @@ -2172,21 +2166,19 @@ cb_rstto_image_loader_size_prepared (GdkPixbufLoader *loader, gint width, gint h * scale = MIN(width / screen_width, height / screen_height) * */ -if(((gdouble)width / (gdouble)s_width) < ((gdouble)height / (gdouble)s_height)) +if (((gdouble)width / (gdouble)s_width) < ((gdou
[Xfce4-commits] [apps/ristretto] branch master updated (3bf33d3 -> f1ab0ef)
This is an automated email from the git hooks/post-receive script. f 2 4 0 4 p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository apps/ristretto. from 3bf33d3 Free EXIF data properly new f1ab0ef Wait until the loader is done before getting the pixbuf 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: src/image_viewer.c | 68 ++ 1 file changed, 28 insertions(+), 40 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-screensaver] branch master updated (545a500 -> be690ea)
This is an automated email from the git hooks/post-receive script. b l u e s a b r e p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository apps/xfce4-screensaver. from 545a500 Remove unneeded login window construction code new be690ea Initial xfce4-screensaver-configure script and argument reading 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: src/gs-job.c| 11 +- src/gs-prefs.c | 17 + src/gs-prefs.h | 10 +- src/gs-theme-manager.c | 4 +- src/xfce4-screensaver-configure | 617 src/xfce4-screensaver-preferences.c | 27 +- 6 files changed, 676 insertions(+), 10 deletions(-) create mode 100755 src/xfce4-screensaver-configure -- 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-screensaver] 01/01: Initial xfce4-screensaver-configure script and argument reading
This is an automated email from the git hooks/post-receive script. b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/xfce4-screensaver. commit be690eafdabd498753e362ee7630daa69f9fc35d Author: Sean Davis Date: Fri Jul 12 06:45:12 2019 -0400 Initial xfce4-screensaver-configure script and argument reading --- src/gs-job.c| 11 +- src/gs-prefs.c | 17 + src/gs-prefs.h | 10 +- src/gs-theme-manager.c | 4 +- src/xfce4-screensaver-configure | 617 src/xfce4-screensaver-preferences.c | 27 +- 6 files changed, 676 insertions(+), 10 deletions(-) diff --git a/src/gs-job.c b/src/gs-job.c index 23b7f75..7f9f9e2 100644 --- a/src/gs-job.c +++ b/src/gs-job.c @@ -183,7 +183,8 @@ static void gs_job_set_theme(GSJob *job) { GSThemeInfo *info; const char *theme; -const char *command = NULL; +gchar *command = NULL; +gchar *arguments = NULL; theme = gs_prefs_get_theme (job->priv->prefs); if (!theme) { @@ -192,13 +193,19 @@ gs_job_set_theme(GSJob *job) { } info = gs_theme_manager_lookup_theme_info (job->priv->theme_manager, theme); if (info != NULL) { -command = gs_theme_info_get_exec (info); +arguments = gs_prefs_get_theme_arguments (job->priv->prefs, theme); +command = g_strdup_printf ("%s %s", gs_theme_info_get_exec (info), arguments); } else { gs_debug ("Could not find information for theme: %s", theme); } gs_job_set_command (job, command); +if (arguments) +g_free (arguments); +if (command) +g_free (command); + if (info != NULL) { gs_theme_info_unref (info); } diff --git a/src/gs-prefs.c b/src/gs-prefs.c index 9fa408f..3b81cd6 100644 --- a/src/gs-prefs.c +++ b/src/gs-prefs.c @@ -385,6 +385,23 @@ gs_prefs_load_from_settings (GSPrefs *prefs) { _gs_prefs_set_user_switch_enabled (prefs, bvalue); } +gchar * +gs_prefs_get_theme_arguments (GSPrefs *prefs, + const gchar *theme) { +gchar *property; +gchar *arguments; +gchar *theme_name; + +theme_name = g_utf8_substring (theme, 13, g_utf8_strlen(theme, -1)); +property = g_strdup_printf ("/screensavers/%s/arguments", theme_name); +arguments = xfconf_channel_get_string (prefs->priv->channel, property, ""); + +g_free(theme_name); +g_free(property); + +return arguments; +} + static void key_changed_cb (XfconfChannel *channel, gchar *property, diff --git a/src/gs-prefs.h b/src/gs-prefs.h index 42bc1c5..f4a7f27 100644 --- a/src/gs-prefs.h +++ b/src/gs-prefs.h @@ -215,10 +215,12 @@ typedef struct void(* changed)(GSPrefs *prefs); } GSPrefsClass; -GType gs_prefs_get_type(void); -GSPrefs * gs_prefs_new (void); -voidgs_prefs_load(GSPrefs *prefs); -const char* gs_prefs_get_theme (GSPrefs *prefs); +GType gs_prefs_get_type(void); +GSPrefs * gs_prefs_new (void); +voidgs_prefs_load(GSPrefs *prefs); +const char* gs_prefs_get_theme (GSPrefs *prefs); +gchar * gs_prefs_get_theme_arguments (GSPrefs *prefs, + const gchar *theme); G_END_DECLS diff --git a/src/gs-theme-manager.c b/src/gs-theme-manager.c index 5ca5a0b..8be0232 100644 --- a/src/gs-theme-manager.c +++ b/src/gs-theme-manager.c @@ -197,8 +197,8 @@ gs_theme_info_get_exec (GSThemeInfo *info) { static GSThemeInfo * gs_theme_info_new_from_garcon_menu_item(GarconMenuItem *item) { GSThemeInfo *info; -const char *str; -char *pos; +const char *str; +char*pos; info = g_new0 (GSThemeInfo, 1); diff --git a/src/xfce4-screensaver-configure b/src/xfce4-screensaver-configure new file mode 100755 index 000..f121547 --- /dev/null +++ b/src/xfce4-screensaver-configure @@ -0,0 +1,617 @@ +#!/usr/bin/python3 + +import argparse +import os +import subprocess +import sys +import xml.etree.ElementTree as ET + +from collections import OrderedDict + +import gi +gi.require_version('Gdk', '3.0') +gi.require_version('Gtk', '3.0') +from gi.repository import GLib +from gi.repository import Gtk +from gi.repository import Gdk + + +class XfconfChannel: + +def __init__(self, channel, prefix): +self.channel = channel +self.prefix = prefix + +def _get_property(self, prop, default=""): +prop = "%s%s" % (self.prefix, prop) +command = ["xfconf-query", "-c", self.channel, "-p", prop, "-l", "-v"] +response = subprocess.check_output(command).decode("utf-8") +if prop in response: +value = (response.replace(prop, "")).str