Commit Graph

16597 Commits

Author SHA1 Message Date
9901ae486e kill a double unref on the pango_layout.
2003-02-13  Mike Kestner  <mkestner@ximian.com>

	* e-table-header-utils.c (e_table_header_draw_button): kill
	a double unref on the pango_layout.

svn path=/trunk/; revision=19900
2003-02-13 16:07:38 +00:00
a371f7b3fc Request a reflow on realization, so size and placement will be correct
2003-02-12  Hans Petter Jansson  <hpj@ximian.com>

	* e-table-click-to-add.c (etcta_realize): Request a reflow on
	realization, so size and placement will be correct initially.

svn path=/trunk/; revision=19899
2003-02-12 23:36:21 +00:00
1d869c5796 Get rid of the need for the GTK_WIDGET_DESTROYED() check.
2003-02-12  Jeffrey Stedfast  <fejj@ximian.com>

	* vfolder-rule.c (source_add): Get rid of the need for the
	GTK_WIDGET_DESTROYED() check.

svn path=/trunk/; revision=19898
2003-02-12 20:42:35 +00:00
1ebf9b6fd1 handle reverse searches (find_prev_in_range): reverse search impl
2003-02-12  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_find_next): handle reverse searches
	(find_prev_in_range): reverse search impl
	(et_real_construct): kill warnings

svn path=/trunk/; revision=19897
2003-02-12 20:26:15 +00:00
8fea59137c Removed unused variables.
2003-02-12  Jeffrey Stedfast  <fejj@ximian.com>

	* importers/netscape-importer.c: Removed unused variables.

	* importers/pine-importer.c: Removed unused variables.
	(parse_address): Removed - it's unused and we have CamelAddress
	available to us anyway.

	* importers/elm-importer.c: Removed unused variables.

	* importers/evolution-mbox-importer.c (load_file_fn): Removed an
	unused variable.

svn path=/trunk/; revision=19896
2003-02-12 20:16:36 +00:00
2231ebb3df Add missing file(s) and remove non-existant one(s).
2003-02-11  Abel Cheung  <maddog@linux.org.hk>

	* POTFILES.in: Add missing file(s) and remove non-existant one(s).

svn path=/trunk/; revision=19895
2003-02-12 19:19:03 +00:00
ad82875fbf work around broken models that insert children before parents. bad models.
2003-02-12  Mike Kestner  <mkestner@ximian.com>

	* e-tree-table-adapter.c (insert_node): work around broken models
	that insert children before parents.  bad models.
	(e_tree_table_adapter_load_expanded_state): don't update_node
	(e_tree_table_adapter_node_set_expanded): recursively expand
	parent if the node is not visible yet.
	(e_tree_table_adapter_set_sort_info): don't resort empty trees

svn path=/trunk/; revision=19894
2003-02-12 18:02:32 +00:00
26d83d9f3a (DEFAULT_USER_PATH): Look into evolution/$BASE_VERSION
instead of evolution-$BASE_VERSION.

svn path=/trunk/; revision=19893
2003-02-12 09:41:42 +00:00
a5c3ca6568 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
svn path=/trunk/; revision=19892
2003-02-12 05:39:22 +00:00
7b01b20f70 Enable printing for calendar and tasks.
2003-02-11  Hans Petter Jansson  <hpj@ximian.com>

	Enable printing for calendar and tasks.

	* gui/print.c: Set default font to be "Sans". Store the PrintConfig
	globally instead of PaperInfo (which doesn't exist anymore).
	(get_font_for_size): Don't use
	gnome_font_face_find_closest_from_weight_slant() anymore, since
	it's broken. Instead, use gnome_font_face_find() and put bold- and
	italicness in the name to look for. Descenders can now be negative,
	so have to take the absolute value to get font height.
	(print_comp): Use global, persistent print configuration.
	GnomePrintDialog is now a GtkDialog. Remove manual configuration
	parameter shuffling. Set up page using new methods.
	(print_calendar): Like print_comp(). For month view, force landscape
	mode by temporarily setting it in the config, and remove the old hack.
	(print_setup): Port. I'm not sure this works, but at least it
	compiles now. How do I test this code path?
	(print_day_view): Pass NULL for page denominator.
	(print_week_view): Ditto.
	(print_month_view): Ditto.
	(print_year_view): Ditto.
	(print_comp_item): Add missing gnome_print_beginpage(). How did this
	work before?

	* gui/tasks-control.c: Store the PrintConfig globally instead of
	passing individual parameters every time. Persistent too.
	(print_title): Look for "Sans Bold" instead of "Times" with
	GNOME_FONT_BOLD property. Don't use find_closest_from_weight_slant().
	(print_tasks): Set up page using new methods. GnomePrintMaster ->
	GnomePrintJob. Get params from global config instead of args.
	(tasks_control_print_cmd): Use global, persistent print configuration.
	Remove manual portrait/landscape hack. GnomePrintDialog is now a
	GtkDialog. Set params in global config instead of passing them to
	print_tasks().
	(tasks_control_print_preview_cmd): print_tasks() now takes fewer
	args.

svn path=/trunk/; revision=19889
2003-02-12 02:41:05 +00:00
2b010a5021 Don't use gtk_scrolled_window_set_scrollbar_spacing() anymore.
2003-02-11  Hans Petter Jansson  <hpj@ximian.com>

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
	Don't use gtk_scrolled_window_set_scrollbar_spacing() anymore.

svn path=/trunk/; revision=19888
2003-02-12 00:54:36 +00:00
1bf4369e83 Suggest people use 1.2.x instead of 1.0.x.
2003-02-11  Joe Shaw  <joe@ximian.com>

	* main.c (show_development_warning): Suggest people use 1.2.x instead
	of 1.0.x.

svn path=/trunk/; revision=19886
2003-02-11 22:24:00 +00:00
3fa465c9d7 Use gtk_window_set_resizable() instead of gtk_window_set_policy().
2003-02-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c (construct): Use
	gtk_window_set_resizable() instead of gtk_window_set_policy().

	* mail-config.c: Fix a bunch of warnings.
	(mail_config_signature_write): Removed.

	* mail-callbacks.c: Removed unused variables.

svn path=/trunk/; revision=19885
2003-02-11 22:14:49 +00:00
cdb6418008 Register a destroy virtual method. (mail_accounts_tab_destroy): Set
2003-02-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_accounts_tab_class_init): Register a
	destroy virtual method.
	(mail_accounts_tab_destroy): Set mail_display->destroyed = TRUE.

	* message-list.c (message_list_destroy): Set
	mail_display->destroyed = TRUE. This is a workaround for the
	GTK_OBJECT_DESTROYED() macro that we used to use before.

svn path=/trunk/; revision=19884
2003-02-11 21:20:43 +00:00
de02508770 Set mail_display->destroyed = TRUE. This is a workaround for the
2003-02-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (mail_display_destroy): Set
	mail_display->destroyed = TRUE. This is a workaround for the
	GTK_OBJECT_DESTROYED() macro that we used to use before.

svn path=/trunk/; revision=19883
2003-02-11 20:45:27 +00:00
39bc77da50 Instead of simply ignoring bad chars, return the sentinal invalid char
2003-02-11  Not Zed  <NotZed@Ximian.com>

        * e-trie.c (trie_utf8_getc): Instead of simply ignoring bad chars,
        return the sentinal invalid char 0xfffe, so that we properly track
        the start of sequences.

svn path=/trunk/; revision=19881
2003-02-11 10:51:41 +00:00
46e6fb3e66 Don't try to make an error string from an uninitialized GnomeVFSResult.
2003-02-10  Hans Petter Jansson  <hpj@ximian.com>

	* pcs/cal-backend-file.c (save): Don't try to make an error string
	from an uninitialized GnomeVFSResult.

svn path=/trunk/; revision=19880
2003-02-10 21:49:11 +00:00
36d90739a4 [ fixes bug #33066 ] new function (set_entry_changed_signals): call
2003-02-10  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #33066 ]
	* gui/contact-editor/e-contact-editor.c
	(set_urlentry_changed_signal_field): new function
	(set_entry_changed_signals): call
	set_urlentry_changed_signal_field for entry-web, entry-caluri, and
	entry-fburl.
	(fill_in_field): add handling for EUrlEntry's.
	(extract_field): same.
	(enable_widget): same.
	(e_contact_editor_create_date): show the widget.
	(e_contact_editor_create_web): same, create a url entry.
	(set_urlentry_changed_signal_field): new function

	* gui/contact-editor/contact-editor.glade: entry-web,
	entry-caluri, and entry-fburl are all custom widgets now.

svn path=/trunk/; revision=19879
2003-02-10 20:51:10 +00:00
0701addc19 Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): Same
2003-02-10  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (build_tree): Use g_signal_emit() rather than
	gtk_signal_emit().
	(build_flat): Same here.

	* mail-signature-editor.c: #include <string.h>

	* mail-vfolder.c: #include <string.h>

	* mail-session.c: #include <string.h>

	* mail-search.c: #include <string.h>

	* mail-mt.c: #include <string.h>

	* mail-ops.c (save_part_save): Use strcasecmp() instead of
	g_strcasecmp().

	* mail-local.c: #include <string.h>
	(reconfigure_folder_reconfigured): Use a GtkDialog instead of
	gnome_error_dialog().

	* mail-format.c (find_preferred_alternative): Use g_ascii_strdown
	since g_strdown is deprecated.
	(fake_mime_part_from_data): Removed, no longer used it seems.
	(destroy_part): Also removed.

	* mail-display.c (make_popup_window): Replace call to
	gtk_window_set_polociy() with gtk_window_set_resizable() instead.
	(popup_size_allocate_cb): Use gtk_window_set_position() with
	GTK_WIN_POS_MOUSE instead of calculating the position to put it
	in.

svn path=/trunk/; revision=19878
2003-02-10 19:50:55 +00:00
33841eb730 rewrite to use etta (find_next_in_range): helper func to search a range of
2003-02-10  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_find_next): rewrite to use etta
	(find_next_in_range): helper func to search a range of rows
	(find_next_callback): kill

svn path=/trunk/; revision=19875
2003-02-10 18:04:25 +00:00
24d00dba85 Split the ORBit IDL compilation rules to work properly with parallel
* importers/Makefile.am: Split the ORBit IDL compilation rules to
work properly with parallel makes.
(BUILT_SOURCES): Add this.
(CLEANFILES): Add this.

* Makefile.am: Split the ORBit IDL compilation rules to work
properly with parallel makes.
(BUILT_SOURCES): Add $(IDL_GENERATED) here.
(CLEANFILES): Remove from here.

svn path=/trunk/; revision=19874
2003-02-10 17:39:10 +00:00
29fb1732b2 Split the IDL generated rules so ${ORBIT_IDL}
doesn't get invoked multiple times in parallel.
(BUILT_SOURCES): Added this.
(CLEANFILES): And this.

svn path=/trunk/; revision=19873
2003-02-10 17:29:19 +00:00
efd467f902 Make the CORBA IDL compilation work with parallel makes. Likewise.
* gui/Makefile.am: Make the CORBA IDL compilation work with
parallel makes.
* gui/dialogs/Makefile.am: Likewise.
* gui/alarm-notify/Makefile.am: Likewise.

svn path=/trunk/; revision=19872
2003-02-10 17:28:37 +00:00
48c9c3dc71 (libeutil_static_la_DEPENDENCIES): Make
libeutil-static.la depend on libeutil.la so that parallel
compilations work; building them at the same time confuses
libtool.
(e-util-marshal.h, e-util-marshal.c): Use different tmp files so
these rules can happen in parallel.

svn path=/trunk/; revision=19871
2003-02-10 17:01:40 +00:00
24112a2779 Install load-pine-addressbook and load-gnomecard-addressbook into
* backend/ebook/Makefile.am: Install load-pine-addressbook and
load-gnomecard-addressbook into ${privdatadir}/tools.  Install
evolution-vcard-importer and evolution-ldif-importer into
${privlibexecdir}.

* backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in:
Removed.

* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in:
Removed.

* backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in:
New.  Specify an absolute path for the executable, using
@LIBEXECDIR@.
* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in:
Likewise.

svn path=/trunk/; revision=19870
2003-02-10 16:53:06 +00:00
c5e48bf9a5 (libical_static_la_DEPENDENCIES): Make
libical-static.la depend on libical-evolution.la so they they are
not built in parallel by a parallel make, since that would break
libtool.

svn path=/trunk/; revision=19869
2003-02-10 15:53:21 +00:00
13515cf674 Add LDFLAGS to ported libs
2003-02-10  Rodney Dawes  <dobey@ximian.com>

	* importers/Makefile.am: Add LDFLAGS to ported libs

svn path=/trunk/; revision=19867
2003-02-10 14:53:09 +00:00
e83af287b2 look in the http cache for images when saving (image_save_as): remove
2003-02-10  Larry Ewing  <lewing@ximian.com>

	* mail-display.c (save_url): look in the http cache for images
	when saving
	(image_save_as): remove random warning.
	(do_external_viewer): remove unused variable.
	(do_attachment_header): use g_ascii_strdown

svn path=/trunk/; revision=19864
2003-02-10 07:08:42 +00:00
29d288066b gone. (match_initials): gone. (book_query_sexp): remove the primary
2003-02-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-completion.c
	(sexp_initials): gone.
	(match_initials): gone.
	(book_query_sexp): remove the primary handling.
	(book_query_score): same.

	* backend/ebook/e-card.c (e_card_set_property):
	g_value_get_pointer => g_value_get_object for "category_list".

	* backend/ebook/e-book.c (struct _EBookPrivate): add a comment.

	* backend/pas/pas-backend-ldap.c (func_beginswith): performance at
	the cost of a tiny bit of correctness.  If the ldap server doesn't
	support evolutionPerson don't query on fileAs, use sn (since
	that's effectively what gets used in the display when fileAs isn't
	supported.)

svn path=/trunk/; revision=19863
2003-02-10 06:21:12 +00:00
0c46add40d lots of changes here. should be a big performance gain. god i hope this is
2003-02-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-completion.c: lots of
	changes here.  should be a big performance gain.  god i hope this
	is finally right.

svn path=/trunk/; revision=19860
2003-02-10 02:23:36 +00:00
18d96c5ff3 ignore test-completion.
2003-02-09  Chris Toshok  <toshok@ximian.com>

	* tests/.cvsignore: ignore test-completion.

	* tests/test-completion.c: new program, completion test.

	* tests/Makefile.am (noinst_PROGRAMS): add test-completion.

	* gal/e-text/Makefile.am: remove e-completion-test from the build
	here, moving it to ../../tests.

	* gal/e-text/e-completion.c (e_completion_class_init): we've
	removed the restart, cancel, clear, and lost signals.  Also, we've
	renamed some so it's easier to tell from the name which it is
	(virtual func or signal.)
	(e_completion_dispose): remove call to clear_search_stack, as we
	don't do auto-refinement anymore.
	(e_completion_clear): gone.
	(e_completion_push_search): gone.
	(e_completion_pop_search): gone.
	(e_completion_clear_search_stack): gone.
	(e_completion_refine_search): gone.
	(e_completion_unrefine_search): gone.
	(e_completion_begin_search): substantially clear this up, since we
	don't have the refinement stuff anymore.  Also, the call to
	request_completion is a virtual function call, not a signal.
	(e_completion_match_count): always return matches->len here, never
	match_count, which is gone (with the refinement stuff)
	(e_completion_foreach_match): remove the hit_count stuff.
	(e_completion_restart): gone.
	(e_completion_lost_match): gone.
	(e_completion_end_search): remove the sorting stuff from here (and
	the call to restart.)  the etable sorting stuff will have to take
	up the slack, but for now there's no reason to restart the search
	here.

	* gal/e-text/e-completion.h (struct _ECompletionClass): straighten
	out what's a virtual function and what's a signal, instead of
	using signals for both.  Also, remove the auto_refine stuff, as
	it's not used.

	* gal/e-text/e-completion-view.c (e_completion_view_size_request):
	make the damn drop down window bigger (100 pixels, or the
	requisition height, whichever is bigger.)
	(e_completion_view_disconnect): remove handling for signals that
	are gone.
	(restart_completion_cb): gone.
	(cancel_completion_cb): gone.
	(clear_completion_cb): gone.
	(lost_completion_cb): gone.
	(e_completion_view_construct): track new names of ECompletion
	signals.

	* gal/e-text/e-completion-view.h (struct _ECompletionView): remove
	restart_signal_id, cancel_signal_id, clear_signal_id, and
	lost_signal_id.

	* gal/e-text/e-entry.c (get_borders): new function, ala gtkentry.
	(canvas_size_request): use get_borders instead of computing it
	here.
	(e_entry_init): remove duplicate assignment of
	emulate_label_resize.
	(e_entry_show_popup): remove some ifdef'ed crap.
	(e_entry_start_completion): don't cancel the completion before
	starting again.  This keeps the popup from disappearing.

	* gal/e-text/e-completion-match.c (e_completion_match_construct):
	no more hit_count.

	* gal/e-text/e-completion-match.h (struct _ECompletionMatch):
	remove hit_count.

	* gal/e-text/e-completion-callbacks.[ch]: new class so we can use
	callbacks instead of subclassing.

svn path=/trunk/; revision=19859
2003-02-10 02:21:47 +00:00
23c65aa0bf Update Czech translation, remove some obsolete strings
svn path=/trunk/; revision=19858
2003-02-09 13:28:51 +00:00
40e78f6df8 Unmarked some strings which are unsuitable for translation
svn path=/trunk/; revision=19857
2003-02-09 09:57:18 +00:00
352561d06b fix length calculation. (create_folder_directory): remove alloca usage,
2003-02-09  Larry Ewing  <lewing@ximian.com>

	* e-local-storage.c (remove_folder_directory): fix length calculation.
	(create_folder_directory): remove alloca usage, clears up crash.

svn path=/trunk/; revision=19856
2003-02-09 07:35:23 +00:00
c792cf443e Add missing files and remove non-existant one. Mark incorrectly translated
2003-02-08  Abel Cheung  <maddog@linux.org.hk>

	* POTFILES.in: Add missing files and remove non-existant one.
	* el.po, en_AU.po, et.po, nn.po, sk.po: Mark incorrectly translated
	  entries as fuzzy.

svn path=/trunk/; revision=19855
2003-02-08 20:22:16 +00:00
0db95c91b2 [ huge change, all for 1 little performance problem :) fixes #18207 ] use
2003-02-08  Chris Toshok  <toshok@ximian.com>

	[ huge change, all for 1 little performance problem :) fixes #18207 ]
	* gui/widgets/e-addressbook-model.c (get_view): use
	e_book_check_static_capability here to make things a little
	prettier.
	(remove_card): complain about my life, and add code to use one
	"model_changed" signal if we get back a list of cards instead of
	multiple "card_removed" signals.

	* gui/widgets/e-addressbook-model.h: little clean up.

	* gui/widgets/e-addressbook-view.c (delete): write a bulk-remove
	case for this.  if the backend supports it, send all the ids at
	once.  otherwise loop over the ids.
	(e_addressbook_view_delete_selection): fake a CardAndBook
	structure and call delete, instead of duplicating the code in 2
	places.

	* gui/component/addressbook.c (delete_contact_cb): don't call
	e_contact_editor_confirm_delete here, it's handled by the
	EAddressbookView.

	* backend/pas/pas-card-cursor.c (pas_card_cursor_construct): fix a
	compiler warning about a stupid crash.

	* backend/pas/pas-book.h (PASOperation): RemoveCard ->
	RemoveCards.
	(PASRemoveCardsReques): char *id -> GList *ids.
	(PASRequest): PASRemoveCardRequest -> PASRemoveCardsRequest.

	* backend/pas/pas-book.c (pas_book_queue_remove_cards): build up a
	GList from the id sequence.
	(pas_book_respond_remove): notifyCardRemoved ->
	notifyCardsRemoved.
	(impl_GNOME_Evolution_Addressbook_Book_removeCards): rename.
	(pas_book_free_request): free the idlist for RemoveCards.
	(pas_book_class_init): removeCard -> removeCards.

	* backend/pas/pas-book-view.h: change prototype for
	pas_book_view_notify_remove, and add prototype for
	pas_book_view_notify_remove_1.

	* backend/pas/pas-book-view.c (pas_book_view_notify_remove_1):
	build up a list and call pas_book_view_notify_remove.
	(pas_book_view_notify_remove): build up the corba id sequence and
	call BookViewListener::notifyCardsRemoved.

	* backend/pas/pas-backend.h: remove_card -> remove_cards.

	* backend/pas/pas-backend.c (pas_backend_remove_cards): rename
	from _remove_card.
	(process_client_requests): RemoveCard -> RemoveCards and
	_remove_card -> _remove_cards.

	* backend/pas/pas-backend-ldap.c (check_schema_support):
	g_strcasecmp -> g_ascii_strcasecmp.
	(remove_card_handler): _remove => _remove_1.
	(modify_card_modify_handler): same.
	(pas_backend_ldap_process_remove_cards): rename from _remove_card.
	(pas_backend_ldap_class_init): _remove_card -> _remove_cards.

	* backend/pas/pas-backend-file.c (pas_backend_file_class_init):
	remove_card -> remove_cards.
	(pas_backend_file_get_static_capabilities): add "bulk-removes".
	(pas_backend_file_process_remove_cards): rewrite this function
	largely, so that it handles lists of ids.  first we loop through
	and for every successful deletion we build a list of deleted
	ECards.  Then for each view we build a list (a subset of the
	deleted ECard list) and pass back that list to the view.
	(pas_backend_file_process_modify_card): use _remove_1 instead of
	_remove.
	(ecard_matches_search): new function.

	* backend/pas/pas-backend-card-sexp.c
	(pas_backend_card_sexp_match_vcard): rewrite in terms of
	_match_ecard.
	(pas_backend_card_sexp_match_ecard): new function, the guts from
	_match_vcard.

	* backend/pas/pas-backend-card-sexp.h: add prototype for
	pas_backend_card_sexp_match_ecard.

	* backend/idl/addressbook.idl: the card removal stuff now takes
	CardIdList.

	* backend/ebook/e-book.c (e_book_get_static_capabilities): cache
	successful capability queries (since they're static).
	(e_book_check_static_capability): new, convenience function to
	check if a particular capability is supported.
	(e_book_remove_card_by_id): build a single element GList and call
	e_book_remove_cards.
	(e_book_remove_cards): build up a CORBA sequence from the GList
	and call Book::removeCards.
	(e_book_dispose): free the cached capabilities string.

	* backend/ebook/e-book.h: add new prototypes for
	e_book_check_static_capability and e_book_remove_cards.

	* backend/ebook/e-book-view.h (struct _EBookViewClass): rename
	"card_removed" signal to "cards_removed".

	* backend/ebook/e-book-view.c (e_book_view_do_removed_event): id
	-> ids, and free the id list.
	(e_book_view_check_listener_queue): CardRemovedEvent ->
	CardsRemovedEvent.

	* backend/ebook/e-book-view-listener.c
	(e_book_view_listener_queue_response): free the id list.
	(e_book_view_listener_queue_idlist_event): new function, used for
	cards_removed.
	(e_book_view_listener_queue_status_event): id -> ids.
	(e_book_view_listener_queue_sequence_event): same.
	(e_book_view_listener_queue_message_event): same.
	(impl_BookViewListener_notify_cards_removed): call
	queue_idlist_event.
	(e_book_view_listener_dispose): free the id list.
	(e_book_view_listener_class_init): track change to idl call.

	* backend/ebook/e-book-view-listener.h
	(EBookViewListenerOperation): CardRemovedEvent ->
	CardsRemovedEvent.
	(EBookViewListenerResponse): char *id -> GList *ids.

	* backend/ebook/e-book-listener.c
	(impl_BookListener_respond_r

svn path=/trunk/; revision=19854
2003-02-08 09:06:46 +00:00
aaa6c778e8 [ huge change, all for 1 little performance problem :) fixes #18207 ] use
2003-02-08  Chris Toshok  <toshok@ximian.com>

	[ huge change, all for 1 little performance problem :) fixes #18207 ]
	* gui/widgets/e-addressbook-model.c (get_view): use
	e_book_check_static_capability here to make things a little
	prettier.
	(remove_card): complain about my life, and add code to use one
	"model_changed" signal if we get back a list of cards instead of
	multiple "card_removed" signals.

	* gui/widgets/e-addressbook-model.h: little clean up.

	* gui/widgets/e-addressbook-view.c (delete): write a bulk-remove
	case for this.  if the backend supports it, send all the ids at
	once.  otherwise loop over the ids.
	(e_addressbook_view_delete_selection): fake a CardAndBook
	structure and call delete, instead of duplicating the code in 2
	places.

	* gui/component/addressbook.c (delete_contact_cb): don't call
	e_contact_editor_confirm_delete here, it's handled by the
	EAddressbookView.

	* backend/pas/pas-card-cursor.c (pas_card_cursor_construct): fix a
	compiler warning about a stupid crash.

	* backend/pas/pas-book.h (PASOperation): RemoveCard ->
	RemoveCards.
	(PASRemoveCardsReques): char *id -> GList *ids.
	(PASRequest): PASRemoveCardRequest -> PASRemoveCardsRequest.

	* backend/pas/pas-book.c (pas_book_queue_remove_cards): build up a
	GList from the id sequence.
	(pas_book_respond_remove): notifyCardRemoved ->
	notifyCardsRemoved.
	(impl_GNOME_Evolution_Addressbook_Book_removeCards): rename.
	(pas_book_free_request): free the idlist for RemoveCards.
	(pas_book_class_init): removeCard -> removeCards.

	* backend/pas/pas-book-view.h: change prototype for
	pas_book_view_notify_remove, and add prototype for
	pas_book_view_notify_remove_1.

	* backend/pas/pas-book-view.c (pas_book_view_notify_remove_1):
	build up a list and call pas_book_view_notify_remove.
	(pas_book_view_notify_remove): build up the corba id sequence and
	call BookViewListener::notifyCardsRemoved.

	* backend/pas/pas-backend.h: remove_card -> remove_cards.

	* backend/pas/pas-backend.c (pas_backend_remove_cards): rename
	from _remove_card.
	(process_client_requests): RemoveCard -> RemoveCards and
	_remove_card -> _remove_cards.

	* backend/pas/pas-backend-ldap.c (check_schema_support):
	g_strcasecmp -> g_ascii_strcasecmp.
	(remove_card_handler): _remove => _remove_1.
	(modify_card_modify_handler): same.
	(pas_backend_ldap_process_remove_cards): rename from _remove_card.
	(pas_backend_ldap_class_init): _remove_card -> _remove_cards.

	* backend/pas/pas-backend-file.c (pas_backend_file_class_init):
	remove_card -> remove_cards.
	(pas_backend_file_get_static_capabilities): add "bulk-removes".
	(pas_backend_file_process_remove_cards): rewrite this function
	largely, so that it handles lists of ids.  first we loop through
	and for every successful deletion we build a list of deleted
	ECards.  Then for each view we build a list (a subset of the
	deleted ECard list) and pass back that list to the view.
	(pas_backend_file_process_modify_card): use _remove_1 instead of
	_remove.
	(ecard_matches_search): new function.

	* backend/pas/pas-backend-card-sexp.c
	(pas_backend_card_sexp_match_vcard): rewrite in terms of
	_match_ecard.
	(pas_backend_card_sexp_match_ecard): new function, the guts from
	_match_vcard.

	* backend/pas/pas-backend-card-sexp.h: add prototype for
	pas_backend_card_sexp_match_ecard.

	* backend/idl/addressbook.idl: the card removal stuff now takes
	CardIdList.

	* backend/ebook/e-book.c (e_book_get_static_capabilities): cache
	successful capability queries (since they're static).
	(e_book_check_static_capability): new, convenience function to
	check if a particular capability is supported.
	(e_book_remove_card_by_id): build a single element GList and call
	e_book_remove_cards.
	(e_book_remove_cards): build up a CORBA sequence from the GList
	and call Book::removeCards.
	(e_book_dispose): free the cached capabilities string.

	* backend/ebook/e-book.h: add new prototypes for
	e_book_check_static_capability and e_book_remove_cards.

	* backend/ebook/e-book-view.h (struct _EBookViewClass): rename
	"card_removed" signal to "cards_removed".

	* backend/ebook/e-book-view.c (e_book_view_do_removed_event): id
	-> ids, and free the id list.
	(e_book_view_check_listener_queue): CardRemovedEvent ->
	CardsRemovedEvent.

	* backend/ebook/e-book-view-listener.c
	(e_book_view_listener_queue_response): free the id list.
	(e_book_view_listener_queue_idlist_event): new function, used for
	cards_removed.
	(e_book_view_listener_queue_status_event): id -> ids.
	(e_book_view_listener_queue_sequence_event): same.
	(e_book_view_listener_queue_message_event): same.
	(impl_BookViewListener_notify_cards_removed): call
	queue_idlist_event.
	(e_book_view_listener_dispose): free the id list.
	(e_book_view_listener_class_init): track change to idl call.

	* backend/ebook/e-book-view-listener.h
	(EBookViewListenerOperation): CardRemovedEvent ->
	CardsRemovedEvent.
	(EBookViewListenerResponse): char *id -> GList *ids.

	* backend/ebook/e-book-listener.c
	(impl_BookListener_respond_remove_cards): rename from remove_card.

svn path=/trunk/; revision=19853
2003-02-08 09:05:42 +00:00
5d961e94b2 add an activate handler that returns a response OK if the OK response
2003-02-07  Larry Ewing  <lewing@ximian.com>

	* e-shell-folder-creation-dialog.c
	(folder_name_entry_activate_cb): add an activate handler that
	returns a response OK if the OK response would be active.

svn path=/trunk/; revision=19852
2003-02-08 01:20:31 +00:00
19043324ee remove this file, as it's generated now Add this file to generate the
2003-02-07  Rodney Dawes  <dobey@ximian.com>

	* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in:
	remove this file, as it's generated now
	* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
	Add this file to generate the .server.in from, with hardcoded path
	* gui/alarm-notify/Makefile.am: Hardcode path in server file

svn path=/trunk/; revision=19851
2003-02-07 23:05:57 +00:00
be5952a264 Updating Amharic translation.
svn path=/trunk/; revision=19850
2003-02-07 22:59:51 +00:00
4028eec638 privlibexecdir not evolibexecdir for the server file
2003-02-07  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: privlibexecdir not evolibexecdir for the server file

svn path=/trunk/; revision=19849
2003-02-07 22:29:55 +00:00
a3fb0b3114 don't use random memory as a gconf client.
2003-02-07  Larry Ewing  <lewing@ximian.com>

	* mail-display.c (save_data_cb): don't use random memory as a
	gconf client.

svn path=/trunk/; revision=19848
2003-02-07 21:58:04 +00:00
8d7130fe72 Use g_object_new() instead of gtk_type_new().
2003-02-07  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-editor.c (filter_editor_new): Use g_object_new()
	instead of gtk_type_new().

	* vfolder-editor.c (vfolder_editor_new): Use g_object_new()
	instead of gtk_type_new().

	* score-editor.c (score_editor_new): Use g_object_new() instead of
	gtk_type_new().

	* rule-editor.c (rule_editor_new): Use g_object_new() instead of
	gtk_type_new().
	(rule_add): Use gtk_window_set_resizable() instead of the
	deprecated gtk_window_set_policy().
	(rule_edit): Same here.
	(rule_editor_construct): Here too.

	* rule-context.c (rule_context_add_rule_gui): Use
	gtk_window_set_resizable() instead of the deprecated
	gtk_window_set_policy().

svn path=/trunk/; revision=19847
2003-02-07 21:51:51 +00:00
4b815e3cf6 Fix installation of desktop/mime files
2003-02-07  Rodney Dawes  <dobey@ximian.com>

	* data/Makefile.am: Fix installation of desktop/mime files

svn path=/trunk/; revision=19846
2003-02-07 20:45:12 +00:00
9db9608cea Fixes #37706
2003-02-07  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #37706

	* gui/comp-editor-factory.c (cal_opened_cb): added PERMISSION_DENIED
	case for not ending process on g_assert_not_reached.

svn path=/trunk/; revision=19845
2003-02-07 18:47:06 +00:00
e359fec5c8 Added missing files to .cvsignore and AC_PREREQ to configure.in.
svn path=/trunk/; revision=19842
2003-02-07 12:39:46 +00:00
88698ec92a replaced deprecated calls (gtk_menu_append -> gtk_menu_shell_append and
2003-02-07  Radek Doulik  <rodo@ximian.com>

	* gal/widgets/e-popup-menu.c (e_popup_menu_create_with_domain):
	replaced deprecated calls (gtk_menu_append ->
	gtk_menu_shell_append and gtk_radio_menu_item_group ->
	gtk_radio_menu_item_get_group)

svn path=/trunk/; revision=19841
2003-02-07 09:53:11 +00:00
0f8f0ea3c6 track change to e_book_load_uri type.
2003-02-06  Chris Toshok  <toshok@ximian.com>

	* importers/pine-importer.c (import_addressbook): track change to
	e_book_load_uri type.

svn path=/trunk/; revision=19840
2003-02-07 07:19:46 +00:00
aeec7106f7 check the status, not the book, and unref the book here.
2003-02-06  Chris Toshok  <toshok@ximian.com>

	* gui/component/e-address-popup.c (email_table_save_card_cb):
	check the status, not the book, and unref the book here.
	(contact_editor_cb): same.
	(start_query): unref the book in the failure case.
	(add_card_idle_cb): addressbook_load_default_book returns void
	now.
	(edit_contact_info_cb): same.
	(e_address_popup_query): same.

	* gui/component/addressbook.c (control_activate_cb): track change
	to addressbook_load_uri return type.
	(set_prop): same.
	(addressbook_load_uri): return type is void now.
	(addressbook_load_default_book): same.

	* gui/component/addressbook.h:
	addressbook_load_uri/addressbook_load_default_book return void
	now.

	* conduit/address-conduit.c (start_addressbook_server):
	e_book_load_default_book returns void now.

	* backend/ebook/e-book-util.h: track changes to return types.

	* backend/ebook/e-book-util.c (e_book_load_address_book_by_uri):
	fallout from change to e_book_load_uri.  return type for this
	function is void now too.
	(e_book_use_address_book_by_uri): same.
	(e_book_use_default_book): same.
	(e_book_load_default_book): same.
	(got_uri_book_cb): if unsuccessful and book is non-NULL, unref it
	here.
	(got_default_book_cb): same.

	* backend/ebook/e-book.c (e_book_load_uri): no longer return a
	gboolean.  any error is communicated to the callback.

	* backend/ebook/e-book.h: e_book_load_uri no longer returns a
	gboolean (it's void.)

	* backend/ebook/evolution-ldif-importer.c (ebook_create): track
	change to the e_book_load_uri family of functions.

	* backend/ebook/test-client-list.c (ebook_create): same.

	* backend/ebook/test-client.c (ebook_create): same.

	* backend/ebook/load-pine-addressbook.c (ebook_create): same.

	* backend/ebook/evolution-vcard-importer.c (ebook_create): same.

svn path=/trunk/; revision=19839
2003-02-07 07:14:34 +00:00
fe77d02dd0 Add fr to ALL_LINGUAS again.
svn path=/trunk/; revision=19838
2003-02-06 23:26:44 +00:00