Commit Graph

12292 Commits

Author SHA1 Message Date
5cd755bc7d track the spacer vbox (e_meeting_time_selector_style_set): make sure the
2001-10-24  JP Rosevear  <jpr@ximian.com>

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
	track the spacer vbox
	(e_meeting_time_selector_style_set): make sure the rows are the
	correct size for the style

	* gui/e-meeting-time-sel-item.c
	(e_meeting_time_selector_item_paint_day_top): slight adjustments
	to where the text is drawn

	* gui/e-meeting-time-sel.h: new member

	* gui/e-meeting-model.c (build_etable): ensure uniform row height

	* conduits/todo/todo-conduit.c (comp_from_remote_record): mark
	status as completed in appropriate places and don't overwrite
	legitimate percentages and such

svn path=/trunk/; revision=13989
2001-10-24 18:22:29 +00:00
31d99df0f4 Fixed some weird casting crack that got in here somehow, removed
2001-10-24  Jon Trowbridge  <trow@ximian.com>

	* mail-search.c (mail_search_construct): Fixed some weird casting
	crack that got in here somehow, removed superfluous box-packing
	that was generating a gtk warning.

svn path=/trunk/; revision=13988
2001-10-24 17:40:57 +00:00
7b89f4f8d2 Updated Polish translation by GNOME PL Team <translators@gnome.pl>
svn path=/trunk/; revision=13987
2001-10-24 17:38:47 +00:00
c3876df777 Fixes bug #5282.
2001-10-24  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #5282.

	* cal-util/timeutil.c (icaltimetype_to_tm_with_zone): New function
	to avoid copying the same code all over the place.
	(icaltimetype_to_tm): Also set the tm.tm_wday.

	* gui/alarm-notify/alarm-queue.c (queue_midnight_refresh): Use
	time_day_end_with_zone().
	(load_alarms_for_today): Likewise.  And oops, we were only
	computing the times and not loading the alarms.
	(obj_updated_cb): Likewise.
	(load_alarms): Removed assertion that is no longer valid because
	we may load the alarms for a client in two stages.

	* gui/dialogs/alarm-page.c (get_alarm_string): Convert absolute
	trigger times to the local timezone.

	* gui/alarm-notify/alarm-notify-dialog.c (write_html_heading):
	Convert the times to the local timezone.
	(alarm_notify_dialog): Likewise, for the window title.
	(alarm_notify_dialog): Set the window layer to WIN_LAYER_ONTOP.

	* gui/e-cell-date-edit-text.c (ecd_get_text): Use
	icaltimetype_to_tm_with_zone().

	* gui/alarm-notify/save.c (get_config_db): Made public.
	(discard_config_db): Made public.

	* gui/alarm-notify/config-data.[ch]: New files with functions to
	fetch the calendar configuration data used by the alarm daemon.

svn path=/trunk/; revision=13986
2001-10-24 17:27:22 +00:00
4d26929f07 Updated Ukrainian Translation
svn path=/trunk/; revision=13985
2001-10-24 15:20:50 +00:00
452b2a11f0 Updated Ukrainian Translation
svn path=/trunk/; revision=13984
2001-10-24 15:09:12 +00:00
1c6fcac5ad Updated Slovak translation.
2001-10-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

svn path=/trunk/; revision=13983
2001-10-24 12:05:25 +00:00
9be7cad2cd Correct fix for 12236. Stops the crashing and leaves the summary in a usable state.
svn path=/trunk/; revision=13982
2001-10-24 11:52:28 +00:00
438cc004df Removed key_press handler here since delete and backspace are now handled
2001-10-24  Christopher James Lahey  <clahey@ximian.com>

	* gui/widgets/e-addressbook-view.c
	(e_addressbook_view_class_init): Removed key_press handler here
	since delete and backspace are now handled by keybindings.

svn path=/trunk/; revision=13981
2001-10-24 07:13:13 +00:00
0c72ff750f ChangeLog fix.
svn path=/trunk/; revision=13980
2001-10-24 06:10:12 +00:00
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