[caja] 01/06: debian/patches: Add 0001_fix-desktop-icon-size.patch. Make adjusting the default folder and desktop icon size predictable. (Closes: #775525).

Mike Gabriel sunweaver at debian.org
Wed Jan 28 09:53:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository caja.

commit 6fd9473e7e94222f8e62777414ffac32fd4060e6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jan 21 14:44:05 2015 +0100

    debian/patches: Add 0001_fix-desktop-icon-size.patch. Make adjusting the default folder and desktop icon size predictable. (Closes: #775525).
---
 debian/patches/0001_fix-desktop-icon-size.patch | 32 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 2 files changed, 33 insertions(+)

diff --git a/debian/patches/0001_fix-desktop-icon-size.patch b/debian/patches/0001_fix-desktop-icon-size.patch
new file mode 100644
index 0000000..58f205e
--- /dev/null
+++ b/debian/patches/0001_fix-desktop-icon-size.patch
@@ -0,0 +1,32 @@
+From a823778ec6c091cada6f4473413f220d6732ed7a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=E9=AB=98=E7=BE=A4=E5=87=AF?= <lenky0401 at gmail.com>
+Date: Mon, 29 Dec 2014 17:29:07 +0800
+Subject: [PATCH] fixed: Adjust Default _zoom level always get the last "old"
+ value
+
+The callback function update_auto_enum should be connected before the default_zoom_level_changed, otherwise the new_level always get the last "old" value in default_zoom_level_changed and the desktop-view display strange.
+---
+ src/file-manager/fm-desktop-icon-view.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/file-manager/fm-desktop-icon-view.c b/src/file-manager/fm-desktop-icon-view.c
+index 06fdc93..7f02efb 100644
+--- a/src/file-manager/fm-desktop-icon-view.c
++++ b/src/file-manager/fm-desktop-icon-view.c
+@@ -600,6 +600,8 @@ fm_desktop_icon_view_init (FMDesktopIconView *desktop_icon_view)
+     g_signal_connect_object (desktop_icon_view, "unrealize",
+                              G_CALLBACK (unrealized_callback), desktop_icon_view, 0);
+ 
++    default_zoom_level_changed (desktop_icon_view);
++
+     g_signal_connect_swapped (caja_icon_view_preferences,
+                               "changed::" CAJA_PREFERENCES_ICON_VIEW_DEFAULT_ZOOM_LEVEL,
+                               G_CALLBACK (default_zoom_level_changed),
+@@ -610,7 +612,6 @@ fm_desktop_icon_view_init (FMDesktopIconView *desktop_icon_view)
+                               G_CALLBACK (font_changed_callback),
+                               desktop_icon_view);
+ 
+-    default_zoom_level_changed (desktop_icon_view);
+     fm_desktop_icon_view_update_icon_container_fonts (desktop_icon_view);
+ 
+     g_signal_connect_swapped (mate_lockdown_preferences,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..02fba1e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001_fix-desktop-icon-size.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/caja.git



More information about the pkg-mate-commits mailing list