| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The changes are mainly including the e-alert-header.h header instead of just
e-alert.h. This allows us to include e-alert.h in non-UI situations when
necessary.
|
|
|
|
|
|
|
|
|
|
| |
The EError mechanism is used both for error dialogs as well as basic alerts or
user prompts, so we should give it a more general name which matches this use.
This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that
were not actually being used.
https://bugzilla.gnome.org/show_bug.cgi?id=602963
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=602963
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-23 Milan Crha <mcrha@redhat.com>
** Fix for bug #553273
* addressbook/gui/component/addressbook-view.c: (delete_addressbook_folder), (delete_addressbook_cb):
* addressbook/gui/widgets/eab-gui-util.c: (save_it):
* addressbook/gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_add_email):
* addressbook/gui/contact-list-editor/e-contact-list-editor.c: (contact_list_editor_contact_exists):
* plugins/exchange-operations/exchange-config-listener.c: (exchange_config_listener_authenticate):
* mail/em-composer-utils.c: (em_utils_handle_receipt):
* mail/em-folder-view.c: (emfv_delete_msg_response):
* composer/e-composer-actions.c: (action_save_cb):
* calendar/gui/alarm-notify/alarm-queue.c: (edit_component):
* calendar/gui/tasks-component.c: (delete_task_list_cb):
* calendar/gui/calendar-component.c: (delete_calendar_cb):
* calendar/gui/memos-component.c: (delete_memo_list_cb):
Always end e_error_run/e_error_new calls with NULL parameter.
svn path=/trunk/; revision=36434
|
|
|
|
|
|
| |
More changes to come.
svn path=/trunk/; revision=36247
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-28 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #489652
Migrate the contact list editor from ETable to GtkTreeView and
fix some HIG issues.
* addressbook/gui/contact-list-editor/Makefile.am:
Remove e-contact-list-editor.etspec
Remove e-contact-list-editor-marshal.list
* addressbook/gui/contact-list-editor/contact-list-editor.glade:
Fix some HIG issues and give all the widgets proper names.
* addressbook/gui/contact-list-editor/e-contact-list-model.c:
* addressbook/gui/contact-list-editor/e-contact-list-model.h:
EContactListModel is now a subclass of GtkListStore.
* addressbook/gui/contact-list-editor/e-contact-list.c:
* addressbook/gui/contact-list-editor/e-contact-list.h:
Use a GtkTreeView instead of an ETable for displaying members.
Refactor everything; see bug #489652 for more details.
svn path=/trunk/; revision=34610
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-23 Kjartan Maraas <kmaraas@gnome.org>
* gui/contact-editor/e-contact-editor-address.c:
* gui/contact-editor/e-contact-editor-fullname.c:
* gui/contact-editor/e-contact-editor-im.c:
* gui/contact-editor/e-contact-editor.c: (save_contact),
(app_delete_event_cb), (e_contact_editor_set_property),
(e_contact_editor_create_date):
* gui/contact-list-editor/e-contact-list-model.c:
(e_contact_list_model_new):
* gui/merging/eab-contact-merging.c: (mergeit), (response):
* gui/widgets/e-minicard.c: (e_minicard_event), (add_field),
(get_email_location), (add_email_field), (remodel),
(e_minicard_reflow), (e_minicard_compare):
* gui/widgets/eab-config.c: (eab_config_new):
* gui/widgets/eab-gui-util.c: (eab_load_error_dialog),
(file_exists), (save_it), (contact_added_cb),
(eab_send_to_contact_and_email_num_list):
* gui/widgets/eab-menu.c: (eab_menu_new):
* gui/widgets/eab-popup.c: (eab_popup_new):
* importers/evolution-csv-importer.c: (parseLine),
(getNextCSVEntry):
* printing/e-contact-print-style-editor.c:
* printing/test-contact-print-style-editor.c:
* printing/test-print.c:
* util/eab-book-util.c: (eab_get_config_database):
Warning fixes:
- mixing code and declarations
- NULL vs 0 vs FALSE/TRUE
- mark code static
- some coding style fixes
- if vs ifdef
- Remove some unused bits
- ANSIfication of declarations
svn path=/trunk/; revision=34421
|
|
|
|
|
|
|
|
|
|
| |
2005-05-16 Not Zed <NotZed@Ximian.com>
* moved e-error to e-util
* Makefile.am: renamed error xml file & u18n stuff.
svn path=/trunk/; revision=29361
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-09-24 Hao Sheng <hao.sheng@sun.com>
Fix for #66523
* gui/contact-list-editor/e-contact-list-model.c:
(e_contact_list_model_add_email): estimate the same mail address
and popup a warning dialog.
* addressbook-errors.xml: add the question message for the warning
dialog.
svn path=/trunk/; revision=27360
|
|
|
|
|
|
|
|
|
| |
2004-06-07 Jon Oberheide <jon@focalhost.com>
* gui/contact-list-editor/e-contact-list-model.c: disable editing
of cells in the contact table.
svn path=/trunk/; revision=26245
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-09 Chris Toshok <toshok@ximian.com>
* importers/evolution-ldif-importer.c (resolve_list_card): use the
new e_destination_export_to_vcard_attribute call to build up the
attributes.
* importers/evolution-vcard-importer.c (process_item_fn): if we're
importing a vcard that we wrote out previously containing xml in
the EMAIL attributes, DTRT and strip it out and use
e_destination_export_to_vcard_attribute to build up the proper
attribute.
* util/Makefile.am (libeabutil_la_SOURCES): remove
eab-destination.[ch] and add e-destination.[ch].
* printing/e-contact-print.c (e_contact_print_contact): we don't
have to worry about the "<?xml..." EMAIL fields anymore.
* gui/widgets/eab-gui-util.c (eab_send_contact_list): just use the
value as the address (since that's what it is) in the list case.
* gui/widgets/eab-contact-display.c (render_contact_list): remove
the EABDestination stuff from here.
(eab_contact_display_render_compact): same.
* gui/widgets/e-minicard.c (activiate_editor): fix warnings - use
EAB_EDITOR instead of G_OBJECT.
(add_field): we don't have to worry about the "<?xml..." EMAIL
fields anymore.
(remodel): same.
* gui/widgets/e-addressbook-treeview-adapter.c
(adapter_get_value): we don't have to worry about the "<?xml..."
EMAIL fields anymore.
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_value_at): we don't have to worry about the
"<?xml..." EMAIL fields anymore.
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_value_at): eab->e.
(contact_list_model_dispose): we're not a GtkObject, we're a
GObject. rename _destroy to _dispose, and chain up to the parent
class's ::dispose.
(e_contact_list_model_class_init): GtkObject -> GObject, and
destroy -> dispose.
(e_contact_list_model_init): GtkObject -> GObject, and EAB -> E.
(e_contact_list_model_add_destination): EAB -> E.
(e_contact_list_model_add_email): same.
(e_contact_list_model_add_contact): same.
(e_contact_list_model_get_destination): same.
* gui/contact-list-editor/e-contact-list-editor.c
(table_drag_data_received_cb): add email num arg to
e_contact_list_model_add_contact.
(extract_info): fill in the vcard attributes instead of just
generating xml.
(fill_in_info): extract the values from the vcard attributes.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): eab->e, and don't
sometimes copy, sometimes ::new. always ::new.
(e_select_names_text_model_delete): same.
(e_select_names_text_model_obj_count): same.
(nth_obj_index): same.
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): eab -> e.
* gui/component/select-names/e-select-names-popup.c
(make_contact_editor_cb): eab -> e.
(change_email_num_cb): same.
(toggle_html_mail_cb): same.
(populate_popup_contact): same, and remove code that checks for
<?xml, then imports the EDestination.
(quick_add_cb): eab -> e.
(populate_popup_nocontact): same.
(e_select_names_populate_popup): same.
* gui/component/select-names/e-select-names-model.h: eab -> e, and
remove prototypes for nuked functions.
* gui/component/select-names/e-select-names-model.c
(destination_changed_proxy, send_changed, connect_destination,
disconnect_destination): nuke.
(e_select_names_model_duplicate): EAB -> E.
(e_select_names_model_get_textification): same.
(e_select_names_model_get_address_text): same.
(e_select_names_model_get_destination): same.
(e_select_names_model_export_destinationv): same.
(send_changed): same.
(e_select_names_model_import_destinationv): same.
(e_select_names_model_get_contact): same.
(e_select_names_model_contains): same.
(e_select_names_model_insert): same, and remove call to
connect_destination.
(e_select_names_model_append): same.
(e_select_names_model_replace): same, and remove call to
disconnect/connect_destination.
(e_select_names_model_delete): same.
(delete_all_iter): nuke.
(e_select_names_model_delete_all): use g_object_unref for the
foreach call.
(e_select_names_model_merge): EAB -> E.
(e_select_names_model_name_pos): same.
(e_select_names_model_name_pos): same.
(e_select_names_model_load_all_contacts): nuke.
(e_select_names_model_cancel_all_contact_load): nuke.
* gui/component/select-names/e-select-names-manager.c
(clean_cb, focus_in_cb, focus_out_cb, completion_popup_cb): nuke.
(completion_handler): EAB -> E, and the signals are gone.
* gui/component/select-names/e-select-names-completion.c: in
general, s/eab_dest/e_dest and s/EABDest/EDest.
(e_select_names_completion_got_book_view_cb): move the
e_book_view_start to below the assignment of
sequence_complete_received, just to put my mind at ease.
(e_select_names_completion_stop_query): un-#if notyet the call to
e_book_cancel.
(e_select_names_completion_start_query): free the waiting_query
before assigning to it.
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): remove calls to
e_select_names_model_load_all_contacts, since that function is
dead.
* gui/component/addressbook-migrate.c (setup_progress_dialog):
take the label to display to the user as an arg.
(migrate_contact_lists_for_local_folders): loop over all contacts
in all local addressbooks looking for ones that have <?xml in
their EMAIL attributes. for the ones we find, call
e_destination_export_to_vcard_attribute to build up the proper
attribute.
(addressbook_migrate): add in a clause for all versions under
1.5.7 to convert contact lists. also, move the unrefs of the
sources/groups to outside the if, as they're created outside it.
* gui/component/Makefile.am (INCLUDES): remove the
addressbook/backend/ dirs, since libebook isn't there anymore
(nothing is, actually). Add addressbook/util/.
svn path=/trunk/; revision=25390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-13 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_is_cell_editable): Return TRUE for all cells, for now.
* gui/widgets/e-addressbook-table-adapter.c (card_modified_cb):
Renamed to contact_modified_cb ().
(addressbook_set_value_at): Port to use EContact instead of ECard.
(addressbook_is_cell_editable): Ditto.
(addressbook_append_row): Ditto.
* gui/widgets/e-minicard-label.c (e_minicard_label_set_property):
Make not editable, ever, and add a comment to this effect.
(e_minicard_label_realize): Ditto.
* gui/widgets/e-minicard.c (e_minicard_set_property): Ditto.
(add_field): Ditto.
svn path=/trunk/; revision=23348
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-12 Hans Petter Jansson <hpj@ximian.com>
* backend/ebook/e-destination.c (e_destination_dispose): Chain.
* gui/component/e-address-widget.c (e_address_widget_destroy): Chain.
Prevent double frees. Prevent double GSource removal.
* gui/component/e-cardlist-model.c (e_cardlist_model_class_init):
Store parent class.
(e_cardlist_model_dispose): Chain. Prevent double frees and unrefs.
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_dispose): Chain.
* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_dispose): Chain.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_dispose): Chain.
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_model_destroy): Chain. Prevent double frees and unrefs.
* gui/widgets/e-addressbook-reflow-adapter.c (addressbook_dispose):
Chain.
(addressbook_finalize): Chain.
* gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose):
Chain.
* gui/widgets/e-addressbook-treeview-adapter.c (addressbook_destroy):
Chain. Prevent double free.
* gui/widgets/gal-view-minicard.c (gal_view_minicard_dispose):
Chain. Prevent double free and detach.
* gui/widgts/gal-view-treeview.c (gal_view_treeview_dispose):
Chain. Prevent double free and detach.
* printins/e-contact-print-style-editor.c
(e_contact_print_stule_editor_destroy): Chain. Prevent double unref.
svn path=/trunk/; revision=22229
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ 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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/contact-list-editor/Makefile.am (INCLUDES): Remove cruft,
s/ICONSDIR/IMAGESDIR/
(gladedir, etspecdir): Remove definitions.
* gui/contact-list-editor/e-contact-list-editor.c: #include
<string.h>
(e_contact_list_editor_init): s/ICONSDIR/IMAGESDIR/
(e_contact_list_editor_new): s/gtk_object_ref/g_object_ref/
* gui/contact-list-editor/e-contact-list-model.c: #include <string.h>
svn path=/trunk/; revision=19782
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-26 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-quick-add.c: add include for
gtkstock.h.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_add_destination): add pre_change call.
(e_contact_list_model_remove_row): same.
(e_contact_list_model_remove_all): same.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_new): ref/sink the contact list editor so
we don't get the floating unref warning from gtk.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_new):
ref/sink the contact editor so we don't get the floating unref
warning from gtk.
(e_contact_editor_init): use g_build_filename instead of
g_concat_dir_and_file.
* gui/widgets/e-minicard-label.c
(e_minicard_label_resize_children): use MAX (value, 0) to make
sure we aren't passing negative values for clip-widths.
* gui/widgets/e-minicard.c (e_minicard_realize): use MAX (value,
0) to make sure we aren't passing negative values for widths.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
use g_build_filename.
svn path=/trunk/; revision=18946
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/contact-list-editor.glade: convert to glade-2
* gui/contact-list-editor/e-contact-list-editor.c: port work.
* gui/contact-list-editor/e-contact-list-model.[ch]: port work.
svn path=/trunk/; revision=18668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* gui/widgets/gal-view-minicard.[ch]: gobjectify this.
* gui/widgets/e-minicard.[ch]: gobjectify this.
(e_minicard_class_init): change the
min/max values of the width/height paramspecs so that they can
actually be set to something other than 0.0.
* gui/widgets/e-minicard-widget.[ch]: gobjectify this.
* gui/widgets/e-minicard-view.[ch]: gobjectify this.
(set_empty_message): don't need e_utf8_from_locale_string anymore.
* gui/widgets/e-minicard-view-widget.[ch]: gobjectify this.
* gui/widgets/e-minicard-label.[ch]: gobjectify this.
* gui/widgets/e-addressbook-view.[ch]: gobjectify this.
* gui/widgets/e-addressbook-table-adapter.[ch]: gobjectify this.
* gui/widgets/e-addressbook-reflow-adapter.[ch]: gobjectify this.
* gui/widgets/e-addressbook-model.[ch]: gobjectify this.
* gui/widgets/e-minicard-control.c (e_minicard_control_factory):
fix bonobo_persist_stream_new api change.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_add_destination): get rid of the
gtk_object_sink here.
* gui/component/ldap-config.glade: glade-2 version of this file.
* gui/component/e-address-popup.c (e_address_popup_refresh_names):
don't need e_utf8_to_gtk_string anymore.
* gui/component/addressbook.c (make_suboptions): don't need
e_utf8_to_locale_string anymore.
* gui/component/addressbook-config.c
(addressbook_dialog_get_source): get rid of the e_utf8 gtk_entry
functions.
(addressbook_source_dialog_set_source): same.
(general_tab_check): same.
(port_changed_func): same.
(connecting_tab_check): same.
(query_for_supported_bases): same.
(display_name_check): same.
(display_name_page_prepare): same.
(edit_source_clicked): same.
(addressbook_config_create_new_source): same.
svn path=/trunk/; revision=18626
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/.cvsignore: ignore the marshal generated
stuff.
* gui/contact-list-editor/Makefile.am: typical port stuff. add
marshaller generation foo, dist it...
* gui/contact-list-editor/e-contact-list-editor.[ch]: Port to
GObject/gnome2.
* gui/contact-list-editor/e-contact-list-model.[ch]: Port to
GObject/gnome2.
svn path=/trunk/; revision=18590
|
|
|
|
|
|
|
|
|
|
| |
2001-07-24 Jon Trowbridge <trow@ximian.com>
* gui/contact-list-editor/e-contact-list-model.c: Added checks
for all of the args of the exposed functions, so that
we won't crash on bad inputs. (Related to bug #4856.)
svn path=/trunk/; revision=11394
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-24 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (remodel): need the EDestination magic
here too for when we modify an already shown card.
* gui/contact-list-editor/e-contact-list-model.c: make
parent_class static, just to be anal.
* gui/contact-list-editor/e-contact-list-editor.c
(remove_entry_cb): removing entries changes the list, so flag it.
(table_drag_data_received_cb): restrict cards we add to lists to
be non-list cards.
(extract_info): clear out the email list in the card before we
repopulate it from the contact list model.
(fill_in_info): set the checkbox to active/inactive based on
thecard.
svn path=/trunk/; revision=11356
|
|
|
|
| |
svn path=/trunk/; revision=10883
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-01 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info):
use ECARD_UID_LINK_PREFIX.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_get_email): use ECARD_UID_LINK_PREFIX.
* backend/ebook/e-destination.h: add prototype for
e_destination_importv_list.
* backend/ebook/e-destination.c (e_destination_importv_list): new
function, take an ECard corresponding to an address list and
resolve any linked cards, returning an EDestination vector.
* backend/ebook/e-card.h (ECARD_UID_LINK_PREFIX): #define this here,
since we need to use it in a few places.
svn path=/trunk/; revision=10667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-27 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_row_count): track storage change - we're only using
1 array now.
(contact_list_value_at): same.
(contact_list_model_destroy): same.
(e_contact_list_model_init): same.
(e_contact_list_model_add_email): same.
(e_contact_list_model_add_card): same.
(e_contact_list_model_remove_row): same.
(e_contact_list_model_remove_all): new function - just free/unref
all existing rows.
(e_contact_list_model_get_email): new function, returns the
alloc'ed string containing either an email address or an encoded
ECardId.
* gui/contact-list-editor/e-contact-list-model.h: remove the 2
separate arrays for email and cards, and store them in the same
array.
* gui/contact-list-editor/e-contact-list-editor.h (struct
_EContactListEditor): add the visible_addr_checkbutton widget.
* gui/contact-list-editor/e-contact-list-editor.c
(visible_addrs_toggled_cb): new function.
(e_contact_list_editor_init): connect to "toggled" on
visible_addrs_checkbutton.
(file_save_cb): new function.
(tb_save_and_close_cb): new function.
(verbs): add Save and Save & Close.
(list_added_cb): new function.
(list_modified_cb): new function.
(save_card): new function - we do *not* use e_card_merging_* calls
here.
(e_contact_list_editor_get_arg): un-#if 0 code in the "card"
getter.
(e_contact_list_editor_set_arg): same for the "card" setter.
(extract_info): new function.
(fill_in_info): new function.
* gui/contact-list-editor/contact-list-editor.glade: add a
checkbutton at the bottom to determine whether to visibly include
mail addresses in mail sent to this list.
svn path=/trunk/; revision=10542
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-25 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/contact-list-editor.glade: change layout
slightly, the icon no longer pushes everything to the left, and
make the buttons on the right smaller and more in line with the
other widgets.
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_value_at): return the SimpleAndString->string
instead of querying the ecardsimple.
(e_contact_list_model_init): initially allocate 10 of each type
(email and simple).
(e_contact_list_model_add_email): realloc if need be.
(e_contact_list_model_add_card): same, and initialize the string
displayed to be "[Name] [<email>]".
(e_contact_list_model_remove_row): change for SimpleAndString.
(contact_list_model_destroy): free our 2 arrays.
* gui/contact-list-editor/e-contact-list-model.h: add alloc counts
and the SimpleAndString struct.
* gui/contact-list-editor/e-contact-list-editor.c: Helix Code =>
Ximian.
(e_contact_list_editor_init): hook up d&d destination signals, and
un-#if 0 the delete_event signal.
(table_drag_motion_cb): new function.
(table_drag_drop_cb): new function.
(table_drag_data_received_cb): new function.
(file_close_cb): new function.
(verbs) uncomment the close verb.
(close_dialog): new function.
(app_delete_event_cb): new function.
* gui/contact-list-editor/e-contact-list-editor.h: Helix Code =>
Ximian.
svn path=/trunk/; revision=10494
|
|
2001-06-24 Chris Toshok <toshok@ximian.com>
* gui/widgets/Makefile.am (minicard_test_LDADD): correct path to
libecontacteditor.a.
(minicard_widget_test_LDADD): same.
(INCLUDES): same, for the includes.
* gui/widgets/e-minicard.h: correct e-contact-editor.h path.
* gui/widgets/e-addressbook-util.h: correct path to
e-contact-editor.h, and add e-contact-list-editor.h. Add
prototype for e_addressbook_show_contact_list_editor.
* gui/widgets/e-addressbook-util.c: remove #include
"e-contact-editor.h" (our header includes it.)
(added_cb): rename card_added_cb to this, and make it so it can be
reused in both the list and card cases. remove the g_print too.
(modified_cb): same for modified case.
(deleted_cb): same for deleted case.
(editor_closed_cb): change first arg to GtkObject* so we can reuse
this for both list and card.
(e_addressbook_show_contact_editor): use added_cb, modified_cb,
deleted_cb, and pass FALSE as user_data.
(e_addressbook_show_contact_list_editor): new function, same as
above but creating a contact-list-editor, and pass TRUE as
user_data.
* gui/component/e-address-popup.c: correct path to contact-editor.
* gui/component/e-address-widget.c: same.
* gui/component/select-names/e-select-names-popup.c: same.
* gui/component/select-names/e-select-names-text-model.c: same.
* gui/component/addressbook.c (new_contact_list_cb): new function.
(update_command_state): update ContactNewList command.
(verbs): remove ViewAll from the toolbar from the verb list. Add
ContactNewList.
(pixmaps): same for pixmaps.
* gui/component/Makefile.am (evolution_addressbook_LDADD): new
path for contact-editor.
(INCLUDES): same.
* gui/contact-list-editor/e-contact-list-model.h:
* gui/contact-list-editor/e-contact-list-model.c:
* gui/contact-list-editor/e-contact-list-editor.h:
* gui/contact-list-editor/e-contact-list-editor.c:
* gui/contact-list-editor/Makefile.am: Initial contact-list editor
commit.
* gui/Makefile.am (SUBDIRS): add contact-editor.
* Makefile.am: (SUBDIRS): remove contact-editor.
svn path=/trunk/; revision=10463
|