Commit Graph

679 Commits

Author SHA1 Message Date
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
a0c4af714e use g_file_test instead of stat and pass the type e_folder_map_dir when
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-26 22:00:10 +00:00
2c2bcabba6 turn off debugging
2004-01-24  JP Rosevear <jpr@ximian.com>

	* e-folder-map.c: turn off debugging

svn path=/trunk/; revision=24405
2004-01-24 18:48:27 +00:00
d499753035 use GDir/g_build_filename, and g_file_test. (e_folder_map_local_folders):
2004-01-24  Chris Toshok  <toshok@ximian.com>

	* e-folder-map.c (e_folder_map_dir): use GDir/g_build_filename,
	and g_file_test.
	(e_folder_map_local_folders): same.

svn path=/trunk/; revision=24403
2004-01-24 17:39:47 +00:00
5537132932 build new sources
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-23 21:03:07 +00:00
882cfb44e8 don't build dead files
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-20 21:18:42 +00:00
6f24ef0425 New source files for mapping bonobo-conf keys to gconf keys. Moved out of
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-14 17:29:24 +00:00
18b15bfc5a A time-based thread-safe in-memory cache thing. Called em_cache 'cause
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-14 05:04:04 +00:00
86b8defcab Fix from Zan Lynx <zlynx@acm.org> to lock the memchunk before freeing the
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
2004-01-05 10:58:53 +00:00
7c13868fae Remove hard coded disable deprecated flags
2003-12-06  JP Rosevear <jpr@ximian.com>

	* Makefile.am: Remove hard coded disable deprecated flags

svn path=/trunk/; revision=23662
2003-12-06 18:15:20 +00:00
98093d4c14 Bug Id #51527 "gal widgets produces backspace for Ctrl-space for japanese
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-12-01 17:50:20 +00:00
550038cb1f remove gtk deprecated flag
2003-11-23  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: remove gtk deprecated flag

svn path=/trunk/; revision=23468
2003-11-23 16:55:05 +00:00
b44f4b40e2 remove db3 library, if you really want it, get it from e-d-s
2003-11-18  JP Rosevear <jpr@ximian.com>

	* Makefile.am: remove db3 library, if you really want it, get it
	from e-d-s

svn path=/trunk/; revision=23424
2003-11-18 20:02:06 +00:00
dccfa1bc63 don't build the e-source stuff anymore, its in e-d-s now
2003-11-14  JP Rosevear <jpr@ximian.com>

	* Makefile.am: don't build the e-source stuff anymore, its in
	e-d-s now

svn path=/trunk/; revision=23370
2003-11-14 22:35:35 +00:00
50a2665bff config accessor (calendar_config_set_calendars_selected): ditto
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 20:49:01 +00:00
8b11b6d449 Fixes 45776 enable the usage of the "alt".
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
2003-11-14 10:17:23 +00:00