Commit Graph

9177 Commits

Author SHA1 Message Date
dca4e44eaa weather icons
svn path=/trunk/; revision=10796
2001-07-05 12:16:24 +00:00
22afb449ed Updated Slovenian translation
svn path=/trunk/; revision=10795
2001-07-05 12:14:02 +00:00
d7f08bb8bb Updated Hungarian translation.
2001-07-05  Andras Timar <timar@gnome.hu>

        * hu.po: Updated Hungarian translation.

svn path=/trunk/; revision=10794
2001-07-05 11:53:02 +00:00
d02ed3c293 Get the File -> Folder -> Properties menu item work again for the
mailer.

svn path=/trunk/; revision=10793
2001-07-05 11:19:19 +00:00
f6e8b09c24 Allocate one byte for the terminating zero as well.
2001-07-05  Richard Hult  <rhult@codefactory.se>

	* gal/util/e-util.c (e_format_number): Allocate one byte for the
	terminating zero as well.

svn path=/trunk/; revision=10792
2001-07-05 10:53:01 +00:00
6d4840cae8 Changed the variable names here to make it clear that these are view model
2001-07-05  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c, e-table-item.h (find_cell): Changed the variable
	names here to make it clear that these are view model and row.
	(eti_event): Added click_count to make it so that if we get two
	clicks in different rows we don't send a double click event.
	(eti_event, view_to_model_row): Set row_guess in a few extra
	places.

svn path=/trunk/; revision=10791
2001-07-05 10:42:36 +00:00
228991b317 (camel_message_info_dup_to): Assign the to->strings from the
e_poolv_cpy() call, since it may allocaote a new poolv if the
 	lengths do not match.

svn path=/trunk/; revision=10790
2001-07-05 09:38:59 +00:00
dcb01da05a Make a whole bunch of control keys not start the ETableItem editing.
2001-07-05  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_event): Make a whole bunch of control keys
	not start the ETableItem editing.

svn path=/trunk/; revision=10789
2001-07-05 08:41:56 +00:00
b530eb4307 Make sure start_row and end_row are within the number of rows in the
2001-07-05  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (e_table_item_row_diff): Make sure start_row and
	end_row are within the number of rows in the table.

svn path=/trunk/; revision=10788
2001-07-05 07:05:51 +00:00
e509ad72df Handle an error in construction a little bit better here.
2001-07-05  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c (e_tree_new, e_tree_new_from_spec_file): Handle an
	error in construction a little bit better here.
	(e_tree_get_cursor): Check for row == -1 here.

svn path=/trunk/; revision=10787
2001-07-05 06:42:56 +00:00
0f51f730ac Fix the assertion slightly, if we have a little bit of input the output
2001-07-05  Not Zed  <NotZed@Ximian.com>

        * camel-mime-filter-basic.c (filter): Fix the assertion slightly,
        if we have a little bit of input the output size could be larger,
        since we store upto 3 chars in the state.

svn path=/trunk/; revision=10786
2001-07-05 03:59:45 +00:00
bf20209bbb When indexing a new record, create a pseudo word 'ibexindexed' so we can
2001-07-05  Not Zed  <NotZed@Ximian.com>

        * camel-folder-summary.c
        (camel_folder_summary_info_new_from_message): When indexing a new
        record, create a pseudo word 'ibexindexed' so we can always tell
        that a message has already been idnexed, even if it contains no
        words of its own.  Things like maildir use this check to see if
        its already been processed, and it matters if it is incorrect in
        this case (not just wasted cycles).

        (camel_folder_summary_info_new_from_parser): And same here.

        * providers/local/camel-maildir-summary.c (maildir_summary_sync):
        Changed the logicfor epoolv code to be different, we dont need to
        update hash references or any tricky stuff.
        (maildir_summary_check): Samehere.

        * camel-folder-summary.h: Removed include of e-memory.h.

svn path=/trunk/; revision=10785
2001-07-05 03:13:52 +00:00
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