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 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-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-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-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-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-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
* 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-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-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 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 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 Not Zed <NotZed@Ximian.com>
Fixes#40252.
* conduit/address-conduit.c: Change the LOG macro to a
single arg macro which copies its arg. Fix all callers. Change
WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN
before including anything.
svn path=/trunk/; revision=20715
* 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-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 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 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-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-03-31 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-util.c (get_local_book_uri): new function,
just return the local uri.
(set_default_book_uri_local): use get_local_book_uri.
(e_book_default_book_open): only try and reload the default book
if it's not already the local book.
svn path=/trunk/; revision=20610
* 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-30 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-vcard.[ch]: braindead, and *extremely* forgiving
vcard parser. not for public consumption yet.
svn path=/trunk/; revision=20589
2003-03-28 Chris Toshok <toshok@ximian.com>
[ fixes bug #40403 ]
* backend/ebook/e-card.c (e_card_get_vobject): revert the fix for
28945, as was done on the 1.2 branch. this is because the "fix"
actually breaks internal use of contact lists. We need to make
the exporting of contacts DTRT, instead of fixing it here.
svn path=/trunk/; revision=20568
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-26 Chris Toshok <toshok@ximian.com>
[ fixes bug #19178 ]
* backend/ebook/evolution-ldif-importer.c (ebook_open): use
e_book_load_address_book_by_uri on the passed in uri.
(load_file_fn): pass the uri.
* backend/ebook/evolution-vcard-importer.c (ebook_open): use
e_book_load_address_book_by_uri on the passed in uri.
(load_file_fn): pass the uri.
svn path=/trunk/; revision=20543
2003-03-26 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (local_record_from_ecard): append the
second line to the address if necessary
(ecard_from_remote_record): split the address line in two if
necessary
svn path=/trunk/; revision=20526
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-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-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 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-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