2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org>
* e-dialog-utils.c: Optionally use GtkFileChooser if compiled
against Gtk+ >= 2.4.0
svn path=/trunk/; revision=26893
2004-08-10 Not Zed <NotZed@Ximian.com>
** See bug #61840, and others.
* e-passwords.c: Lots of changes. The api is now fully
multi-thread safe, all calls are serialised internally, even
recursive main-loop calls. Small api changes to the
ask_password call to add some new features required by the mailer
and to clean up some of the names.
(e_passwords_cancel): new procedure to cancel any outstanding
password requests, for when we need to go uninteractive.
svn path=/trunk/; revision=26878
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
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
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
2004-08-01 JP Rosevear <jpr@novell.com>
* e-pilot-util.c (e_pilot_get_sync_source): find the source with
the pilot-sync property
(e_pilot_set_sync_source): give the source the pilot-sync property
and make sure its the only one
* e-pilot-util.h: add prototypes
* Makefile.am (eutilincludedir): don't build pilot settings
svn path=/trunk/; revision=26800
* e-mktemp.c (e_mktemp, e_mkdtemp): un-const the return values,
since they need to be freed
(d): turn off debugging
(expire_dir_rec): remove debug printfs
svn path=/trunk/; revision=26647
* 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
2004-06-01 Not Zed <NotZed@Ximian.com>
* e-fsutils.c (e_fsutils_avail): use statvfs if available. Should
make it actually work, if not portable. This is for a bug but I
can't recall the number.
svn path=/trunk/; revision=26139
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