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
2004-05-19 Jeffrey Stedfast <fejj@novell.com>
* e-gui-utils.c (e_icon_for_mime_type): We always have
GnomeIconTheme nowadays, get rid of the old unused code.
(e_create_image_widget): Use E_ICON_SIZE_DIALOG
svn path=/trunk/; revision=25978
2004-05-17 Jeffrey Stedfast <fejj@novell.com>
* e-icon-factory.h (E_ICON_SIZE_LIST/STATUS): New #define aliases
for common icon usage cases where it may not be obvious that they
are the same size as menu icons.
svn path=/trunk/; revision=25935
2004-05-12 Jeffrey Stedfast <fejj@novell.com>
* e-icon-factory.c (e_icon_factory_shutdown): New function to
clean up the cached icons.
svn path=/trunk/; revision=25887
2004-05-12 Not Zed <NotZed@Ximian.com>
* e-error-tool.c: Tool to do i18n string extraction for error xml
files.
2004-05-10 Not Zed <NotZed@Ximian.com>
* e-fsutils.c (e_fsutils_usage): new file/function, get disk usage
of a path, in 1024 byte blocks.
(e_fsutils_avail): new file/function, get disk space available for
a given path, in 1024 byte blocks.
* e-meta.[ch]: Removed. Poor idea badly executed, and no longer used.
* e-path.h: add a fixme about deprecation.
svn path=/trunk/; revision=25868
2004-04-30 Not Zed <NotZed@Ximian.com>
* e-lang-utils.[ch]: Removed. This is covered by
gnome_i18n_get_language_list, which is more complete.
svn path=/trunk/; revision=25804
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
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
2004-04-19 Jeffrey Stedfast <fejj@ximian.com>
* e-icon-factory.h: Add an enum for icon sizes (temporarily has
absolute pixel sizes assigned to it until I commit
e-icon-factory.c changes - but only after all other code has been
updated to use the enums).
svn path=/trunk/; revision=25525
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
2004-04-13 Jeffrey Stedfast <fejj@ximian.com>
* e-signature-list.c (gconf_signatures_changed): Don't add an
autogen signature if the new signature is the autogen signature.
svn path=/trunk/; revision=25463
2004-04-13 Jeffrey Stedfast <fejj@ximian.com>
* e-host-utils.c (e_gethostbyname_r): Implemented a similar
workaround to the one I did for a gethostbyaddr_r() glibc bug
here. Glibc will apparently return success for addresses such as
"192..168.1.1" (note the double dot) and yet not have filled in
the hostent properly.
svn path=/trunk/; revision=25445
2004-04-12 Jeffrey Stedfast <fejj@ximian.com>
Really fixes bug #56623
* e-signature-list.c (gconf_signatures_changed): If we've had to
"fix" any signatures by adding a uid, set the resave state on the
list (only cared about if this is at initial load time).
(e_signature_list_construct): If we've set any uids in
signatures_changed(), then save the signature list back out.
svn path=/trunk/; revision=25416
2004-04-09 Jeffrey Stedfast <fejj@ximian.com>
* e-account.c (xml_set_identity): If we fail to set a sig_uid then
try to extract the old style signature id and assume the migration
code will fix us up (if not, nothing bad will happen anyway).
svn path=/trunk/; revision=25403
2004-04-09 Jeffrey Stedfast <fejj@ximian.com>
* e-signature-list.c (gconf_signatures_changed): If the autogen
signature isn't in the list (or isn't the first in the list), add
it to the head of the list.
svn path=/trunk/; revision=25397
2004-04-07 Jeffrey Stedfast <fejj@ximian.com>
Probably fixes bug #56623 and others?
* e-signature-list.c (gconf_signatures_changed): Fixed to not use
free'd iter memory. Also reverse the new_sigs list before adding
them to the signature list (so they are in the same order they
appeared in the gconf key).
svn path=/trunk/; revision=25352
2004-04-05 Jeffrey Stedfast <fejj@ximian.com>
* e-signature-list.c (gconf_signatures_changed): Fixed to not
ignore signatures without uids (e.g. signatures that were from
prior versions).
svn path=/trunk/; revision=25319
2004-04-02 Jeffrey Stedfast <fejj@ximian.com>
* e-signature.c (e_signature_to_xml): Always set a format prop so
that 1.4 and older 1.5 versions won't strcmp() on a NULL value.
svn path=/trunk/; revision=25299
2004-04-01 Jeffrey Stedfast <fejj@ximian.com>
* e-account.c: Reference signatures by their UID rather than by an
integer id. Also removed the need to have 2 signature settings (no
need for the "auto" signature boolean anymore).
svn path=/trunk/; revision=25283
2004-03-31 Jeffrey Stedfast <fejj@ximian.com>
* e-signature.[c,h]: New class similar to EAccount but for
signatures.
* e-signature-list.[c,h]: New class similar to EAccountList only
for signatures.
svn path=/trunk/; revision=25271
2004-03-31 Not Zed <NotZed@Ximian.com>
* e-account-list.h: similar to below.
* e-account.h: define struct _EAccount* so you can properly forward
declare it.
svn path=/trunk/; revision=25260
2004-03-18 Not Zed <NotZed@Ximian.com>
* e-account.c (e_account_writable, e_account_writable_option):
added interface to find out if various fields or server options
are writable. to work around gconf limitations.
svn path=/trunk/; revision=25109
2004-02-27 Not Zed <NotZed@Ximian.com>
** See Bug #37329.
* e-mktemp.c (get_dir): setup a comjpile time option for storing
in the homedir, and also just use the uid as the key for a /tmp
dir option.
(e_mktemp_cleanup): removed entirely.
(e_mkstemp, e_mkdtemp, e_mktemp): dont save the file/dirname in a
list anymore.
(expire_dir_rec): expire old temp data from previous runs/old data
lying around. Based on access time.
(get_dir): run an expirey every now and then.
svn path=/trunk/; revision=24941
2004-01-26 JP Rosevear <jpr@ximian.com>
* e-folder-map.c (e_folder_map_dir): use g_file_test instead of
stat and pass the type e_folder_map_dir when recursing
svn path=/trunk/; revision=24449
2004-01-23 JP Rosevear <jpr@ximian.com>
* Makefile.am: build new sources
* e-folder-map.[hc]: builds a list of 1.4 folder paths of a
certain type
svn path=/trunk/; revision=24389
2004-01-20 JP Rosevear <jpr@ximian.com>
* Makefile.am: don't build dead files
* e-xml-hash-utils.[hc]: kill, these were moved to e-d-s long ago
svn path=/trunk/; revision=24333
2004-01-14 Jeffrey Stedfast <fejj@ximian.com>
* e-bconf-map.[c,h]: New source files for mapping bonobo-conf keys
to gconf keys. Moved out of shell/e-config-upgrade.c
svn path=/trunk/; revision=24222
2004-01-13 Not Zed <NotZed@Ximian.com>
* e-msgport.c (em_cache*): A time-based thread-safe in-memory
cache thing. Called em_cache 'cause there's an e_cache in gal.
svn path=/trunk/; revision=24213
2004-01-05 Not Zed <NotZed@Ximian.com>
* e-memory.c (e_mempool_destroy): Fix from Zan Lynx
<zlynx@acm.org> to lock the memchunk before freeing the pool
header.
svn path=/trunk/; revision=24042
2003-11-30 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
Bug Id #51527 "gal widgets produces backspace for Ctrl-space for
japanese input"
* gal/util/e-text-event-processor-emacs-like.c:
(e_text_event_processor_emacs_like_event) If GDK_CONTROL_MASK set,
disable the command action.
svn path=/trunk/; revision=23529
2003-11-14 JP Rosevear <jpr@ximian.com>
* gui/calendar-config.c (calendar_config_get_calendars_selected):
config accessor
(calendar_config_set_calendars_selected): ditto
(calendar_config_add_notification_calendars_selected): config
notification
* gui/calendar-config.h: add protos
* gui/calendar-config-keys.h: add new key
* gui/calendar-component.c (is_in_uids): util function
(update_uris_for_selection): save the selection in the
configuration
(update_selection): update the selection from the config info
(source_selection_changed_cb): only pass one param
(config_selection_changed_cb): listen for config changes
(impl_dispose): remove config notification
(impl_createControls): use bonobo_exception_set; add a config
notification
2003-11-14 JP Rosevear <jpr@ximian.com>
* test-source-list.c (on_idle_do_stuff): we only need the uid to
remove and peek at stuff
* e-source-list.h: update proto types
* e-source-list.c (e_source_list_peek_source_by_uid): allow peek
by uid only
(e_source_list_remove_source_by_uid): allow removal by uid only
svn path=/trunk/; revision=23362
2003-11-14 Andrew Wu <yang.wu@sun.com>
Fixes 45776
* gal/util/e-text-event-processor-emacs-like.c (e_text_event_processor_emacs_like_event):
enable the usage of the "alt".
svn path=/trunk/; revision=23351