aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-icon-factory.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug #580895 - Kill libgnomeui/gnome-thumbnail.hMilan Crha2009-08-041-6/+63
|
* More whitespace cleanup.Matthew Barnes2009-07-191-1/+1
|
* Fix excessive whitespace.Matthew Barnes2009-07-131-3/+0
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-291-12/+12
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* Eliminate redundant E_ICON_SIZE_* enumeration.Matthew Barnes2009-05-241-66/+15
|
* Only include the toplevel GTK+ header.Matthew Barnes2008-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2008-10-30 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/contact-editor/test-editor.c: * addressbook/gui/widgets/e-minicard-label.c: * addressbook/gui/widgets/e-minicard-view-widget.c: * addressbook/gui/widgets/test-reflow.c: * calendar/gui/control-factory.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-week-view-event-item.c: * calendar/gui/weekday-picker.c: * e-util/e-icon-factory.c: * shell/importer/evolution-importer-client.h: * shell/importer/intelligent.c: * shell/test/evolution-test-component.c: * widgets/menus/gal-view-menus.c: * widgets/misc/e-activity-handler.c: * widgets/table/e-table-config-field.h: Only include the toplevel GTK+ header. svn path=/trunk/; revision=36699
* License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-161-14/+14
| | | | svn path=/trunk/; revision=36344
* Added a debug macro and turned it off.Bharath Acharya2008-08-181-4/+5
| | | | | | | | | | 2008-08-18 Bharath Acharya <abharath@novell.com> * e-icon-factory.c: (e_icon_factory_get_icon_filename), (e_icon_factory_get_icon): Added a debug macro and turned it off. svn path=/trunk/; revision=36013
* Make evolution respect GTK_ICON_SIZE changes, part of bug #416258.Gilles Dartiguelongue2008-08-161-30/+43
| | | | | | | | | | | 2008-08-16 Gilles Dartiguelongue <gdartigu@svn.gnome.org> * e-icon-factory.c: (e_icon_size_to_gtk_icon_size), (e_icon_factory_get_icon_filename), (e_icon_factory_get_icon): Make evolution respect GTK_ICON_SIZE changes, part of bug #416258. svn path=/trunk/; revision=36000
* ** Fixes bug #546892Matthew Barnes2008-08-121-56/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #546892 * e-util/e-icon-factory.c (e_icon_factory_get_image): Kill this function. Use gtk_image_new_from_icon_name(). * e-util/e-icon-factory.c (e_icon_factory_get_icon_list): Kill this function. Use gtk_window_set_icon_name(). * widgets/misc/e-activity-handler.c: * widgets/misc/e-task-widget.c: Purge the GdkPixbuf arguments from the API. We've been ignoring them since the spinner icon was added. * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * calendar/gui/alarm-notify/alarm-notify-dialog.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/alarm-list-dialog.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/select-source-dialog.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: * widgets/misc/e-combo-button.c: * widgets/misc/e-info-label.c: * widgets/misc/e-url-entry.c: * widgets/misc/e-task-widget.c: Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). * addressbook/gui/contact-editor/e-contact-editor-im.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/e-timezone-entry.c: * e-util/e-gui-utils.c: * e-util/e-popup.c: * plugins/import-ics-attachments/icsimporter.c: * plugins/itip-formatter/itip-view.c: * mail/em-folder-browser.c: * mail/em-format-html-display.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). * calendar/gui/alarm-notify/alarm-queue.c: * plugins/mail-notification/mail-notification.c: Prefer gtk_status_icon_set_from_icon_name() over gtk_status_icon_set_from_pixbuf(). * addressbook/gui/component/addressbook-view.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-memo-table.c: * mail/mail-mt.c: e_activity_handler_operation_started() no longer takes a GdkPixbuf. It was ignoring the pixbuf anyway ever since we added a spinner icon. svn path=/trunk/; revision=35958
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-2/+0
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* Construct pathname under EVOLUTION_DATADIR at run-time becauseTor Lillqvist2008-01-251-4/+9
| | | | | | | | | | | 2008-01-24 Tor Lillqvist <tml@novell.com> * e-icon-factory.c (e_icon_factory_init): Construct pathname under EVOLUTION_DATADIR at run-time because EVOLUTION_DATADIR is a function call on Windows. svn path=/trunk/; revision=34885
* ** Fix for bug #488213Milan Crha2008-01-121-1/+31
| | | | | | | | | | | | | | | | | | | | | | | 2008-01-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #488213 * e-util/e-icon-factory.h: (e_icon_factory_pixbuf_scale): * e-util/e-icon-factory.c: (e_icon_factory_pixbuf_scale): New global function for pixbuf scaling which speeds up scaling when HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H. * addressbook/gui/contact-editor/e-contact-editor.c: (extract_simple_field): * mail/em-icon-stream.c: (emis_fit): * mail/em-format-html-display.c: (efhd_attachment_button): * e-util/e-icon-factory.c: (load_icon): * widgets/misc/e-spinner.c: (scale_to_size): * widgets/misc/e-image-chooser.c: (set_image_from_data): * widgets/misc/e-attachment-bar.c: (e_attachment_bar_create_attachment_cache), (update): Use global function e_icon_factory_pixbuf_scale for scaling pixbufs. svn path=/trunk/; revision=34800
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-10/+10
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Migration of theme icons to data/icons/ (bug #479257)Michael Monreal2007-10-121-1/+3
| | | | | | | | | | | | | | | | | | | | | 2007-10-12 Michael Monreal <michael.monreal@gmail.com> ** Migration of theme icons to data/icons/ (bug #479257) * art/Makefile.am: Remove references to art/$size. * configure.in: Include new data/icons/ directory. * file e-util/e-icon-factory.c: Append a private icon directory to the search path. New inbox/outbox/sent icons. * mail/em-folder-tree.c, mail/mail-send-recv.c: Change icon references. New view-calendar icons. * calendar/gui/calendar-commands.c: Change icon references. svn path=/trunk/; revision=34383
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* patch by: Tim Yamin <plasm@roo.me.uk> reviewed by: Srinivasa RagavanTobias Mueller2007-08-181-2/+6
| | | | | | | | | | | | | 2007-08-18 Tobias Mueller <muelli@auftrags-killer.org> patch by: Tim Yamin <plasm@roo.me.uk> reviewed by: Srinivasa Ragavan <sragavan@novell.com> * e-icon-factory.c: (load_icon): Optimize pixbuf behaviour, fixes #465573 svn path=/trunk/; revision=34031
* Add App specific themable icons.Srinivasa Ragavan2007-05-111-1/+2
| | | | svn path=/trunk/; revision=33509
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-70/+83
| | | | svn path=/trunk/; revision=33432
* Remove unreachable code and fix the leak of basename.Harish Krishnaswamy2006-11-211-12/+3
| | | | | | | | | 2006-11-20 Harish Krishnaswamy <kharish@novell.com> * e-icon-factory.c: (load_icon), (e_icon_factory_get_icon): Remove unreachable code and fix the leak of basename. svn path=/trunk/; revision=33007
* Use guint for 1-bit bitfield. Remove unused var Remove unused vars RenameKjartan Maraas2006-02-081-2/+2
| | | | | | | | | | | | | | | | | 2006-02-08 Kjartan Maraas <kmaraas@gnome.org> * e-config.c: Use guint for 1-bit bitfield. * e-icon-factory.c: (load_icon): Remove unused var * e-import.c: (ep_init), (ep_finalise): Remove unused vars * e-plugin.c: (e_plugin_register_type): Rename a var * e-plugin.h: guint for 1-bit bitfield * e-popup.c: (ep_finalise): Add comment. * e-profile-event.c: Remove unused prototype * e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event): Add comment about a compiler warning from the Intel compiler. svn path=/trunk/; revision=31446
* accept SVGs for stock icons. Fixes bug 304417.Benjamin Berg2006-02-071-0/+1
| | | | | | | | | 2006-02-07 Benjamin Berg <benjamin@sipsolutions.net> * e-gui-utils.c: * e-icon-factory.c: accept SVGs for stock icons. Fixes bug 304417. svn path=/trunk/; revision=31433
* Use GLib API where applicable for portability.Tor Lillqvist2005-12-171-28/+29
| | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-icon-factory.c: Use GLib API where applicable for portability. svn path=/trunk/; revision=30822
* add protoJP Rosevear2004-11-261-1/+14
| | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-icon-factory.h: add proto * e-icon-factory.c (e_icon_factory_init): cast to kill warning (e_icon_factory_get_image): new function to return a GtkImage widget give an icon name and size svn path=/trunk/; revision=27995
* We must return TRUE here so that things actually get removed from the listRodney Dawes2004-08-101-0/+2
| | | | | | | | | 2004-08-09 Rodney Dawes <dobey@novell.com> * e-icon-factory.c (icon_foreach_remove): We must return TRUE here so that things actually get removed from the list svn path=/trunk/; revision=26857
* connect to "changed" signal on the GnomeIconTheme object.Rodrigo Moya2004-08-061-2/+12
| | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> * e-icon-factory.c (e_icon_factory_init): connect to "changed" signal on the GnomeIconTheme object. (icon_theme_changed_cb): g_hash_table_foreach_remove all items in the hash table. (icon_foreach_remove): callback for removing hash table items. svn path=/trunk/; revision=26834
* Fixes #62030Rodrigo Moya2004-08-051-4/+4
| | | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> Fixes #62030 * e-icon-factory.c (load_icon): get the icon_key as a new argument and use that in the call to icon_new(). (e_icon_factory_get_icon): pass icon_key to load_icon(). (e_icon_factory_get_icon_list): ditto. svn path=/trunk/; revision=26830
* If the icon_name is an abolute path, just load it.Dan Winship2004-06-031-6/+11
| | | | | | | | * e-icon-factory.c (load_icon): If the icon_name is an abolute path, just load it. (e_icon_factory_get_icon): Update the docs to reflect that svn path=/trunk/; revision=26168
* doh. need to append ".png" to the icon filenames when falling back on ↵Jeffrey Stedfast2004-05-201-2/+2
| | | | | | looking for them ourselves. svn path=/trunk/; revision=25987
* Lots of re-working action. We no longer load a pixbuf for each and everyJeffrey Stedfast2004-05-201-98/+167
| | | | | | | | | | | | | | | | | | | | | | 2004-05-19 Jeffrey Stedfast <fejj@novell.com> * e-icon-factory.c: Lots of re-working action. We no longer load a pixbuf for each and every available size when requesting the icon for the first time, instead we simply load the requested icon of the requested size and cache only that. (e_icon_factory_get_icon): Always return a broken image icon if we fail to load the requested icon. (e_icon_factory_get_icon_list): Only bother with adding icons of the sizes that are suggested by ghe gtk documentation for gtk_window_set_icon_list rather than the sizes of the standard icons (since it isn't the same list of sizes). (load_icon): Fall back to EVOLUTION_ICONSDIR/WWxHH/icon_name if the icon-theme lookup fails. Also now takes a 'scale' argument which, if non-zero, allows us to look for images of the same name with a larger size in order to scale them back down to what we need. svn path=/trunk/; revision=25986
* *** empty log message ***Jeffrey Stedfast2004-05-131-9/+22
| | | | svn path=/trunk/; revision=25886
* Make this work for non-stock icons too.Dan Winship2004-04-301-1/+3
| | | | | | | * e-icon-factory.c (load_icon): Make this work for non-stock icons too. svn path=/trunk/; revision=25710
* make sure we unlock if we fail to find an icon.Not Zed2004-04-221-0/+1
| | | | | | | | | 2004-04-22 Not Zed <NotZed@Ximian.com> * e-icon-factory.c (e_icon_factory_get_icon_list): make sure we unlock if we fail to find an icon. svn path=/trunk/; revision=25577
* *** empty log message ***Jeffrey Stedfast2004-04-211-2/+0
| | | | svn path=/trunk/; revision=25563
* Make thread-safe. Fixes a crash I encountered this morning.Jeffrey Stedfast2004-04-211-176/+166
| | | | | | | | | | | 2004-04-20 Jeffrey Stedfast <fejj@ximian.com> * e-icon-factory.c (e_icon_factory_get_icon): Make thread-safe. Fixes a crash I encountered this morning. (e_icon_factory_get_icon_filename): Same. (e_icon_factory_get_icon_list): Here too. svn path=/trunk/; revision=25541
* Add e-icon-factory.[ch] Use the icon theme via EIconFactory MoveMichael Terry2004-04-191-0/+288
2004-04-16 Michael Terry <mike@mterry.name> * Makefile.am: Add e-icon-factory.[ch] * e-gui-utils.c: Use the icon theme via EIconFactory * e-icon-factory.[ch]: Move EIconFactory to e-util, and add icon theme support to the object so evolution uses them svn path=/trunk/; revision=25511