aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-view.c
Commit message (Collapse)AuthorAgeFilesLines
* [Addressbook] Show editor errors above editor windowMilan Crha2013-08-071-1/+1
| | | | | | | | | An address book editor error was shown about active EShell's window, which means switching to other application and back made the editor in the background, but, more importantly, the editor could be selected and the error was in the background, thus it seemed like being stuck, it didn't respond to any button click, until the error was dismissed.
* Remove GalViewFactoryMinicard.Matthew Barnes2013-07-061-1/+0
| | | | No longer used.
* EShellView: Add a "view-instance" property.Matthew Barnes2013-07-061-3/+8
| | | | | | | | | | | | | | EShellView now holds a reference to the active GalViewInstance. Where applicable, the EShellView subclass is responsible for keeping this up to date when the sidebar selection changes. Holding a reference allows EShellView to implement common actions like "Save Current View" directly instead pushing it on to subclasses. New functions: e_shell_view_get_view_instance e_shell_view_set_view_instance
* ETableSpecification: Implement GInitable.Matthew Barnes2013-07-021-5/+11
| | | | | | | | | | | | | | | | e_table_specification_new() now takes a table specification filename and a GError and parses the file as part of instance creation. If a file or parse error occurs, e_table_specification_new() returns NULL. This replaces e_table_specification_load_from_file(). New functions: e_table_specification_get_filename() Removed functions: e_table_specification_load_from_file()
* Remove e_table_new_from_spec_file().Matthew Barnes2013-07-021-1/+7
| | | | | | Also remove e_table_construct_from_spec_file(). Use e_table_new() or e_table_construct() instead.
* e_table_new_from_spec_file: Remove unused "state_fn" parameter.Matthew Barnes2013-07-021-2/+1
|
* EAddressbookModel: Replace "registry" property with "client-cache".Matthew Barnes2013-02-251-9/+27
| | | | | | | | | Registry can still be accessed through e_client_cache_ref_registry(), but we'll want to utilize the client cache as well. e_addressbook_model_new() now takes an EClientCache instead of an ESourceRegistry, and e_addressbook_model_get_registry() is replaced by e_addressbook_model_get_client_cache().
* Defer "backend-died" alerts to EShell.Matthew Barnes2013-02-171-26/+0
|
* Avoid deprecated libedataserver APIs.Matthew Barnes2013-01-151-7/+9
| | | | I forgot to include this in 3.7.4, but no matter.
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-20/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Address couple issues found by a Coverity scanMilan Crha2012-11-301-1/+1
|
* Avoid using GdkEventButton directly in certain places.Matthew Barnes2012-11-301-2/+4
| | | | | | | | | | | | Prefer dealing with GdkEvent pointers and using accessor functions like gdk_event_get_button(). This is complicated by the fact that some GtkWidget method declarations still use GdkEventButton pointers, and synthesizing button events pretty much requires direct GdkEventButton access. But GDK seems to be nudging itself toward sealing the GdkEvent union. Likely to happen in GDK4. Mainly clean up signal handlers and leave method overrides alone for now.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-7/+8
|
* Reduce usage of g_type_class_peek_parent().Matthew Barnes2012-06-251-4/+2
| | | | G_DEFINE_TYPE macros define a static "parent_class" variable.
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-2/+0
|
* Adapt addressbook/gui/widgets to the new ESource API.Matthew Barnes2012-06-031-11/+28
|
* Adapt to libedataserver[ui] changes.Matthew Barnes2012-04-221-1/+1
|
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-45/+25
|
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-4/+5
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-9/+17
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-14/+36
|
* Check for cancelled GIO operation error code tooMilan Crha2011-06-281-1/+2
|
* Do not use deprecated EBook/ECal APIMilan Crha2011-06-141-108/+152
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+2
|
* Coding style cleanups.Matthew Barnes2011-05-091-2/+2
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-081-1/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-6/+2
|
* Remove NULL checks for GObject methods.Matthew Barnes2011-02-131-2/+2
| | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* Coding style and whitespace cleanup.Matthew Barnes2011-01-301-8/+9
|
* Show common addressbook and calendar errors in an alert sinkMilan Crha2010-12-151-13/+15
|
* Free/busy meeting view doesn't work due to non-working extensionMilan Crha2010-12-061-0/+3
|
* Localize few strings with ngettextMilan Crha2010-12-021-3/+7
| | | | Per request of bug #635414
* Bug #632671 - "Search interrupted" status message foreverMilan Crha2010-11-091-1/+1
|
* Simplify EActivity.Matthew Barnes2010-10-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-1/+0
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Bug #631320 - GtkObject is gone in GTK3Milan Crha2010-10-071-2/+2
|
* Add a GCancellable to EActivity.Matthew Barnes2010-09-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EActivity now uses a GCancellable to manage cancellations, instead of having its own redundant cancellation API. API changes are as follows: + e_activity_get_cancellable() + e_activity_set_cancellable() - e_activity_cancel() - e_activity_is_cancelled() - e_activity_get_allow_cancel() - e_activity_set_allow_cancel() EActivity's "cancelled" signal remains, but only as a repeater for GCancellable::cancelled signals. It should not be emitted directly. The presence of a GCancellable implies that cancellation is allowed. EActivity does not create its own default GCancellable, it has to be given one. If a CamelOperation (cast as a GCancellable) is given, EActivity will configure itself to listen for status updates from the CamelOperation and propagate the information to its own "primary-text" and "percent" properties. These changes allowed me to start cleaning up some of the incredibly convoluted logic in mail-mt.c -- in particular, mail_operation_status() is completely gone now. mail-mt.c is still in a transitional state -- much more significant changes coming soon.
* Coding style cleanups.Matthew Barnes2010-09-131-12/+12
|
* addressbook: Port to use new _async suffix instead of _ex suffixRob Bradford2010-08-021-8/+8
|
* Bug 625624 - Customizations of contacts views forgottenMatthew Barnes2010-07-301-1/+5
| | | | Found similar bugs in EShellMemoContent and EShellTaskContent.
* Coding style and whitespace cleanup.Matthew Barnes2010-07-121-7/+11
|
* Bug #623204 - Be able to report detailed errors from backendsMilan Crha2010-07-091-14/+15
|
* Coding style and whitespace cleanup.Matthew Barnes2010-05-271-1/+3
|
* Bug #603006 - Move All Contacts To enabled for read-only address booksMilan Crha2010-05-131-2/+9
|
* Bug #545462 - Printing of contacts is weird.Vibha Yadav2010-05-071-2/+4
| | | | Lot of improvements in contact printing. A few more to follow suit.
* Bug #609052 - Crash printing contacts in List ViewBharath Acharya2010-04-291-1/+0
| | | | The returned widget does not have a reference added, so you do not need to unref it.
* Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-4/+6
|
* Bug #325121 - Do not translate developer strings in g_param_spec_*Milan Crha2010-04-021-3/+3
|
* Bug 607542 - Sometimes delete in pop up doesn't get displayedMatthew Barnes2010-01-211-0/+6
|
* Improve clipboard behavior.Matthew Barnes2010-01-181-8/+82
| | | | | | | | | | | | | | | | | | | | | Add "copy-target-list" and "paste-target-list" to the ESelectable interface. These are underutilized for the moment, but will eventually be used to help integrate drag-and-drop support into ESelectable. Add cut and paste support to EWebView, along with a new "editable" property and new clipboard signals "copy-clipboard", "cut-clipboard" and "paste-clipboard". In EFocusTracker, listen for "owner-changed" signals from the default clipboard as another trigger to update actions, particularly the Paste action. (Unfortunately this doesn't work for EWebView since GtkHtml implements its own clipboard.) In EMsgComposer, convert GtkhtmlEditor's clipboard methods to empty stubs, since EFocusTracker will now trigger EWebView's clipboard actions. Also, intercept EWebView::paste-clipboard signals and improve the interaction between the HTML editor and the attachment bar based on use cases in bug #603715.
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-10/+0
|
* Cleanup delete actions in shell views.Matthew Barnes2010-01-111-0/+17
|
* Kill e_popup_menu().Matthew Barnes2010-01-051-1/+0
| | | | | The function is trivial and was only used from ETableHeaderItem. This also eliminates widgets/misc/e-gui-utils.[ch].
* Coding style and whitespace cleanup.Matthew Barnes2010-01-041-15/+37
|
* Introduce ESelectable and EFocusTracker.Matthew Barnes2009-12-261-76/+154
| | | | | | | | | | | | | | | | | | EFocusTracker tracks the input focus within a window and helps keep the sensitivity of "selectable" actions in the main menu up-to-date. Selectable actions include Cut, Copy, Paste, Select All and Delete. EFocusTracker has built-in support for widgets that implement the GtkEditable interface such as GtkEntry and GtkTextView. It also supports custom widgets that implement the ESelectable interface, which is a subset of GtkEditable and can apply to anything that displays selectable content (esp. tree views and ETables). This commit integrates EFocusTracker with EShellWindow, CompEditor, EMsgComposer, and ESignatureManager. It also bumps the GtkHTML requirement to 2.29.5 to utilize the new GtkhtmlEditor:html constructor property.
* Bug #602998 - Contacts searches are supposed to be per address bookMilan Crha2009-12-111-0/+61
|
* Kill ETableScrolled.Matthew Barnes2009-12-081-77/+53
| | | | | ETableScrolled is nothing but a GtkScrolledWindow containing an ETable. It adds nothing of value and actually makes customizing ETable harder.
* Port all error code to use GObject-ified EAlert / EAlertDialogJonathon Jongsma2009-12-081-1/+1
| | | | | | 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.
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-4/+4
| | | | | | | | | | 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
* port addressbook/ to use new EError APIJonathon Jongsma2009-12-011-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Bug 601769 - Print issues in address bookMatthew Barnes2009-11-141-6/+14
|
* Simplify clipboard handling in addressbook.Matthew Barnes2009-11-121-112/+40
|
* Convert some "Save As" actions to run asynchronously.Matthew Barnes2009-11-081-27/+0
| | | | | | | | | | This introduces e-shell-utils for miscellaneous utility functions that integrate with the shell or shell settings. First function is e_shell_run_save_dialog(), which automatically remembers the selected folder in the file chooser dialog. Also, kill some redundant save dialog functions, as well as some write-this-string-to-disk functions that block.
* Cleanup and rename filter classes.Matthew Barnes2009-10-271-1/+1
|
* Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent'Milan Crha2009-10-131-1/+1
|
* Bug #205137 - Configurable date formats in componentsMilan Crha2009-08-121-1/+10
|
* More whitespace cleanup.Matthew Barnes2009-07-191-2/+2
|
* Radically reorganize source code.Matthew Barnes2009-06-251-1/+1
| | | | | | | | | | | | | | | | | | | - Collect all shell modules into a new top-level 'modules' directory: $(top_srcdir)/modules/addressbook $(top_srcdir)/modules/calendar $(top_srcdir)/modules/mail Nothing is allowed to link to these, not plugins nor other modules. THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X. - Mimic the libevolution-mail-shared library from master (except drop the "shared" suffix) and have libevolution-mail-importers and all mail-related plugins link to it. - Discard the a11y subdirectories and have the files live alongside their counterpart widgets.
* Fix "make distcheck" errors.Matthew Barnes2009-06-201-1/+1
|
* Whitespace cleanup.Matthew Barnes2009-05-291-5/+5
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-2/+2
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * Remove trailing whitespace, again.Matthew Barnes2009-05-271-1/+1
| |
| * Fix compiler warnings in addressbook.Matthew Barnes2009-05-261-25/+25
| |
| * Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-2/+2
| |
| * Bug 577929 – Consolidate marshallersMatthew Barnes2009-04-231-1/+0
| | | | | | | | | | | | Consolidate all marshalling specifications to e-util/e-marshal.list. This reduces code duplication and makes it slightly easier to locate unused marshallers.
| * ** Fix for bug #404232Milan Crha2009-02-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-12 Milan Crha <mcrha@redhat.com> ** Fix for bug #404232 * addressbook/gui/widgets/e-addressbook-view.c: (search_activated): Rebuild view immediately for an advanced search too. * widgets/misc/e-filter-bar.c: (rule_advanced_response): Emit signal after search bar text is set, thus the text will not be empty, which is considered as "no search" these days. svn path=/trunk/; revision=37253
| * Remove unneeded #include <libgnome/gnome-util.h>.Matthew Barnes2009-01-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-10 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/contact-editor/e-contact-editor-address.c: * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/printing/e-contact-print.c: * calendar/gui/calendar-commands.c: * calendar/gui/e-cal-list-view.c: * calendar/gui/e-day-view.c: * calendar/gui/e-itip-control.c: * calendar/gui/e-meeting-list-view.c: * calendar/gui/e-meeting-store.c: * calendar/gui/e-week-view.c: * calendar/gui/gnome-cal.c: * calendar/gui/memos-control.c: * calendar/gui/tasks-control.c: * e-util/e-dialog-utils.c: * mail/em-folder-view.c: * mail/importers/mail-importer.c: * shell/e-shell.c: * shell/evolution-shell-component-utils.c: * shell/importer/intelligent.c: * shell/main.c: * widgets/menus/gal-view-collection.c: * widgets/menus/gal-view-instance.c: Remove unneeded #include <libgnome/gnome-util.h>. svn path=/trunk/; revision=37036
| * ** Fixes bug #567276Matthew Barnes2009-01-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-10 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #567276 * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/printing/test-print.c: * calendar/gui/calendar-commands.c: * calendar/gui/control-factory.c: * calendar/gui/e-itip-control.c: * calendar/gui/gnome-cal.c: * calendar/gui/goto.c: * calendar/gui/memos-control.c: * calendar/gui/print.c: * calendar/gui/tasks-control.c: * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/schedule-page.c: * widgets/menus/gal-view-menus.c: Remove unneeded #include <libgnomeui/gnome-dialog-util.h>. * calendar/gui/calendar-config.c: * calendar/gui/calendar-config.h: Removed unused function calendar_config_check_timezone_set(). * widgets/misc/test-color.c: We don't ship this. Remove it. svn path=/trunk/; revision=37030
| * ** Fix for bug #263268Milan Crha2008-12-041-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | 2008-12-04 Milan Crha <mcrha@redhat.com> ** Fix for bug #263268 * gui/widgets/e-addressbook-view.c: (search_activated), (make_suboptions): Be able to search for contacts without category. svn path=/trunk/; revision=36830
| * ** Fixes bug #555494Matthew Barnes2008-10-091-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #555494 * addressbook/gui/widgets/e-addressbook-view.c (generate_viewoption_menu): * calendar/gui/cal-search-bar.c (generate_viewoption_menu): Category icons are not themed. Load by file, not by icon name. svn path=/trunk/; revision=36581
| * Change License from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-241-14/+15
| | | | | | | | svn path=/trunk/; revision=36443
| * Milan Crha <mcrha@redhat.com> ** Part of fix for bug #548827 (Check bounds ↵Suman Manjunath2008-09-011-1/+1
| | | | | | | | | | | | of the string array before accessing elements, show more detailed error message if available). svn path=/trunk/; revision=36237
| * ** Fixes bug #546892Matthew Barnes2008-08-121-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #546892 * e-util/e-icon-factory.c (e_icon_factory_get_image): Kill this function. Use gtk_image_new_from_icon_name(). * e-util/e-icon-factory.c (e_icon_factory_get_icon_list): Kill this function. Use gtk_window_set_icon_name(). * widgets/misc/e-activity-handler.c: * widgets/misc/e-task-widget.c: Purge the GdkPixbuf arguments from the API. We've been ignoring them since the spinner icon was added. * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * calendar/gui/alarm-notify/alarm-notify-dialog.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/alarm-list-dialog.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/select-source-dialog.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: * widgets/misc/e-combo-button.c: * widgets/misc/e-info-label.c: * widgets/misc/e-url-entry.c: * widgets/misc/e-task-widget.c: Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). * addressbook/gui/contact-editor/e-contact-editor-im.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/e-timezone-entry.c: * e-util/e-gui-utils.c: * e-util/e-popup.c: * plugins/import-ics-attachments/icsimporter.c: * plugins/itip-formatter/itip-view.c: * mail/em-folder-browser.c: * mail/em-format-html-display.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). * calendar/gui/alarm-notify/alarm-queue.c: * plugins/mail-notification/mail-notification.c: Prefer gtk_status_icon_set_from_icon_name() over gtk_status_icon_set_from_pixbuf(). * addressbook/gui/component/addressbook-view.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-memo-table.c: * mail/mail-mt.c: e_activity_handler_operation_started() no longer takes a GdkPixbuf. It was ignoring the pixbuf anyway ever since we added a spinner icon. svn path=/trunk/; revision=35958
* | Use -no-undefined on Linux tooMilan Crha2009-05-201-1/+1
| | | | | | | | | | There still left two things opened, search for KILL-BONOBO to find them. One is in calendar's Makefile.am, one in composer.
* | Adapt addressbook to EShellBackend changes.Matthew Barnes2009-05-071-3/+3
| | | | | | | | Builds, but not tested. Use as a reference for other backends.
* | Implement bug #263268 - Contact categories need to be able to be filtered byMatthew Barnes2008-12-041-3/+4
| | | | | | | | | | | | "not categorized". Also fix a crasher. svn path=/branches/kill-bonobo/; revision=36831
* | Progress update:Matthew Barnes2008-11-191-23/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Tighter integration of GalViewInstance and EShellView. - EBinding. Stolen from ExoBinding. Lets you bind GObject properties together to automatically keep their values in sync. This is a godsend. Added to e-util, but might even deserve a place in libedataserver. - EShellSettings. This is the concept I blogged about. Already started ripping apart em-mailer-prefs.c. Others to follow. Any place where we're monitoring GConf keys is a target. - Incremental progress on the calender and mailer. Got EMFolderView somewhat working, but I think I'll be killing off EMFolderBrowser. svn path=/branches/kill-bonobo/; revision=36795
* | Rearranged some of the addressbook code to try and eliminate some circularMatthew Barnes2008-11-141-81/+184
| | | | | | | | | | | | | | | | dependencies in our libraries. The circular dependency between the composer and the mail module is still causing me headaches. And it doesn't help that the addressbook and calendar also want to link to the composer. svn path=/branches/kill-bonobo/; revision=36782
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-14/+15
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Add more EShell API documentation.Matthew Barnes2008-10-021-1/+3
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36533
* | Tasks and memos progress. Hoping to merge ECalendarTable and EMemoTable,Matthew Barnes2008-09-261-3/+3
| | | | | | | | | | | | | | or at least make EMemoTable derived from ECalendarTable. Possibly do the same with other calendar/memo class pairs. svn path=/branches/kill-bonobo/; revision=36454
* | Saving progress. Experimenting with directory layout.Matthew Barnes2008-09-251-0/+3
| | | | | | | | | | | | | | Saving progress. Experimenting with directory layout. svn path=/branches/kill-bonobo/; revision=36446
* | Replace EActivityHandler with a new activity-tracking system that usesMatthew Barnes2008-09-201-21/+30
| | | | | | | | | | | | | | | | | | EActivity objects instead of numeric handler IDs. Create an EActivity, configure it, and (optionally) connect to its "cancelled" and "completed" signals. Then hand it to the shell view via e_shell_view_add_activity(). When finished with the activity, call e_activity_finish() and unref it. svn path=/branches/kill-bonobo/; revision=36391
* | Finally got the "Current View" menu under control.Matthew Barnes2008-09-191-283/+277
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36380
* | Progress update:Matthew Barnes2008-09-181-2/+0
| | | | | | | | | | | | | | | | | | - Kill EABMenu. - Centralize marshallers to eliminate duplication. svn path=/branches/kill-bonobo/; revision=36368
* | Progress update:Matthew Barnes2008-09-181-120/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Get context menus working in the contact preview pane. - Kill EABPopup. - Yet more code refactoring. - Add a handy utility function: e_shell_window_show_popup_menu() Takes a widget path in the shell window's UI definition. svn path=/branches/kill-bonobo/; revision=36366
* | Massive address book refactoring. Things are mostly working again.Matthew Barnes2008-09-171-997/+670
| | | | | | | | | | | | Also, begin documenting the new shell API, and provide a Gtk-Doc framework. svn path=/branches/kill-bonobo/; revision=36359
* | Merge revisions 36016:36303 from trunk.Matthew Barnes2008-09-111-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36307
* | Progress update:Matthew Barnes2008-09-071-399/+0
| | | | | | | | | | | | | | | | | | - Contacts module mostly working now. - View and search UI not yet working. - Still refining shell design. svn path=/branches/kill-bonobo/; revision=36268
* | Saving progress. Lots of changes. Things are a bit broken at the moment.Matthew Barnes2008-09-051-103/+11
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36260
* | Merge revisions 35951:35992 from trunk.Matthew Barnes2008-08-151-3/+10
|/ | | | svn path=/branches/kill-bonobo/; revision=35994
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Part of fix for bug #304029Milan Crha2008-06-131-1/+1
| | | | | | | | | | | | | | | | 2008-06-13 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #304029 * gui/widgets/addresstypes.xml: changed description of default search filter from "Name begins with" to "Name contains" * gui/widgets/e-addressbook-view.c: (search_activated): same in a filter search query itself Note: Be sure you've proper eds version. svn path=/trunk/; revision=35635
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-3/+0
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* ** Fixes bug #534360Matthew Barnes2008-05-231-10/+7
| | | | | | | | | | | | 2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #534360 Migrate from deprecated GtkObject symbols to GObject equivalents. Touches over 150 files in all components; too many to list. svn path=/trunk/; revision=35526
* ** Fix for bug #316390Milan Crha2008-04-301-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-30 Milan Crha <mcrha@redhat.com> ** Fix for bug #316390 * addressbook/gui/widgets/e-addressbook-view.c: (categories_changed_cb), (get_master_list), (eab_view_dispose), (eab_view_new), (search_activated), (make_suboptions): Listen for changes in categories setup and propagate them to UI. * calendar/gui/e-memos.c: (struct _EMemosPrivate), (categories_changed_cb), (setup_widgets), (e_memos_init), (e_memos_destroy): * calendar/gui/gnome-cal.c: (struct _GnomeCalendarPrivate), (setup_widgets), (categories_changed_cb), (gnome_calendar_init), (gnome_calendar_destroy): * calendar/gui/e-tasks.c: (struct _ETasksPrivate), (categories_changed_cb), (setup_widgets), (e_tasks_init), (e_tasks_destroy): Listen for changes in categories setup and propagate them to UI. Note: be sure you've eds revision 8718 or better svn path=/trunk/; revision=35458
* Patch from Milan Crha <mcrha@redhat.com> ** Fix for bug #512020 (Use only ↵Suman Manjunath2008-01-281-2/+13
| | | | | | searchable categories, like in calendar) svn path=/trunk/; revision=34909
* Corrected misspelled instances of vCard in:Suman Manjunath2007-12-061-3/+3
| | | | | | | | | | M addressbook/gui/component/addressbook-view.c M addressbook/gui/widgets/eab-vcard-control.c M addressbook/gui/widgets/eab-gui-util.c M addressbook/gui/widgets/e-addressbook-view.c M addressbook/importers/evolution-vcard-importer.c svn path=/trunk/; revision=34657
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-50/+50
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #484064Michael Monreal2007-10-311-3/+3
| | | | | | | | | | | | | 2007-10-31 Michael Monreal <mmonreal@svn.gnome.org> ** Fix for bug #484064 * gui/component/addressbook-view.c: * gui/widgets/e-addressbook-view.c: Use mail-message-new instead of mail-send for composing mail to contact, contacts or group. svn path=/trunk/; revision=34464
* ** Fixes bug #489661Matthew Barnes2007-10-251-125/+0
| | | | | | | | | | | | | | | | | | | | | | 2007-10-25 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #489661 * addressbook/gui/widgets/gal-view-treeview.c: * addressbook/gui/widgets/gal-view-treeview.h: * addressbook/gui/widgets/gal-view-factory-treeview.c: * addressbook/gui/widgets/gal-view-factory-treeview.h: * addressbook/gui/widgets/e-addressbook-treeview-adapter.c: * addressbook/gui/widgets/e-addressbook-treeview-adapter.h: Remove these dead files from SCM. * addressbook/gui/widgets/e-addressbook-view.h: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/Makefile.am: Remove dead WITH_ADDRESSBOOK_VIEW_TREEVIEW code. svn path=/trunk/; revision=34424
* Fix for bug #461195 from Hiroyuki Ikezoe.Matthew Barnes2007-09-281-4/+4
| | | | | | | Use GObject's marshalers whenever possible. svn path=/trunk/; revision=34324
* ** Fixes bug #477045Matthew Barnes2007-09-281-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #477045 * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * calendar/gui/calendar-commands.c: * calendar/gui/calendar-component.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-editor.c: * calendar/gui/dialogs/task-editor.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-day-view.c: * calendar/gui/e-memo-table.c: * calendar/gui/e-week-view.c: * calendar/gui/memos-component.c: * calendar/gui/memos-control.c: * calendar/gui/tasks-component.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * composer/e-msg-composer.c: * mail/em-folder-tree.c: * mail/em-folder-view.c: * mail/em-popup.c: * mail/mail-component.c: * mail/mail-mt.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/exchange-folder-permission.c: * plugins/exchange-folder.c: * plugins/groupwise-features/share-folder-common.c: * shell/e-shell-window-commands.c: * ui/evolution-addressbook.xml: * ui/evolution-calendar.xml: * ui/evolution-composer-entries.xml: * ui/evolution-editor.xml: * ui/evolution-event-editor.xml: * ui/evolution-mail-list.xml: * ui/evolution-mail-message.xml: * ui/evolution-memos.xml: * ui/evolution-message-composer.xml: * ui/evolution-subscribe.xml: * ui/evolution-task-editor.xml: * ui/evolution-tasks.xml: * ui/evolution.xml: Use standard icon names where applicable. svn path=/trunk/; revision=34322
* ** Fix for bug #471791 (Move away from assert to g_ret)Srinivasa Ragavan2007-09-031-2/+2
| | | | svn path=/trunk/; revision=34157
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Fix for bug #353752Srinivasa Ragavan2007-07-091-1/+3
| | | | svn path=/trunk/; revision=33777
* ** Fix for bug #337787Hiroyuki Ikezoe2007-07-061-2/+27
| | | | | | | | | * gui/widgets/e-address-view.c: (contact_display_has_selection), (eab_view_copy): Copy selection string in contact preview if the preview widget has selection string. svn path=/trunk/; revision=33761
* Fix for bug #448223 from Gilles DartiguelongueSrinivasa Ragavan2007-06-181-27/+2
| | | | svn path=/trunk/; revision=33700
* Fix compiler warnings in addressbook folder. (#440272)Matthew Barnes2007-06-031-8/+8
| | | | svn path=/trunk/; revision=33630
* Don't include e-contact-print-envelope.h.Matthew Barnes2007-04-241-1/+0
| | | | | | | | | | | | 2007-04-23 Matthew Barnes <mbarnes@redhat.com> * gui/contact-editor/e-contact-editor.c: * gui/widgets/e-addresbook-reflow-adapter.c: * gui/widgets/e-addresbook-view.c: Don't include e-contact-print-envelope.h. svn path=/trunk/; revision=33449
* Clean up printing in Evolution (bug #426816)Matthew Barnes2007-04-201-172/+64
| | | | svn path=/trunk/; revision=33440
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-12/+18
| | | | svn path=/trunk/; revision=33432
* Don't mix declarations and code (#405495).Matthew Barnes2007-03-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-27 Matthew Barnes <mbarnes@redhat.com> * a11y/e-table/gal-a11y-e-cell-text.c: * a11y/e-table/gal-a11y-e-cell-vbox.c: * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/contact-editor/e-contact-quick-add.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * addressbook/gui/widgets/gal-view-minicard.c: * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-meeting-list-view.c: * calendar/gui/e-tasks.c: * calendar/gui/gnome-cal.c: * composer/e-msg-composer.c: * mail/em-folder-browser.c: * mail/em-format.c: * mail/em-popup.c: * plugins/exchange-operations/exchange-account-setup.c: * plugins/exchange-operations/exchange-calendar.c: * plugins/exchange-operations/exchange-config-listener.c: * plugins/exchange-operations/exchange-contacts.c: * plugins/import-ics-attachments/icsimporter.c: * widgets/misc/e-filter-bar.c: * widgets/misc/e-multi-config-dialog.c: * widgets/table/e-cell-checkbox.c: * widgets/table/e-table-header-item.c: Don't mix declarations and code (#405495). svn path=/trunk/; revision=33324
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* ** Fixes bug #360240Matthew Barnes2007-03-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-16 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #360240 * addressbook/gui/widgets/e-addressbook-view.c (e_contact_print_button): * addressbook/printing/e-contact-print.c (complete_sequence), (e_contact_build_style), (e_contact_print_response), (e_contact_print_contact_list_dialog_new): * shell/e-shell-importer.c (importer_file_page_new): * plugins/startup-wizard/startup-wizard.c (startup_wizard_timezone_page): * mail/em-vfolder-rule.c (select_source_with_changed), (get_widget): * mail/em-format-quote.c (emfq_format_source): * mail/mail-ops.c (save_messages_save): * mail/em-format.c (emf_init): * mail/em-format-html-display (em_format_html_get_search_dialog), (em_format_html_display_seearch_with), (ehhd_resize), (efhd_attachment_optional), (efhd_format_optional): * mail/em-folder-view.c (emfv_init): * mail/message-list.c (ml_tree_value_at): * composer/e-msg-composer-hdrs (header_new_recipient): * composer/e-msg-composer.c (e_msg_composer_show_help), (drop_action): * widgets/table/e-cell-text.c (ect_free_color): * widgets/misc/e-calendar-item.c (e_calendar_item_unrealize): * widgets/misc/e-icon-entry.c (e_icon_entry_pack_widget): Remove unused variables. svn path=/trunk/; revision=33315
* Bypass the body of these functions on non-G_OS_UNIX for now as they useTor Lillqvist2007-03-011-0/+4
| | | | | | | | | | | | | 2007-03-01 Tor Lillqvist <tml@novell.com> * gui/widgets/e-addressbook-view.c (e_contact_print_button): * printing/e-contact-print.c (e_contact_print_response): Bypass the body of these functions on non-G_OS_UNIX for now as they use gtk_print_unix_dialog_get_settings(). Gtk printing on Win32 needs work. svn path=/trunk/; revision=33270
* ** Fix for bug #232065Srinivasa Ragavan2007-02-261-1/+43
| | | | svn path=/trunk/; revision=33248
* Print migration updates from Ebby Wiselyn.Srinivasa Ragavan2007-02-121-10/+14
| | | | svn path=/trunk/; revision=33201
* Removed the obsolete function e_contact_print_preview.Chenthill Palanisamy2007-02-081-1/+0
| | | | svn path=/trunk/; revision=33184
* ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22Srinivasa Ragavan2007-01-231-110/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. svn path=/trunk/; revision=33134
* Changed the parameter passed to gal_view_minicard_attach.Devashish Sharma2006-10-161-1/+1
| | | | | | | | | | | | | | | | | | 2005-10-16 Devashish Sharma <sdevashish@novell.com> * gui/widgets/e-addressbook-view.c (display_view): Changed the parameter passed to gal_view_minicard_attach. * gui/widgets/gal-view-minicard.c (column_width_changed): Sets the horizontal scroll amount for the addresss card view to the current page size. * gui/widgets/gal-view-minicard.h: Changed function prototype for gal_view_minicard_attach. Passing EABView instead of EMinicardViewWidget. Fixes Bug#218273 svn path=/trunk/; revision=32896
* Remove duplicate include. Fix some compiler warnings. Cast away a compilerKjartan Maraas2006-10-011-4/+5
| | | | | | | | | | | | | | | | | | | | | 2006-10-01 Kjartan Maraas <kmaraas@gnome.org> * gui/component/addressbook-component.c: Remove duplicate include. * gui/contact-editor/e-contact-editor.c: (extract_simple_field): Fix some compiler warnings. * gui/contact-editor/e-contact-quick-add.c: (build_quick_add_dialog): Cast away a compiler warning. * gui/widgets/e-addressbook-view.c: (generate_viewoption_menu): #if 0 out an unused array, fix 0 vs NULL initialization in some other arrays and remove an unused GSList. * gui/widgets/e-minicard.c: (add_email_field): Make a var const. * gui/widgets/eab-gui-util.c: (eab_contact_save), (eab_contact_list_save): Add some casts to fix compiler warnings and #if 0 out an unused function. * util/eab-book-util.c: (escape), (eab_contact_list_from_string): Some GString fixes. All of this from bug #332101. svn path=/trunk/; revision=32841
* ** Fix for bug #357811Srinivasa Ragavan2006-09-281-2/+1
| | | | | | | | | | | 2006-09-28 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #357811 * gui/widgets/e-addressbook-view.c: (search_activated): Fix for search on any type to work. svn path=/trunk/; revision=32818
* Fixes a lot of search issues.Srinivasa Ragavan2006-08-211-16/+84
| | | | svn path=/trunk/; revision=32606
* Added a callback to handle contact deletion error and corresponding errorSushma Rai2006-08-071-4/+21
| | | | | | strings. Fixes #260403. svn path=/trunk/; revision=32483
* Assign proper search item ids in addressbook search.Devashish Sharma2006-07-271-5/+4
| | | | svn path=/trunk/; revision=32427
* Commented out reference to undefined function eab_search_dialog_new().Sushma Rai2006-07-241-1/+1
| | | | | | See #347910. svn path=/trunk/; revision=32408
* Fixing memory leaks.Hiroyuki Ikezoe2006-07-101-0/+1
| | | | | | | | 2006-07-07 Hiroyuki Ikezoe <poincare@ikezoe.net> Fixing memory leaks. svn path=/trunk/; revision=32269
* Enhanced search functionality. patch submitted by Johnny Jacob ReviewedHarish Krishnaswamy2006-06-301-29/+26
| | | | | | | | | 2006-06-30 Harish Krishnaswamy <kharish@novell.com> Enhanced search functionality. patch submitted by Johnny Jacob Reviewed and committed by Harish. svn path=/trunk/; revision=32207
* ** Fixes bug #342646 Plugged memory leak. Ditto.Hiroyuki Ikezoe2006-06-141-1/+3
| | | | | | | | | | 2006-06-13 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fixes bug #342646 * gui/widgets/e-addressbook-view.c: Plugged memory leak. * gui/widgets/e-minicard-view.c: Ditto. svn path=/trunk/; revision=32129
* eab_view_discard_menus : Dont assert if view->view_instance is NULL.Devashish Sharma2006-02-221-1/+0
| | | | svn path=/trunk/; revision=31559
* Remove inclusion of unused header.Harish Krishnaswamy2006-01-301-1/+0
| | | | | | | | | | 2006-01-30 Harish Krishnaswamy <kharish@novell.com> * gui/component/addressbook-view.c: * gui/widgets/e-addressbook-view.c: Remove inclusion of unused header. svn path=/trunk/; revision=31375
* Added save advanced search for addressbook.Devashish Sharma2006-01-301-28/+48
| | | | svn path=/trunk/; revision=31359
* reviewed by: Harish Krishnaswamy <kharish@novell.com>Kjartan Maraas2006-01-271-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-27 Kjartan Maraas <kmaraas@gnome.org> reviewed by: Harish Krishnaswamy <kharish@novell.com> * gui/component/addressbook-component.c: (impl_requestCreateItem): Remove unused bits. * gui/component/addressbook-config.c: (eabc_general_type), (eabc_general_offline): Same here. * gui/component/addressbook-migrate.c: Remove unused static function. * gui/component/addressbook-view.c: (selector_tree_drag_motion): Remove unused static function and init uninitialized var. * gui/contact-editor/e-contact-editor-address.c: (fill_in_countries): Return early if setlocale() fails. * gui/contact-editor/e-contact-editor.c: (file_as_get_style), (extract_email), (extract_phone), (sensitize_phone_types), (extract_im), (sensitize_im_types), (init_simple): Mark some arrays static, remove unused variables, fix gcc warnings * gui/contact-list-editor/e-contact-list-editor.c: (fill_in_info): Remove unused var. * gui/merging/eab-contact-compare.c: (eab_contact_compare_name): Remove unused static function and unused vars. * gui/search/e-addressbook-search-dialog.c: (eab_search_dialog_dispose): Remove unused vars. * gui/widgets/e-addressbook-model.c: (get_view): Add comment. * gui/widgets/e-addressbook-view.c: (eab_view_class_init), (eab_view_delete_selection): Remove unused var * gui/widgets/e-addressbook-view.h: Remove extra semi-colon. * gui/widgets/e-minicard-label.c: (e_minicard_label_unrealize): Remove unused var. * gui/widgets/e-minicard.c: (e_minicard_unrealize), (e_minicard_event), (add_field), (remodel), (e_minicard_reflow): Remove unused vars. s/if/ifdef in some places, use passed in parameter instead of redeclaring the thing locally. * gui/widgets/eab-contact-display.c: (accum_address), (eab_contact_display_render_compact): s/if/ifdef. * gui/widgets/eab-gui-util.c: (eab_select_source): Comment out unused var. * gui/widgets/eab-popup-control.c: (eab_popup_control_cleanup): s/if/ifdef * printing/e-contact-print-style-editor.c: (e_contact_print_style_editor_class_init), (e_contact_print_style_editor_set_arg), (e_contact_print_style_editor_get_arg): Remove unused vars. * util/eab-book-util.c: s/if/ifdef svn path=/trunk/; revision=31327
* Added menu items for addressbook operations.Devashish Sharma2006-01-251-11/+33
| | | | svn path=/trunk/; revision=31307
* ** Fixes bug #326268Srinivasa Ragavan2006-01-141-1/+1
| | | | | | | | | | | 2006-01-13 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #326268 * gui/widgets/e-addressbook-view.c: Adds mnemonics to Advanced Search menu item in contacts view. svn path=/trunk/; revision=31174
* gui/contact-editor/e-contact-editor.cTor Lillqvist2005-11-261-4/+23
| | | | | | | | | | | | | | | | | | | | | 2005-11-26 Tor Lillqvist <tml@novell.com> * gui/contact-editor/e-contact-editor.c * 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-list-editor/e-contact-list-editor.c * gui/merging/eab-contact-merging.c * gui/widgets/e-addressbook-view.c * printing/e-contact-print.c * printing/e-contact-print-style-editor.c: Include e-util-private.h to get redefinition of compile-time pathnames as calls to functions on Windows. Construct the pathnames of files and directories under the installation prefix at run-time to enable install-anywhere on Windows. No effect on functionality on Unix. svn path=/trunk/; revision=30678
* Added keyboard accelerators for contacts.Srinivasa Ragavan2005-11-161-15/+15
| | | | | | | | | | 2005-10-04 Srinivasa Ragavan <sragavan@novell.com> * gui/component/addressbook-view.c (abv_source_popups): * gui/widgets/e-addressbook-view.c (eabv_popup_items): Added keyboard accelerators for contacts. svn path=/trunk/; revision=30619
* Fix for issues related to printing contacts. Fixes #248624, #274285,Sushma Rai2005-10-031-6/+10
| | | | | | #209354, #202201. Patch submitted by "Devashish Sharma <sdevashish@novell.com>" svn path=/trunk/; revision=30469
* Clearing the contacts preview pane after every search. Fixes #269655.Sushma Rai2005-09-261-0/+3
| | | | svn path=/trunk/; revision=30374
* de-constify uri, and fix its creation logic. (load_source_cb): cast forNot Zed2005-08-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * gui/component/addressbook.c (addressbook_authenticate): de-constify uri, and fix its creation logic. (load_source_cb): cast for warning. * gui/widgets/e-addressbook-view.c: more missing a11y include. * gui/widgets/e-minicard-view.c: another missing a11y include. * gui/widgets/e-minicard.c: include missing a11y include. (e_minicard_activate_editor): fix cast. * gui/widgets/eab-popup-control.c (eab_popup_control_display_contact): remove unused. * gui/widgets/eab-gui-util.c (eab_contact_save): fix conditional build. (eab_send_to_contact_and_email_num_list): fix boolean conversion. * gui/widgets/eab-contact-display.c (eab_contact_display_init): cast. * gui/contact-list-editor/e-contact-list-editor.c (fill_in_info): constify file_as. * gui/contact-editor/e-contact-editor.c (init_im_record_location): fix warnings for conditional building. (fill_in_simple_field): do proper boolean conversion. (extract_simple_field): do proper boolean conversion. (response): constify categories, and dont bother initialising it. (image_clicked): remove warnings for conditional build. (e_contact_editor_is_valid): constify text. (e_contact_editor_create_web): cast. svn path=/trunk/; revision=30216
* Not prompting the delete confirmation dialog for cut contact operation.Sushma Rai2005-07-211-4/+6
| | | | | | Fixes #311090 svn path=/trunk/; revision=29833
* added comments about the hookpointsVivek Jain2005-07-061-0/+8
| | | | | | | | | | 2005-07-06 Vivek Jain <jvivek@novell.com> * gui/component/addressbook-view.c: (popup_event_callback) * gui/widget/e-addressbook-view.c :(do_popup_menu) added comments about the hookpoints svn path=/trunk/; revision=29659
* Fixed for bug 309245. Fixes the bug 206774, 242154. Fixes the bug 206774,Srinivasa Ragavan2005-07-061-2/+16
| | | | | | | | | | | | 2005-07-06 Srinivasa Ragavan <sragavan@novell.com> * gui/widgets/eab-gui-util.c: (contact_added_cb): Fixed for bug 309245. * /gui/widgets/e-addressbook-view.c: Fixes the bug 206774, 242154. * gui/widgets/eab-popup.c: (eab_popup_target_new_select) Fixes the bug 206774, 242154. * gui/widgets/eab-popup.h: Fixes the bug 206774, 242154. svn path=/trunk/; revision=29641
* Added widgets in INCLUDES.Kaushal Kumar2005-06-231-2/+2
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* Replaced wombat master category list with e-categories from libedataserver.Sushma Rai2005-06-101-32/+10
| | | | svn path=/trunk/; revision=29483
* moved e-error to e-utilNot Zed2005-05-161-1/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * moved e-error to e-util svn path=/trunk/; revision=29362
* Forming contact deletion confirmation message based on contact(s) orSushma Rai2005-05-091-2/+18
| | | | | | contact list(s) being deleted. Fixes #222599 svn path=/trunk/; revision=29317
* Fix some leaksRoss Burton2005-04-281-0/+10
| | | | svn path=/trunk/; revision=29237
* make the search field consistent with the Search Dialog.Mengjie Yu2005-03-161-1/+1
| | | | | | | | | | | 2005-03-16 Mengjie Yu <meng-jie.yu@sun.com> * gui/widgets/e-addressbook-view.c: (search_menu_activated): make the search field consistent with the Search Dialog. Fixes #73270 svn path=/trunk/; revision=29030
* Change the e-popup item type for "Cut" from E_POPUP_BAR to E_POPUP_ITEMSivaiah Nallagatla2005-03-011-1/+1
| | | | | | | | | | | | 2005-02-26 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.c : Change the e-popup item type for "Cut" from E_POPUP_BAR to E_POPUP_ITEM Fixes #73013 svn path=/trunk/; revision=28920
* renamed the signal CONTACT_REMOVED to CONTACTS_REMOVED and chaned theSivaiah Nallagatla2005-01-221-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-model.[ch] (eab_model_class_init) : renamed the signal CONTACT_REMOVED to CONTACTS_REMOVED and chaned the param type POINTER from INT (remove_contact) : delete all the contacts from the model and emit CONATCTS_REMOVED signal instead of emitting it many times * gui/widgets/e-addressbook-reflow-adpater.c (e_addressbook_reflow_adapter_construct) (remove_contacts) : renamed remove_contact to remove_contacts and when number of conacts is more than 1 use _model_changed instead of _remove_item * gui/widgets/e-addressbook-table-adapter.c (eab_table_adapter_construct) (remove_contacts) : ditto * gui/widgets/e-addressbook-view.c (eab_view_new) : (contacts_removed) : renamed contact_removed to contacts_removed and traverese over indices to find displayed contact indiex fixes #71448 svn path=/trunk/; revision=28503
* Fixes #46404JP Rosevear2005-01-221-5/+5
| | | | | | | | | | | | | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #46404 * gui/widgets/e-addressbook-view.c (eab_view_print): just show the dialog, not show all (margin settings aren't supposed to be used); use e_print to get the dialog (eab_view_print_preview): use e_print config for previewing * printing/e-contact-print.c (e_contact_print_preview): get the e_print config for previewing (e_contact_print_contact_dialog_new): use e_print to get the print dialog * printing/e-contact-print-envelope.c (e_contact_print_envelope_dialog_new): use e_print to get the print dialog svn path=/trunk/; revision=28496
* api changes.Not Zed2004-12-221-1/+1
| | | | | | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * util/ea-popup.c (emp_standard_menu_factory): * gui/component/select-names/e-select-names.c (section_right_click_cb): * gui/component/addressbook-view.c (popup_event_callback): * gui/widgets/e-addressbook-view.c (do_popup_menu): api changes. svn path=/trunk/; revision=28176
* remove camel, add ADDRESSBOOK_LIBS.Not Zed2004-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | 2004-11-16 Not Zed <NotZed@Ximian.com> * util/Makefile.am (libeabutil_la_LIBADD): remove camel, add ADDRESSBOOK_LIBS. * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): remove camel. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): remove camel. 2004-11-15 Not Zed <NotZed@Ximian.com> * *.c: Moved various things from e-util to libedataserver, where appropriate. svn path=/trunk/; revision=28048
* convert to org.gnome hook namesJP Rosevear2004-10-201-1/+1
| | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/component/addressbook-view.c, gui/component/select-names/e-select-names.c, gui/widgets/e-addressbook-view.c, gui/widgets/eab-menu.c, gui/widgets/eab-popup.c: convert to org.gnome hook names svn path=/trunk/; revision=27637
* add EAB_POPUP_SELECT_ANY mask instead of EAB_POPUP_SELECT_MANY, so thatSivaiah Nallagatla2004-10-151-9/+9
| | | | | | | | | | | 2004-10-15 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.c : add EAB_POPUP_SELECT_ANY mask instead of EAB_POPUP_SELECT_MANY, so that all the options like Save as, Forward etc are enabled even single contact is selected. svn path=/trunk/; revision=27593
* added an any select mask and updated the hook maps.Not Zed2004-10-151-0/+23
| | | | | | | | | | | | | | | | | | | 2004-10-15 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-popup.c: added an any select mask and updated the hook maps. * gui/component/addressbook-component.c (addressbook_component_init): register the addressbook hooks. * gui/component/addressbook-view.c (addressbook_view_init): setup the menu manager. (control_activate_cb): activate the menu manager. (update_command_state): and update the menu manager. * gui/widgets/eab-menu.[ch]: Added menu manager class. svn path=/trunk/; revision=27589
* fix for e-popup api changes. Moved all mask specifiers to visible ratherNot Zed2004-10-071-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-view.c (popup_event_callback): * gui/component/select-names/e-select-names.c (section_right_click_cb): * gui/widgets/e-addressbook-view.c (do_popup_menu): fix for e-popup api changes. Moved all mask specifiers to visible rather than enable in the menu table. 2004-10-06 Not Zed <NotZed@Ximian.com> * gui/contact-editor/e-contact-editor.c: removed gnome-popup-menu.h (unused). * gui/widgets/e-addressbook-reflow-adapter.c: * gui/widgets/eab-popup-control.c: remove e-popup-menu.h (unused). * gui/component/select-names/e-select-names.c (section_right_click_cb): use e-popup. Somewhat overengineered for this use ... (remove_cb): api changes. * gui/widgets/eab-popup.c (eab_popup_target_new_select_names): added pretty useless wrapper for the select names popup. Added to hook maps. svn path=/trunk/; revision=27488
* convert to using EABPopup. (sources): remove dead code.Not Zed2004-10-061-269/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * gui/widgets/e-addressbook-view.c (do_popup_menu): convert to using EABPopup. (sources): remove dead code. (has_email_address_1, get_has_email_address): removed now redundant code. (save_as, send_as, send_to, print, copy, paste, cut, delete) (copy_to_folder, move_to_folder, new_card, new_list): new api. (free_popup_info): dead. (print_envelope): not pining. (get_contact_list): take a popup target instead, don't ref. (get_contact_list_1): not required no more. (contact_and_book_free): same. (delete): call eab_view_delete_selection. (eab_view_delete_selection): do the actual delete here. * gui/widgets/eab-popup.c (eab_popup_target_new_select): implement. 2004-10-01 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-popup.[ch]: addressbook popup driver. * gui/component/addressbook-view.c (delete_addressbook_cb): use e-error for the message prompt. don't bother keeping it around, it can never be re-sensitised anyway. (book_removed): no longer destroy the original dialogue. * addressbook-errors.xml: add ask-delete for deleting addressbooks. * gui/component/addressbook-view.c (addressbook_view_init): connect to popup_event rather than fill_popup_menu now. (fill_popup_menu_callback): renamed to popup_event_callback, changed to use epopup. (add_popup_menu_item): remove, no longer needed. svn path=/trunk/; revision=27466
* Fixes bug #66520.Not Zed2004-09-301-5/+0
| | | | | | | | | | | | 2004-09-29 Not Zed <NotZed@Ximian.com> Fixes bug #66520. * gui/widgets/e-addressbook-view.c (eab_view_dispose): don't unref the contact_display_window, it will be destroyed by being parented. svn path=/trunk/; revision=27431
* Quiet debug messages.William Jon McCann2004-09-221-6/+2
| | | | | | | | | | | | | | | | 2004-09-21 William Jon McCann <mccann@jhu.edu> * gui/component/component-factory.c (factory): Quiet debug messages. * gui/widgets/e-addressbook-view.c (eab_view_new): Remove unnecessary label widget placeholder. Make vertical scrollbar policy automatic. Use gtk_paned_add2 instead of gtk_container_add. * gui/component/apps_evolution_addressbook.schemas.in.in: Add missing show_preview schema. Add missing long descriptions. svn path=/trunk/; revision=27325
* add new widget variable contact_dsiplay_window to _EABView strcut toSivaiah Nallagatla2004-09-071-10/+14
| | | | | | | | | | | | | | | | | | 2004-09-04 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.h : add new widget variable contact_dsiplay_window to _EABView strcut to store. Remove unused scrolled varible * gui/widgets/e-addressbook-view.c (eab_view_init) (eab_view_dispose) : initialize and unref the new widget added (eab_view_new) : remove the loca variable scrlled_window instead use eav->contact_display_window (eab_view_show_contact_preview) : show/hide contact_display_window instead of contact_display Fixes #64024 svn path=/trunk/; revision=27168
* but buttons to button box, use vbox instead of tableRadek Doulik2004-07-221-2/+7
| | | | | | | | | | | | | | | 2004-07-19 Radek Doulik <rodo@ximian.com> * gui/widgets/eab-vcard-control.c (eab_vcard_control_new): but buttons to button box, use vbox instead of table * gui/widgets/eab-contact-display.c: base this widget directly on gtkhtml * gui/widgets/e-addressbook-view.c (eab_view_new): put contact display in scrolled window svn path=/trunk/; revision=26703
* Add an x-source-vcard target entry that includes the source book URI.Hans Petter Jansson2004-06-241-38/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-23 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-view.c: Add an x-source-vcard target entry that includes the source book URI. (destroy_merge_context): Implement. (removed_contact_cb): Implement. (merged_contact_cb): Implement. (selector_tree_drag_data_received): Get the source and target books, and see if we need to remove contacts from source after they're added to target. Copy contacts sequentially, not in parallel, with a callback. * gui/widgets/e-addressbook-view.c: Add an x-source-vcard target entry that includes the source book URI. (table_drag_data_delete): Remove. This is handled by the drag target. (table_drag_data_get): Handle more than one contact. Supply source. (create_table_view): Don't connect to the delete signal. * gui/widgets/e-minicard-view.c: Add an x-source-vcard target entry that includes the source book URI. (e_minicard_view_drag_data_delete): Remove. This is handled by the drag target. (e_minicard_view_drag_data_get): Handle x-source-vcard target. (e_minicard_view_drag_begin): Don't connect to the delete signal. (e_minicard_view_dispose): Don't disconnect from the delete signal. (e_minicard_view_init): Don't init delete_id. * gui/widgets/e-minicard-view.h: Remove delete_id from struct. * util/eab-book-util.[ch] (eab_contact_list_from_string): Skip the source URI if present. (eab_book_and_contact_list_from_string): Create the source book from the provided URI, if present. (eab_book_and_contact_list_to_string): Include the book URI in generated string. svn path=/trunk/; revision=26485
* Fixes #53643 and #26903.Hans Petter Jansson2004-06-041-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-03 Hans Petter Jansson <hpj@ximian.com> Fixes #53643 and #26903. * gui/search/addresstypes.xml: category -> category_list * gui/search/e-addressbook-search-dialog.c (get_widget): Get filter rule from parent view. (eab_search_dialog_set_property): Implement. (eab_search_dialog_get_property): Impleent. (eab_search_dialog_class_init): Set up property methods. (get_query): Get filter rule from parent view. (eab_search_dialog_init): Don't get the filter widget here, wait until parent view property is set. (eab_search_dialog_new): Don't poke the parent view in, set it as a property instead. (eab_search_dialog_dispose): No longer needs to unref rule. * gui/search/e-addressbook-search-dialog.c: EABSearchDialog no longer needs to keep rule internally. * gui/widgets/Makefile.am: Set SEARCH_RULE_DIR define. * gui/widgets/e-addressbook-view.c (eab_view_new): Set up filter rule and context. (eab_view_peek_search_context): Implement. (eab_view_peek_search_rule): Implement. * gui/widgets/e-addressbook-view.h: Keep track of filter rule and context. Add protos for added API. svn path=/trunk/; revision=26207
* update spell errorsRadek Doulik2004-05-261-0/+2
| | | | | | | | | | 2004-05-26 Radek Doulik <rodo@ximian.com> * htmltext.c (html_text_op_copy_helper): update spell errors Fixes #50829 svn path=/trunk/; revision=26103
* Generate the addressbook-errors.xml.h file and install the xml file andJeffrey Stedfast2004-05-251-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-25 Jeffrey Stedfast <fejj@novell.com> * Makefile.am: Generate the addressbook-errors.xml.h file and install the xml file and all that jazz. * addressbook-errors.xml: New error xml file. * gui/widgets/e-addressbook-view.c (backend_died): Use e_error_run(). * gui/widgets/eab-gui-util.c (eab_error_dialog): Use e_error_run(). (eab_load_error_dialog): Same. (eab_search_result_dialog): Same. (eab_prompt_save_dialog): Same. (save_it): Same. * gui/contact-editor/e-contact-editor.c (categories_clicked): Use e_error_run(). (e_contact_editor_is_valid): Same. (save_contact): Same. * gui/component/addressbook-view.c (delete_addressbook_cb): Use e_error_run(). * gui/component/addressbook-config.c (addressbook_ldap_init): Use e_error_run(). (addressbook_ldap_auth): Same. (addressbook_root_dse_query): Same. (do_ldap_root_dse_query): Same. (do_schema_query): Same. svn path=/trunk/; revision=26077
* added call to begin page, ref printable and sink it to avoid finalizing ofRadek Doulik2004-05-211-2/+6
| | | | | | | | | | | | | | 2004-05-20 Radek Doulik <rodo@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_print_preview): added call to begin page, ref printable and sink it to avoid finalizing of floating object (eab_view_print): ref and sink printable to avoid finalizing of floating object Fixes #46658 svn path=/trunk/; revision=26012
* Fixes #57940Jerome Lacoste2004-05-191-3/+3
| | | | | | | | | | | 2004-05-18 Jerome Lacoste <jerome@coffeebreaks.org> Fixes #57940 * gui/widgets/e-addressbook-view.c: "Save as VCard" -> "Save as VCard..." svn path=/trunk/; revision=25962
* Fixes bug #44196 addressbook table view uses ASCII sortSuresh Chandrasekharan2004-05-111-1/+11
| | | | | | | | 2004-05-10 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Fixes bug #44196 addressbook table view uses ASCII sort svn path=/trunk/; revision=25851
* add GDK_ACTION_COPY to the supported drag types. Connect to theLarry Ewing2004-04-131-1/+36
| | | | | | | | | | | 2004-04-13 Larry Ewing <lewing@ximian.com> * gui/widgets/e-addressbook-view.c (create_table_view): add GDK_ACTION_COPY to the supported drag types. Connect to the table_drag_data_delete callback. (table_drag_data_delete): remove the drag rows. svn path=/trunk/; revision=25427
* [ part of the fix for #51977, the other part is in e-d-s ]Chris Toshok2004-03-311-1/+1
| | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ part of the fix for #51977, the other part is in e-d-s ] * gui/widgets/e-addressbook-view.c (search_activated): the name of the category list property has changed from "category" to "category" list in 1.5. track the change here to get category searching working again. svn path=/trunk/; revision=25252
* [ fixes bug #53634 ]Chris Toshok2004-03-311-6/+18
| | | | | | | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #53634 ] * gui/widgets/e-addressbook-view.c (eab_view_new): call e_search_bar_set_menu to add the Advanced... menu item to the search menu, and connect to "menu_activated". (search_menu_activated): new function, pop up the advanced dialog if id == ESB_ADVANCED. (query_changed): use e_search_bar_get_item_id instead of g_object_get. * gui/component/addressbook.c (verbs): remove ToolSearch. (pixmaps): remove the ToolSearch pixmap. svn path=/trunk/; revision=25247
* parent_type == EAB_TYPE_EDITOR. (e_contact_list_editor_class_init): fillChris Toshok2004-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-24 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_get_type): parent_type == EAB_TYPE_EDITOR. (e_contact_list_editor_class_init): fill in editor_class virtual functions, and remove all the signals. (list_added_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (list_modified_cb): same. (e_contact_list_editor_is_valid): new function. (e_contact_list_editor_is_changed): same. (e_contact_list_editor_get_window): same. (file_close_cb): call eab_editor_ functions. (list_deleted_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (delete_cb): call eab_editor_* functions. (contact_list_editor_destroy_notify): call eab_editor_remove. (e_contact_list_editor_new): call eab_editor_add, and remove the g_object_ref/gtk_object_sink two-step. (e_contact_list_editor_show): make static, and make arg EABEditor. (e_contact_list_editor_raise): same. (e_contact_list_editor_close): same. (app_delete_event_cb): call eab_editor_ functions. (command_state_changed): use eab_editor_is_valid instead of is_named. (e_contact_list_editor_request_close_all): nuke. * gui/contact-list-editor/e-contact-list-editor.h: nuke a bunch of prototypes for functions that are now either virtual functions from EABEditor or eab_editor_* functions. (struct _EContactListEditor): we subclass from EABEditor. (struct _EContactListEditorClass): same, and nuke all the signals. * gui/contact-editor/e-contact-editor.c (e_contact_editor_get_type): parent_type == EAB_TYPE_EDITOR. (e_contact_editor_class_init): fill in editor_class virtual functions, and remove all the signals. (contact_moved_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (contact_added_cb): same. (contact_modified_cb): same. (e_contact_editor_close): rename from close_dialog. (e_contact_editor_is_valid): new function. (e_contact_editor_is_changed): new function. (e_contact_editor_get_window): new function. (file_close_cb): use eab_editor_ calls here. (e_contact_editor_confirm_delete): nuke. (contact_deleted_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (delete_cb): use eab_editor_ functions. (e_contact_editor_dispose): chain up to our parent's ::dispose. (contact_editor_destroy_notify): use eab_editor_remove. (e_contact_editor_new): use eab_editor_add, and remove the g_object_ref/gtk_object_sink two-step. (_popup_position): nuke dead function. (set_fields): i is an index, not a field_id. (e_contact_editor_raise): make this static, and it takes an EABEditor arg now, not a EContactEditor. (e_contact_editor_show): same. (e_contact_editor_request_close_all): nuke. * gui/contact-editor/e-contact-editor.h: nuke a bunch of prototypes for functions that are now either virtual functions from EABEditor or eab_editor_* functions. (struct _EContactEditor): we subclass from EABEditor. (struct _EContactEditorClass): same, and remove the signals. * gui/widgets/e-addressbook-view.c (delete): call eab_editor_confirm_delete. * gui/widgets/eab-popup-control.c (contact_editor_cb): don't bother calling e_contact_editor_raise since this is a new contact editor anyway. * gui/widgets/eab-gui-util.c (eab_show_contact_list_editor): use EABEditor signals, and eab_editor_show. * gui/widgets/e-minicard.h: "editor" is now of type EABEditor, not GObject. * gui/widgets/e-minicard.c (e_minicard_event): just use eab_editor_raise instead of e_contact_editor_raise/e_contact_list_editor_raise. * gui/component/addressbook-component.c (impl_requestQuit): implement this again, calling eab_editor_request_close_all. (addressbook_component_class_init): fill in epv->requestQuit. svn path=/trunk/; revision=25173
* build a11y/addressbook dir : add the accessibility support forHao Sheng2004-03-151-0/+3
| | | | | | | | | | | | | | 2004-03-15 Hao Sheng <hao.sheng@sun.com> * gui/component/Makefile.am : build a11y/addressbook dir * gui/widgets/e-addressbook-view.c : (eab_view_class_init) : add the accessibility support for e_addressbook_view * gui/widgets/e-minicard-view.c : (e_minicard_view_class_init) : add the accessibility support for e_minicard_view * gui/widgets/e-minicard.c : (e_minicard_class_init) : add the accessibility support for e_minicard svn path=/trunk/; revision=25059
* add missing "break" to PROP_SOURCE's case.Chris Toshok2004-02-281-0/+1
| | | | | | | | | 2004-02-27 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_set_property): add missing "break" to PROP_SOURCE's case. svn path=/trunk/; revision=24913
* call eab_view_show_contact_preview here so we maintain the preview stateChris Toshok2004-02-271-0/+2
| | | | | | | | | | | 2004-02-26 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (set_view_preview): call eab_view_show_contact_preview here so we maintain the preview state when switching folders. we don't (yet... won't ever?) have per-addressbook preview settings. svn path=/trunk/; revision=24893
* view->scrolled -> view->contact_display. fixes crash.Chris Toshok2004-02-271-2/+2
| | | | | | | | | | 2004-02-26 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_show_contact_preview): view->scrolled -> view->contact_display. fixes crash. svn path=/trunk/; revision=24891
* Address Book, not AddressbookRodney Dawes2004-02-121-1/+1
| | | | | | | | | | | | | 2004-02-11 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook-component.c (delete_addressbook_cb): (fill_popup_menu_callback): * gui/widgets/e-addressbook-view.c (init_collection): * gui/widgets/eab-gui-util.c (eab_error_dialog): * gui/widgets/eab-popup-control.c (eab_popup_control_contstruct): Address Book, not Addressbook svn path=/trunk/; revision=24715
* pass contact as an argument instead of contact id toSivaiah Nallagatla2004-02-081-1/+1
| | | | | | | | | | 2004-02-08 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.c (delete) : pass contact as an argument instead of contact id to e_book_async_remove_contact svn path=/trunk/; revision=24672
* Hide the border on the notebook also Don't pack another scrolled windowRodney Dawes2004-02-071-7/+1
| | | | | | | | | | | | 2004-02-06 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook.c (addressbook_new_control): Hide the border on the notebook also * gui/widgets/e-addressbook-view.c (eab_view_new): Don't pack another scrolled window inside of a scrolled window, just pack the contact display inside the paned, since it already has a scrolled window svn path=/trunk/; revision=24664
* Use "Address Book" instead of "folder" or "Addressbook" for the "AddressRodney Dawes2004-02-071-3/+3
| | | | | | | | | | | | 2004-02-06 Rodney Dawes <dobey@ximian.com> * gui/widgets/e-addressbook-view.c: Use "Address Book" instead of "folder" or "Addressbook" for the "Address Book Sources..." and copy/move contact menu items Fixes #53654 svn path=/trunk/; revision=24662
* hook up contact_changed/contact_removed signals. (contact_changed): newChris Toshok2004-02-031-12/+67
| | | | | | | | | | | | | | | | | | | | | 2004-02-02 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_new): hook up contact_changed/contact_removed signals. (contact_changed): new function. if the changed contact is the one we're displaying, re-render it. (contact_removed): new function. if the removed contact is the one we're displaying, clear the display. (render_contact): set displayed_contact to the row. (eab_view_init): init displayed_contact to -1. (selection_changed): set displayed_contact to -1 when we clear the display. * gui/widgets/e-addressbook-view.h (struct _EABView): add "displayed_contact" so we can update the contact preview when it changes. svn path=/trunk/; revision=24574
* make sure we pass \0 terminated string to eab_contact_list_from_string [itRadek Doulik2004-01-261-5/+12
| | | | | | | | | | 2004-01-26 Radek Doulik <rodo@ximian.com> * gui/widgets/e-addressbook-view.c (selection_received): make sure we pass \0 terminated string to eab_contact_list_from_string [it may fix #51743] svn path=/trunk/; revision=24435
* use .evolution to store view infoJP Rosevear2004-01-241-1/+1
| | | | | | | | | 2004-01-24 JP Rosevear <jpr@ximian.com> * gui/widgets/e-addressbook-view.c (init_collection): use .evolution to store view info svn path=/trunk/; revision=24399
* Don't run callback if the action was cancelled. (load_source_cb): Ditto.Hans Petter Jansson2004-01-171-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-16 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook.c (load_source_auth_cb): Don't run callback if the action was cancelled. (load_source_cb): Ditto. (addressbook_load_source): Return an ID for the load attempt. (addressbook_load_source_cancel): Implement, allows cancelling a load attempt. * gui/contact-editor/e-contact-editor.c (new_target_cb): Clear the values for in-progress load operation. Only unref new_book if it's non-NULL. (cancel_load): Implement. Cancels the load operation if one is in progress. (source_selected): Cancel any running load operation before starting a new one. Set up in-progress values. (e_contact_editor_init): Clear the in-progress values. (e_contact_editor_dispose): Cancel load operation. (e_contact_editor_set_property): If a new target book is set, cancel any conflicting load operation in progress. * gui/widgets/e-addressbook-view.c (set_paned_position): Remove debug output. (get_paned_position): Ditto. svn path=/trunk/; revision=24287
* Implement. (get_paned_position): Implement. (eab_view_new): Connect signalHans Petter Jansson2004-01-161-3/+36
| | | | | | | | | | | | 2004-01-15 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-addressbook-view.c (set_paned_position): Implement. (get_paned_position): Implement. (eab_view_new): Connect signal to get paned position changes. Remove old hack. (display_view): Set paned position properly. svn path=/trunk/; revision=24264
* install the "source" property. (eab_view_init): init eav->source to NULL.Chris Toshok2003-12-181-6/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_class_init): install the "source" property. (eab_view_init): init eav->source to NULL. (eab_view_dispose): disconnect the ecml_changed_id and unref source. (eab_view_new): create the search bar here. (view_preview): c&p the mailer's code mostly for this - this is the toggle listener for the Preview Pane menuitem. (setup_menus): add a listener for the ContactsViewPreview toggle. (eab_view_set_property): sensitize the search bar based on whether or not we have a book set. This makes it so you can't search until the book is loaded. Also add handling for the "source" attribute and print a warning when it's set multiple times (something that's not supported at the moment.) (eab_view_get_property): add "source" case. (search_activated, query_changed, compare_subitems, make_subitems, ecml_changed, get_master_list, connect_master_list_changed): move this here from addressbook.c (eab_view_show_contact_preview): implement - just show or hide the scrolled window. (eab_view_setup_menus): call e_search_bar_set_ui_component here, kind of a hack. * gui/widgets/e-addressbook-view.h: make this inherit from GtkVBox instead of GtkEventBox since we'll be packing children. Add a prototype for eab_view_show_contact_preview. * gui/component/addressbook.c (get_current_view): return the EABView associated with the active notebook page. (save_contact_cb): use the current view. (view_contact_cb): same. (search_cb): same. (delete_contact_cb): same. (print_cb): same. (print_preview_cb): same. (stop_loading_cb): same. (cut_contacts_cb): same. (copy_contacts_cb): same. (paste_contacts_cb): same. (select_all_contacts_cb): same. (send_contact_cb): same. (send_contact_to_cb): same. (copy_contact_to_cb): same. (move_contact_to_cb): same. (update_command_state): same. (change_view_type): nuke, nothing uses this. (control_activate): use the current view. (control_activate_cb): same. (source_list_changed_cb): new function, remove the notebook pages (and destroy the EABView's) for sources that no longer exist. (addressbook_view_clear): dispose of the uid_to_view hash. (book_open_cb): store the ESource on the EABView too. this function now takes a struct containing both EABView and ESource since we can't store either in the AddressbookView. (set_prop): if we have a view already for this uid, bring it up. otherwise create a new one and start the book loading. (addressbook_search_activated): nuked - this is being moved to e-addressbook-view. (addressbook_query_changed): same. (compare_subitems, make_subitems, ecml_changed, connect_master_list_changed): same. (addressbook_new_control): simplify things a bunch. create a notebook to store the views in. the search/vbox stuff is gone. use e_source_list_new_for_gconf_default, and handle the source list's "changed" signal. svn path=/trunk/; revision=23971
* don't destroy the widget here - its dead when removed from the panedJP Rosevear2003-11-071-1/+0
| | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/widgets/e-addressbook-view.c (change_view_type): don't destroy the widget here - its dead when removed from the paned container svn path=/trunk/; revision=23207
* Fix a castLarry Ewing2003-11-051-1/+1
| | | | svn path=/trunk/; revision=23189
* Make the the scrolled window have an "in" shadow. Likewise. Likewise.Ettore Perazzoli2003-10-231-0/+2
| | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Make the the scrolled window have an "in" shadow. * gui/component/addressbook-config.c (addressbook_dialog_create_sources_table): Likewise. * gui/widgets/e-addressbook-view.c (create_minicard_view): Likewise. (create_treeview_view): Likewise. svn path=/trunk/; revision=22996
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-689/+458
| | | | svn path=/trunk/; revision=22965
* disconnect from model signals to prevent a race condition at shutdownDan Winship2003-07-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | * gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose): disconnect from model signals to prevent a race condition at shutdown where the view gets destroyed and then the model notices the backend dying before being destroyed itself. * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_finalize): add, to free priv. (e_addressbook_reflow_adapter_class_init): set it up * gui/component/e-address-popup.c (e_address_popup_set_free_form): Don't leak strings * gui/component/addressbook-storage.c (load_source_data): don't leak xml data. * gui/component/addressbook-component.c (new_item_cb): don't leak the new card. svn path=/trunk/; revision=21858
* Fix lots of leaks, update for correct use of g_object_get. Some miscLarry Ewing2003-06-141-3/+25
| | | | | | | | | | | | | | | | | | | 2003-06-13 Larry Ewing <lewing@ximian.com> * gui/component/addressbook.c: * gui/component/e-cardlist-model.c: * gui/component/select-names/e-select-names-text-model.c: * gui/contact-editor/e-contact-editor.c: * gui/contact-editor/e-contact-save-as.c: * gui/contact-list-editor/e-contact-list-editor.c: * gui/widgets/e-addressbook-table-adapter.c: * gui/widgets/e-addressbook-util.c: * gui/widgets/e-addressbook-view.c: * gui/widgets/e-minicard-view.c: * gui/widgets/e-minicard.c: Fix lots of leaks, update for correct use of g_object_get. Some misc cleanups. svn path=/trunk/; revision=21442
* [ fixes bug #42048 ] button => response. (e_addressbook_view_print):Chris Toshok2003-05-121-3/+3
| | | | | | | | | | | 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
* [ fixes bug #37351 ] the row the signal is called with is already theChris Toshok2003-04-241-1/+0
| | | | | | | | | | | 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
* (create_minicard_view): No needEttore Perazzoli2003-03-041-5/+1
| | | | | | to do any reparenting here; the widget is created with no parent. svn path=/trunk/; revision=20129
* Remove these from here; talking to the mailer doesn't really belong at theDan Winship2003-03-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * backend/ebook/e-card.c (e_card_list_send, e_card_send): Remove these from here; talking to the mailer doesn't really belong at the libebook level anyway. * backend/ebook/Makefile.am: Remove Evolution-Composer CORBA stuff, which fixes some linking problems on OS X. * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list, e_addressbook_send_card): Move from e-card.c and rename. * gui/widgets/Makefile.am: move Evolution-Composer CORBA stuff here * gui/widgets/e-addressbook-view.c (send_as, send_to, e_addressbook_view_send, e_addressbook_view_send_to): Update for new function names. * gui/contact-list-editor/e-contact-list-editor.c (file_send_as_cb, file_send_to_cb): Likewise * gui/contact-editor/e-contact-editor.c (file_send_as_cb, file_send_to_cb): Likewise svn path=/trunk/; revision=20103
* use g_signal_connect here, not swapped... although since we pass theChris Toshok2003-02-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-27 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (book_open_cb): use g_signal_connect here, not swapped... although since we pass the widget as the closure it really doesn't matter. (load_uri_auth_cb): use a GtkDialog here. (search_result): same. * gui/component/select-names/e-simple-card-bonobo.h: add prototype for e_simple_card_bonobo_construct to fix warning. * gui/widgets/e-addressbook-view.c (create_alphabet): remove call to gtk_widget_set_usize. * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_init): gtk_window_set_policy => gtk_window_set_resizable. * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_init): same. svn path=/trunk/; revision=20095
* [ huge change, all for 1 little performance problem :) fixes #18207 ] useChris Toshok2003-02-081-39/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-08 Chris Toshok <toshok@ximian.com> [ huge change, all for 1 little performance problem :) fixes #18207 ] * gui/widgets/e-addressbook-model.c (get_view): use e_book_check_static_capability here to make things a little prettier. (remove_card): complain about my life, and add code to use one "model_changed" signal if we get back a list of cards instead of multiple "card_removed" signals. * gui/widgets/e-addressbook-model.h: little clean up. * gui/widgets/e-addressbook-view.c (delete): write a bulk-remove case for this. if the backend supports it, send all the ids at once. otherwise loop over the ids. (e_addressbook_view_delete_selection): fake a CardAndBook structure and call delete, instead of duplicating the code in 2 places. * gui/component/addressbook.c (delete_contact_cb): don't call e_contact_editor_confirm_delete here, it's handled by the EAddressbookView. * backend/pas/pas-card-cursor.c (pas_card_cursor_construct): fix a compiler warning about a stupid crash. * backend/pas/pas-book.h (PASOperation): RemoveCard -> RemoveCards. (PASRemoveCardsReques): char *id -> GList *ids. (PASRequest): PASRemoveCardRequest -> PASRemoveCardsRequest. * backend/pas/pas-book.c (pas_book_queue_remove_cards): build up a GList from the id sequence. (pas_book_respond_remove): notifyCardRemoved -> notifyCardsRemoved. (impl_GNOME_Evolution_Addressbook_Book_removeCards): rename. (pas_book_free_request): free the idlist for RemoveCards. (pas_book_class_init): removeCard -> removeCards. * backend/pas/pas-book-view.h: change prototype for pas_book_view_notify_remove, and add prototype for pas_book_view_notify_remove_1. * backend/pas/pas-book-view.c (pas_book_view_notify_remove_1): build up a list and call pas_book_view_notify_remove. (pas_book_view_notify_remove): build up the corba id sequence and call BookViewListener::notifyCardsRemoved. * backend/pas/pas-backend.h: remove_card -> remove_cards. * backend/pas/pas-backend.c (pas_backend_remove_cards): rename from _remove_card. (process_client_requests): RemoveCard -> RemoveCards and _remove_card -> _remove_cards. * backend/pas/pas-backend-ldap.c (check_schema_support): g_strcasecmp -> g_ascii_strcasecmp. (remove_card_handler): _remove => _remove_1. (modify_card_modify_handler): same. (pas_backend_ldap_process_remove_cards): rename from _remove_card. (pas_backend_ldap_class_init): _remove_card -> _remove_cards. * backend/pas/pas-backend-file.c (pas_backend_file_class_init): remove_card -> remove_cards. (pas_backend_file_get_static_capabilities): add "bulk-removes". (pas_backend_file_process_remove_cards): rewrite this function largely, so that it handles lists of ids. first we loop through and for every successful deletion we build a list of deleted ECards. Then for each view we build a list (a subset of the deleted ECard list) and pass back that list to the view. (pas_backend_file_process_modify_card): use _remove_1 instead of _remove. (ecard_matches_search): new function. * backend/pas/pas-backend-card-sexp.c (pas_backend_card_sexp_match_vcard): rewrite in terms of _match_ecard. (pas_backend_card_sexp_match_ecard): new function, the guts from _match_vcard. * backend/pas/pas-backend-card-sexp.h: add prototype for pas_backend_card_sexp_match_ecard. * backend/idl/addressbook.idl: the card removal stuff now takes CardIdList. * backend/ebook/e-book.c (e_book_get_static_capabilities): cache successful capability queries (since they're static). (e_book_check_static_capability): new, convenience function to check if a particular capability is supported. (e_book_remove_card_by_id): build a single element GList and call e_book_remove_cards. (e_book_remove_cards): build up a CORBA sequence from the GList and call Book::removeCards. (e_book_dispose): free the cached capabilities string. * backend/ebook/e-book.h: add new prototypes for e_book_check_static_capability and e_book_remove_cards. * backend/ebook/e-book-view.h (struct _EBookViewClass): rename "card_removed" signal to "cards_removed". * backend/ebook/e-book-view.c (e_book_view_do_removed_event): id -> ids, and free the id list. (e_book_view_check_listener_queue): CardRemovedEvent -> CardsRemovedEvent. * backend/ebook/e-book-view-listener.c (e_book_view_listener_queue_response): free the id list. (e_book_view_listener_queue_idlist_event): new function, used for cards_removed. (e_book_view_listener_queue_status_event): id -> ids. (e_book_view_listener_queue_sequence_event): same. (e_book_view_listener_queue_message_event): same. (impl_BookViewListener_notify_cards_removed): call queue_idlist_event. (e_book_view_listener_dispose): free the id list. (e_book_view_listener_class_init): track change to idl call. * backend/ebook/e-book-view-listener.h (EBookViewListenerOperation): CardRemovedEvent -> CardsRemovedEvent. (EBookViewListenerResponse): char *id -> GList *ids. * backend/ebook/e-book-listener.c (impl_BookListener_respond_r svn path=/trunk/; revision=19854
* Remove cruft. (gladedir, etspecdir): Remove definitions. (glade_DATA):Dan Winship2003-02-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/widgets/Makefile.am (INCLUDES): Remove cruft. (gladedir, etspecdir): Remove definitions. (glade_DATA): Empty, so remove it. * gui/widgets/e-addressbook-reflow-adapter.c: #include <string.h> (addressbook_get_property): Remove unused variable * gui/widgets/e-addressbook-view.c: #include <string.h> (get_selection_model): Add a g_return_val_if_reached. * gui/widgets/e-minicard.c: #include string.h, gtkmain.h, gnome-canvas-pixbuf.h (field_changed): s/gtk_object_unref/g_object_unref/ (get_left_width): Remove unused variable * gui/widgets/e-minicard-control.c: #include <string.h> (pstream_load, pstream_save): Use g_ascii_strcasecmp * gui/widgets/e-minicard-view.c: #include <string.h> * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_new): s/gtk_type_new/g_object_new/ svn path=/trunk/; revision=19784
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-051-8/+8
| | | | svn path=/trunk/; revision=19736
* Version using $(BASE_VERSION). (etspecdir): Likewise. (iconsdir):Ettore Perazzoli2003-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/select-names/Makefile.am (gladedir): Version using $(BASE_VERSION). (etspecdir): Likewise. (iconsdir): Likewise. * gui/contact-list-editor/Makefile.am (iconsdir): Version using $(BASE_VERSION). (gladedir): Likewise. * gui/merging/Makefile.am (gladedir): Version using $(BASE_VERSION). * gui/search/Makefile.am (ruledir): Version using $(BASE_VERSION). * gui/component/Makefile.am (INCLUDES): Update EVOLUTION_IMAGESDIR to be versioned through $(BASE_VERSION). * gui/widgets/e-addressbook-view.c (init_collection): Use EVOLUTION_GALVIEWSDIR. * gui/widgets/Makefile.am (INCLUDES): Define EVOLUTION_GALVIEWSDIR and update EVOLUTION_IMAGESDIR. svn path=/trunk/; revision=19551
* applied patch from Frederic Crozat <fcrozat@mandrakesoft.com>Radek Doulik2003-01-221-18/+18
| | | | svn path=/trunk/; revision=19540
* oops, don't include e-treeview-selection-model.h unless we're building theChris Toshok2003-01-091-1/+1
| | | | | | | | | 2003-01-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c: oops, don't include e-treeview-selection-model.h unless we're building the treeview. svn path=/trunk/; revision=19304
* add E_ADDRESSBOOK_VIEW_TREEVIEW to the enum, ifdef'ed out.Chris Toshok2003-01-091-18/+149
| | | | | | | | | | | | | | | | | | | | | | | 2003-01-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.h: add E_ADDRESSBOOK_VIEW_TREEVIEW to the enum, ifdef'ed out. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): add ifdefed treeview code. (init_collection): same. (display_view): same. (get_selection_model): same. (treeview_row_activated): same. (create_treeview_view): same. (change_view_type): same.xo (e_addressbook_view_print): same. (e_addressbook_view_print_preview): same. * gui/widgets/Makefile.am: add in the treeview sources (commented out). svn path=/trunk/; revision=19300
* g_string_sprintfa -> g_string_append_printf. (create_alphabet): same.Chris Toshok2002-12-191-7/+3
| | | | | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (jump_to_letters): g_string_sprintfa -> g_string_append_printf. (create_alphabet): same. (create_minicard_view): remove gtk_widget_{push,pop}_visual. * gui/widgets/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. svn path=/trunk/; revision=19161
* gnomedialog -> gtkdialog stuff. print dialog is a gtkdialog now.Not Zed2002-12-021-3/+4
| | | | | | | | | | | | | | | 2002-12-02 Not Zed <NotZed@Ximian.com> * gui/widgets/e-addressbook-view.c (e_contact_print_button): gnomedialog -> gtkdialog stuff. print dialog is a gtkdialog now. * gui/contact-editor/e-contact-editor.c: include gtkstock.h 2002-11-27 Not Zed <NotZed@Ximian.com> * gui/contact-editor/e-contact-editor-address.c: #include gtkstock.h svn path=/trunk/; revision=18971
* remove the button_press_event handler (that did nothing). this makes it soChris Toshok2002-11-291-9/+0
| | | | | | | | | | | 2002-11-28 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (create_minicard_view): remove the button_press_event handler (that did nothing). this makes it so button presses actually get to the canvas (and therefore we can now drag the lines in the reflow widget). svn path=/trunk/; revision=18954
* clean this up a tad.Chris Toshok2002-11-151-80/+1
| | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-factory-minicard.c: clean this up a tad. * gui/widgets/e-addressbook-view.c (init_collection): re-enable this. (setup_menus): same. * gui/widgets/gal-view-minicard.[ch]: more GObject work. svn path=/trunk/; revision=18776
* change signature to that of a weak ref notify function. (main): ::destroyChris Toshok2002-11-121-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-11 Chris Toshok <toshok@ximian.com> * gui/widgets/test-reflow.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/test-minicard.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/test-minicard-view.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/test-minicard-label.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/e-minicard-widget.c (e_minicard_widget_init): ifdef out the call to gnome_canvas_set_scroll_region. It doesn't seem necessary judging from the rest of the code, and it also crashes the addressbook if it's in. * gui/widgets/e-minicard-widget-test.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/e-minicard-control.c (free_struct): change signature to that of a weak ref notify function. (e_minicard_control_factory): ::destroy -> weak_ref. * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): ::destroy -> weak_ref. (e_addressbook_view_print): same. (free_closure): change signature to that of a weak ref notify function. (e_contact_print_destroy): same. (invisible_destroyed): same. * gui/widgets/e-addressbook-util.c (e_addressbook_prompt_save_dialog): convert from GnomeDialog to GtkDialog. (e_addressbook_show_multiple_cards): same. * gui/contact-list-editor/e-contact-list-editor.c (prompt_to_save_changes): change response ids to use GTK_RESPONSE_. * gui/component/select-names/e-select-names-manager.c (clear_widget): new function. (e_select_names_manager_activate_dialog): ::destroy -> weak_ref. * gui/component/select-names/e-select-names.c (clear_widget): change signature to that of a weak ref notify function. (e_select_names_init): ::destroy -> weak_ref. * gui/component/e-address-popup.c (mini_wizard_destroy_cb): change signature to that of a weak ref notify function. (mini_wizard_new): ::destroy -> weak_ref. * gui/component/addressbook-config.c (addressbook_source_dialog_destroy): change signature to that of a weak ref notify function. (ldap_config_control_destroy_callback): same. (addressbook_add_server_druid): ::destroy -> weak_ref. (addressbook_edit_server_dialog): same. (ldap_config_control_new): same. * gui/component/addressbook.c (destroy_callback): change signature to that of a a weak ref notify function. (addressbook_factory_new_control): ::destroy -> weak_ref. * gui/merging/e-card-merging.c (response): rename clicked to this, and destroy the dialog here. (match_query_callback): ::clicked -> ::response * gui/merging/e-card-merging-book-commit-duplicate-detected.glade: convert. * gui/merging/e-card-duplicate-detected.glade: same. svn path=/trunk/; revision=18719
* guard against multiple invocations. (remove_book_view): same.Chris Toshok2002-11-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.c (free_data): guard against multiple invocations. (remove_book_view): same. (addressbook_dispose): same. * gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose): same. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_dispose): same. * gui/widgets/e-minicard-view.c (e_minicard_view_dispose): same. * gui/widgets/e-minicard-widget.c (e_minicard_widget_dispose): same. svn path=/trunk/; revision=18685
* port work.Chris Toshok2002-11-091-48/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * gui/widgets/test-reflow.c: port work. * gui/widgets/test-minicard-view.c: port work. * gui/widgets/e-minicard.[ch]: port work. * gui/widgets/e-minicard-widget.c: port work. * gui/widgets/e-minicard-view.c: port work. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_size_allocate): gtk_->g_ change i missed. (e_minicard_view_widget_reflow): same. * gui/widgets/e-minicard-label.c: port work. * gui/widgets/e-minicard-control.c (get_prop): gtk_->g_ change i missed. * gui/widgets/e-addressbook-view.c (setup_menus): ifdef this PENDING_PORT_WORK for now. (has_email_address_1): gtk_->g_ change i missed. (print): remove the PENDING_PORT_WORK from here, as the print_* symbols now resolve. (delete): gtk_->g_ changes. (new_card): same. (new_list): same. (sources): same. (create_minicard_view): same. (table_double_click): same. (create_table_view): same. (e_contact_print_destroy): same. (e_contact_print_button): same. (e_addressbook_view_print): same, and remove the PENDING_PORT_WORK ifdef. (e_addressbook_view_print_preview): same. (do_remove): gtk_->g_ changes. (e_addressbook_view_save_state): same. (view_transfer_cards): same. * gui/widgets/e-addressbook-view.h (struct _EAddressbookView): GtkObject -> GObject. * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): GnomeDialog -> GtkDialog. * gui/widgets/e-addressbook-table-adapter.c (addressbook_set_value_at): a gtk_->g_ change i missed. (e_addressbook_table_adapter_class_init): gtk_type_class -> g_type_class_peek_parent. * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_get_property): use g_object_get_property for aggregated properties. (e_addressbook_reflow_adapter_class_init): gtk_type_class -> g_type_class_peek_parent. * gui/merging/e-card-merging.c (match_query_callback): some misc gtk_->g_ changes i missed. svn path=/trunk/; revision=18682
* gobjectify this.Chris Toshok2002-11-071-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix the gnome-xml headers.Chris Toshok2002-11-061-48/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-minicard.c: fix the gnome-xml headers. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): convert from gtk signals and args to GSignal and GObject properties. (e_addressbook_view_dispose): rename _destroy to this. (e_addressbook_view_set_property): rework _set_arg to this. (e_addressbook_view_get_property): rework _get_arg to this. (display_view): if we're here we need to choose a view, regardless of whether or not the GAL_IS_VIEW_* macros tell us which type it is. * gui/widgets/e-addressbook-table-adapter.c: fix the gnome-xml headers. * gui/widgets/e-addressbook-model.c (e_addressbook_model_class_init): use INT, not ENUM in the signal here. * gui/component/addressbook-config.c: another big gtk_* -> g_* renaming. * gui/component/addressbook.c: same. * gui/component/e-address-popup.c: same. * gui/component/e-address-widget.c: same. * gui/component/e-cardlist-model.c: fix the gnome-xml headers, and more gtk_* -> g_* renaming. * gui/component/addressbook-component.c (owner_set_cb): use evolution_shell_client_corba_objref as per ettore's change to EvolutionShellClient.. (create_view): fix the call to bonobo_control_set_property. (create_component): gtk_signal_connect -> g_signal_connect. * gui/component/addressbook-storage.c: fix the gnome-xml headers. (addressbook_storage_setup): use evolution_shell_client_corba_objref as per ettore's change to EvolutionShellClient.. (addressbook_get_other_contact_storage): gtk_signal_connect -> g_signal_connect. (load_source_data): root->childs -> root->childrens. svn path=/trunk/; revision=18598
* Port to GObject/gnome2.Chris Toshok2002-11-061-194/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.[ch]: Port to GObject/gnome2. * gui/widgets/e-addressbook-reflow-adapter.c: Port to GObject/gnome2. * gui/widgets/e-addressbook-table-adapter.c: Port to GObject/gnome2. * gui/widgets/e-addressbook-util.c: Port to GObject/gnome2. * gui/widgets/e-addressbook-view.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-control.c: Port to GObject/gnome2. * gui/widgets/e-minicard-label.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-view-widget.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-view.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-widget-test.c: Port to GObject/gnome2. * gui/widgets/e-minicard-widget.c: Port to GObject/gnome2. * gui/widgets/e-minicard.[ch]: Port to GObject/gnome2. * gui/widgets/gal-view-factory-minicard.c: Port to GObject/gnome2. * gui/widgets/gal-view-minicard.c: Port to GObject/gnome2. * gui/widgets/test-minicard-label.c: Port to GObject/gnome2. * gui/widgets/test-minicard-view.c: Port to GObject/gnome2. * gui/widgets/test-minicard.c: Port to GObject/gnome2. * gui/widgets/test-reflow.c: Port to GObject/gnome2. * gui/widgets/Makefile.am: typical port stuff. add marshaller generation foo, dist it... * gui/widgets/.cvsignore: ignore the marshaller stuff. svn path=/trunk/; revision=18588
* [ fix for #23764 ] handle multiple letters associated with a singleChris Toshok2002-10-221-11/+25
| | | | | | | | | | | | | 2002-10-20 Chris Toshok <toshok@ximian.com> [ fix for #23764 ] * gui/widgets/e-addressbook-view.c (jump_to_letters): handle multiple letters associated with a single button. (button_toggled): closure->letter -> closure->letters. (free_closure): free closure->letters. (create_alphabet): init closure->letters. svn path=/trunk/; revision=18407
* [ Fix #7094, #7064, #7095, #31944, #31945 ] Hook up new etspec file.Kjartan Maraas2002-10-101-100/+2
| | | | | | | | | | | | | | | | | | | | 2002-10-10 Kjartan Maraas <kmaraas@gnome.org> [ Fix #7094, #7064, #7095, #31944, #31945 ] * gui/component/Makefile.am: Hook up new etspec file. * gui/component/addressbook-config.c: Remove ETable spec. * gui/component/addressbook-config.etspec: New file. * gui/component/ldap-config.glade: Fix typo. * gui/component/select-names/e-select-names.c: Remove inline spec. * gui/component/select-names/e-select-names.etspec: New file. * gui/contact-list-editor/Makefile.am: Hook up etspec. * gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec. * gui/contact-list-editor/e-contact-list-editor.etspec: New file. * gui/widgets/Makefile.am: Hook up new spec. * gui/widgets/e-addressbook-view.c: Remove inline spec. * gui/widgets/e-addressbook-view.etspec: New file. svn path=/trunk/; revision=18361
* [ Fix #28392 ] #if 0 out the gal_view submenu, since it's not spec'ed toChris Toshok2002-10-051-0/+2
| | | | | | | | | | | 2002-10-02 Chris Toshok <toshok@ximian.com> [ Fix #28392 ] * gui/widgets/e-addressbook-view.c (do_popup_menu): #if 0 out the gal_view submenu, since it's not spec'ed to be there anyway (as per bug #16250). svn path=/trunk/; revision=18322
* [ fixes #20347 ] hook up the backend_died signal. (backend_died): newChris Toshok2002-08-291-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-29 Chris Toshok <toshok@ximian.com> [ fixes #20347 ] * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): hook up the backend_died signal. (backend_died): new function, pop up an error dialog saying the backend died. * gui/widgets/e-addressbook-model.c (backend_died): new function, emit the backend_died signal. (e_addressbook_model_class_init): create the backend_died signal. (e_addressbook_model_init): init backend_died_id (e_addressbook_model_set_arg): disconnect the backend_died signal from the old book and hook it up to the new book. * gui/widgets/e-addressbook-model.h: add the backend_died signal. * backend/ebook/e-book.c (backend_died_cb): new function, emit the backend_died signal. (e_book_do_response_open): create the component listener and hook up the backend_died signal. (e_book_destroy): disconnect the component listener and unref it. * backend/ebook/e-book.h: add backend_died signal. svn path=/trunk/; revision=17918
* take and pass the CallStatus to our listener.Chris Toshok2002-08-201-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-19 Chris Toshok <toshok@ximian.com> * backend/pas/pas-book-view.c (pas_book_view_notify_complete): take and pass the CallStatus to our listener. * backend/pas/pas-book-view.h: change the prototype for notify_complete to include the CallStatus. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_seq_complete_cb): add the status arg. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): init the search_result signal. (e_addressbook_view_init): connect to the model's search_result signal. (emit_search_result): emit our search_result signal. (search_result): call emit_search_result. * gui/widgets/e-addressbook-view.h (struct _EAddressbookViewClass): add the search_result signal. * gui/widgets/e-addressbook-model.c (sequence_complete): emit both a "search_result" as well as the "stop_state_changed" signal. (e_addressbook_model_class_init): init the search_result signal. * gui/widgets/e-addressbook-model.h: add search_result signal. * gui/component/addressbook.c (search_result): pop up a dialog telling the user why the search failed or was truncated. (addressbook_factory_new_control): connect to the "search_result" signal on the view. * conduit/address-conduit.c (sequence_complete): add the status parameter to sequence_complete. * backend/idl/addressbook.idl: add BookViewListener_CallStatus, and change notifySequenceComplete to take a CallStatus. * backend/pas/pas-backend-ldap.c (create_card_handler): pass status back in the notify_complete call. (remove_card_handler): same. (modify_card_modify_handler): same (ldap_search_handler): same, and parse out the ldap return code so we can report limits being properly. * backend/pas/pas-backend-file.c (do_summary_query): pass status back in the notify_complete call. (pas_backend_file_search): same, and get rid of the status_message, as the status is passed back properly. (pas_backend_file_search): pass status back in the notify_complete call. (pas_backend_file_changes): same. (pas_backend_file_process_create_card): same. (pas_backend_file_process_remove_card): same. (pas_backend_file_process_modify_card): same. * backend/ebook/e-book-util.c (simple_query_sequence_complete_cb): add status parameter. * backend/ebook/e-book-view-listener.c (e_book_view_listener_queue_status_event): change name from _queue_empty_event, and take a status arg. (e_book_view_listener_queue_id_event): init resp->status (to SUCCESS). (e_book_view_listener_queue_sequence_event): same. (e_book_view_listener_queue_message_event): same. (impl_BookViewListener_notify_sequence_complete): call queue_status_event, and convert the corba status to EBookViewStatus. (e_book_view_listener_convert_status): new function, conver the corba status to EBookViewStatus. * backend/ebook/e-book-view-listener.h: add a "status" slot to EBookViewListenerResponse. * backend/ebook/e-book-view.h: change prototype for sequence_complete signal. * backend/ebook/e-book-view.c (e_book_view_do_complete_event): sequence_complete takes a parameter now (EBookViewStatus). (e_book_view_class_init): add the enum arg to the signal. * backend/ebook/e-book-types.h: add EBookViewStatus enum. svn path=/trunk/; revision=17814
* pass NULL to e_contact_list_save_as. modality sucks. fixes broken build.Chris Toshok2002-06-181-2/+2
| | | | | | | | | | | 2002-06-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_save_as): pass NULL to e_contact_list_save_as. modality sucks. fixes broken build. (save_as): same. svn path=/trunk/; revision=17212
* Set the title of our GalVIewCollection.Christopher James Lahey2002-06-041-0/+2
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (init_collection): Set the title of our GalVIewCollection. svn path=/trunk/; revision=17102
* Added this function so that there would be less duplication of cardsChristopher James Lahey2002-05-011-50/+80
| | | | | | | | | | | | | | | | | | | 2002-04-30 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-model.c, gui/widgets/e-addressbook-model.h (e_addressbook_model_peek_card): Added this function so that there would be less duplication of cards during run time when duplication is unnecessary. * gui/widgets/e-addressbook-view.c: Cleaned up get_card_list and a number of associated functions to be much more uniform and simpler. (get_has_email_address): Don't show the "Send Message to Contact" menu item if there are no email addresses in the listed contacts. Fixes bug #1298. svn path=/trunk/; revision=16649
* Make unused menu items disappear instead of graying out.Christopher James Lahey2002-04-241-1/+29
| | | | | | | | | 2002-04-23 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (do_popup_menu): Make unused menu items disappear instead of graying out. svn path=/trunk/; revision=16568
* Removed e_addressbook_reflow_adapter_right_click andChristopher James Lahey2002-04-241-259/+303
| | | | | | | | | | | | | | | | | | | | | | | | 2002-04-23 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-reflow-adapter.h: Removed e_addressbook_reflow_adapter_right_click and e_addressbook_reflow_adapter_base_right_click. * gui/widgets/e-addressbook-view.c: Handle right click menu for both types of view. Merged right click on white space with right click on main area. General clean up. * gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h: Removed a couple unnecessary functions. Added e_minicard_view_widget_get_view. Added right_click signal. * gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h: Added the right_click signal and the e_minicard_view_get_card_list function. svn path=/trunk/; revision=16567
* Removed an unused variable here.Christopher James Lahey2002-04-231-1/+16
| | | | | | | | | | | | | 2002-04-22 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.h: Removed an unused variable here. * gui/widgets/e-addressbook-view.c (table_right_click, table_white_space_event): Added a current view submenu to the popup menu here. svn path=/trunk/; revision=16561
* Bumped required gal version number to 0.19.99.11.Christopher James Lahey2002-04-181-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped required gal version number to 0.19.99.11. From addressbook/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_create_categories): Changed this to use ECategoriesMasterListOptionMenu. * gui/component/select-names/e-select-names.c (section_right_click_cb), gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-view.c: Updated these to match the new EPopupMenu. From calendar/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c, gui/dialogs/meeting-page.c: Updated these to match the new EPopupMenu. From mail/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, mail-display.c: Updated these to match the new EPopupMenu. From shell/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-activity-handler.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16498
* Include addressbook-config.h here as this file uses it.Christopher James Lahey2002-04-121-13/+80
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-11 Christopher James Lahey <clahey@ximian.com> * gui/component/addressbook-component.c: Include addressbook-config.h here as this file uses it. * gui/component/select-names/e-select-names.c (SPEC, SPEC2): Made this dialog searchable by typing in the ETable. * gui/widgets/e-addressbook-model.c: Include e-addressbook-util.h here. * gui/widgets/e-addressbook-reflow-adapter.c (e_addressbook_reflow_adapter_right_click), gui/widgets/e-addressbook-view.c (table_right_click): Fixed a memory leak here by using "selection-done" signal. * gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-reflow-adapter.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-view.c: Added a right click menu for areas that aren't cards. svn path=/trunk/; revision=16440
* Update to use new EPopupMenu API.Jeffrey Stedfast2002-03-161-11/+11
| | | | | | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gui/widgets/e-addressbook-view.c (table_right_click): Update to use new EPopupMenu API. * gui/widgets/e-addressbook-reflow-adapter.c (e_addressbook_reflow_adapter_right_click): Update to use new EPopupMenu API. * gui/component/select-names/e-select-names.c (section_right_click_cb): Update to match new EPopupMenu api. svn path=/trunk/; revision=16183
* since I've gone ahead and made the file backend (by way ofChris Toshok2002-03-101-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-09 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (jump_to_letter): since I've gone ahead and made the file backend (by way of pas-backend-card-sexp.c) use case insensitive searches for beginswith, there's no need to list upper and lower case here. * gui/component/addressbook.c (addressbook_search_option_items): reorder things to put "Any field contains" at the end, since it's the least efficient search. Also reorder the enum to the same ordering. Change "Name contains" to "Name begins with" and change "Email contains" to "Email is". (addressbook_search_activated): change FULL_NAME to beginswith, and change EMAIL to is to match the labels. * backend/pas/pas-backend-card-sexp.c (compare_name): new function, so we can compare both full and family names (so beginswith can operate on them both.) (endswith_helper): use e_utf8_strstrcase here, since all the backends backends use case insensitive searching. (func_endswith): same. svn path=/trunk/; revision=16004
* Attach to the emvw instead of the emv here.Christopher James Lahey2002-02-141-2/+1
| | | | | | | | | | | | | | | | | | 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (display_view): Attach to the emvw instead of the emv here. * gui/widgets/e-minicard-view-widget.c, e-minicard-view-widget.h: Made this object have a "column_width" argument and a "column_width_changed" signal which are a simple layer down to the EMinicardView contained within. * gui/widgets/gal-view-minicard.c, gui/widgets/gal-view-minicard.h (gal_view_minicard_attach): Made this attach to an EMinicardViewWidget instead of a EMinicardView. svn path=/trunk/; revision=15714
* Finishing commit that failed in the middle:Christopher James Lahey2002-02-141-7/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-13 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-book-util.c, backend/ebook/e-book-util.h (e_book_expand_uri, e_book_load_address_book_by_uri, e_book_use_address_book_by_uri): New functions that take a file:// url ending in the directory name and automatically append the addressbook.db and do the appropriate thing. * backend/pas/pas-backend-card-sexp.c, backend/pas/pas-backend-card-sexp.h: Added copyright notice here. * gui/component/addressbook-component.c (destination_folder_handle_drop), gui/component/addressbook.c (set_prop): Use e_book_expand_uri instead of addressbook_expand_uri. * gui/component/addressbook-storage.c: Fixed the fcntl include here. * gui/component/addressbook.c (ContactsCopyToFolder, ContactsMoveToFolder): Added handlers for these two verbs. * gui/component/addressbook.h: Removed addressbook_expand_uri in favor of e_book_expand_uri. * gui/widgets/e-addressbook-reflow-adapter.c (transfer_cards): Added code to handle Move to and Copy to right click menu items. * gui/widgets/e-addressbook-util.c, gui/widgets/e-addressbook-util.h (e_addressbook_transfer_cards): New function to pop up a dialog and transfer a set of cards to the given folder. * gui/widgets/e-addressbook-view.c, gui/widgets/e-addressbook-view.h (display_view): Don't attach to the view if it doesn't exist yet. We have to make this then attach later. (e_addressbook_view_copy_to_folder, e_addressbook_view_move_to_folder): New functions utilizing e_addressbook_transfer_cards. (table_right_click): Add copy_to_folder and move_to_folder to the right click menu for tables here. (e_addressbook_view_discard_menus): Handle menu unmerging here. * gui/widgets/e-minicard-view-widget.h (struct _EMinicardViewWidget): Removed unused field. svn path=/trunk/; revision=15711
* Attach the GalViewMinicard to the EMinicardView here.Christopher James Lahey2002-02-131-0/+1
| | | | | | | | | | | | | | | | 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (display_view): Attach the GalViewMinicard to the EMinicardView here. * gui/widgets/gal-view-minicard.c, gui/widgets/gal-view-minicard.h (gal_view_minicard_load, gal_view_minicard_save): Made these save the column width of the view. (gal_view_minicard_attach, gal_view_minicard_detach): Added these functions to allow the GalViewMinicard to set the column width of a EMinicardView and to monitor its changes. svn path=/trunk/; revision=15707
* Added an argument to get the model.Christopher James Lahey2002-02-131-14/+2
| | | | | | | | | | | | | | | | 2002-02-12 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_get_arg): Added an argument to get the model. * gui/widgets/e-addressbook-view.c (writable_status): Don't bother connecting to the writable_status callback on the book, simply rely on the writable_status callback on the addressbook model. * gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h (set_empty_message): Handle the case of a read only view here. svn path=/trunk/; revision=15698