From 59257c20af50f8cf71398581f011c29268c22904 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 3 Mar 2015 13:18:39 +0200 Subject: cleaned some xfce ebuilds already in portage tree && add xfce 4.12 fresh ebuilds --- .../files/increase_xfce_systray_spacing.patch | 12 ++++++++ .../files/xfce4-panel-4.10.0-icons.patch | 35 ---------------------- 2 files changed, 12 insertions(+), 35 deletions(-) create mode 100644 xfce-base/xfce4-panel/files/increase_xfce_systray_spacing.patch delete mode 100644 xfce-base/xfce4-panel/files/xfce4-panel-4.10.0-icons.patch (limited to 'xfce-base/xfce4-panel/files') diff --git a/xfce-base/xfce4-panel/files/increase_xfce_systray_spacing.patch b/xfce-base/xfce4-panel/files/increase_xfce_systray_spacing.patch new file mode 100644 index 00000000..fd74b953 --- /dev/null +++ b/xfce-base/xfce4-panel/files/increase_xfce_systray_spacing.patch @@ -0,0 +1,12 @@ +diff -Nur a/plugins/systray/systray-box.c b/plugins/systray/systray-box.c +--- a/plugins/systray/systray-box.c 2013-05-05 18:47:07.000000000 +0300 ++++ b/plugins/systray/systray-box.c 2015-01-23 16:26:03.859341485 +0200 +@@ -36,7 +36,7 @@ + #include "systray-box.h" + #include "systray-socket.h" + +-#define SPACING (2) ++#define SPACING (5) + #define OFFSCREEN (-9999) + + /* some icon implementations request a 1x1 size for invisible icons */ diff --git a/xfce-base/xfce4-panel/files/xfce4-panel-4.10.0-icons.patch b/xfce-base/xfce4-panel/files/xfce4-panel-4.10.0-icons.patch deleted file mode 100644 index 0bc7d0f6..00000000 --- a/xfce-base/xfce4-panel/files/xfce4-panel-4.10.0-icons.patch +++ /dev/null @@ -1,35 +0,0 @@ -http://bugs.gentoo.org/447182 -http://bugzilla.xfce.org/show_bug.cgi?id=9615 - -From 48e1016394fa6bdb1d708823a23a12641482a561 Mon Sep 17 00:00:00 2001 -From: Carlos Silva -Date: Fri, 14 Dec 2012 01:14:36 +0000 -Subject: Fix icons not probably resizing when requested. - -Looks like gdk_pixbuf_new_from_file_at_scale and gdk_pixbuf_new_from_file_at_size really don't scale the image leaving the image loaded with its original size. So, just load the file without any scale and let the scale be done later on the function. - -Signed-off-by: Carlos Silva ---- -diff --git a/libxfce4panel/xfce-panel-convenience.c b/libxfce4panel/xfce-panel-convenience.c -index 19c51bb..a3f3be1 100644 ---- a/libxfce4panel/xfce-panel-convenience.c -+++ b/libxfce4panel/xfce-panel-convenience.c -@@ -170,15 +170,13 @@ xfce_panel_pixbuf_from_source_at_size (const gchar *source, - - if (G_UNLIKELY (g_path_is_absolute (source))) - { -- pixbuf = gdk_pixbuf_new_from_file_at_scale (source, dest_width, dest_height, TRUE, &error); -+ pixbuf = gdk_pixbuf_new_from_file (source, &error); - if (G_UNLIKELY (pixbuf == NULL)) - { - g_message ("Failed to load image \"%s\": %s", - source, error->message); - g_error_free (error); - } -- -- return pixbuf; - } - else - { --- -cgit v0.9.0.3 -- cgit v1.2.3