Commit Graph

1071 Commits

Author SHA1 Message Date
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
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
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
4febb49204 [ fixes bug #40901 ] HIG-ify the ldap server edit dialog's button layout.
2003-04-07  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #40901 ]
	* gui/component/ldap-config.glade: HIG-ify the ldap server edit
	dialog's button layout.

svn path=/trunk/; revision=20737
2003-04-07 23:27:49 +00:00
fc4ca8aadc [ fixes bug #39763 ] verb callback for EditCopy (cut_cb): verb callback
2003-04-07  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #39763 ]
	* gui/component/select-names/e-select-names-bonobo.c (copy_cb):
	verb callback for EditCopy
	(cut_cb): verb callback for EditCut.
	(paste_cb): verb callback for EditPaste.
	(select_all_cb): verb callback for SelectAll.
	(free_closure): new function
	(merge_menu_items): same
	(unmerge_menu_items): same
	(control_set_frame_cb): same
	(control_activate_cb): same
	(widget_focus_cb): same
	(e_bonobo_control_automerge_ui): new function, sets up focus
	signals on the widget passed in to merge/unmerge the passed in
	ui/verbs.
	(impl_SelectNames_get_entry_for_section): call
	e_bonobo_control_automerge_ui for this entry.

svn path=/trunk/; revision=20735
2003-04-07 23:17:58 +00:00
20de2e68c1 change the ok/cancel button layout to be higified.
2003-04-07  Chris Toshok  <toshok@ximian.com>

	* gui/component/e-address-popup.c (mini_wizard_new): change the
	ok/cancel button layout to be higified.

svn path=/trunk/; revision=20720
2003-04-07 17:42:48 +00:00
d044ded7cb [ last portion of #40046 fix ] ifdef this out to quiet the compiler.
2003-04-07  Chris Toshok  <toshok@ximian.com>

	[ last portion of #40046 fix ]
	* gui/component/select-names/e-select-names-popup.c
	(remove_recipient_cb): ifdef this out to quiet the compiler.
	(remove_all_recipients_cb): same.
	(toggle_html_mail_cb): same.
	(populate_popup_card): change the #if 0 to #if
	TOO_MANY_MENU_ITEMS.
	(popup_menu_list): nuke, as it's handled by populate_popup_card.
	(populate_popup_nocard): rename popup_menu_nocard to this, and
	implement it as in populate_popup_card.
	(e_select_names_populate_popup): we don't need the card, since we
	don't check if it's a list here anymore.  also, remove the #if 0
	surrounding the nocard case.

svn path=/trunk/; revision=20718
2003-04-07 17:38:21 +00:00
8d745fc6f3 Clean up server names.
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Clean up
	server names.

	* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
	Likewise

	* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in:
	Likewise. Also mark the evolution:menu_name for i18n.

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

svn path=/trunk/; revision=20704
2003-04-07 16:10:08 +00:00
cd41924de3 set "handle_popup" on the field to be TRUE if it's got focus, FALSE if
2003-04-03  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard-label.c (e_minicard_label_event): set
	"handle_popup" on the field to be TRUE if it's got focus, FALSE if
	not.

svn path=/trunk/; revision=20665
2003-04-03 23:32:32 +00:00
53c65079e3 set the im_context on the field's EText. (e_minicard_label_event): remove
2003-04-03  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard-label.c (e_minicard_label_construct): set
	the im_context on the field's EText.
	(e_minicard_label_event): remove a huge swath of #if 0'd code.

svn path=/trunk/; revision=20663
2003-04-03 22:42:02 +00:00
660514490c [ fixes bug #40715 ] add this callback, to unref the book/free the closure
2003-04-03  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #40715 ]
	* gui/merging/e-card-merging.c (final_id_cb): add this callback,
	to unref the book/free the closure after calling the user's
	callback.
	(final_cb): same.
	(doit): use final{_id}_cb
	(cancelit): same.
	(response): don't free the lookup struct here.
	(match_query_callback): same.
	(e_card_merging_book_add_card): ref the book.
	(e_card_merging_book_commit_card): same.

	* gui/component/e-address-popup.c (card_picker_init): make sure to
	set the "text" attribute on the cell renderer so the text actually
	shows up.  also, g_object_connect -> g_signal_connect *sigh*.
	Lastly, get rid of the scrolled window and just make the window
	size to show the text.

	* gui/widgets/e-minicard.c (e_minicard_style_set): only call
	set_selected if we're realized (we create all the canvas objects
	that set_selected manipulates in our realize method.)

svn path=/trunk/; revision=20662
2003-04-03 22:34:55 +00:00
64ac859644 add EVOLUTION_IMAGESDIR
2003-04-03  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/Makefile.am (INCLUDES): add
	EVOLUTION_IMAGESDIR

svn path=/trunk/; revision=20658
2003-04-03 08:20:00 +00:00
7277cf7ff4 change all this around so that we populate the existing popup. This means
2003-04-02  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-popup.c: change all
	this around so that we populate the existing popup.  This means we
	get the select names popup stuff on top of the normal EEntry popup
	foo.

	* gui/component/select-names/e-select-names-popup.h
	(e_select_names_populate_popup): rename e_select_names_popup to
	this.

	* gui/component/select-names/e-select-names-manager.c
	(populate_popup_cb): rename popup_cb here, and
	e_select_names_popup -> e_select_names_populate_popup.
	(e_select_names_manager_entry_new): popup -> populate_popup.

svn path=/trunk/; revision=20654
2003-04-03 06:13:33 +00:00
04601125b5 add NONE:OBJECT
2003-04-02  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-marshal.list: add NONE:OBJECT

	* gui/widgets/e-minicard.c (e_minicard_class_init): add style_set
	signal.
	(e_minicard_style_set): just call set_selected with the currently
	selected flag, so we recolor properly.

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

svn path=/trunk/; revision=20651
2003-04-03 01:31:49 +00:00
cb8fd3a330 Remove folder-selector button initialization. (e_select_names_new):
* gui/component/select-names/e-select-names.c
	(e_select_names_init): Remove folder-selector button
	initialization.
	(e_select_names_new): Initialize folder-selector button here,
	using the passed-in EvolutionShellClient rather than depending on
	a global variable.

	* gui/component/select-names/e-select-names-manager.c
	(e_select_names_manager_activate_dialog): take an
	EvolutionShellClient and pass it to e_select_names_new().

	* gui/component/select-names/e-select-names-bonobo.c
	(impl_SelectNames_activate_dialog): get a pointer to the shell
	from bonobo-activation, create a shell_client, and pass it to
	e_select_names_manager_activate_dialog.

svn path=/trunk/; revision=20597
2003-03-31 15:43:49 +00:00
13ea569098 [ fixes bug #39381 (again) ] add "GtkWidget *button" first arg, so we
2003-03-30  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #39381 (again) ]
	* gui/component/e-address-popup.c (edit_contact_info_cb): add
	"GtkWidget *button" first arg, so we don't crash.

svn path=/trunk/; revision=20585
2003-03-31 00:38:16 +00:00
1ebc39be4e [ fix the contact editor so that the only time the address is parsed is
2003-03-28  Chris Toshok  <toshok@ximian.com>

	[ fix the contact editor so that the only time the address is
	parsed is when the user types in the address GtkTextView. ]
	* gui/contact-editor/e-contact-editor.c (address_mailing_changed):
	make this use delivery addresses instead of labels.
	(full_addr_clicked): same.
	(find_address_mailing): same.

	* backend/ebook/e-card-simple.c
	(e_card_simple_set_delivery_address): make this operate similar to
	e_card_simple_set_address: it sets both the delivery address and
	the label for the address.

svn path=/trunk/; revision=20567
2003-03-28 22:22:40 +00:00
06aa62ad09 [ fixes bug #34651 ] strcmp -> g_utf8_collate. (update_query): encode the
2003-03-26  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #34651 ]
	* gui/component/select-names/e-select-names.c
	(select_entry_changed): strcmp -> g_utf8_collate.
	(update_query): encode the string we pass for the query.

svn path=/trunk/; revision=20541
2003-03-27 04:06:43 +00:00
f6623221ae [ fixes bug #34085 ] only successfully complete the drag if they dropped a
2003-03-26  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #34085 ]
	* gui/contact-list-editor/e-contact-list-editor.c
	(table_drag_data_received_cb): only successfully complete the drag
	if they dropped a valid vcard (or vcard list).  Call
	gtk_drag_finish.

svn path=/trunk/; revision=20539
2003-03-27 03:47:24 +00:00
c1c85074dd $evolution_uidir -> $evolutionuidir
2003-03-26  Chris Toshok  <toshok@ximian.com>

	* gui/contact-list-editor/Makefile.am (INCLUDES): $evolution_uidir
	-> $evolutionuidir

svn path=/trunk/; revision=20538
2003-03-27 03:31:19 +00:00
476d20d647 set the dialog to "Visible: No" so it doesn't flash when we bring it up.
2003-03-23  Chris Toshok  <toshok@ximian.com>

	* gui/contact-list-editor/contact-list-editor.glade: set the
	dialog to "Visible: No" so it doesn't flash when we bring it up.

svn path=/trunk/; revision=20475
2003-03-24 06:52:29 +00:00
e72b58b245 [ fixes bug #40026 ] add EContactEditor arg, and block/unblock signals
2003-03-23  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #40026 ]
	* gui/contact-editor/e-contact-editor.c (set_field): add
	EContactEditor arg, and block/unblock signals around the
	gtk_entry_set_text, since that generates a "changed" signal which
	causes problems.
	(set_phone_field): take and pass along an EContactEditor arg.
	(set_fields): pass editor to set_field.

svn path=/trunk/; revision=20474
2003-03-24 00:22:42 +00:00
b88d071527 nuke.
2003-03-23  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/arrow.png: nuke.

	* gui/contact-editor/Makefile.am (EXTRA_DIST): remove images_DATA
	(images_DATA): nuke, don't need it anymore.

	* gui/contact-editor/e-contact-editor.c
	(connect_arrow_button_signal): rename _replace_button to this.  we
	no longer create an image, as it's a GtkArrow in the .glade file
	now.
	(connect_arrow_button_signals): rename _replace_buttons to this.
	no longer pass the arrow.png's to _replace_button.
	(e_contact_editor_init): _replace_buttons ->
	connect_arrow_button_signals.
	(_arrow_pressed): remove some dead code, and some args that aren't
	used.
	(_phone_arrow_pressed): track change to _arrow_pressed.
	(_email_arrow_pressed): same.
	(_address_arrow_pressed): same.

svn path=/trunk/; revision=20473
2003-03-23 23:38:22 +00:00
00748269b5 [ fixes bug #31786 ] fix some gtk warnings. (set_advanced_button_state):
2003-03-23  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #31786 ]
	* gui/component/addressbook-config.c
	(addressbook_source_dialog_set_source): fix some gtk warnings.
	(set_advanced_button_state): the advanced dialog isn't present in
	the glade file anymore, so ifdef everything dealing with it.
	(addressbook_edit_server_dialog): same.

	* gui/component/ldap-config.glade: remove all the unused Advanced
	UI stuff to lessen the amount of strings needing translation.

svn path=/trunk/; revision=20472
2003-03-23 22:09:42 +00:00
a66943ec82 [ fixes bug #32113 ] add include_email arg to e_destination_get_textrep.
2003-03-23  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #32113 ]
	* backend/ebook/e-destination.h: add include_email arg to
	e_destination_get_textrep.

	* backend/ebook/e-destination.c (e_destination_get_textrep): add
	include_email arg.  if it's TRUE, and if there's an email address to
	add

	* gui/contact-list-editor/e-contact-list-model.c
	(contact_list_value_at): use e_destination_get_textrep so we don't
	display QP text, and pass TRUE for include_email.

	* gui/widgets/e-minicard.c (add_field): same.
	(remodel): same.

	* gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): same.

	* gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): same.

	* gui/component/select-names/e-select-names-text-model.c
	(e_select_names_text_model_insert_length): pass FALSE for
	include_email.

	* gui/component/select-names/e-select-names-model.c
	(e_select_names_model_get_textification): pass FALSE for
	include_email.
	(e_select_names_model_get_string): same.
	(e_select_names_model_replace): same.
	(e_select_names_model_name_pos): same.
	(e_select_names_model_text_pos): same.

svn path=/trunk/; revision=20467
2003-03-23 09:18:04 +00:00
30231895d1 up the column count by one for the underline.
2003-03-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-table-model.c
	(e_select_names_table_model_col_count): up the column count by one
	for the underline.
	(e_select_names_table_model_value_at): add handling for underline.

svn path=/trunk/; revision=20355
2003-03-19 05:26:18 +00:00
cd96c0349b fix use of deprecated gtk_menu_append. (card_picker_selection_changed):
2003-03-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/e-address-popup.c (email_menu_add_option): fix use
	of deprecated gtk_menu_append.
	(card_picker_selection_changed): change this to be used with the
	"changed" signal on GtkTreeSelection.
	(free_str): yeah, gross.  i know.
	(card_picker_init): this needed some fixing, so the strings don't
	go away after we insert them into the model.  also, connect to the
	"changed" GtkTreeSelection signal instead of using the nonexistant
	gtk_tree_selection_set_func.
	(e_address_popup_construct): gtk_style_unref -> g_object_unref.
	(popup_size_allocate_cb): nuke.
	(e_address_popup_ambiguous_email_add): use gtk_window_set_position
	and let the window manager place the window instead of doing it
	ourself.

svn path=/trunk/; revision=20352
2003-03-19 01:02:39 +00:00
7e94b2e939 [ Fixes addressbook bug #39730 ] add response ids to the search base
2003-03-18  Chris Toshok  <toshok@ximian.com>

	[ Fixes addressbook bug #39730 ]
	* gui/component/ldap-config.glade: add response ids to the search
	base dialog.

	* gui/component/addressbook-config.c
	(addressbook_source_dialog_destroy): use g_object_unref, not
	gtk_widget_destroy, on the GladeXML.
	(addressbook_add_server_druid): call gtk_window_set_type_hint
	GDK_WINDOW_TYPE_HINT_DIALOG so this window looks like a dialog.
	(editor_modify_cb): no more apply button.
	(edit_dialog_apply_clicked): nuked.
	(edit_dialog_close_clicked): rename to _cancal_clicked.
	(edit_dialog_ok_clicked): call gtk_widget_destroy here instead of
	calling _cancel_clicked.
	(addressbook_edit_server_dialog): no more apply button, and
	close_button -> cancel_button.  Also, set the hint to
	GDK_WINDOW_TYPE_HINT_DIALOG.
	(ldap_dialog_new): fix compiler warning.
	(addressbook_dialog_create_sources_table): same.

svn path=/trunk/; revision=20351
2003-03-18 22:20:39 +00:00
8c2719b4b5 use alternating-row-colors="false"
2003-03-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-section.etspec: use
	alternating-row-colors="false"

	* gui/component/select-names/e-select-names.h: nuke prototypes for
	e_select_names_get_source/section.

	* gui/component/select-names/e-select-names.c (set_book): remove
	the signal disconnect from here.
	(addressbook_model_set_uri): same.
	(e_select_names_init): connect to the search_result signal on the
	addressbook model.
	(e_select_names_child_free): disconnect the changed_id signal.
	(e_select_names_add_section): set the underline column so the
	recipient tables look like they did when they were EEntry.
	(e_select_names_add_section): store off the changed_id.
	(e_select_names_get_section): nuke.
	(e_select_names_get_source): nuke.

svn path=/trunk/; revision=20345
2003-03-18 20:42:41 +00:00
ef8e2ea6e2 disconnect/keep track of search result signal id. (e_select_names_init):
2003-03-18  Not Zed  <NotZed@Ximian.com>

        * gui/component/select-names/e-select-names.c (set_book,
        addressbook_model_set_uri): disconnect/keep track of search result
        signal id.
        (e_select_names_init): Keep track of various signals, particularly
        status signal.
        (e_select_names_dispose): disconnect from any signals that are
        still active.  Fixes crash for #38202.

svn path=/trunk/; revision=20334
2003-03-18 08:51:31 +00:00
cc0c43058c use set_entry_changed_signal_email for the email entry so the email gets
2003-03-13  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.c
	(set_entry_changed_signals): use set_entry_changed_signal_email
	for the email entry so the email gets saved out.
	(set_entry_changed_signal_email): new function, analogous to
	set_entry_changed_signal_phone, but for email.

svn path=/trunk/; revision=20282
2003-03-13 22:47:58 +00:00
b1df789b25 [ fixes bug #20210 ] change "Edit Contact Info" to "View Contact Info", as
2003-03-12  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #20210 ]
	* gui/component/select-names/e-select-names-popup.c
	(popup_menu_card): change "Edit Contact Info" to "View Contact
	Info", as you can't always edit the contact (if the book is read
	only).
	(popup_menu_list): same, but for a contact list.

svn path=/trunk/; revision=20270
2003-03-13 05:51:36 +00:00
bdad58fc5f [ fixes bug #39507 ] new function, sync the models after we do a search.
2003-03-11  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #39507 ]
	* gui/component/select-names/e-select-names.c (search_result): new
	function, sync the models after we do a search.
	(addressbook_model_set_uri): connect to search_result.

svn path=/trunk/; revision=20260
2003-03-12 06:46:38 +00:00
e5b1a49030 fix compiler warnings about deprecated functions.
2003-03-11  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_init): fix compiler warnings about deprecated
	functions.
	(e_select_names_child_free): unref the table model.
	(remove_address): re-enable.
	(section_right_click_cb): this is an ETable callback now.
	(e_select_names_add_section): remove a gross gross awful hack, and
	make the recipient tables ETables instead EEntry's.  We lose the
	nice underlining, but we can add that back in as another ETable
	style (like strikeout and bold), and we also fix the longstanding
	scrolling problems (like bug #25148) and can finally remove
	addresses by double clicking on them (which is also a bug
	someplace I think.. dunno the # offhand.)

	* gui/component/select-names/e-select-names-table-model.c
	(clear_info): always set the count to -1, regardless of what
	model->data is.

	* gui/component/select-names/e-select-names-model.c: remove some
	unused enums.

	* gui/component/select-names/Makefile.am (etspec_DATA): add
	e-select-names-section.etspec

	* gui/component/select-names/e-select-names-section.etspec: new
	file, spec for the To:/Cc:/Bcc: etable's in the select-names
	dialog.

svn path=/trunk/; revision=20259
2003-03-12 03:19:13 +00:00
286b4ee484 re-enable in build, include e-destination.h. For #39256.
2003-03-11  Not Zed  <NotZed@Ximian.com>

        * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list):
        re-enable in build, include e-destination.h.  For #39256.

svn path=/trunk/; revision=20229
2003-03-10 06:40:18 +00:00
4311a1916c Likewise. Likewise. Likewise. Likewise. Likewise. (ebook_create):
* backend/ebook/load-pine-addressbook.c (ebook_create): Likewise.
* backend/ebook/load-gnomecard-addressbook.c (ebook_create): Likewise.
* backend/ebook/evolution-vcard-importer.c (ebook_create): Likewise.
* backend/ebook/evolution-ldif-importer.c (ebook_create): Likewise.
* backend/ebook/test-client.c (get_cursor_cb): Likewise.
(ebook_create): Likewise.
* gui/widgets/e-minicard.c (e_minicard_set_property): Likewise.
(card_modified_cb): Likewise.
(e_minicard_event): Likewise.
* gui/widgets/gal-view-minicard.c (column_width_changed): Likewise.
* gui/widgets/test-minicard-view.c (ebook_create): Likewise.
* gui/widgets/gal-view-treeview.c (column_width_changed): Likewise.

svn path=/trunk/; revision=20203
2003-03-06 17:30:54 +00:00
0ca271e142 removed. (owner_unset_cb): Basically a noop, the shell does the quit, we
2003-03-05  Not Zed  <NotZed@Ximian.com>

        * gui/component/addressbook-component.c (bonobo_main_quit_cb):
        removed.
        (owner_unset_cb): Basically a noop, the shell does the quit, we
        just note we have no owner anymore.

svn path=/trunk/; revision=20164
2003-03-05 02:05:34 +00:00
896ab49a3c Fixes #37881
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	Fixes #37881

 	* gui/component/select-names/e-simple-card-bonobo.c
 	(impl_SimpleCard_get): if we get a null value, send back the empty
 	string

svn path=/trunk/; revision=20159
2003-03-04 22:20:54 +00:00
c1e2563e39 reflect prior column addition
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	* gui/component/select-names/e-select-names.etspec: reflect prior
column addition

 	* gui/component/select-names/e-select-names-bonobo.c
 	(entry_get_property_fn): set the arg properly

 	*
gui/component/select-names/Evolution-Addressbook-SelectNames.idl:
 	add Icscalendar to field list

 	* backend/pas/pas-backend-ldap.c: add icscalendar to prop list

 	* backend/ebook/e-card.h: add icscalendar data member

 	* backend/ebook/e-card.c: add icscalendar to list and its parse
 	routine
 	(e_card_get_vobject): add icscalendar prop value
 	(parse_icscalendar): parse routine
 	(e_card_class_init): add icscalendar arg
 	(e_card_destroy): destroy icscalendar member
 	(e_card_set_arg): set icscalendar
 	(e_card_init): init icscalendar
 	(e_card_get_arg): return icscalendar

 	* backend/ebook/e-card-simple.c (field_data): add icscalendar

 	* backend/ebook/e-card-simple.h: ditto

svn path=/trunk/; revision=20153
2003-03-04 22:00:57 +00:00
53457a7366 (e_select_names_new): Don't set the "modal" property through
g_object_new().
(e_select_names_init): Explictly make the dialog modal here.

svn path=/trunk/; revision=20131
2003-03-03 22:50:31 +00:00
45e27ae492 (create_minicard_view): No need
to do any reparenting here; the widget is created with no parent.

svn path=/trunk/; revision=20129
2003-03-03 22:20:32 +00:00
8ddb619ad0 (e_select_names_init): Instead of using gtk_widget_unparent(),
remove the widget from the container using gtk_container_remove().
This fixes a bunch of crashers in all the places using the
ESelectNames widget/control.

svn path=/trunk/; revision=20127
2003-03-03 22:10:44 +00:00
f824830018 Build libecontacteditor as an uninstalled shared library.
* gui/contact-editor/Makefile.am: Build libecontacteditor as an
	uninstalled shared library.

	* gui/contact-list-editor/Makefile.am: Likewise for
	libecontactlisteditor

	* gui/merging/Makefile.am: and libecardmerging

	* gui/search/Makefile.am: and libeaddressbooksearch

	* gui/widgets/Makefile.am: and libeminicard

	* printing/Makefile.am: and libecontactprint

	* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
	Update for new library names (and get rid of libtool portability
	warnings).

svn path=/trunk/; revision=20112
2003-02-28 21:59:37 +00:00