summaryrefslogtreecommitdiff
path: root/libraries/libfm/patches/0022-3590304-Fallback-themed-icon-folder-video-to-folder-.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-05 17:00:48 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:57:21 -0600
commit7423152ca41ea24cdb567297e73ff943ba1eff3e (patch)
tree3a6e9aa32ce51c5b8c987ddde700c81be4a70d1b /libraries/libfm/patches/0022-3590304-Fallback-themed-icon-folder-video-to-folder-.patch
parent59a7ed6157ef6ff4249e4c7b2a812b14cd474578 (diff)
downloadslackbuilds-7423152ca41ea24cdb567297e73ff943ba1eff3e.tar.gz
libraries/libfm: Updated for version 20131102_7e1f053.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libfm/patches/0022-3590304-Fallback-themed-icon-folder-video-to-folder-.patch')
-rw-r--r--libraries/libfm/patches/0022-3590304-Fallback-themed-icon-folder-video-to-folder-.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/libraries/libfm/patches/0022-3590304-Fallback-themed-icon-folder-video-to-folder-.patch b/libraries/libfm/patches/0022-3590304-Fallback-themed-icon-folder-video-to-folder-.patch
deleted file mode 100644
index 4852b267b6..0000000000
--- a/libraries/libfm/patches/0022-3590304-Fallback-themed-icon-folder-video-to-folder-.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 552d91d59d32c0ed9fec958bf4f3c99a9caccedd Mon Sep 17 00:00:00 2001
-From: Andriy Grytsenko <andrej@rep.kiev.ua>
-Date: Tue, 27 Nov 2012 21:23:15 +0200
-Subject: [PATCH 22/22] [#3590304]Fallback themed icon "folder-video" to
- "folder" not to gnome.
-
-GTK fallbacks missing themed icon "folder-video" to GNOME
-"folder-video" and that breaks icon theme.
-The same happens with many other icons.
-It is better to use g_themed_icon_new_with_default_fallbacks()
-and use default fallback to "folder" in case of above.
----
- src/base/fm-icon.c | 2 +-
- src/gtk/fm-icon-pixbuf.c | 2 ++
- 2 files changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/base/fm-icon.c b/src/base/fm-icon.c
-index 42dd3fc..e86a13b 100644
---- a/src/base/fm-icon.c
-+++ b/src/base/fm-icon.c
-@@ -99,7 +99,7 @@ FmIcon* fm_icon_from_name(const char* name)
- g_object_unref(gicon_file);
- }
- else
-- gicon = g_themed_icon_new(name);
-+ gicon = g_themed_icon_new_with_default_fallbacks(name);
-
- if(G_LIKELY(gicon))
- {
-diff --git a/src/gtk/fm-icon-pixbuf.c b/src/gtk/fm-icon-pixbuf.c
-index b30d7c7..8b1c276 100644
---- a/src/gtk/fm-icon-pixbuf.c
-+++ b/src/gtk/fm-icon-pixbuf.c
-@@ -102,11 +102,13 @@ GdkPixbuf* fm_pixbuf_from_icon(FmIcon* icon, int size)
- char* str = g_icon_to_string(icon->gicon);
- g_debug("unable to load icon %s", str);
- /* pix = NULL; */
-+#if 0
- if(g_strcmp0(str, "folder-locked") == 0)
- pix = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), "folder",
- size, GTK_ICON_LOOKUP_USE_BUILTIN|GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
- /* FIXME: create locked icon from "folder" one */
- else
-+#endif
- pix = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), "unknown",
- size, GTK_ICON_LOOKUP_USE_BUILTIN|GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
- if(G_LIKELY(pix))
---
-1.8.0.1
-