[gtk+] icon-theme: always force icon sizes for emblems
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] icon-theme: always force icon sizes for emblems
- Date: Fri, 5 Nov 2010 15:26:57 +0000 (UTC)
commit a994a9f9459083541d28dfc6602039995beaf462
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Nov 5 10:34:15 2010 +0100
icon-theme: always force icon sizes for emblems
https://bugzilla.gnome.org/show_bug.cgi?id=634060
gtk/gtkicontheme.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 199f846..cd55c3f 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -3722,7 +3722,8 @@ gtk_icon_theme_lookup_by_gicon (GtkIconTheme *icon_theme,
for (l = list; l; l = l->next)
{
emblem = g_emblem_get_icon (G_EMBLEM (l->data));
- emblem_info = gtk_icon_theme_lookup_by_gicon (icon_theme, emblem, size / 2, flags);
+ /* always force size for emblems */
+ emblem_info = gtk_icon_theme_lookup_by_gicon (icon_theme, emblem, size / 2, flags | GTK_ICON_LOOKUP_FORCE_SIZE);
if (emblem_info)
info->emblem_infos = g_slist_prepend (info->emblem_infos, emblem_info);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]