* 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 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 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 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 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 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-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 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-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-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 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-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-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 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 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-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-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-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
[ 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-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-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-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-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 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-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