[evolution] Do not force icon size for attachment button
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Do not force icon size for attachment button
- Date: Fri, 6 Mar 2015 09:36:08 +0000 (UTC)
commit e5303c720fb4f1aad3f88576235d2c6f645de66b
Author: Milan Crha <mcrha redhat com>
Date: Fri Mar 6 10:32:25 2015 +0100
Do not force icon size for attachment button
The GtkCellRendererPixbuf didn't show the left-most icon, I do not know
why it doesn't like pixbuf pre-scaled to required size, but it doesn't.
e-util/e-attachment-button.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-attachment-button.c b/e-util/e-attachment-button.c
index 97167fa..eabebf8 100644
--- a/e-util/e-attachment-button.c
+++ b/e-util/e-attachment-button.c
@@ -229,11 +229,11 @@ attachment_button_update_pixbufs (EAttachmentButton *button)
pixbuf_expander_open = gtk_icon_theme_load_icon (
icon_theme, "go-down",
- GTK_ICON_SIZE_BUTTON, GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
+ GTK_ICON_SIZE_BUTTON, 0, NULL);
pixbuf_expander_closed = gtk_icon_theme_load_icon (
icon_theme, "go-next",
- GTK_ICON_SIZE_BUTTON, GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
+ GTK_ICON_SIZE_BUTTON, 0, NULL);
g_object_set (
renderer,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]