Commit Graph

13139 Commits

Author SHA1 Message Date
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
49596d2272 typos.
2002-01-17  Aaron Weber  <aaron@ximian.com>

	* C/apx-gloss.sgml: typos.

svn path=/trunk/; revision=15353
2002-01-18 01:58:58 +00:00
04e7d6891c save the alarm string in the correct variable (str), so it actually gets
2002-01-17  Damon Chaplin  <damon@ximian.com>

	* gui/dialogs/alarm-page.c (get_alarm_string): save the alarm string
	in the correct variable (str), so it actually gets shown for alarms
	with specific trigger times. Fixes bug #18801.

svn path=/trunk/; revision=15352
2002-01-18 00:00:05 +00:00
7da35dfe09 Fixes #17725
2001-12-20  Zbigniew Chyla  <cyba@gnome.pl>

	Fixes #17725

	* evolution/addressbook/printing/e-contact-print.c (complete_sequence):
	Do not assume that the first byte of file_as is the first letter, use
	utf8 functions instead.

svn path=/trunk/; revision=15351
2002-01-17 21:59:22 +00:00
a51a121e95 Update to match new uudecode interface (ie, no longer need a uulen state
2002-01-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (try_uudecoding): Update to match new uudecode
	interface (ie, no longer need a uulen state variable).

svn path=/trunk/; revision=15350
2002-01-17 19:32:19 +00:00
eea1e59abb Stop uudecoding once the CAMEL_UUDECODE_STATE_END state bit gets set. Set
2002-01-17  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-filter-basic.c (filter): Stop uudecoding once the
	CAMEL_UUDECODE_STATE_END state bit gets set. Set the
	CAMEL_UUDECODE_STATE_BEGIN state bit once we find the begin line.
	(reset): No longer have uu_begin or uulen state variables, these
	are now stuffed into a single state variable.

	* camel-mime-utils.c (uudecode_step): No longer needs a uulen
	argument and also keeps track of whether or not the end of the
	encoded data has been found in 'state'.
	(uuencode_step): Now stuffs uulen into state so that the uulen
	argument is no longer needed.
	(uuencode_close): Same.

svn path=/trunk/; revision=15349
2002-01-17 19:21:11 +00:00
bda8b73fe1 default component classification to PUBLIC. Fixes internal bug #1066
2002-01-15  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/task-page.c (task_page_fill_widgets): default component
	classification to PUBLIC. Fixes internal bug #1066

svn path=/trunk/; revision=15348
2002-01-17 00:42:56 +00:00
bd788027df If we don't want to corrupt the uuencoded data by overwriting it with
2002-01-16  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-filter-basic.c (filter): If we don't want to corrupt
	the uuencoded data by overwriting it with base64 decoded data
	afterward, we need to add a break statement!

	* camel-folder-summary.c (summary_build_content_info): Add code to
	add a uu filter.
	(camel_folder_summary_finalize): Unref the uuencode filter.

svn path=/trunk/; revision=15347
2002-01-16 23:38:32 +00:00
8759025291 Fixed slight logic error to find the uuencode begin line. Fixes bug
2002-01-16  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-filter-basic.c (filter): Fixed slight logic error to
	find the uuencode begin line. Fixes bug #18754.

svn path=/trunk/; revision=15346
2002-01-16 21:44:54 +00:00
94848b9a22 Remove "Dump" menu item.
* evolution.xml: Remove "Dump" menu item.

svn path=/trunk/; revision=15345
2002-01-16 19:25:45 +00:00
82cb9e15be Use soup to transfer HTTP files and other bugs fixed
svn path=/trunk/; revision=15344
2002-01-16 17:56:22 +00:00
95de7c6dc8 SOUP stuff
svn path=/trunk/; revision=15343
2002-01-16 17:55:48 +00:00
ac62bd1485 move all functions here, get rid of header files, use e-pilot-settings to
2002-01-16  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c: move all functions here, get rid of
	header files, use e-pilot-settings to display gui

svn path=/trunk/; revision=15342
2002-01-16 17:31:05 +00:00
af1b3098c2 new file, implements the ECellProgress object.
2002-01-16  Krisztian Pifko  <monsta@users.sourceforge.net>

	* e-cell-progress.c, e-cell-progress.h: new file, implements the
	ECellProgress object.

	* Makefile.am (libetable_la_SOURCES, libetableinclude_HEADERS):
	added e-cell-progress.c and e-cell-progress.h.

svn path=/trunk/; revision=15341
2002-01-16 17:26:54 +00:00
784886d534 Added #include <libgnome/gnome-defs.h>.
2002-01-16  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-entry.h, gal/e-text/e-table-text-model.h,
	gal/e-text/e-text-model-uri.h, gal/e-text/e-text.h,
	gal/util/e-i18n.h, gal/widgets/e-canvas-utils.h,
	gal/widgets/e-gui-utils.h, gal/widgets/e-printable.h,
	gal/widgets/gtk-combo-stack.h: Added #include
	<libgnome/gnome-defs.h>.

svn path=/trunk/; revision=15340
2002-01-16 17:21:25 +00:00
8dcab9df57 Added #include <libgnome/gnome-defs.h>.
2002-01-16  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-checkbox.h, e-cell-date.h, e-cell-float.h,
	e-cell-number.h, e-cell-size.h, e-cell-text.h, e-cell-toggle.h,
	e-cell-tree.h, e-cell.h, e-table-click-to-add.h,
	e-table-col-dnd.h, e-table-config-field.h, e-table-extras.h,
	e-table-field-chooser-item.h, e-table-group-container.h,
	e-table-group-leaf.h, e-table-group.h, e-table-header-item.h,
	e-table-item.h, e-table-scrolled.h, e-table-sorter.h,
	e-table-tooltip.h, e-table-tree.h, e-table-utils.h, e-table.h,
	e-tree-scrolled.h, e-tree-sorted-variable.h, e-tree.h: Added
	#include <libgnome/gnome-defs.h>.

svn path=/trunk/; revision=15339
2002-01-16 17:17:04 +00:00
1b16221c59 for all separators, add a unique (per xml file) name to each separator, so
2002-01-15  Michael Meeks  <michael@ximian.com>

	* *.xml: for all separators, add a unique (per xml file) name
	to each separator, so we don't get them conflicting across
	merges and messing with the order; then give them a dummy attr
	f="" to stop them being transparent, hmm.

svn path=/trunk/; revision=15338
2002-01-16 15:36:23 +00:00
1d68f8289f New functions for saving selection state and such.
2002-01-15  Christopher James Lahey  <clahey@ximian.com>

	* e-cell.c, e-cell.h (e_cell_save_state, e_cell_load_state,
	e_cell_free_state): New functions for saving selection state and
	such.

	* e-cell-text.c (ect_save_state): Implemented the new state
	functions.

	* e-table-item.c, e-table-item.h: Use the new cell state functions
	when focusing in or out.  Fixes Ximian bug #14968.

svn path=/trunk/; revision=15335
2002-01-15 22:33:13 +00:00
33748a6445 [Fix #17441, Crash trying to import Multiple VCard file into LDAP
folder.]

* e-shell-importer.c (show_error): Add a NULL in the call to
`gnome_message_box_new()'.

svn path=/trunk/; revision=15333
2002-01-15 22:31:45 +00:00
7c0893f81c Redo the whole options/account-creation thing.
2002-01-15  Aaron Weber  <aaron@ximian.com>

	* C/config-prefs.sgml: Redo the whole options/account-creation
	thing.

	* C/usage-mainwindow.sgml: Redo the whole options/account-creation
	thing.

svn path=/trunk/; revision=15331
2002-01-15 22:18:28 +00:00
e7f24a4e09 remove misleading title and fix spacing
2002-01-15  JP Rosevear  <jpr@ximian.com>

	* gui/component/select-names/select-names.glade: remove misleading
	title and fix spacing

svn path=/trunk/; revision=15330
2002-01-15 21:53:54 +00:00