Commit Graph

694 Commits

Author SHA1 Message Date
395d08f538 include gtkdialog.h rather than gnome-dialog.h.
2004-08-13  Rodrigo Moya <rodrigo@novell.com>

	* e-categories-config.c: include gtkdialog.h rather than gnome-dialog.h.

svn path=/trunk/; revision=26921
2004-08-13 16:44:28 +00:00
f52c23ee48 Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0
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-12 20:36:31 +00:00
8921c159ae ** See bug #61840, and others.
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-12 06:53:12 +00:00
cceb356664 We must return TRUE here so that things actually get removed from the list
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-09 16:47:03 +00:00
dccb069201 connect to "changed" signal on the GnomeIconTheme object.
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 21:50:30 +00:00
132c7a5a27 Fixes #62030
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-05 15:52:14 +00:00
34752dbc1c find the source with the pilot-sync property (e_pilot_set_sync_source):
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
2004-08-02 18:34:56 +00:00
3702cf0169 include config.h. See #61395.
2004-07-20  Not Zed  <NotZed@Ximian.com>

        * e-dialog-utils.c: include config.h.  See #61395.

svn path=/trunk/; revision=26697
2004-07-22 03:35:11 +00:00
ff09779a90 debugify a few more printfs
svn path=/trunk/; revision=26649
2004-07-14 15:45:07 +00:00
109c235bb2 un-const the return values, since they need to be freed (d): turn off
* 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
2004-07-14 15:19:58 +00:00
4f74bf09a9 [ fixes #60691 ]
2004-07-02  Chris Toshok  <toshok@ximian.com>

	[ fixes #60691 ]

	* e-iterator.h: rename the "delete" member to
	"remove", to fix c++ build.

	* e-iterator.c (e_iterator_delete): same.
	(e_iterator_class_init): same.

	* e-list-iterator.c (e_list_iterator_class_init): same.
	(e_list_iterator_remove): same.

svn path=/trunk/; revision=26563
2004-07-02 16:03:56 +00:00
b5d819b96d If the icon_name is an abolute path, just load it.
* 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-03 15:01:33 +00:00
a29f73349a use statvfs if available. Should make it actually work, if not portable.
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-06-01 10:03:03 +00:00
59751421bd Require e-error-tool
2004-05-27  Rodney Dawes  <dobey@novell.com>

	* e-util/Makefile.am (dist-hook): Require e-error-tool

2004-05-27  Rodney Dawes  <dobey@novell.com>

	* */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist"

svn path=/trunk/; revision=26114
2004-05-27 18:23:57 +00:00
9f71f4b5d3 add e-error-tool
svn path=/trunk/; revision=26109
2004-05-27 13:48:20 +00:00
981fe820c4 doh. need to append ".png" to the icon filenames when falling back on looking for them ourselves.
svn path=/trunk/; revision=25987
2004-05-19 20:11:39 +00:00
ff547c91ab Lots of re-working action. We no longer load a pixbuf for each and every
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 20:08:17 +00:00
1917ca0cfc We always have GnomeIconTheme nowadays, get rid of the old unused code.
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-19 15:40:40 +00:00
760b0a4e58 New #define aliases for common icon usage cases where it may not be
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-17 19:54:19 +00:00
07e0617cd6 New function to clean up the cached icons.
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 18:19:58 +00:00
784359c0ca *** empty log message ***
svn path=/trunk/; revision=25886
2004-05-12 18:19:09 +00:00
c31e31f1fd Tool to do i18n string extraction for error xml files.
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-05-12 03:33:28 +00:00
ad5ce76972 Removed. This is covered by gnome_i18n_get_language_list, which is more
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-05-05 13:26:57 +00:00
448012d426 Make this work for non-stock icons too.
* e-icon-factory.c (load_icon): Make this work for non-stock icons
	too.

svn path=/trunk/; revision=25710
2004-04-30 14:44:39 +00:00
5a9741bb36 make sure we unlock if we fail to find an icon.
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-22 06:42:09 +00:00
e86ab94375 Remove the warnings about using E_ICON_SIZE enums.
2004-04-21  Jeffrey Stedfast  <fejj@ximian.com>

	* e-icon-factory.c: Remove the warnings about using E_ICON_SIZE
	enums.

svn path=/trunk/; revision=25564
2004-04-21 15:27:56 +00:00
3483ec84f1 *** empty log message ***
svn path=/trunk/; revision=25563
2004-04-21 15:26:39 +00:00
34f58b1411 Make thread-safe. Fixes a crash I encountered this morning.
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-20 17:39:58 +00:00
24f5407f69 Add an enum for icon sizes (temporarily has absolute pixel sizes assigned
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-19 21:44:37 +00:00
1ace8a2132 Add e-icon-factory.[ch] Use the icon theme via EIconFactory Move
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-19 15:17:19 +00:00
fea1c47a57 Don't add an autogen signature if the new signature is the autogen
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-14 17:29:15 +00:00
72a82284b0 Implemented a similar workaround to the one I did for a gethostbyaddr_r()
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-13 19:19:43 +00:00
739cb17507 Really fixes bug #56623
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-12 17:43:33 +00:00
154d0ce43f If we fail to set a sig_uid then try to extract the old style signature id
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 19:47:06 +00:00
c3f9d4cbc9 If the autogen signature isn't in the list (or isn't the first in the
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-09 17:55:21 +00:00
a32f78e37e simplified a tad
svn path=/trunk/; revision=25354
2004-04-07 16:27:20 +00:00
5861eb8e7b Probably fixes bug #56623 and others?
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-07 15:09:49 +00:00
b2df23571d Fixed to not ignore signatures without uids (e.g. signatures that were
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-05 18:31:48 +00:00
d7a067c9ee Always set a format prop so that 1.4 and older 1.5 versions won't strcmp()
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-02 15:46:52 +00:00
6659317c32 Reference signatures by their UID rather than by an integer id. Also
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-04-01 19:48:43 +00:00
16a061d1bf New class similar to EAccount but for signatures.
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 21:13:00 +00:00
d239a18ce4 similar to below.
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-31 10:08:38 +00:00
c54e959128 Added options for transport_url and source_url permissions.
2004-03-18  Not Zed  <NotZed@Ximian.com>

        * e-account.c: Added options for transport_url and source_url
        permissions.

svn path=/trunk/; revision=25115
2004-03-18 13:21:07 +00:00
bc6046b8f1 added interface to find out if various fields or server options are
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-03-18 04:55:10 +00:00
7b75fa6e7d Remove separator from dialogs per HIG.
2004-03-04  William Jon McCann  <mccann@jhu.edu>

	* e-dialog-utils.c (e_notice, e_notice_with_xid, save_ok):
	* e-request.c (e_request_string):
	* e-passwords.c (e_passwords_ask_password):
	Remove separator from dialogs per HIG.

svn path=/trunk/; revision=25003
2004-03-09 21:10:42 +00:00
e194e84188 Added some debug stuff.
2004-03-04  Not Zed  <NotZed@Ximian.com>

        * e-sexp.c: Added some debug stuff.

svn path=/trunk/; revision=24956
2004-03-04 04:12:21 +00:00
3181ad6bfa ** See Bug #37329.
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-03-03 06:24:19 +00:00
7bc051c549 Protect against feeding gdk_pixbuf_new_from_file() a NULL path. Clears up
2004-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* e-gui-utils.c (e_icon_for_mime_type): Protect against feeding
	gdk_pixbuf_new_from_file() a NULL path. Clears up some console
	warning spewage.

svn path=/trunk/; revision=24874
2004-02-25 21:15:45 +00:00
90b2bfbf8c include string.h, fixes 64 bit crash. From David Mosberger.
2004-02-19  Not Zed  <NotZed@Ximian.com>

        * e-pilot-util.c: include string.h, fixes 64 bit crash.  From
        David Mosberger.

svn path=/trunk/; revision=24792
2004-02-19 06:06:47 +00:00
c89d4ffa5d add callto:, h323:, and webcal: schemes.
2004-02-03  Chris Toshok  <toshok@ximian.com>

	* e-html-utils.c (e_text_to_html_full): add callto:, h323:, and
	webcal: schemes.

svn path=/trunk/; revision=24585
2004-02-03 17:29:42 +00:00