Commit Graph

9165 Commits

Author SHA1 Message Date
dcb5ea4101 Fixes bug #4018 and what would be the analogous bugs for the other
2001-07-04  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #4018 and what would be the analogous bugs for the other
	component editors.

	* gui/dialogs/comp-editor-page.h (CompEditorPageClass): New
	virtual method "::focus_main_widget()".

	* gui/dialogs/comp-editor-page.c
	(comp_editor_page_focus_main_widget): New function.

	* gui/dialogs/comp-editor.c (comp_editor_append_page): If we are
	inserting the main page, ask it to focus its main widget.

	* gui/dialogs/alarm-page.c (alarm_page_focus_main_widget):
	Implemented.

	* gui/dialogs/event-page.c (event_page_focus_main_widget):
	Implemented.
	#include "e-util/e-categories-config.h".

	* gui/dialogs/meeting-page.c (meeting_page_focus_main_widget):
	Implemented.

	* gui/dialogs/recurrence-page.c
	(recurrence_page_focus_main_widget): Implemented.

	* gui/dialogs/task-details-page.c
	(task_details_page_focus_main_widget): Implemented.

	* gui/dialogs/task-page.c (task_page_focus_main_widget):
	Implemented.

svn path=/trunk/; revision=10784
2001-07-04 21:25:30 +00:00
1e5fac65aa set "pixname" value only if pixbuf was loaded successfully. Otherwise
2001-07-04  Gediminas Paulauskas <menesis@delfi.lt>

	* evolution-shell-component-utils.c (e_pixmaps_update): set
	"pixname" value only if pixbuf was loaded successfully. Otherwise
	component crashes if image is not found. Should be checked for
	sanity in bonobo_ui_component_set_prop IMHO.

2001-07-04  Gediminas Paulauskas <menesis@delfi.lt>

	* Makefile.am: install apply-filters-16.xpm

2001-07-04  Gediminas Paulauskas <menesis@delfi.lt>

	* evolution-mail-message.xml: MessageApplyFilters now has an icon.

2001-07-04  Gediminas Paulauskas <menesis@delfi.lt>

	* folder-browser-ui.c (message_pixcache): set icon for ApplyFilters
	command.

svn path=/trunk/; revision=10783
2001-07-04 20:46:15 +00:00
de9d730a34 New function. (calendar_control_activate): Clear the folder bar label; we
2001-07-04  Federico Mena Quintero  <federico@ximian.com>

	* gui/calendar-commands.c (clear_folder_bar_label): New function.
	(calendar_control_activate): Clear the folder bar label; we really
	don't have anything interesting to display.

svn path=/trunk/; revision=10782
2001-07-04 20:21:06 +00:00
834ae55a48 load all icons and colors for each category
2001-07-04  Rodrigo Moya <rodrigo@ximian.com>

	* e-categories-master-list-wombat.c (ecmlw_load): load all icons
	and colors for each category

	(ecmlw_save): save all icons and categories associated with
	each category

	* e-categories-config.c: use BonoboConf to store/retrieve settings,
	and use ECategoriesMasterListWombat when creating a ECategories
	dialog widget

svn path=/trunk/; revision=10781
2001-07-04 20:03:48 +00:00
d6e309cac3 Revert Sam's changes.
2001-07-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_set_show_preview): Revert Sam's changes.

	Note: Uhm, g_hash_table_lookup_extended gives us a pointer to the
	original value which we can just change to update the hash table
	without the need to re-insert - it's already there!! Also, you
	don't want to g_hash_table_insert the new value with the same key
	without at least first removing the existing bucket. And, you
	certainly don't want to g_free() the key after you insert it -
	eek!!

svn path=/trunk/; revision=10780
2001-07-04 17:22:12 +00:00
37069d45fd use BonoboConf to store/retrieve settings, and use
2001-07-04  Rodrigo Moya <rodrigo@ximian.com>

	* e-categories-config.c: use BonoboConf to store/retrieve settings,
	and use ECategoriesMasterListWombat when creating a ECategories
	dialog widget

svn path=/trunk/; revision=10779
2001-07-04 14:59:23 +00:00
0e9fadc31d attach send and postpone handlers. and be more tolerant of errors.
2001-07-04  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (autosave_load_draft): attach send and postpone
	handlers. and be more tolerant of errors.

svn path=/trunk/; revision=10778
2001-07-04 07:42:32 +00:00
720a792d11 Add new columns for information specification (meeting_page_destroy): save
2001-07-03  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c: Add new columns for information
	specification
	(meeting_page_destroy): save the table state
	(build_etable): load new table state

	* gui/dialogs/task-editor.c (task_editor_destroy): unref pages

	* gui/dialogs/event-editor.c (event_editor_destroy): unref pages

	* gui/dialogs/comp-editor.c (setup_widgets): kill warning
	(comp_editor_append_page): ref page passed in
	(close_dialog): unref pages

svn path=/trunk/; revision=10777
2001-07-04 01:33:05 +00:00
7a2f3f2fbc Replace value in config->preview_hash when it already exists. Old code
2001-07-03  Sam Creasey <sammy@oh.verio.com>
        * mail-config.c (mail_config_set_show_preview): Replace value in
        config->preview_hash when it already exists.  Old code never
        re-inserted into the hash, just assigned to val -- it's an int
        here, not a real pointer.

svn path=/trunk/; revision=10776
2001-07-04 00:36:47 +00:00
e77e11490f Revised to make it less scary.
2001-07-03  Aaron Weber  <aaron@ximian.com>

	* main.c (development_warning): Revised to make it less scary.

svn path=/trunk/; revision=10775
2001-07-03 23:11:34 +00:00
f21f291479 Unset the message being displayed when expunging. This makes expunged
2001-07-03  Joe Shaw  <joe@ximian.com>

	* mail-callbacks.c (expunge_folder): Unset the message being displayed
	when expunging. This makes expunged messages not show in the preview
	pane when they're not there anymore. Fixes #3591.

svn path=/trunk/; revision=10774
2001-07-03 23:04:35 +00:00
c904bd6580 make sure we seek to the begining.
2001-07-03  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (autosave_save_draft): make sure we seek to the
	begining.

svn path=/trunk/; revision=10773
2001-07-03 22:42:22 +00:00
dd5ad61e19 If msg is NULL, fetch the message and requeue a mail_reply call. Fixes bug
2001-07-03  Joe Shaw  <joe@ximian.com>

	* mail-callbacks.c (mail_reply): If msg is NULL, fetch the message
	and requeue a mail_reply call. Fixes bug #3816.
	(requeue_mail_reply): Callback from mail_get_message().

svn path=/trunk/; revision=10772
2001-07-03 22:33:14 +00:00
401d5cd43d Prevent crashing while we work this out.
001-07-03  Peter Williams  <peterw@ximian.com>

	* filter-source.c (get_widget): Prevent crashing while we work this out.

	* filter-rule.c (get_widget): Don't try to gtk_widget_grab_default
	with a widget that can't be the default. Altough it should be able
	to....

svn path=/trunk/; revision=10771
2001-07-03 22:24:37 +00:00
9ce710a34e Use a better GHashTable technique that will hopefully solve some bugs and
2001-07-03  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_get_show_preview): Use a better
	GHashTable technique that will hopefully solve some bugs and also
	use _with_default bonobo-config call.
	(mail_config_set_show_preview): No sense in removing the entry
	from the hash table and then re-inserting it. Just reset the
	value.
	(mail_config_get_thread_list): Use the same logic.
	(mail_config_set_thread_list): And again here.

svn path=/trunk/; revision=10770
2001-07-03 22:23:20 +00:00
014e0bf46b Added NNTP_NO_PERMISSION (502) to the list of response codes.
2001-07-03  Joe Shaw  <joe@ximian.com>

	* providers/nntp/camel-nntp-resp-codes.h: Added NNTP_NO_PERMISSION
	(502) to the list of response codes.

	* providers/nntp/camel-nntp-store.c (nntp_store_connect): If we
	receive a NNTP_NO_PERMISSION, don't get into an infinite loop trying
	to reconnect, get extensions, etc. Just give up and return FALSE.

svn path=/trunk/; revision=10769
2001-07-03 21:33:47 +00:00
80f0be6c13 Fix bug #3612: Accelerator for attach file in composer.
svn path=/trunk/; revision=10768
2001-07-03 21:28:52 +00:00
d7d155066d Disable bonobo-conf Fix radio button problem
Disable bonobo-conf
Fix radio button problem

svn path=/trunk/; revision=10767
2001-07-03 21:28:14 +00:00
b9df218b34 Split make_string into these. (update_idle): Use (name and status) instead
2001-07-03  Peter Williams  <peterw@ximian.com>

	* mail-folder-cache.c (make_folder_name, make_folder_status): Split
	make_string into these.
	(update_idle): Use (name and status) instead of (wide and thin) for
	the text.

svn path=/trunk/; revision=10766
2001-07-03 21:02:50 +00:00
9c367bf930 Finish off #809 by committing the menu and right click thingies for
marking as important.

svn path=/trunk/; revision=10765
2001-07-03 20:56:52 +00:00
8ce7603f83 Put in lots of orderedlists...more SGML, less for the user to read.
2001-07-03  Kevin Breit  <battery841@mediaone.net>

	* C/usage-mail.sgml: Put in lots of orderedlists...more SGML, less
	for the user to read.  They'll thank me in droves later.

svn path=/trunk/; revision=10764
2001-07-03 19:58:21 +00:00
3fe9876bc7 [Fix a problem with not being able to save a newly created
`shortcuts.xml' file, and another bug that caused the default
group to be added at every start-up, even there were groups
already.]

* e-shortcuts.c (e_shortcuts_new): If loading the shortcuts fails,
set the file_name.
(load_shortcuts): Update `num_groups'.

svn path=/trunk/; revision=10763
2001-07-03 19:40:31 +00:00
ed46ce99fe remove the timer id.
2001-07-03  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.h: remove the timer id.

	* e-msg-composer.c: use autosave manager.
	(autosave_save_draft): moved initialization to
	autosave_init_file. Only save the buffer if we get a valid
	message.
	(autosave_load_draft): unlink the old file, we own it now. and
	unref the stream when we are done with it.
	(autosave_is_owned): check if we own the file, this needs to be
	extended to check for other valid processes.
	(autosave_query_load_orphans): make this search through the
	managers list as it walks the dir.
	(autosave_query_load_orphans): make sure we use the full path.
	(autosave_run_foreach_cb): timeout foreach handler.
	(autosave_run): the timeout function.
	(autosave_start): start timer.
	(autosave_stop): stop timer.
	(autosave_register): register a composer with the autosave manager.
	(autosave_unregister): unregister a composer.
	(destroy): unregister the composer, everything is okay.
	(init): register the composer.

svn path=/trunk/; revision=10762
2001-07-03 19:31:06 +00:00
23dd7a254c querythe user to check if they want to load any orphans we've found.
2001-07-02  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (autosave_query_load_orphans): querythe user to
	check if they want to load any orphans we've found.
	(autosave_query_cb): the dialog callback.
	(autosave_is_orphan): test if if a particular file is orphaned.
	(autosave_load_draft): load a message from an autosave file.
	(autosave_save_draft): save the current buffer to the autosave file.

svn path=/trunk/; revision=10761
2001-07-03 19:17:31 +00:00
b7dede1a27 use bonobo-conf everywhere
2001-07-03  Dietmar Maurer  <dietmar@ximian.com>

	* *: use bonobo-conf everywhere

svn path=/trunk/; revision=10760
2001-07-03 18:15:31 +00:00
838d0849f2 Add a seperate pixbuf for the print button
svn path=/trunk/; revision=10759
2001-07-03 17:25:48 +00:00
cb058b63ed Fixed the bonobo warning
svn path=/trunk/; revision=10758
2001-07-03 17:24:58 +00:00
a507e83ea8 Compile fixes. #include errno.h and gnome-dialog-utils.h.
2001-07-03  Peter Williams  <peterw@ximian.com>

	* folder-browser.c (message_list_drag_data_get): Compile fixes.
	#include errno.h and gnome-dialog-utils.h. s/dirname/tmpdir/

svn path=/trunk/; revision=10757
2001-07-03 17:24:26 +00:00
ed48c8350f Forgot to save this
svn path=/trunk/; revision=10756
2001-07-03 17:15:50 +00:00
0e893f8bc4 Prevent folders from appearing to have -1 new messages. Prevent nonactive
2001-07-03  Peter Williams  <peterw@ximian.com>

	Prevent folders from appearing to have -1 new messages. Prevent
	nonactive folders from updating the title bar. Make the title
	bar update when switching to an already-opened folder.

	* mail-folder-cache.c (update_message_counts): Ignore the value for
	'unread' if it is -1.
	(get_mail_info_receive): Same
	(mail_folder_cache_note_folderinfo): Same.
	(get_folder_info): Initialize 'fb' to NULL.
	(mail_folder_info): Add 'fb' member.
	(mail_folder_cache_note_fb): Change note_message_list to this.
	(update_idle): Only update the ShellView if the active folder browser
	is the same as the one that the MFI references.
	(mail_folder_cache_set_folder_browser): New function. Use it to set
	the active folder browser. NULL is okay.
	(check_for_fb_match): Called from the above. If the MFI has the
	new folder browser as its view, queue an update.

	* mail-folder-cache.h: Fix prototypes.

	* mail-callbacks.c (create_folders): Check if fi->url is nonnull.

	* folder-browser.c (got_folder): Change to use note_fb instead of
	note_messge_list.

	* folder-browser-factory.c (control_activate): Set the folder browser
	(control_deactivate): Clear it here.
	(fb_get_svi): Kill some inappropriately cut-n-pasted code.

svn path=/trunk/; revision=10755
2001-07-03 17:15:26 +00:00
bb88c579bf Rename some of the widgets in the news config to not conflict with the
* mail-config.glade: Rename some of the widgets in the news config
	to not conflict with the mail config stuff, so the mail config
	druid will work again.

svn path=/trunk/; revision=10754
2001-07-03 16:57:13 +00:00
ea9e426096 Use mkdtemp if we have it, else use mktemp but make the code safer than it
2001-07-03  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (message_list_drag_data_get): Use mkdtemp if we
	have it, else use mktemp but make the code safer than it was
	previously.

	* mail-display.c (launch_cb): Free the template string if the
	tempdir failed to be created.

svn path=/trunk/; revision=10753
2001-07-03 16:52:38 +00:00
3f3936e0f9 More BonoboConf work
svn path=/trunk/; revision=10752
2001-07-03 16:40:01 +00:00
59b07be2c7 BonoboConf work New print icon
BonoboConf work
New print icon

svn path=/trunk/; revision=10751
2001-07-03 16:36:54 +00:00
c7553c75aa Fix crashes if the offline button is clicked before the summary has been created
svn path=/trunk/; revision=10750
2001-07-03 16:18:57 +00:00
ce575645ca Hide the URL passwd, auth, and params. (folder_browser_copy): Same.
2001-07-03  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (message_list_drag_data_get): Hide the URL
	passwd, auth, and params.
	(folder_browser_copy): Same.

svn path=/trunk/; revision=10749
2001-07-03 15:52:12 +00:00
8e7eea0d26 Doh. Don't remove things from the hash table while foreach'ing it. (And
* providers/imap/camel-imap-message-cache.c
	(camel_imap_message_cache_clear): Doh. Don't remove things from
	the hash table while foreach'ing it. (And can't use foreach_remove
	either because we have to remove them in a weird order). Fixes
	#3618.

	* providers/imap/camel-imap-folder.c (imap_get_message): If the
	server returns OK from the FETCH BODY, but there's no parseable
	BODY response, it's probably because there's an UN-parseable BODY
	response, implying the message is badly formatted, MIMEwise. In
	that case, fall back to fetching the message as a single part.

svn path=/trunk/; revision=10748
2001-07-03 15:24:55 +00:00
4834cba289 Updated Hungarian translation.
2001-07-03  Andras Timar <timar@gnome.hu>

        * hu.po: Updated Hungarian translation.

svn path=/trunk/; revision=10747
2001-07-03 14:57:39 +00:00
87f978acce remove a no-longer-relevant comment
svn path=/trunk/; revision=10746
2001-07-03 13:54:31 +00:00
47dc3d086d Remove `shortcuts.xml'. The shell is now able to create that by itself.
* Makefile.am (default_DATA): Remove `shortcuts.xml'.  The shell
is now able to create that by itself.

svn path=/trunk/; revision=10745
2001-07-03 13:35:10 +00:00
8a9d50f560 [The following makes the shell able to create the `shortcuts.xml'
file by itself when the file is not present or corrupted.  Fixes
#3668, failure to handle malformed shortcuts.xml file.]

* e-shell.c (e_shell_construct): If the `e_shortcuts_new()'
returns an object with no shortcuts in it, fill it in with
`e_shortcuts_add_default_group()'.

* e-shortcuts.c: New member `num_groups' in EShortcutsPrivate.
(init): Init to zero.
(e_shortcuts_add_group): Increment.
(e_shortcuts_remove_group): Decrement.
(e_shortcuts_get_num_groups): New.
(e_shortcuts_add_default_group): New function to set up the
default shortcuts.
(e_shortcuts_new): Return an empty EShortcuts object if loading
the file files, instead of returning NULL.

svn path=/trunk/; revision=10744
2001-07-03 13:29:12 +00:00
ed82a3aba8 Don't pass a dirty exception to camel_folder_sync. Fixes an IMAP filtering
* mail-ops.c (filter_folder_filter): Don't pass a dirty exception
	to camel_folder_sync. Fixes an IMAP filtering crash.

svn path=/trunk/; revision=10743
2001-07-03 13:07:36 +00:00
9786eb1d7a Ref/unref the handler so the signal handlers can unref it safely. Also, if
* e-shell-offline-handler.c
(e_shell_offline_handler_put_components_offline): Ref/unref the
handler so the signal handlers can unref it safely.  Also, if
`prepare_for_offline()' fails, don't say that there was an
internal error, as that's confusing.  Just say we couldn't put the
components off-line.

[Fix #3758, clicking on the online/offline button crashed
Evolution.]

* Evolution-Offline.idl: Don't derive OfflineProgressListener from
Bonobo::Unknown.

svn path=/trunk/; revision=10742
2001-07-03 12:24:29 +00:00
fc8b3ba203 oops. /tigert
svn path=/trunk/; revision=10741
2001-07-03 12:15:20 +00:00
4fd090fd15 new iconz warez for do0dz! /t1g3rt
svn path=/trunk/; revision=10740
2001-07-03 12:04:08 +00:00
dcd5194f42 [Fixed #3643, Shell crash when component crashed]
* e-shell-view.c (socket_destroy_cb): Fix Jason's broken fix for
#3205 that was causing #3643.  It is not safe to strcmp() the
return value from `e_shell_view_get_current_uri()' as it might be
NULL already.

svn path=/trunk/; revision=10739
2001-07-03 11:26:20 +00:00
9dbf178166 add the icaltimezone to the timezone array of the toplevel VCALENDAR
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* src/libical/icalcomponent.c (icalcomponent_add_component): add the
	icaltimezone to the timezone array of the toplevel VCALENDAR component.

svn path=/trunk/; revision=10738
2001-07-03 09:17:53 +00:00
a753b72a98 fix warning, and added some debug messages.
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* gui/e-day-view.c (query_obj_updated_cb): fix warning, and added
	some debug messages.

	* gui/dialogs/comp-editor-util.c (write_label_piece):
	* gui/e-day-view-top-item.c (e_day_view_top_item_draw): call mktime()
	to set the weekday, though this is a temporary fix.

svn path=/trunk/; revision=10737
2001-07-03 09:12:12 +00:00
5181884e24 added $(BONOBO_CONF_LIBS) to all the LDADDs, to get it to compile. Not
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* Makefile.am: added $(BONOBO_CONF_LIBS) to all the LDADDs, to get
	it to compile. Not entirely sure it is correct.

svn path=/trunk/; revision=10736
2001-07-03 07:28:56 +00:00
94de273fd5 added bonobo_conf.
2001-07-03  Damon Chaplin  <damon@ximian.com>

	* configure.in (MAILER_LIBS):
	(MAILER_CFLAGS): added bonobo_conf.

svn path=/trunk/; revision=10735
2001-07-03 07:22:44 +00:00