Hello community, here is the log from the commit of package xfdesktop for openSUSE:Factory checked in at 2014-11-19 20:26:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xfdesktop (Old) and /work/SRC/openSUSE:Factory/.xfdesktop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfdesktop" Changes: -------- --- /work/SRC/openSUSE:Factory/xfdesktop/xfdesktop.changes 2013-03-14 15:36:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xfdesktop.new/xfdesktop.changes 2014-11-19 20:30:17.000000000 +0100 @@ -1,0 +2,28 @@ +Mon Nov 17 12:44:41 UTC 2014 - [email protected] + +- add xfdesktop-fix-default-application-lookup.patch in order to + fix the default application lookup with gio >= 2.41 (bxo#11306) + +------------------------------------------------------------------- +Sun Nov 16 10:45:26 UTC 2014 - [email protected] + +- update to version 4.10.3 + - fix for extra blank lines in backdrop list + - remember the window size of the settings dialog + - filter out changed events for special icons + - lower update delay of icon size spinbutton + - fix missing thumbnail on xfdesktop when thumbler fails to + create it + - check for thumbnails in the new location + - don't set ESETROOT + - speed up template sub-menu loading code + - fix template sub-menu loading code for 4.10 + - always move files from the trash + - use the Path key of desktop files if a path is not set + - fix for trash always showing empty on system startup + - unselect the desktop icon after activating it + - fix HTTP URL performance issue / wrong action proposed + - decide on move/copy action before items have been dropped + - translation updates + +------------------------------------------------------------------- Old: ---- xfdesktop-4.10.2.tar.bz2 New: ---- xfdesktop-4.10.3.tar.bz2 xfdesktop-fix-default-application-lookup.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfdesktop.spec ++++++ --- /var/tmp/diff_new_pack.y2ynPm/_old 2014-11-19 20:30:19.000000000 +0100 +++ /var/tmp/diff_new_pack.y2ynPm/_new 2014-11-19 20:30:19.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package xfdesktop # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: xfdesktop -Version: 4.10.2 +Version: 4.10.3 Release: 0 Summary: Desktop Manager for the Xfce Desktop Environment License: GPL-2.0+ @@ -30,6 +30,8 @@ Patch1: xfdesktop-default-background-image.patch # PATCH-FIX-UPSTREAM xfce4-dict-automake-1.13.patch [email protected] Patch2: xfdesktop-automake-1.13.patch +# PATCH-FIX-UPSTREAM xfdesktop-fix-default-application-lookup.patch bxo#11306 [email protected] -- Fix the default application lookup with gio >= 2.41 +Patch3: xfdesktop-fix-default-application-lookup.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: update-desktop-files @@ -87,6 +89,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" ++++++ xfdesktop-4.10.2.tar.bz2 -> xfdesktop-4.10.3.tar.bz2 ++++++ ++++ 113569 lines of diff (skipped) ++++++ xfdesktop-fix-default-application-lookup.patch ++++++ >From a4d701b2836724f101d319c11205fa03201134fb Mon Sep 17 00:00:00 2001 From: Eric Koegel <[email protected]> Date: Sun, 16 Nov 2014 16:35:26 +0300 Subject: Default application not respected with glib >= 2.41 (Bug #11306) Ensure xfdesktop's right click menu has the default application as the first element of the returned list. This is just a copy of Thunar's patch adapted for xfdesktop. See: https://bugzilla.xfce.org/show_bug.cgi?id=11212 and http://git.xfce.org/xfce/thunar/commit/?id=4b142af9dfe19f90ffe5529e2f099dc55298ecef diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c index 3d02d51..ccfd91e 100644 --- a/src/xfdesktop-file-icon-manager.c +++ b/src/xfdesktop-file-icon-manager.c @@ -1539,7 +1539,26 @@ xfdesktop_file_icon_manager_populate_context_menu(XfceDesktop *desktop, app_infos = g_app_info_get_all_for_type(g_file_info_get_content_type(info)); if(app_infos) { - GAppInfo *app_info = G_APP_INFO(app_infos->data); + GAppInfo *app_info, *default_application; + GList *ap; + + /* move any default application in front of the list */ + default_application = g_app_info_get_default_for_type (g_file_info_get_content_type(info), FALSE); + if (G_LIKELY (default_application != NULL)) + { + for (ap = app_infos; ap != NULL; ap = ap->next) + { + if (g_app_info_equal (ap->data, default_application)) + { + g_object_unref (ap->data); + app_infos = g_list_delete_link (app_infos, ap); + break; + } + } + app_infos = g_list_prepend (app_infos, default_application); + } + + app_info = G_APP_INFO(app_infos->data); mi = xfdesktop_menu_item_from_app_info(fmanager, file_icon, app_info, TRUE, TRUE); -- cgit v0.10.1 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
