Commit Graph

13159 Commits

Author SHA1 Message Date
9b1f4e133b [ fixes bug 16097 ] gui love for the new auth stuff.
2002-01-24  Chris Toshok  <toshok@ximian.com>

	[ fixes bug 16097 ]
	* gui/component/addressbook-config.glade: gui love for the new
	auth stuff.

	* gui/component/addressbook.c (load_uri_cb): track change to auth,
	and offer up different prompt strings depending on which method
	(binddn or email) we're using.

	* gui/component/addressbook-storage.c (ldap_unparse_auth): use the
	new auth types for ldap.
	(ldap_parse_auth): same.
	(addressbook_storage_auth_type_to_string): new function.
	(load_source_data): get the binddn too.
	(ldap_source_foreach): store out binddn or emailaddr, depending on
	the auth type chosen.

	* gui/component/addressbook-storage.h: add the more detailed auth
	types, add "binddn" to the source structure, and add a prototype
	for addressbook_storage_auth_type_to_string.

	* gui/component/addressbook-config.c (auth_checkbutton_changed):
	set the auth stuff  (in)sensitive.
	(auth_optionmenu_activated): new function.
	(addressbook_source_dialog_set_source): track UI change.
	(addressbook_source_dialog_get_source): same.
	(add_scope_activate_cb): rename add_activate_cb to this to
	distinguish it from the auth stuff.
	(add_auth_activate_cb): new function.
	(addressbook_source_dialog): track change to auth UI stuff.
	(addressbook_storage_auth_type_to_string): new function.

	* backend/ebook/e-book.h: add auth_method arg to
	e_book_authenticate_user.

	* backend/ebook/e-book.c (e_book_authenticate_user): track change
	to prototype - add auth_method arg, and pass it along to the CORBA
	call.

	* backend/ebook/test-client.c (book_open_cb): track api change -
	keep this building.

	* backend/pas/pas-book.h: add auth_method slot in PASRequest.

	* backend/pas/pas-book.c (pas_book_queue_authenticate_user): add
	auth_method arg and add it to the PASRequest.
	(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): track
	idl change, add auth_method and pass it along to
	pas_book_queue_authenticate_user.

	* backend/pas/pas-backend-ldap.c
	(pas_backend_ldap_process_authenticate_user): support both
	"ldap/simple-email" and "ldap/simple-binddn" auth methods.

	* backend/idl/addressbook.idl: add "in string authMethod" to
	authenticateUser.

svn path=/trunk/; revision=15467
2002-01-25 04:22:58 +00:00
19bf100361 Updated Norwegian (nynorsk) translation
svn path=/trunk/; revision=15466
2002-01-25 03:19:26 +00:00
2c5fc4d6c2 Use EVOLUTION_CALENDAR_CFLAGS and EVOLUTION_CALENDAR_LIBS. Likewise.
* calendar/cal-client/Makefile.am: Use EVOLUTION_CALENDAR_CFLAGS
and EVOLUTION_CALENDAR_LIBS.
* calendar/cal-util/Makefile.am: Likewise.

svn path=/trunk/; revision=15465
2002-01-24 23:46:45 +00:00
08e6ffe6ff Use EVOLUTION_CALENDAR_CFLAGS and EVOLUTION_CALENDAR_LIBS.
* calendar/cal-client/Makefile.am: Use EVOLUTION_CALENDAR_CFLAGS
and EVOLUTION_CALENDAR_LIBS.

svn path=/trunk/; revision=15464
2002-01-24 23:45:28 +00:00
e7f7d0a9a2 Remove some old cruft.
* Makefile.am: Remove some old cruft.

svn path=/trunk/; revision=15463
2002-01-24 23:44:00 +00:00
d0c556c1eb Ooops. Forgot to use EVOLUTION_CALENDAR_LIBS here.
* importers/Makefile.am (evolution_calendar_importer_LDADD):
Ooops.  Forgot to use EVOLUTION_CALENDAR_LIBS here.

svn path=/trunk/; revision=15462
2002-01-24 23:42:49 +00:00
4ba09274d6 Clean up some of the Makefiles so we dont' link every library multiple
times, causing big libtool 1.4 pain.

svn path=/trunk/; revision=15461
2002-01-24 23:16:18 +00:00
d656b69c9b This wrapper for gdk_beep().
2002-01-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c (session_system_beep): This wrapper for gdk_beep().

svn path=/trunk/; revision=15460
2002-01-24 21:06:12 +00:00
54e6382ccd Call the beep callback function.
2002-01-24  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-driver.c (do_beep): Call the beep callback
	function.
	(camel_filter_driver_set_system_beep_func): New function to set
	the beep callback.

svn path=/trunk/; revision=15459
2002-01-24 21:04:17 +00:00
f5a654d71a Just use BONOBO_HTML_GNOME_CFLAGS and BONOBO_HTML_GNOME_LIBS for
* Makefile.am: Just use BONOBO_HTML_GNOME_CFLAGS and
BONOBO_HTML_GNOME_LIBS for compiling/linking; we don't need the
other ones.

svn path=/trunk/; revision=15458
2002-01-24 20:33:18 +00:00
5302fdbacd Don't bother trying to see if the domain looks like a FQDN.
2002-01-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (is_email): Don't bother trying to see if the
	domain looks like a FQDN.

svn path=/trunk/; revision=15457
2002-01-24 20:14:36 +00:00
57af36acc7 If the mail-display is in focus, then select-all in the mail display
2002-01-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (select_all): If the mail-display is in focus,
	then select-all in the mail display rather than the
	message-list. Fixes bug #19126.

svn path=/trunk/; revision=15456
2002-01-24 20:09:04 +00:00
7c9e80dd30 Add missing files. Ooops!
svn path=/trunk/; revision=15452
2002-01-24 17:48:19 +00:00
356ac50ce7 Applied modified UK locations patch
svn path=/trunk/; revision=15450
2002-01-24 15:18:27 +00:00
d435a965c2 Fix the mail order stuff
svn path=/trunk/; revision=15449
2002-01-24 14:21:20 +00:00
6336d0f2e6 nl.po Translation update
2002-01-24 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>

* nl.po Translation update

svn path=/trunk/; revision=15448
2002-01-24 14:10:16 +00:00
6de9bcee1d More updates to the Italian translation.
* it.po: More updates to the Italian translation.

svn path=/trunk/; revision=15444
2002-01-23 22:55:05 +00:00
d164897fac Updated translation by Clara Tattoni <clara.tattoni@libero.it>.
* it.po: Updated translation by Clara Tattoni
<clara.tattoni@libero.it>.

svn path=/trunk/; revision=15443
2002-01-23 22:36:12 +00:00
c76fc18144 Pass a NULL icon to `evolution_shell_component_add_user_creatable_item()'.
* component-factory.c (create_component): Pass a NULL icon to
`evolution_shell_component_add_user_creatable_item()'.

svn path=/trunk/; revision=15441
2002-01-23 22:23:51 +00:00
091021b931 Pass a NULL @icon to
* gui/component-factory.c (create_object): Pass a NULL @icon to
`evolution_shell_component_add_user_creatable_item()'.

svn path=/trunk/; revision=15440
2002-01-23 22:23:30 +00:00
d60bd882b5 Pass a NULL @icon to
* gui/component/addressbook-component.c (create_component): Pass a
NULL @icon to
`evolution_shell_component_add_user_creatable_item()'.

svn path=/trunk/; revision=15439
2002-01-23 22:23:18 +00:00
4eb4ae3be8 [Implement an Outlook-style "New" dropdown button. It is basically
done but it needs pretty icons so I am leaving it disabled for now.]

* e-combo-button.c: Remove member `separator' from
`EComboButtonPrivate'.  New members `icon', `label'.
(init): There shall be no separator no more.  Init `icon' and
`label' to %NULL.
(e_combo_button_construct): Set no relief.
(e_combo_button_new): Don't get a @menu arg anymore.
(e_combo_button_construct): Likewise.
(e_combo_button_set_icon): New.
(e_combo_button_set_label): New.
(e_combo_button_set_menu): New.
(impl_clicked): New, overriding the "clicked" method for
GtkButton.
(class_init): Install.
(impl_button_release_event): Removed.
(class_init): No need to override ::release_event with this
anymore.
(impl_released): New, override for the GtkButton::released method.
(class_init): Install.

* e-shell-user-creatable-items-handler.c: New member `id' in
struct `Component'.  New member `icon' in struct `MenuItem'.
(component_free): Free ->id.
(component_new): Renamed from `component_new_from_client'.  Get an
@id arg and set ->id accordingly.
(e_shell_user_creatable_items_handler_add_component): New arg @id.
Pass it to `component_new'.
(e_shell_user_creatable_items_handler_setup_menus): New arg
@current_component_id.
(e_shell_user_creatable_items_handler_update_menus): New.
(set_current_component): New helper function.
(get_component_by_id): New helper function.
(add_verbs): Renamed from `add_verbs_to_ui_component()'.  Get a
@shell_view instead of a @ui_component.  Set the SHELL_VIEW_KEY on
the ui_component of the shell_view to point to the shell_view
itself.
(ensure_menu_items): Set item->icon to NULL.
(free_menu_items): Unref item->icon.
(ensure_menu_xml): Set the icon as well.
(get_default_action_for_view): New helper function.
(find_menu_item_for_verb): New helper function.
(shell_view_view_changed_callback): New callback, set up the label
on the "New" button depending on the current component.
(e_shell_user_creatable_items_handler_attach_menus): New.  For
now, do not display the toolbar button yet.
(execute_verb): New helper function, splitting out code from
`verb_fn'.
(verb_fn): Use `execute_verb'.
(combo_button_activate_default_callback): Callback for the
"activate_default" signal on the EComboButton.
(setup_toolbar_button): Connect.

* evolution-shell-component.c: New member `icon' in
`UserCreatableItemType'.
(impl__get_userCreatableItemTypes): Put the ->icon in the
corba_type as well.
(user_creatable_item_type_new): Get a new @icon argument.
(evolution_shell_component_add_user_creatable_item): New arg
@icon.

* Evolution-ShellComponent.idl: New member `icon' in struct
`UserCreatableItemType'.

* evolution-test-component.c (register_component): Pass a NULL
@icon to `evolution_shell_component_add_user_creatable_item()'.

* e-shell-view.c (class_init): Add the signal to the class.
(e_shell_view_display_uri): Emit "view_changed".
(e_shell_view_get_current_component_id): New.

* evolution-shell-component-client.c: New member `id' in
EvolutionShellComponentClientPrivate.
(init): Init to NULL.
(impl_destroy): Free.
(evolution_shell_component_client_new_for_objref): Removed.
(evolution_shell_component_client_construct): New arg @id.
Initialize ->id from it.
(evolution_shell_component_client_get_id): New.

* e-shell-view.h: New signal "view_changed".

* evolution-activity-client.c (create_icon_from_pixbuf): Removed.
(create_corba_animated_icon_from_pixbuf_array): Removed.
(evolution_activity_client_construct): Use
`e_new_corba_animated_icon_from_pixbuf_array()' instead.

svn path=/trunk/; revision=15438
2002-01-23 22:21:24 +00:00
8cdf205496 Implements bug #15692
2002-01-23  Jeffrey Stedfast  <fejj@ximian.com>

	Implements bug #15692

	* folder-browser.c (html_button_press_event): New callback that
	checks to make sure that the mouse isn't over a link or image in
	the html view and then calls the on_right_click handler after
	getting the appropriate args.
	(my_folder_browser_init): Connect to the button_press_event here.

svn path=/trunk/; revision=15437
2002-01-23 20:43:16 +00:00
f7468e0d26 [Patch by Michael Meeks <michael@ximian.com>.]
* e-splash.c (e_splash_set_icon_highlight): g_return if there is
no num-th icon.

svn path=/trunk/; revision=15433
2002-01-23 17:57:32 +00:00
64c727d0b4 #include <locale.h>.
* gui/contact-editor/e-contact-editor-address.c: #include
<locale.h>.

svn path=/trunk/; revision=15431
2002-01-23 16:48:36 +00:00
1dbe7b59d9 Define CAMEL_PROVIDERDIR to be the configure.in-defined camel_providerdir.
* Makefile.am (INCLUDES): Define CAMEL_PROVIDERDIR to be the
	configure.in-defined camel_providerdir. (Was supposed to have been
	committed a month ago... oops.)

svn path=/trunk/; revision=15430
2002-01-23 16:44:19 +00:00
70baa3cb72 lv.po - Recommited for two stupid mistakes by me.
2002-01-23 Peteris Krisjanis <peteris.krisjanis@ttc.lv>
lv.po - Recommited for two stupid mistakes by me.

svn path=/trunk/; revision=15429
2002-01-23 15:50:39 +00:00
13078dd43f lv.po - Updated Latvian translation.
2002-01-23 Peteris krisjanis <peteris.krisjanis@ttc.lv>
lv.po - Updated Latvian translation.

svn path=/trunk/; revision=15428
2002-01-23 02:52:25 +00:00
2cb6aac77f [ fixes bug # 16864 ] create and return a GString here, instead of writing
2002-01-22  Chris Toshok  <toshok@ximian.com>

	[ fixes bug # 16864 ]
	* backend/ebook/evolution-ldif-importer.c (getValue): create and
	return a GString here, instead of writing to a fixed size buffer.
	(parseLine): use a GString here instead of a fixed size buffer.

svn path=/trunk/; revision=15427
2002-01-23 01:35:31 +00:00
b863a7b277 Now takes a boolean notify argument. If this is *not* set, then remove the
2002-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_filter_folder): Now takes a boolean notify
	argument. If this is *not* set, then remove the sound-notify
	filter rule that mail-session adds. Kinda kludgy, but good enough
	for the moment.

	* mail-callbacks.c (guess_me): Simplified.

svn path=/trunk/; revision=15426
2002-01-23 00:13:08 +00:00
b66e5a238a New function to remove a filter rule by name.
2002-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-driver.c (camel_filter_driver_remove_rule_by_name):
	New function to remove a filter rule by name.

svn path=/trunk/; revision=15425
2002-01-23 00:10:42 +00:00
f87bf7fa77 Simplified.
2002-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (guess_me): Simplified.

svn path=/trunk/; revision=15424
2002-01-22 20:52:16 +00:00
cfe53117d6 Yet Another Stupid Marshaller.
* gal/util/e-util.c (e_marshal_NONE__POINTER_POINTER_POINTER_POINTER): New.

svn path=/trunk/; revision=15423
2002-01-22 20:14:17 +00:00
dd8b13b391 Updated Slovak translation.
2002-01-22  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

svn path=/trunk/; revision=15422
2002-01-22 11:54:30 +00:00
cf8db42ff8 As a temporary solution, just printf ("\a"); to make a beep :-)
2002-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-driver.c (do_beep): As a temporary solution, just
	printf ("\a"); to make a beep :-)

	* providers/imap/camel-imap-command.c
	(imap_command_strdup_vprintf): Encode the mailbox to UTF-7 here.

	* providers/imap/camel-imap-utils.c (imap_parse_list_response):
	Decode the mailbox name as we parse the list response.
	(imap_mailbox_decode): It's only an illegal mailbox name if it
	didn't switch back to US-ASCII mode.

svn path=/trunk/; revision=15421
2002-01-21 23:28:20 +00:00
16b174cf0e If the first "token" in the body is "<html>", then treat this as a
2002-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_text_plain): If the first "token" in the
	body is "<html>", then treat this as a text/html part rather than
	a text/plain part. Fixes bug #16817.

	* component-factory.c (destination_folder_handle_drop): Removed
	some unused variables.

svn path=/trunk/; revision=15420
2002-01-21 21:58:07 +00:00
b786669499 Buffers Files Tools Edit Search Mule Help
2002-01-21  JP Rosevear  <jpr@ximian.com>

	* conduits/todo/todo-conduit.c (todoconduit_load_configuration):
	return a new configuration struct, load default priority setting
	(todoconduit_save_configuration): save default priority setting
	(e_todo_context_new): dupe configuration

	* conduits/calendar/calendar-conduit.c (e_calendar_context_new):
	set ps to NULL

svn path=/trunk/; revision=15419
2002-01-21 18:02:31 +00:00
a10b9d3aa1 Implement max_width_by_row.
2002-01-21  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c: Implement max_width_by_row.

	* e-cell-tree.c: Use max_width_by_row in max_width function.

	* e-cell.c, e-cell.h (e_cell_max_width_by_row): Added this new
	method to ECell.

svn path=/trunk/; revision=15418
2002-01-21 17:55:16 +00:00
88646d5173 Updated
svn path=/trunk/; revision=15417
2002-01-21 16:46:07 +00:00
1443e72ba4 Updated russian translation.
svn path=/trunk/; revision=15416
2002-01-21 15:29:46 +00:00
43c9ba9a20 Set the number of cards to return to the value specified in the ldap uri,
2002-01-21  Christopher James Lahey  <clahey@ximian.com>

	* backend/pas/pas-backend-ldap.c (ldap_search_handler): Set the
	number of cards to return to the value specified in the ldap uri,
	leaving the default at 100.  Fixes Ximian bug #13953.

	* gui/component/addressbook-config.c (addressbook_source_dialog),
	gui/component/addressbook-config.glade: Added a limit entry here
	to edit the limit field of the source.

	* gui/component/addressbook-storage.c,
	gui/component/addressbook-storage.h
	(addressbook_storage_init_source_uri): Added a limit field to this
	class and pass that value through in the uri that's generated.

svn path=/trunk/; revision=15415
2002-01-21 15:11:50 +00:00
fa21c59a5f Stop the importer dialog going behind the main window
svn path=/trunk/; revision=15413
2002-01-21 14:44:16 +00:00
994338982f Request a reflow and an update when the text model changes. Fixes Ximian
2002-01-20  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c (e_text_text_model_changed): Request a
	reflow and an update when the text model changes.  Fixes Ximian
	bug #16459.
	(e_text_set_arg): (ARG_TEXT) Don't set the number of lines to one
	here.

svn path=/trunk/; revision=15411
2002-01-21 01:57:23 +00:00
7a987fd4d3 Readded.
2002-01-20  Carlos Perelló Marín <carlos@gnome-db.org>

	* ChangeLog: Readded.

svn path=/trunk/; revision=15364
2002-01-20 13:41:39 +00:00
95a548f724 *** empty log message ***
svn path=/trunk/; revision=15363
2002-01-20 12:44:19 +00:00
da5d9e6dc2 New function to decode an IMAP mailbox name from modified UTF-7 encoding
2002-01-18  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-utils.c (imap_mailbox_decode): New
	function to decode an IMAP mailbox name from modified UTF-7
	encoding to UTF-8.
	(imap_mailbox_encode): New function to convert a mailbox name from
	UTF-8 to IMAP's modified UTF-7 encoding.

svn path=/trunk/; revision=15361
2002-01-19 00:03:05 +00:00
695a0a631b Updated Greek translation
svn path=/trunk/; revision=15358
2002-01-18 23:04:14 +00:00
1a9925e251 Made username match with no domain match be vague instead of partial.
2002-01-18  Christopher James Lahey  <clahey@ximian.com>

	* backend/ebook/e-card-compare.c: Made username match with no
	domain match be vague instead of partial.  Fixes Ximian bug
	#13612.

svn path=/trunk/; revision=15356
2002-01-18 15:52:28 +00:00
a30eed771c From addressbook/ChangeLog:
2002-01-18  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/addressbook.c (view_contact_cb): New verb to open
	a bunch of cards.

	* gui/widgets/e-addressbook-reflow-adapter.c (open_card): Call
	e_addressbook_show_multiple_cards instead of doing this ourselves.

	* gui/widgets/e-addressbook-util.c,
	gui/widgets/e-addressbook-util.h
	(e_addressbook_show_multiple_cards): Added this function to show a
	bunch of cards, including a dialog if lots of windows are going to
	appear.

	* gui/widgets/e-addressbook-view.c (e_addressbook_view_view,
	e_addressbook_view_can_view): e_addressbook_view_view calls
	e_addressbook_show_multiple_cards on the appropriate list of
	cards.

From ui/ChangeLog:

2002-01-18  Christopher James Lahey  <clahey@ximian.com>

	* evolution-addressbook.xml: Added File->Open which calls the
	ContactsView command.

svn path=/trunk/; revision=15355
2002-01-18 15:37:09 +00:00
9380c68a1a Sort country list. Country list moves from fulladdr.glade to
2002-01-18  Christopher James Lahey  <clahey@ximian.com>

	* gui/contact-editor/e-contact-editor-address.c
	(fill_in_countries), gui/contact-editor/fulladdr.glade: Sort
	country list.  Country list moves from fulladdr.glade to
	e-contact-editor-address.c, but only a few country names have
	actually changed.  Fixes Ximian bug #16545.

svn path=/trunk/; revision=15354
2002-01-18 14:31:04 +00:00