Commit Graph

12132 Commits

Author SHA1 Message Date
94f170d48e Added Delete and BackSpace keybindings here.
2001-10-24  Christopher James Lahey  <clahey@ximian.com>

	* evolution-addressbook.xml: Added Delete and BackSpace
	keybindings here.

svn path=/trunk/; revision=13979
2001-10-24 05:58:48 +00:00
4
edc1f870d4 Add a changed signal. Emits if the order changes or if you add or remove a
2001-10-24    <NotZed@Ximian.com>

        * rule-context.c (rule_context_class_init): Add a changed signal.
        Emits if the order changes or if you add or remove a rule.
        (rule_context_rank_rule): Fix rank rule to properly rank based on
        source, not merely on list position.
        (rule_context_add_rule): Also emit changed signal.
        (rule_context_remove_rule): Same.
        (rule_context_rank_rule): Emit changed signal.

svn path=/trunk/; revision=13978
2001-10-24 04:20:14 +00:00
2c72dd78a2 fixed changelog
svn path=/trunk/; revision=13977
2001-10-24 04:10:01 +00:00
e58630b141 Unref the global search_context. (owner_set_cb): create the global
2001-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (owner_unset_cb): Unref the global
	search_context.
	(owner_set_cb): create the global search_context.

	* folder-browser.c (folder_browser_gui_init): Pass along the
	global search_context to the e_filter_bar_new call.

svn path=/trunk/; revision=13976
2001-10-24 04:09:30 +00:00
5c99202e0b Don't add the menu item here, do this in the context_changed signal
2001-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (rule_editor_clicked): Don't add the menu item
	here, do this in the context_changed signal callback instead.
	(context_changed): rebuild the search menu.
	(set_menu): Copy the items into a default_items list so we can
	regenerate the menu when something changes. Then call
	generate_menu().
	(generate_menu): Do what set_menu() used to do.
	(e_filter_bar_new): Don't do a rule_context_load() anymore since
	we don't need to.
	(destroy): free the default_items list.

svn path=/trunk/; revision=13975
2001-10-24 03:47:10 +00:00
ce6360e786 update ja.po
svn path=/trunk/; revision=13974
2001-10-24 03:23:57 +00:00
8dd503d967 Fix command paths when we specify our pixmaps, so we don't get a lot of
2001-10-23  Jon Trowbridge  <trow@ximian.com>

	* gui/component/addressbook.c: Fix command paths when we specify
	our pixmaps, so we don't get a lot of totally useless & very ugly
	bonobo-ui spew.

	* backend/ebook/e-book-util.c (e_book_nickname_query): The empty
	string as an arg shouldn't generate a warning.

svn path=/trunk/; revision=13973
2001-10-24 03:04:01 +00:00
4
e4fa983be5 all this crap just to make the print icon desensitive at the right time.
fix for #10346

2001-10-24    <NotZed@Ximian.com>

        * message-browser.c (message_browser_message_loaded): Call
        ui_message_loaded when we are.

        * folder-browser-factory.c (control_activate): Freeze/thaw around
        all updates.
        (control_deactivate): Freeze/thaw around all updates.

        * folder-browser.c (folder_browser_init): Setup a hashtable to
        keep track of *our* sensitise state, so we can optimise pushes to
        bonobo.
        (folder_browser_finalise): Free hash here.
        (folder_browser_set_message_preview): Call a ui_message_loaded,
        even though it isn't, so it updates sensitivities right.
        (done_message_selected): Call ui_message_loaded when it really is,
        rather than the very fucked up idea of reversing the loaded_uid
        check.

        * folder-browser-ui.c (folder_browser_ui_set_selection_state):
        Dont enable the message-enabled options if the message display is
        hidden, e.g. print, view headers, etc.
        (folder_browser_ui_rm_all): Forget sensitise state.
        (fbui_sensitise_item): Sensitise items via a current-state table,
        so we dont have to do bonobo calls every time.
        (folder_browser_setup_property_menu): Call sensitise_item.
        (folder_browser_ui_add_message):
        (folder_browser_ui_add_global): Leave current set_prop "sensitive"
        for the stop button, so it doesn't get lost by the stuff in
        mail-mt.c
        (fbui_real_sensitize_items): Removed.
        (fbui_sensitize_timeout): Cleaned up, use sensitise_item to do
        work.
        (folder_browser_ui_message_loaded): Setup sensitive based on
        preview_shown too.
        (folder_browser_ui_set_selection_state): And here too.

svn path=/trunk/; revision=13972
2001-10-24 02:56:06 +00:00
d6088ab1f0 and add a way to get some more spew about the commands we're executing.
2001-10-23  Chris Toshok  <toshok@ximian.com>

	* tools/killev: and add a way to get some more spew about the
	commands we're executing.

svn path=/trunk/; revision=13971
2001-10-24 01:27:45 +00:00
d92ea7b8ab use eq instead of ==.
2001-10-23  Chris Toshok  <toshok@ximian.com>

	* tools/killev: use eq instead of ==.

svn path=/trunk/; revision=13970
2001-10-24 01:20:38 +00:00
abb1c1895a Get the path and the shell view instead. (rename_callback_data_free):
* e-shell-folder-commands.c (rename_callback_data_new): Get the
path and the shell view instead.
(rename_callback_data_free): Updated accordingly.
(rename_cb): Set the name on the folder based on the path, not the
actual object [as the old object gets unreffed -- of course].

svn path=/trunk/; revision=13969
2001-10-24 00:24:21 +00:00
65c33efb1b Don't allow an auth-type to be set when saving the service.
2001-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (service_check_supported): Don't allow an
	auth-type to be set when saving the service.
	(mail_account_gui_new): Initialize the source and transport
	provider_type's here so we don't forget to do it when it matters.
	(mail_account_gui_setup): Don't bother setting the provider_type's
	here, they are already set in mail_account_gui_new() now.

svn path=/trunk/; revision=13968
2001-10-23 23:39:07 +00:00
d998431a1e New. (rename_callback_data_free): New. (rename_cb): Rename the folder
* e-shell-folder-commands.c (rename_callback_data_new): New.
(rename_callback_data_free): New.
(rename_cb): Rename the folder here.
(e_shell_command_rename_folder): Don't rename the EFolder here.

svn path=/trunk/; revision=13967
2001-10-23 23:38:58 +00:00
3
d42effce71 Remove the idle_id when we're destroyed so the idle func doesn't run on an
2001-10-23    <NotZed@Ximian.com>

        * mail-display.c (mail_display_destroy): Remove the idle_id when
        we're destroyed so the idle func doesn't run on an invalid object.

svn path=/trunk/; revision=13966
2001-10-23 23:31:16 +00:00
a6b2711b08 Handle the return codes properly, and invoke the result callback too.
* e-local-storage.c (async_xfer_folder_callback): Handle the
return codes properly, and invoke the result callback too.

svn path=/trunk/; revision=13965
2001-10-23 22:28:46 +00:00
974cb91595 copy the translate field over as well. Should fix an uninitialized memory
2001-10-23  Damon Chaplin  <damon@ximian.com>

	* e-search-bar.c (copy_subitems): copy the translate field over as
	well. Should fix an uninitialized memory read.

svn path=/trunk/; revision=13964
2001-10-23 22:19:05 +00:00
3
36894c7adc Dont do anything if we're destroyed #13021.
2001-10-23    <NotZed@Ximian.com>

        * message-list.c (regen_list_regened): Dont do anything if we're
        destroyed #13021.

svn path=/trunk/; revision=13963
2001-10-23 22:10:14 +00:00
e6034e7e2d #if 0'ed for now, per #7427.
* e-activity-handler.c (show_cancellation_popup): #if 0'ed for
now, per #7427.

svn path=/trunk/; revision=13962
2001-10-23 22:06:57 +00:00
6539cf481e Removed our cancelled flag and e_select_names_completion_cancel function,
2001-10-23  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names-completion.c: Removed
	our cancelled flag and e_select_names_completion_cancel function,
	since we were just duplicating stuff that had ended up in
	ECompletion.
	(match_name): Form our menu_text properly on an additional-name
	match.
	(e_select_names_completion_got_book_view_cb): Store handles for
	our signals, disconnect them properly when we switch book views.
	(e_select_names_completion_stop_query): Disconnect signals when we
	stop our query.
	(check_capabilities): Spew if we are using LDAP for completion.
	(e_select_names_completion_destroy): Disconnect our signals when
	we destroy.
	This all should fix bug #10241.

svn path=/trunk/; revision=13961
2001-10-23 22:03:32 +00:00
856e3689fb Explicitly deactivate the control frame, and display the default URI
* e-shell-view.c (storage_set_removed_folder_callback): Explicitly
deactivate the control frame, and display the default URI before
destroying the dead one.

* e-shell.c (e_shell_component_maybe_crashed): If the URI is of a
folder that doesn't exist anymore, don't assume that the
corresponding component has crashed.  Also, try pinging the
component first; if the component responds, don't pop up the
dialog.

svn path=/trunk/; revision=13960
2001-10-23 22:00:39 +00:00
46dd4414b9 clear the struct tm fields to keep purify happy.
2001-10-23  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_check_date_changed):
	(e_date_edit_check_time_changed): clear the struct tm fields to keep
	purify happy.

svn path=/trunk/; revision=13959
2001-10-23 21:38:27 +00:00
1f506e4a03 use sizeof(test_array) for the memset call. It was clearing 9 bytes but
2001-10-23  Damon Chaplin  <damon@ximian.com>

	* src/libical/icalrecur.c (icalrecur_two_byrule): use
	sizeof(test_array) for the memset call. It was clearing 9 bytes but
	the array uses shorts.

svn path=/trunk/; revision=13958
2001-10-23 21:37:42 +00:00
1451bdffda make sure we free all the CalComponentDateTime's when we are finished.
2001-10-23  Damon Chaplin  <damon@ximian.com>

	* cal-util/cal-component.c (cal_component_event_dates_match): make sure
	we free all the CalComponentDateTime's when we are finished.

	* gui/gnome-cal.c (gnome_calendar_notify_dates_shown_changed): just
	return if no time range is set.

svn path=/trunk/; revision=13957
2001-10-23 21:36:35 +00:00
1bf2214160 Updated Spanish translation.
svn path=/trunk/; revision=13956
2001-10-23 21:21:04 +00:00
1ffe0b3a24 (do_user_message): Setup the message_destroy_id when we setup the
destroy handler so it doesn't get called twice.

svn path=/trunk/; revision=13955
2001-10-23 20:57:23 +00:00
da7687116d save the UTF-8 strings inside the listitem widgets, but convert to the
2001-10-23  Damon Chaplin  <damon@ximian.com>

	* e-cell-combo.c (e_cell_combo_set_popdown_strings): save the UTF-8
	strings inside the listitem widgets, but convert to the locale to use
	in the label.
	(e_cell_combo_select_matching_item):
	(e_cell_combo_update_cell): use the UTF-8 strings instead of the
	listitem labels. Hopefully fixes bug #7037.

svn path=/trunk/; revision=13954
2001-10-23 20:44:58 +00:00
c1c8b61ad7 fixed a logic mistake from my last commit
svn path=/trunk/; revision=13953
2001-10-23 20:44:23 +00:00
3
a0974e678a Removed, all functionality moved to mail-session.
2001-10-23    <NotZed@Ximian.com>

        * mail-mt.c (mail_user_message):
        (mail_get_password): Removed, all functionality moved to
        mail-session.

        * mail-config.c (mail_config_write_on_exit): Check
        threaded/preview hash is null before using it, its setup on demand
        so itmight nto be initialised here.

        * mail-session.c (request_password): Remove password_current
        stuff.
        (alert_user): Redont, similar to get_pass.  Do things as async as
        possible, and dont even wait for a response if we're not asking
        for the cancel button (this may or may not be right behaviour -
        need to check).  mail_user_message() code replaced from the stuff
        in mail-mt.c
        (MailSession): Added a lock field.
        (init): Setup lock.
        (finalise): fRee lock.
        (register_timeout): Redone.  We now allocate our own 'timeoutid's,
        and <> to the real things asynchronously.  Use async_event's so we
        can make sure we have no outstanding ones after shutdown.
        (mail_session_enable_interaction): If interaction has been
        disabled, and we have either a message-box open, or a password
        request open and/or any pending message boxes/passwords, blow 'em
        away.
        (main_register_timeout): If we have pending remove of this same
        timeout, dont do anything.
        (timeout_timeout): Properly honour the result, remove the timout
        if it returns false.

svn path=/trunk/; revision=13952
2001-10-23 20:42:57 +00:00
174691b212 adjust the display canvas when the table scrolls
2001-10-23  JP Rosevear  <jpr@ximian.com>

	* gui/e-meeting-time-sel.c
	(e_meeting_time_selector_table_vadjustment_changed): adjust the
	display canvas when the table scrolls
	(e_meeting_time_selector_construct): listen for table scrolling

svn path=/trunk/; revision=13951
2001-10-23 20:22:35 +00:00
445801489e Make sure the fb and it's message-list exist. (reply_to_list): same.
2001-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (reply_to_sender): Make sure the fb and it's
	message-list exist.
	(reply_to_list): same.
	(reply_to_all): And here...
	(forward_message): Here too.
	(forward_attached): Again here.
	(transfer_msg): Here too.
	(apply_filters): Same.
	(select_all): Yet again here...
	(select_thread): And here.
	(invert_selection): Same.
	(flag_messages): Here too.
	(mark_as_unseen): and here...
	(mark_all_as_seen): ...
	(zoom_in):
	(zoom_out):
	(zoom_reset):
	(search_msg):
	(load_images):
	(save_msg):
	(next_msg):
	(next_flagged_msg):
	(next_unread_msg):
	(previous_msg):
	(previous_unread_msg):
	(expunge_folder):
	(configure_folder):
	(empty_trash):

svn path=/trunk/; revision=13950
2001-10-23 20:02:53 +00:00
2def5aacb2 Got rid of the gc argument to e_table_header_draw_button.
2001-10-23  Christopher James Lahey  <clahey@ximian.com>

	* e-table-field-chooser-item.c: Got rid of the gc argument to
	e_table_header_draw_button.
	(etfci_font_load): Just use the style font here.

	* e-table-group-container.c (e_table_group_container_construct):
	Changed this to just use the font from the style.  Fixes Ximian
	bug #11882.

	* e-table-header-item.c: Got rid of the gc argument to
	e_table_header_draw_button.
	(ethi_font_load): Changed this to just fallback on the font from
	the style if the fontname is NULL or doesn't load to a font.
	Fixes Ximian bug #11882.

	* e-table-header-utils.c, e-table-header-utils.h
	(e_table_header_draw_button): Got rid of the gc parameter here and
	changed to use the gc from the style of a button created for this
	purpose, but not shown.  Fixes Ximian bug #13251.

svn path=/trunk/; revision=13949
2001-10-23 19:48:19 +00:00
83c1664ef7 no longer set the scrollbar policy here
2001-10-23  JP Rosevear  <jpr@ximian.com>

	* gui/e-meeting-model.c (build_etable): no longer set the
	scrollbar policy here

	* gui/e-meeting-time-sel.c
	(e_meeting_time_selector_update_main_canvas_scroll_region): add an
	extra row to the height so the click to add row can be properly
	seen
	(e_meeting_time_selector_construct): set the scrollbar policy for
	the etable scrolled

svn path=/trunk/; revision=13948
2001-10-23 19:43:34 +00:00
efc1474933 Updated French traduction.
svn path=/trunk/; revision=13947
2001-10-23 18:10:56 +00:00
31675e8d99 convert an icaltimetype to a tm (tm_to_icaltimetype): vice versa
2001-10-23  JP Rosevear  <jpr@ximian.com>

	* cal-util/timeutil.c (icaltimetype_to_tm): convert an
	icaltimetype to a tm
	(tm_to_icaltimetype): vice versa

	* cal-util/timeutil.h: new protos

	* conduits/calendar/calendar-conduit.c: replace all mktime and
	localtime calls (except for debugging calls)

	* conduits/todo/todo-conduit.c: ditto
	(comp_from_remote_record): make sure the completed time is in UTC

svn path=/trunk/; revision=13946
2001-10-23 17:40:55 +00:00
2ea98fb813 plug leak
2001-10-22  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (map_set_node_timet): plug leak

svn path=/trunk/; revision=13945
2001-10-23 17:40:27 +00:00
3
1651eba931 Added missing errno.h (mail_msg_new): Fix the logic a bit, dont try to
2001-10-23    <NotZed@Ximian.com>

        * mail-mt.c: Added missing errno.h
        (mail_msg_new): Fix the logic a bit, dont try to open the log file
        unless logging is actually requested.

svn path=/trunk/; revision=13944
2001-10-23 17:11:33 +00:00
41fb38eb09 If the fopen() fails (eg, because evolution-mail was started by oafd with
* mail-mt.c (mail_msg_new): If the fopen() fails (eg, because
	evolution-mail was started by oafd with PWD=/), don't try to use
	the NULL file handle.

svn path=/trunk/; revision=13943
2001-10-23 16:32:44 +00:00
66efbe69a2 Remove an extra * in one of the regexps that glibc apparently doesn't mind
* camel-mime-utils.c (mail_list_magic): Remove an extra * in one
	of the regexps that glibc apparently doesn't mind but bsd does.

svn path=/trunk/; revision=13942
2001-10-23 16:18:47 +00:00
e60fb1655f Updated Ukrainian Translation
svn path=/trunk/; revision=13941
2001-10-23 15:38:53 +00:00
6a76e39e37 Change " " to "&nbsp;" at start of line.
* e-html-utils.c (e_text_to_html_full): Change " " to "&nbsp;" at
	start of line.

svn path=/trunk/; revision=13940
2001-10-23 13:54:38 +00:00
8d6a0a328a cal-client/cal-query.c (cal_query_construct) set priv->corba_query to
2001-10-23  Rodrigo Moya <rodrigo@ximian.com>

	* cal-client/cal-query.c (cal_query_construct) set priv->corba_query
	to CORBA_OBJECT_NIL if there was an error

svn path=/trunk/; revision=13939
2001-10-23 11:24:37 +00:00
632932fe07 oops, the image was too big! this is 48x48 -tig-
svn path=/trunk/; revision=13938
2001-10-23 11:23:06 +00:00
c996010276 Use the widget's style's text_gc for drawing text if either
2001-10-23  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c (e_text_draw): Use the widget's style's
	text_gc for drawing text if either draw_background or draw_button
	is on.

svn path=/trunk/; revision=13937
2001-10-23 09:00:27 +00:00
f359ee16bb Got rid of the gc field here and just use the fg_gc from the style for
2001-10-23  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c, e-table-header-item.h: Got rid of the gc
	field here and just use the fg_gc from the style for drawing the
	buttons.

svn path=/trunk/; revision=13936
2001-10-23 08:58:19 +00:00
b22a842252 Bumped required GAL to 0.15.99.3 so EEntry's "draw_button" argument can be
2001-10-23  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped required GAL to 0.15.99.3 so EEntry's
	"draw_button" argument can be used in
	addressbook/gui/component/select-names/e-select-names.c.

From addressbook/ChangeLog:

2001-10-23  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_add_section): Set "draw_button" argument to TRUE
	on this EEntry.

svn path=/trunk/; revision=13935
2001-10-23 06:37:14 +00:00
4720ad36fa Bumped version to 0.15.99.3 for EText's "draw_button" argument.
2001-10-23  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version to 0.15.99.3 for EText's
	"draw_button" argument.

	* gal/e-text/e-entry.c: Forward the "draw_button" argument to the
	contained EText.

	* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_draw): Added
	new "draw_button" argument.  If this is turned on and the first
	widget that's a parent of the containing canvas with GTK_NO_WINDOW
	turned off above the current one is a button, EText draws a button
	underneath itself to match the containing button.

From gal/shortcut-bar/ChangeLog:

2001-10-23  Christopher James Lahey  <clahey@ximian.com>

	* e-shortcut-bar.c (e_shortcut_bar_add_group): Turn on
	"draw_button" argument to EEntry.

svn path=/trunk/; revision=13934
2001-10-23 06:30:54 +00:00
3
343f36cffe Completely re-done. We now hae a completely async dialogue when requested
2001-10-23    <NotZed@Ximian.com>

        * mail-session.c (get_password): Completely re-done.  We now hae a
        completely async dialogue when requested from antoehr thread, and
        dont use gtk_main() if we can avoid it (which is normally the
        case).  This stuff is only partially finished, and will mena the
        removal of the same from mail-mt.c, and the mail_user_message()
        code will be moved here and changed to work in a similar way.

        * mail-callbacks.c (empty_trash): Dont try and connect to remote
        stores just to get the trash.  Also, always run empty trash async,
        and make sure we unref the trash.
        (empty_trash): Hmm, dont unref the trash, causes a problem on
        exit, i suspect something else is doing funky unrefs on it.

        * mail-tools.c (mail_tool_get_trash): Pass a 'connect' arg, tell
        it whether it should tryand connect or not to the parent service,
        if it isn't already connected.

        * component-factory.c (owner_unset_cb): Dont try wait_all here,
        could potentially deadlock.
        (idle_quit): Keep returning TRUE if we have outstanding
        processing.  Note that this may busy-wait during exit processign
        with busy tasks :(
        (idle_quit): Keep calling ourselves till we no longer get called
        (i.e. gtk_main really quits).

        * mail-mt.c (mail_msg_active): New function, returns TRUE if
        events are still active/outstanding.
        (do_op_status): @$@$#@@!#@!!  didn't unlock the mail_msg_lock if
        data->activity was NULL and we had no global_shell_client anymore!
        Also shortcut processing if this is going to be the case.
        (mail_msg_init): Setup a temporary other gui_port for redoing with
        new semantics password, user message and progress reporting.
        (mail_get_password): #ifdef'd out all this code temporarily, till
        it gets fully moved to mail-session.c

2001-10-22    <NotZed@Ximian.com>

        * component-factory.c (owner_set_cb): Dont call enable_interaction
        here.
        (interactive_cb): But here instead, let the shell tell us when its
        ok to go interactive.

svn path=/trunk/; revision=13933
2001-10-23 06:28:27 +00:00
3
51d6b1c4ea made d(x) x recompile again.
2001-10-23    <NotZed@Ximian.com>

        * providers/local/camel-mbox-summary.c: made d(x) x recompile again.

svn path=/trunk/; revision=13932
2001-10-23 06:20:06 +00:00
47c416da08 Make this check immediately for whether to show the cursor, instead of in
2001-10-22  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_idle_maybe_show_cursor): Make this check
	immediately for whether to show the cursor, instead of in the idle
	handler.

	* e-tree-table-adapter.c (e_tree_table_adapter_node_set_expanded):
	Added a pre_change here since we send two changes.

svn path=/trunk/; revision=13931
2001-10-23 03:12:52 +00:00
96d4476b5e Oops, revert my change to this function.
2001-10-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (write_one_text_plain_chunk): Oops, revert my
	change to this function.

svn path=/trunk/; revision=13930
2001-10-23 02:50:06 +00:00