set "pixname" value only if pixbuf was loaded successfully. Otherwise

2001-07-04  Gediminas Paulauskas <menesis@delfi.lt>

	* evolution-shell-component-utils.c (e_pixmaps_update): set
	"pixname" value only if pixbuf was loaded successfully. Otherwise
	component crashes if image is not found. Should be checked for
	sanity in bonobo_ui_component_set_prop IMHO.

2001-07-04  Gediminas Paulauskas <menesis@delfi.lt>

	* Makefile.am: install apply-filters-16.xpm

2001-07-04  Gediminas Paulauskas <menesis@delfi.lt>

	* evolution-mail-message.xml: MessageApplyFilters now has an icon.

2001-07-04  Gediminas Paulauskas <menesis@delfi.lt>

	* folder-browser-ui.c (message_pixcache): set icon for ApplyFilters
	command.

svn path=/trunk/; revision=10783
This commit is contained in:
Gediminas Paulauskas
2001-07-04 20:46:15 +00:00
committed by Gediminas Paulauskas
parent de9d730a34
commit 1e5fac65aa
8 changed files with 34 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2001-07-04 Gediminas Paulauskas <menesis@delfi.lt>
* Makefile.am: install apply-filters-16.xpm
2001-07-03 Tuomas Kuosmanen <tigert@ximian.com>
* cut.png, copy.png, paste.png: icons for cut/copy/paste to fit
@ -8,7 +12,6 @@
* print.xpm, print-preview.xpm: nat didn't like the jaggy
version. This one is based on tuomas 48x48 print icon.
2001-06-30 Ettore Perazzoli <ettore@ximian.com>
* Makefile.am (buttons_DATA): Add `print.png', `next-message.png',
@ -52,8 +55,7 @@
* apply-filters-16.xpm: for mailer menu.
* vfolder-16.xpm: vfolder icon for menu items
* hand-16.xpm: originally ment for customize toolbars. might not
work
* hand-16.xpm: originally ment for customize toolbars. might not work
* edit-16.xpm: edit message (message open)
2001-06-13 Jakub Steiner <jimmac@ximian.com>

View File

@ -1,5 +1,6 @@
imagesdir = $(datadir)/images/evolution
images_DATA = \
apply-filters-16.xpm \
bcg.png \
configure_16_addressbook.xpm \
configure_16_calendar.xpm \

View File

@ -1,3 +1,8 @@
2001-07-04 Gediminas Paulauskas <menesis@delfi.lt>
* folder-browser-ui.c (message_pixcache): set icon for ApplyFilters
command.
2001-07-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_set_show_preview): Revert Sam's changes.

View File

@ -121,6 +121,7 @@ static EPixmap message_pixcache [] = {
E_PIXMAP ("/commands/MessageReplyAll", "reply_to_all.xpm"),
E_PIXMAP ("/commands/MessageReplySender", "reply.xpm"),
E_PIXMAP ("/commands/MessageForward", "forward.xpm"),
E_PIXMAP ("/commands/MessageApplyFilters", "apply-filters-16.xpm"),
E_PIXMAP ("/Toolbar/MailMessageToolbar/MessageReplySender", "buttons/reply.png"),
E_PIXMAP ("/Toolbar/MailMessageToolbar/MessageReplyAll", "buttons/reply-to-all.png"),

View File

@ -1,3 +1,10 @@
2001-07-04 Gediminas Paulauskas <menesis@delfi.lt>
* evolution-shell-component-utils.c (e_pixmaps_update): set
"pixname" value only if pixbuf was loaded successfully. Otherwise
component crashes if image is not found. Should be checked for
sanity in bonobo_ui_component_set_prop IMHO.
2001-07-03 Aaron Weber <aaron@ximian.com>
* main.c (development_warning): Revised to make it less scary.

View File

@ -60,14 +60,19 @@ void e_pixmaps_update (BonoboUIComponent *uic, EPixmap *pixcache)
} else {
pixcache [i].pixbuf = bonobo_ui_util_pixbuf_to_xml (pixbuf);
gdk_pixbuf_unref (pixbuf);
bonobo_ui_component_set_prop (uic,
pixcache [i].path, "pixname",
pixcache [i].pixbuf, NULL);
}
g_free (path);
}
} else {
bonobo_ui_component_set_prop (uic, pixcache [i].path,
"pixname", pixcache [i].pixbuf,
"pixname",
pixcache [i].pixbuf,
NULL);
}
}
}
static void

View File

@ -1,3 +1,7 @@
2001-07-04 Gediminas Paulauskas <menesis@delfi.lt>
* evolution-mail-message.xml: MessageApplyFilters now has an icon.
2001-07-03 Jason Leach <jleach@ximian.com>
[Bug #3612: Accelerator for attach file in composer]

View File

@ -30,7 +30,8 @@
<cmd name="MessageApplyFilters"
_tip="Apply filter rules to the selected messages"
accel="*Control*y"/>
accel="*Control*y"
pixtype="pixbuf"/>
<cmd name="MessageCopy"
_tip="Copy selected messages to another folder"