Commit Graph

1679 Commits

Author SHA1 Message Date
ab8f20f873 i2003-05-19 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (func_beginswith): use the more
	convoluted (but more correct) query if evolutionPerson is
	supported.  Fixes #42825.

svn path=/trunk/; revision=21270
2003-05-19 20:30:24 +00:00
6052618948 handle the case where @book == NULL, which can happen if there was a
2003-05-19  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/e-destination.c (use_default_book_cb): handle the
	case where @book == NULL, which can happen if there was a problem
	opening the default book.  Should fix #43005.

svn path=/trunk/; revision=21269
2003-05-19 20:26:34 +00:00
15e8b4e477 fix the initial run case. the config upgrade code creates all elements so
2003-05-19  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-component.c
	(ensure_completion_uris_exist): fix the initial run case.  the
	config upgrade code creates all elements so we can't just check
	for NULL - we have to check if the string is empty.  Fixes #43213.

svn path=/trunk/; revision=21263
2003-05-19 18:49:07 +00:00
2d3e30b912 if we've got focus, set the background of the rect to bg[NORMAL], and the
2003-05-19  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard-label.c (set_colors): if we've got focus,
	set the background of the rect to bg[NORMAL], and the fill color
	of the text and label to text[NORMAL].  This will make the
	background a different color than the canvas, but won't make it
	use the selected background.  fixes #42472

svn path=/trunk/; revision=21262
2003-05-19 18:41:24 +00:00
35120cf3f4 add a g_object_ref(card), to match the one in
2003-05-19  Chris Toshok  <toshok@ximian.com>

	* gui/merging/e-card-merging.c (e_card_merging_book_commit_card):
	add a g_object_ref(card), to match the one in
	e_card_merging_book_add_card.  Fixes #43175.

svn path=/trunk/; revision=21259
2003-05-19 18:33:17 +00:00
13b45ed0d2 Added HIG-appropriate HIG-appropriate spacing, padding, accelerators.
2003-05-19  Anna Marie Dirks  <anna@ximian.com>

	* gui/contact-editor/e-contact-quick-add.c: Added HIG-appropriate
	HIG-appropriate spacing, padding, accelerators. Fixes bug #41210

svn path=/trunk/; revision=21254
2003-05-19 15:50:45 +00:00
f2cb3f6211 HIG-ified the various dialogs (including the settings pages, the config
2003-05-19  Anna Marie Dirks  <anna@ximian.com>

	* gui/component/ldap-config.glade: HIG-ified the various dialogs
	(including the settings pages, the config druid, and the edit dialog)
	in this glade file. This fixes bugs #41140, #41137, #41130

svn path=/trunk/; revision=21252
2003-05-19 15:31:17 +00:00
1c86a794fa Changed button order, and added HIG-appropriate spacing/padding. Fixes bug
2003-05-19  Anna Marie Dirks  <anna@ximian.com>

	* gui/merging/e-card-merging-book-commit-duplicate-detected.glade:
	Changed button order, and added HIG-appropriate spacing/padding.
	Fixes bug #41232.

svn path=/trunk/; revision=21248
2003-05-19 15:14:25 +00:00
b3a131a141 Changed button order, and added HIG-appropriate spacing/padding. Fixes bug
2003-05-19  Anna Marie Dirks  <anna@ximian.com>

	* gui/merging/e-card-duplicate-detected.glade: Changed button
	order, and added HIG-appropriate spacing/padding. Fixes bug
	#41229 and #41231.

svn path=/trunk/; revision=21246
2003-05-19 15:09:07 +00:00
b9ad9cb66f i2003-05-19 Sean Gao <sean.gao@sun.com>
* gui/component/addressbook-component.c (xfer_folder): remove the
	summary if @remove_source is TRUE.  Fixes 38084.

svn path=/trunk/; revision=21240
2003-05-19 12:32:56 +00:00
06393a16d5 Added HIG-appropriate spacing, padding, capitalization and accelerators.
2003-05-16  Anna Marie Dirks  <anna@ximian.com>

	* gui/contact-list-editor/contact-list-editor.glade:  Added
	HIG-appropriate spacing, padding, capitalization and accelerators.
	Fixes bug #41254

svn path=/trunk/; revision=21227
2003-05-16 20:10:02 +00:00
6e7b580068 Added HIG-appropriate spacing, padding, capitalization and accelerators.
2003-05-16  Anna Marie Dirks  <anna@ximian.com>

	* gui/contact-editor/fulladdr.glade: Added HIG-appropriate
	spacing, padding, capitalization and accelerators. Fixes bug #41251

svn path=/trunk/; revision=21226
2003-05-16 20:04:46 +00:00
fd770acc91 Added HIG-appropriate spacing, padding, caps, title and accelerators.
2003-05-14  Anna Marie Dirks  <anna@ximian.com>

	* gui/contact-editor/fullname.glade:  Added HIG-appropriate
	spacing, padding, caps, title and accelerators. Fixes bug #41249,
	and also bug #41250..

svn path=/trunk/; revision=21225
2003-05-16 20:01:26 +00:00
a2fe817f05 Added HIG-appropriate spacing, padding, capitalization and accelerators.
2003-05-16  Anna Marie Dirks  <anna@ximian.com>

	* gui/contact-editor/contact-editor.glade: Added HIG-appropriate
	spacing, padding, capitalization and accelerators. Fixes bug #41248.

svn path=/trunk/; revision=21224
2003-05-16 19:58:46 +00:00
0454e4c493 Move the tools to a more appropriate directory, privlibexecdir
2003-05-16  Rodney Dawes  <dobey@ximian.com>

	* addressbook/backend/ebook/Makefile.am: Move the tools to a
 	more appropriate directory, privlibexecdir

svn path=/trunk/; revision=21218
2003-05-16 18:17:27 +00:00
5bd1bfa802 Revert the patch I didn't mean to commit anyway
svn path=/trunk/; revision=21217
2003-05-16 18:10:53 +00:00
98204f8997 Check for libgcc stuff to make solaris happy
2003-05-15  Rodney Dawes  <dobey@ximian.com>

	* configure.in: Check for libgcc stuff to make solaris happy

	* gui/component/Makefile.am: libgcc fix for Solaris __eprintf issue

svn path=/trunk/; revision=21212
2003-05-16 15:39:16 +00:00
7a0a2d3e44 this change fixes 43090 too
svn path=/trunk/; revision=21204
2003-05-16 00:56:51 +00:00
ad19cadacb backing out a tiny porting of jpr's fix - we need to set the book on the
2003-05-15  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (book_open_cb): backing out a tiny
	porting of jpr's fix - we need to set the book on the
	EAddressbookView, or else it won't do queries, and it won't show
	any cards.  Fixes #43023, #43090.

svn path=/trunk/; revision=21201
2003-05-15 22:50:29 +00:00
071c74bd36 new function, split out the duplicated teardown code from final_cb and
2003-05-15  Chris Toshok  <toshok@ximian.com>

	* gui/merging/e-card-merging.c (free_lookup): new function, split
	out the duplicated teardown code from final_cb and final_id_cb.
	also, unref the card.
	(final_id_cb): call free_lookup.
	(final_cb): same.
	(e_card_merging_book_add_card): ref the card.  fixes bug #43016.

svn path=/trunk/; revision=21200
2003-05-15 22:47:53 +00:00
b9d38c709a replace the text_buffer_delete/text_buffer_insert with
2003-05-14  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.c (full_addr_clicked):
	replace the text_buffer_delete/text_buffer_insert with
	set_buffer_set_text.  call widget_changed if they clicked OK, so
	we actually mark the dialog changed.
	(fill_in_field): make this handle GtkTextViews, because for some
	reason that escapes rational thought GtkTextView's don't implement
	GtkEditable.  fixes #42606.
	(extract_field): same.

svn path=/trunk/; revision=21184
2003-05-14 22:00:45 +00:00
7535239b99 set the clip_height on reflow so the name of the field is as high as the
2003-05-12  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard-label.c (e_minicard_label_reflow): set
	the clip_height on reflow so the name of the field is as high as
	the field's value.  makes it possible to click anywhere to the
	left of a tall field (like an address) and have it select the
	field.  Fixes #42625.

svn path=/trunk/; revision=21183
2003-05-14 21:56:17 +00:00
b92fb7c88f handle the case where we haven't filled in the address yet. fixes #42620.
2003-05-14  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.c (address_mailing_changed):
	handle the case where we haven't filled in the address yet. fixes
	#42620.

svn path=/trunk/; revision=21182
2003-05-14 21:52:26 +00:00
0203f5de76 clear the view (book_open_cb): track the book in the view, don't unref the
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* gui/component/addressbook.c (addressbook_view_unref): clear the
	view
	(book_open_cb): track the book in the view, don't unref the book
	(set_prop): set the book
	(retrieve_shell_view_interface_from_control): get the shell view
	every time
	(set_folder_bar_label): release and unref the shell view

	* gui/component/addressbook-storage.h: add proto

	* gui/component/addressbook-storage.c
	(addressbook_storage_cleanup): unref the storage

	* gui/component/addressbook-component.c (owner_unset_cb): clean up
	storage

	* backend/ebook/e-book.c (e_book_load_uri): track the listener
	signal
	(e_book_dispose): unref the listener and disconnect the signal

svn path=/trunk/; revision=21179
2003-05-14 18:44:27 +00:00
6c97a30c5e strlen -> g_utf8_strlen. (e_select_names_text_model_insert): same.
2003-05-13  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-text-model.c
	(e_select_names_text_model_set_separator): strlen ->
	g_utf8_strlen.
	(e_select_names_text_model_insert): same.
	(e_select_names_text_model_insert_length): big change, make this
	work with multibyte utf8.
	(e_select_names_text_model_delete): same.  this could possibly use
	a tighter loop + a memmove, but this works.

	* gui/component/select-names/e-select-names-model.c
	(e_select_names_model_get_textification): make sure our truncation
	to MAX_LENGTH characters uses utf8 characters, not bytes.
	(e_select_names_model_name_pos): track e-text-model change.
	pos/length are now in utf8 character terms, so use g_utf8_strlen
	instead of strlen.
	(e_select_names_model_text_pos): same.

svn path=/trunk/; revision=21165
2003-05-14 00:45:20 +00:00
16441223ca rename addressbook_destroy to this, and guard against multiple calls.
2003-05-13  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose):
	rename addressbook_destroy to this, and guard against multiple
	calls.
	(e_addressbook_table_adapter_class_init): GtkObject -> GObject,
	and destroy -> dispose.
	(e_addressbook_table_adapter_init): GtkObject -> GObject.

svn path=/trunk/; revision=21157
2003-05-13 17:49:19 +00:00
bd75c866f5 terminate g_build_filename with NULL.
2003-05-12  Sean Gao  <sean.gao@sun.com>

	* gui/contact-list-editor/e-contact-list-editor.c
	(e_contact_list_editor_init): terminate g_build_filename with
	NULL.

svn path=/trunk/; revision=21151
2003-05-12 08:54:42 +00:00
acced3219b [ fixes bug #42048 ] button => response. (e_addressbook_view_print):
2003-05-11  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #42048 ]
	* gui/widgets/e-addressbook-view.c (e_contact_print_button):
	button => response.
	(e_addressbook_view_print): connect to "response", not "clicked".

svn path=/trunk/; revision=21145
2003-05-11 21:51:45 +00:00
5b3149c169 [ fixes bug #41245 ] fix spacing/border widths as per HIG.
2003-05-11  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #41245 ]
	* gui/component/select-names/select-names.glade: fix
	spacing/border widths as per HIG.

	* gui/component/select-names/e-select-names.c
	(e_select_names_init): set the border width/spacing on widgets we
	create here.

svn path=/trunk/; revision=21144
2003-05-11 20:48:15 +00:00
f6038b72aa Use glib macro to case from pointer to int.
2003-05-09  Jeremy Katz  <katzj@redhat.com>

	* printing/e-contact-print.c (e_contact_print_response): Use glib
	macro to case from pointer to int.

	* printing/e-contact-print-envelope.c: Add missing #include.

	* gui/component/select-names/e-select-names-completion.c
	(e_select_names_completion_start_query): Use
	E_SELECT_NAMES_COMPLETION to avoid warning

svn path=/trunk/; revision=21138
2003-05-09 15:02:46 +00:00
bc9dd9dde3 i2003-05-06 Chris Toshok <toshok@ximian.com>
[ really commit this, fixes bug #41910 ]
	* gui/contact-list-editor/e-contact-list-model.c
	(e_contact_list_model_remove_row): change from model_changed to
	row_deleted here.  model_changed causes the table to free its
	ETableSelection, which is what we iterate over when deleting
	contacts.
	(e_contact_list_model_add_destination): no need to be calling
	model_changed here either.

svn path=/trunk/; revision=21117
2003-05-06 19:20:31 +00:00
c2a1b89ca3 [ fixes bug #41255 ] use stock buttons for Add/Remove.
2003-04-29  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #41255 ]
	* gui/contact-list-editor/contact-list-editor.glade: use stock
	buttons for Add/Remove.

svn path=/trunk/; revision=21030
2003-04-30 04:10:22 +00:00
322075f7e8 [ fixes bug #41144 ] use stock buttons for the Add/Delete buttons. Switch
2003-04-29  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #41144 ]
	* gui/component/ldap-config.glade: use stock buttons for the
	Add/Delete buttons.  Switch from "Delete" to "Remove", though, as
	"Remove" fits much better with the one for "Add".  Also, add our
	stock-edit-24.png icon for "Edit".

svn path=/trunk/; revision=21028
2003-04-30 04:07:15 +00:00
2ea38f692a [ fixes bug #41211 ] call e_button_new_with_stock_icon to create our
2003-04-29  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #41211 ]
	* gui/component/e-address-popup.c (e_address_popup_no_matches):
	call e_button_new_with_stock_icon to create our button and give it
	the right icon.

svn path=/trunk/; revision=21023
2003-04-29 21:36:19 +00:00
b868a12602 remove duplicate HOME_COUNTRY field add.
2003-04-29  Gilbert Fang  <gilbert.fang@sun.com>

	* tools/evolution-addressbook-export-list-cards.c
	(set_pre_defined_field): remove duplicate HOME_COUNTRY field add.

svn path=/trunk/; revision=21015
2003-04-29 18:39:45 +00:00
8bbfbedf54 [ fixes bug #41910 ] change from model_changed to row_deleted here.
2003-04-28  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #41910 ]
	* gui/contact-list-editor/e-contact-list-model.c
	(e_contact_list_model_remove_row): change from model_changed to
	row_deleted here.  model_changed causes the table to free its
	ETableSelection, which is what we iterate over when deleting
	contacts.
	(e_contact_list_model_add_destination): no need to be calling
	model_changed here either.

svn path=/trunk/; revision=21010
2003-04-29 18:24:46 +00:00
aceae3820a [ fixes bug #41843] use e_card_simple_get_ecard_field instead of
2003-04-28  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #41843]
	* tools/evolution-addressbook-export-list-cards.c
	(e_card_simple_csv_get_name): use e_card_simple_get_ecard_field
	instead of e_card_simple_get_name, so the return value won't be
	localized.

svn path=/trunk/; revision=20978
2003-04-28 10:14:13 +00:00
a3a311f702 [ fixes bug #41779 ] we don't need to call gtk_widget_destroy on the old
2003-04-28  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #41779 ]
	* gui/component/e-address-popup.c (mini_wizard_container_add): we
	don't need to call gtk_widget_destroy on the old child, since
	gtk_container_remove will unref it for us.

svn path=/trunk/; revision=20977
2003-04-28 08:36:51 +00:00
882658cc42 [ fixes bug #37351 ] the row the signal is called with is already the
2003-04-23  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #37351 ]
	* gui/widgets/e-addressbook-view.c (table_drag_data_get): the row
	the signal is called with is already the model row, not the view
	row, so don't call e_table_view_to_model_row on it.

svn path=/trunk/; revision=20944
2003-04-23 20:34:36 +00:00
3fa9162b67 [ either mostly or entirely fixes #33708 ] new function, factor it out of
2003-04-23  Chris Toshok  <toshok@ximian.com>

	[ either mostly or entirely fixes #33708 ]
	* gui/component/select-names/e-select-names-completion.c
	(e_select_names_completion_done): new function, factor it out of
	_seq_complete_cb because we need to run the same code in a couple
	of places.
	(e_select_names_completion_got_book_view_cb): treat an error from
	a book as getting a "sequence_complete", and decrement the count
	of pending complete signals.
	(e_select_names_completion_got_book_view_cb): remove the increment
	of pending_completion_seq from here.
	(e_select_names_completion_seq_complete_cb): factor out the body
	of e_select_names_completion_done from here, and call it.
	(e_select_names_completion_start_query): increment
	pending_completion_seq here.  remove the async variable, as we can
	now use pending_completion_seq for that purpose (it's > 0 iff
	async would have been TRUE).

svn path=/trunk/; revision=20943
2003-04-23 20:32:02 +00:00
1cbbf5ab22 [ fixes bug #40954 ] guard against NULL bf->priv->summary (happens if the
2003-04-19  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #40954 ]
	* backend/pas/pas-backend-file.c (pas_backend_file_dispose): guard
	against NULL bf->priv->summary (happens if the initial load_uri
	failed).
	(pas_backend_file_load_uri): always set bf->priv->uri, since it's
	used in _get_uri, which is called when the backend goes away.
	This only happened before if you tried to load a folder that
	didn't exist.

svn path=/trunk/; revision=20898
2003-04-19 22:18:16 +00:00
a17a25e349 [ fixes #40694 ] just grab focus if @activate == TRUE. we'll do all
2003-04-16  Chris Toshok  <toshok@ximian.com>

	[ fixes #40694 ]
	* gui/component/select-names/e-select-names-bonobo.c
	(control_activate_cb): just grab focus if @activate == TRUE.
	we'll do all merging/unmerging in the focus handler.
	(widget_focus_cb): handle the merging here.
	(e_bonobo_control_automerge_ui): store off the widget (so we can
	grab focus on it) and connect to "activate".

svn path=/trunk/; revision=20897
2003-04-19 22:16:41 +00:00
d68227cb50 Add missing -DPREFIX
2003-04-18  Rodney Dawes  <dobey@ximian.com>

	* gui/component/select-names/Makefile.am: Add missing -DPREFIX

svn path=/trunk/; revision=20893
2003-04-18 21:53:15 +00:00
1bd3678dbe [ fixes #21499 ]
2003-04-18  Rodney Dawes  <dobey@ximian.com>

	[ fixes #21499 ]
	* gui/component/Makefile.am:
	* gui/component/addressbook.c:
	* gui/component/select-names/e-select-names-bonobo.c:
	* gui/contact-editor/Makefile.am:
	* gui/contact-editor/e-contact-editor.c:
	* gui/contact-list-editor/Makefile.am:
	* gui/contact-list-editor/e-contact-list-editor.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* gui/Makefile.am:
	* gui/calendar-commands.c:
	* gui/tasks-control.c:
	* gui/dialogs/Makefile.am:
	* gui/dialogs/comp-editor.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* Makefile.am:
	* e-msg-composer.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
	Fixes bug #21499.

	* Makefile.am:
	* folder-browser-ui.c:
	* mail-signature-editor.c:
	* message-browser.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
	Fixes bug #21499.

	* Makefile.am:
	* e-summary-factory.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for
	bonobo_ui_util_set_ui () [#21499]

svn path=/trunk/; revision=20888
2003-04-18 17:46:26 +00:00
89784ed940 [ fixes #41252 ] change title from "Check Address" to "Full Address".
2003-04-15  Chris Toshok  <toshok@ximian.com>

	[ fixes #41252 ]
	* gui/contact-editor/fulladdr.glade: change title from "Check
	Address" to "Full Address".

svn path=/trunk/; revision=20848
2003-04-15 18:51:07 +00:00
7d976a9c3e [ fixes #40727 ] if the query text is either shorter than the cached
2003-04-09  Chris Toshok  <toshok@ximian.com>

	[ fixes #40727 ]
	* gui/component/select-names/e-select-names-completion.c
	(e_select_names_completion_start_query): if the query text is
	either shorter than the cached query_text or they don't match,
	don't just set can_reuse_cached_cards to FALSE.  we also need to
	invalidate the cache.

svn path=/trunk/; revision=20780
2003-04-09 10:15:05 +00:00
0cdafe3604 kill an old e_utf8_gtk usage
2003-04-08  Mike Kestner  <mkestner@ximian.com>

	* e-search-bar.c (set_option): kill an old e_utf8_gtk usage

and remove some straggling e-font.h includes.

svn path=/trunk/; revision=20769
2003-04-08 20:44:58 +00:00
bc576ab3c4 (d): Remove all debugging
messages.

svn path=/trunk/; revision=20764
2003-04-08 17:21:12 +00:00
732fcfec9d Remove color specifications from the druid so it will use theme colors.
* gui/component/ldap-config.glade: Remove color specifications
        from the druid so it will use theme colors.

        * gui/component/addressbook-config.c
        (addressbook_add_server_druid): Use g_signal_connect_after for
        "prepare" signal (to work around b.g.o 81869)

svn path=/trunk/; revision=20756
2003-04-08 15:31:53 +00:00
c5bab4bb06 [ fixes #7103 ] init style_set. and add the signal.
2003-04-07  Chris Toshok  <toshok@ximian.com>

	[ fixes #7103 ]
	* gui/widgets/e-minicard-label.c (e_minicard_label_class_init):
	init style_set. and add the signal.
	(e_minicard_label_realize): include e_minicard_label_construct's
	code here, and call set_colors after we create the sub-items.
	(e_minicard_label_unrealize): indent, and remove dead code.
	(e_minicard_label_event): indent, and call set_colors instead of
	setting the colors manually.
	(set_colors): new function, set our colors based on the current
	style.
	(e_minicard_label_style_set): new function, just call set_colors.
	(e_minicard_label_new): e_minicard_label_construct doesn't exist
	anymore.

	* gui/widgets/e-minicard-label.h (struct _EMinicardLabelClass):
	add style_set signal.

	* gui/widgets/e-minicard.c (set_selected): little tweaks in the
	coloring.
	(e_minicard_unrealize): reindent, and remove some unused code.

	* gui/widgets/e-minicard-view-widget.h (struct
	_EMinicardViewWidget): add background.

	* gui/widgets/e-minicard-view-widget.c
	(e_minicard_view_widget_class_init): init
	widget_class->style_class.
	(e_minicard_view_widget_style_set): new function, just set the
	background's fill_color_gdk to base[GTK_STATE_NORMAL].
	(e_minicard_view_widget_realize): store off the background canvas
	item so we can set the color later.

svn path=/trunk/; revision=20742
2003-04-08 04:44:58 +00:00