Commit Graph

13814 Commits

Author SHA1 Message Date
16b12f5794 Add gthreads to LIBIBEX_CFLAGS and LIBIBEX_LIBS.
* configure.in: Add gthreads to LIBIBEX_CFLAGS and LIBIBEX_LIBS.

svn path=/trunk/; revision=16259
2002-03-27 17:28:05 +00:00
916c56183e Updated Norwegian (bokmål) translation. Bring back up to speed.
2002-03-27  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.
	* POTFILES.in: Bring back up to speed.

svn path=/trunk/; revision=16258
2002-03-27 07:18:50 +00:00
3cdefcba37 Sync with yet-another-mail-config branch.
2002-03-26  Jeffrey Stedfast  <fejj@ximian.com>

	Sync with yet-another-mail-config branch.

	* mail-composer-prefs.c: Updated to get the right widgets and
	whatnot. Also updated to tell the evolution-config-control that
	stuff has changed.

	* mail-preferences.c: Updated to get the right widgets and
	whatnot. Also updated to tell the evolution-config-control that
	stuff has changed.

	* mail-accounts.etspec: New file needed by mail-accounts.c

svn path=/trunk/; revision=16257
2002-03-26 22:51:26 +00:00
81e7580909 New. New.
* e-component-info.c: New.
* e-component-info.h: New.

svn path=/trunk/; revision=16256
2002-03-26 21:00:15 +00:00
901c4571ad g_warning if the control cannot be activated.
* e-shell-settings-dialog.c (load_pages): g_warning if the control
cannot be activated.

svn path=/trunk/; revision=16254
2002-03-26 20:32:33 +00:00
8ae13b9883 Changed to get the address from the messageinfo of the current selected
2002-03-26  Not Zed  <NotZed@Ximian.com>

        * mail-callbacks.c (addrbook_sender): Changed to get the address
        from the messageinfo of the current selected message rather than
        from the current_message.
        (requeue_mail_reply): Only re-queue if we got a message, could
        potentially cause an infinite loop trying to get a message it
        can't.
        (reply_to_sender, reply_to_list, reply_to_all): Always pass NULL
        as the msg to mail_replay, this forces mail_reply to always load
        the message anew.  Fixes FIXME's and popup behaviour.  Basically
        this and stuff below fixes #8542.  Its probably not the nicest
        way, but it works.
        (mark_as_important): Use the flags properly, we can set all flags
        to any combination of on or off as we want, so we just need to
        call set_flags once, thats why its set flags and not set_option.
        (toggle_flags): Fixed the logic here also, so we dont have to call
        set_message_flags more than once, and also implement a true toggle
        for any number of simultaneous flags (whilst simplifying code).

        * mail-vfolder.c (vfolder_gui_add_from_mlist): Removed the 'msg'
        parameter, its not used, fixed callers.

        * folder-browser.c (on_right_click): Lookup the mlist from
        messageinfo, and change the 'no selected' logic slightly, fixes
        most of #8542.
        (filter_data_free): Free filter data struct.
        (vfolder_type_got_message): Actually create vfolder once we have
        the message we need to use for it.  Code could probably be changed
        to use messageinfo instead.
        (vfolder_type_uid): Lookup a message based on uid, and use that to
        create a vfolder based on type.
        (vfolder_subject_uid, vfolder_sender_uid, vfolder_receipient_uid,
        vfolder_mlist_uid): Callbacks for the popup menu, used to create
        rules based on the uid rather than the message, which it loads as
        required.
        (filter_type_got_message, filter_*_uid): Similar to vfolder
        stuff above.
        (filter_menu[]): Changed callbacks to popup specific ones, not
        folderbrowser specific ones used by bonobo.
        (on_right_click): Initialise callback data for the filter submenu
        so it can look up messages for callback implementation.

svn path=/trunk/; revision=16253
2002-03-26 06:55:05 +00:00
22d5307cd1 New version from anna, with fixed widget names.
2002-03-26  Not Zed  <NotZed@Ximian.com>

	* local-config.glade: New version from anna, with fixed widget
	names.

svn path=/trunk/; revision=16252
2002-03-26 01:31:20 +00:00
137194898c Added mention that 2048 maybe recommended by some people. Fixed a typo.
2002-03-25  Kevin Breit  <mrproper@ximian.com>

	* C/usage-mail.sgml: Added mention that 2048 maybe recommended by some people.  Fixed a typo.

svn path=/trunk/; revision=16251
2002-03-26 01:19:31 +00:00
d027c45269 Changed to use just g_utf8_strdown instead of utf8_normalise, to match the
2002-03-26  Not Zed  <NotZed@Ximian.com>

        * camel-text-index.c (text_index_normalise): Changed to use just
        g_utf8_strdown instead of utf8_normalise, to match the indexing
        code.  utf8_normalise is just far too expensive (saves approx 25%
        total processing).

svn path=/trunk/; revision=16250
2002-03-25 22:58:13 +00:00
059e9b33f1 updated
svn path=/trunk/; revision=16249
2002-03-25 21:47:36 +00:00
a020c2bd2f Added widgets/e-option-menu.lo.
2002-03-25  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added
	widgets/e-option-menu.lo.

	* gal/util/e-util.c, gal/util/e-util.h (e_strdupv): Copied this
	function from glib2.
	(GET_STRING_ARRAY_FROM_ELLIPSIS,
	GET_DUPLICATED_STRING_ARRAY_FROM_ELLIPSIS): Added these macros to
	automate getting a NULL terminated array off of the stack.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	e-option-menu.c.
	(libwidgetsinclude_HEADERS): Added e-option-menu.h.

	* gal/widgets/e-canvas.c (e_canvas_class_init): Reformatted this
	function.

	* gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h
	(e_glade_xml_connect_widget, e_glade_xml_set_sensitive): Two new
	functions to automate pulling a widget from a GladeXML and either
	connecting a signal or setting the sensitivity.

	* gal/widgets/e-option-menu.c, gal/widgets/e-option-menu.h: New
	class to simplify the interface to GtkOptionMenu.

svn path=/trunk/; revision=16246
2002-03-25 19:33:20 +00:00
660118fcbe Call the parent function after doing all the internal work so that when
2002-03-25  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c (e_table_memory_store_insert,
	e_table_memory_store_insert_adopt, e_table_memory_store_remove):
	Call the parent function after doing all the internal work so that
	when the changed signal goes out, our work is already done.

svn path=/trunk/; revision=16245
2002-03-25 19:22:25 +00:00
8e70cce274 Register a "working" folder type with the hourglass icon. (Would
* e-shell.c (e_shell_construct): Register a "working" folder type
	with the hourglass icon. (Would eventually like an animated gif,
	when ETable supports that.)

	* e-storage.c (e_storage_has_subfolders): Use "working" rather
	than "noselect" as the folder type.

	* e-shell-view.c (get_view_for_uri): Simplify a bit.

svn path=/trunk/; revision=16244
2002-03-25 15:40:15 +00:00
60bccda439 Add working-16.png (the GNOME2 stock "wait" icon, from Jakub)
* Makefile.am (images_DATA): Add working-16.png (the GNOME2 stock
	"wait" icon, from Jakub)

svn path=/trunk/; revision=16243
2002-03-25 15:37:17 +00:00
c6fc4e27a9 When we add a new name, up all of the cache limits, because we're probably
2002-03-25  Not Zed  <NotZed@Ximian.com>

        * camel-text-index.c (text_index_add_name): When we add a new
        name, up all of the cache limits, because we're probably going to
        be adding more.
        (text_index_sync): Drop the cache limits back down again, we dont
        need them when looking words up.

        ** MERGE camel_index branch.

        * camel-text-index.[ch]: Added files i forgot to add (eep nearly
        lost all this work!)

        * camel-block-file.c (sync_nolock): Fix an infinite loop in syncing.

svn path=/trunk/; revision=16242
2002-03-25 12:11:44 +00:00
ede63cde58 Change the OAFIID for the GtkHTML editor to have :1.1 at the end.
2002-03-24  Peter Williams  <peterw@ximian.com>

       * tools/killev: Change the OAFIID for the GtkHTML editor to
       have :1.1 at the end.

svn path=/trunk/; revision=16241
2002-03-24 23:25:47 +00:00
c72a1181f1 I fixed a typo which caused the documentation to not build.
2002-03-23  Kevin Breit  <mrproper@ximian.com>

	* C/usage-print.sgml: I fixed a typo which caused the documentation to not build.

svn path=/trunk/; revision=16239
2002-03-23 18:23:44 +00:00
c2baedba52 Removed. (load_pages): Use e_get_language_list() here instead. Also, free
* e-shell-settings-dialog.c (get_language_list): Removed.
(load_pages): Use e_get_language_list() here instead.  Also, free
using e_free_language_list().

svn path=/trunk/; revision=16232
2002-03-22 20:48:05 +00:00
c197e1fd69 New. New.
* e-lang-utils.c: New.
* e-lang-utils.h: New.

svn path=/trunk/; revision=16231
2002-03-22 20:47:53 +00:00
8c9e640194 *** empty log message ***
svn path=/trunk/; revision=16230
2002-03-22 18:09:06 +00:00
65193c5db2 (evolution_storage_removed_folder): Oops. Fix here too.
(evolution_storage_has_subfolders): And here. When cut and paste
	goes bad...

svn path=/trunk/; revision=16229
2002-03-22 18:08:58 +00:00
5f0988d34e Fix a "how can this ever have worked" bug to make unread message counts
* evolution-storage.c (evolution_storage_update_folder): Fix a
	"how can this ever have worked" bug to make unread message counts
	start working again. (#22293 etc)

svn path=/trunk/; revision=16228
2002-03-22 18:03:29 +00:00
dfbbbf2baf Use e_folder_get_name. Don't assume it's the same as the last path
* e-shell-folder-commands.c (e_shell_command_rename_folder): Use
	e_folder_get_name. Don't assume it's the same as the last path
	element.

svn path=/trunk/; revision=16227
2002-03-22 16:44:23 +00:00
3e6b83577e Document the fact that this takes two locale charset strings and one UTF8
* e-request.c (e_request_string): Document the fact that this
	takes two locale charset strings and one UTF8 string and returns a
	UTF8 string. (Huh.)

svn path=/trunk/; revision=16226
2002-03-22 15:46:20 +00:00
209b7548bc Use the date in the received header for the received_date.
2002-03-21  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-folder-summary.c (camel_message_info_new_from_header): Use
	the date in the received header for the received_date.

svn path=/trunk/; revision=16225
2002-03-22 00:19:58 +00:00
46c0e7a054 +2002-03-20 Christopher James Lahey <clahey@ximian.com>
+
+	* e-table-header-item.c: Adjust this to handle the new EPopupMenu
+	API.
+

svn path=/trunk/; revision=16223
2002-03-21 20:14:26 +00:00
cd1ef6be6d Set the wmclass to "evolution-splash" so sawfish knows it's not the same
* e-splash.c (e_splash_construct): Set the wmclass to
	"evolution-splash" so sawfish knows it's not the same kind of
	window as the main window.

svn path=/trunk/; revision=16222
2002-03-21 14:48:08 +00:00
06cb9c4e95 Make all the verb/menu arrays appropriately static.
* e-shell-view-menu.c: Make all the verb/menu arrays appropriately
static.

svn path=/trunk/; revision=16221
2002-03-21 00:09:34 +00:00
364cb04c2b Move the ComponentActionsPlaceholder into the Actions menu, instead of the
* evolution.xml: Move the ComponentActionsPlaceholder into the
Actions menu, instead of the Actions menu being in the
ComponentActionsPlaceholder.
* evolution-addressbook.xml: Updated accordingly.
* evolution-calendar.xml: Updated accordingly.
* evolution-mail-global.xml: Updated accordingly.
* evolution-mail-list.xml: Updated accordingly.
* evolution-mail-message.xml: Updated accordingly.
* evolution-mail-messagedisplay.xml: Updated accordingly.
* evolution-tasks.xml: Updated accordingly.

* evolution.xml: Add "SendReceive" verb, menu item and toolbar
button.

* evolution-mail-global.xml: Remove "MailGetSend" verb and menu
item.

* e-shell-view-menu.c (command_send_receive): New, implementation
for the "SendReceive" verb.

* e-shell.c (e_shell_send_receive): New.

* evolution-shell-component.c (impl_sendReceive): Implementation
of ShellComponent::sendReceive.
(class_init): Add the "send_receive" signal.

* evolution-shell-component.h: Added `send_receive' signal.

* Evolution-ShellComponent.idl: Added ShellComponent::sendReceive.

* component-factory.c (send_receive_cb): New, callback for the
"send_receive" signal on the EvolutionShellComponent.
(create_component): Connect.

* folder-browser-ui.c: Remove verb "MailGetSend".

* mail-callbacks.c (send_receive_mail): Removed.

* mail-send-recv.c: Remove member current_folder from struct
_send_data.
(free_send_data): No need to unref here.
(build_dialogue): Removed arg @current_folder.
(mail_send_receive): Likewise.

svn path=/trunk/; revision=16220
2002-03-21 00:07:49 +00:00
9eeff8bfec Add accelerators for "Find Now" and "Clear".
* e-search-bar.c (update_bonobo_menus): Add accelerators for "Find
Now" and "Clear".

* e-filter-bar.h: Change search labels as suggested in Anna's
redesign [#16246].

* folder-browser.c: Reorder folder_browser_search_menu_items
according to #16246.

svn path=/trunk/; revision=16219
2002-03-20 22:25:06 +00:00
bc11ab14a5 Remove all the SearchBar items before setting them up again.
* e-search-bar.c (update_bonobo_menus): Remove all the SearchBar
items before setting them up again.
(free_menu_items): New.
(impl_destroy): Call it.
(set_menu): Call it here too before adding the new items.

svn path=/trunk/; revision=16218
2002-03-20 21:18:08 +00:00
c18057139c Fix this to work right. We need to convert the input buffer to the charset
2002-03-19  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-utils.c (header_encode_param): Fix this to work
	right. We need to convert the input buffer to the charset we claim
	in the encoded param (duh).

svn path=/trunk/; revision=16214
2002-03-19 23:29:41 +00:00
acbbc0a7cd add missing NULL closure data to popup menu initialization.
2002-03-19  Larry Ewing  <lewing@ximian.com>

	* mail-display.c: add missing NULL closure data to popup menu
	initialization.

svn path=/trunk/; revision=16212
2002-03-19 23:13:06 +00:00
291190adfd more fixes for libversit.la -> libversit.a
svn path=/trunk/; revision=16211
2002-03-19 20:30:52 +00:00
8d616bac31 Update for libversit change: Use .a rather than .la now.
* backend/ebook/Makefile.am: Update for libversit change: Use .a
	rather than .la now.

	* printing/Makefile.am: Likewise

	* gui/component/Makefile.am: Likewise

svn path=/trunk/; revision=16210
2002-03-19 19:29:37 +00:00
84e13e5584 Move the preferences from a per-view setting to a global setting
svn path=/trunk/; revision=16205
2002-03-19 13:25:33 +00:00
02b379173a Report a message before entering bonobo_main() to simplify debugging.
* main.c (main): Report a message before entering bonobo_main() to
simplify debugging.

svn path=/trunk/; revision=16204
2002-03-18 22:13:39 +00:00
17ef9cfeaf Updated to use the same logic as the POP code.
2002-03-18  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/smtp/camel-smtp-transport.c
	(connect_to_server_wrapper): Updated to use the same logic as the
	POP code.

svn path=/trunk/; revision=16203
2002-03-18 21:59:54 +00:00
ae8129bbb2 No longer takes a stls_supported argument since we no longer need it with
2002-03-18  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/pop3/camel-pop3-store.c (connect_to_server): No longer
	takes a stls_supported argument since we no longer need it with
	the new logic.
	(connect_to_server_wrapper): New logic: First try connecting to
	the SSL port (995 by default), if that fails with
	SERVICE_UNAVAILABLE, then we attempt to connect (to port 110 by
	default) and try to use STARTTLS.

svn path=/trunk/; revision=16202
2002-03-18 21:31:25 +00:00
91c17571fd No accelerator for "FindNow". (add_button): Add a one-pixel padding to the
* e-search-bar.c (update_bonobo_menus): No accelerator for
"FindNow".
(add_button): Add a one-pixel padding to the button.

svn path=/trunk/; revision=16201
2002-03-18 21:20:57 +00:00
74eff81d8f Rename the "Search Now" menu entry to "Find Now". Rename the corresponding
* e-search-bar.c (update_bonobo_menus): Rename the "Search Now"
menu entry to "Find Now".  Rename the corresponding verb to
"ESearchBar:FindNow".
(update_sensitivity): Updated accordingly.
(setup_standard_verbs): Likewise.

svn path=/trunk/; revision=16200
2002-03-18 20:56:15 +00:00
1657404cf7 New halper function to update the sensitivity of the commands.
* e-search-bar.c (update_sensitivity): New halper function to
update the sensitivity of the commands.
(entry_changed_cb): New callback to make the activate_button and
the "Find Now" verb sensitive only if the entry has some contents.
(activate_by_subitems): Connect the callback here.
(setup_standard_verbs): Call update_sensitivity() here.

svn path=/trunk/; revision=16199
2002-03-18 20:54:36 +00:00
ad1e6e7f44 Init clear_button to NULL. (add_button): New helper function to add a
* e-search-bar.c (init): Init clear_button to NULL.
(add_button): New helper function to add a button to the search
bar with the right spacing etc.
(clear_search): New helper function.
(add_activate_button): Removed.
(clear_button_clicked_cb): New.
(e_search_bar_construct): Just add the button here using
`add_button'.  Also add a clear_button.
(clear_verb_cb): Rewritten by means of `clear_search()'.

* e-search-bar.h (ESearchBar): Add clear_button.

svn path=/trunk/; revision=16198
2002-03-18 20:37:14 +00:00
6b5f07ff01 New, implementation for a new "SearchNow" verb. (setup_standard_verbs):
* e-search-bar.c (search_now_verb_cb): New, implementation for a
new "SearchNow" verb.
(setup_standard_verbs): Create verb here.
(update_bonobo_menus): Add SearchNow menu item.

svn path=/trunk/; revision=16197
2002-03-18 20:14:42 +00:00
007a437688 Free account_name so we don't leak. Also after getting the source uri, use
2002-03-18  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-source.c (filter_source_get_sources): Free account_name
	so we don't leak. Also after getting the source uri, use camel-url
	to hide unwanted stuff.
	(xml_decode): Use xmlFree on the buffer returned from
	xmlNodeGetContent rather than g_free, as I think they are
	incompatable. Also use camel-url here to hide any params in the
	decoded url (to make things compatable with what older versions
	may have saved).

svn path=/trunk/; revision=16196
2002-03-18 20:11:05 +00:00
3c2af0d4d8 Add `search="string"' for the keyboard navigability search thingy.
* e-storage-set-view.etspec: Add `search="string"' for the
keyboard navigability search thingy.

svn path=/trunk/; revision=16195
2002-03-18 20:06:34 +00:00
6f9b8ecfb3 [Search bar re-design implementation, Take 2.]
* e-search-bar.c (clear_verb_cb): New.
(setup_standard_verbs): New.
(e_search_bar_set_ui_component): Call it if a new
BonoboUIComponent is set.
(append_xml_menu_item): New helper function.
(update_bonobo_menus): Use it.  Also add a "Clear" menu item.
(e_search_bar_construct): @menu_items can be NULL now.
(e_search_bar_new): Same here.
(set_menu): Work with NULL items.

* e-filter-bar.c (menubar_activated): Don't handle
E_FILTERBAR_RESET_ID anymore.

* e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'.

* folder-browser.c: Remove E_FILTERBAR_RESET menu entry.

* gui/cal-search-bar.c: Removed `search_menu_items'.
(cal_search_bar_menu_activated): Removed.
(cal_search_bar_class_init): Don't install.
(cal_search_bar_construct): No menu items here.

* gui/component/addressbook.c (addressbook_menu_activated):
Removed.
(addressbook_factory_new_control): Don't connect anymore, as this
signal has been removed from the ESearchBar.
(addressbook_factory_new_control): No more custom menu items here.

svn path=/trunk/; revision=16194
2002-03-18 20:06:00 +00:00
16af96a2ab "Forward as iCalendar" uses set_body, so we can't make the composer
* Evolution-Composer.idl, evolution-composer.c
	(impl_Composer_show): "Forward as iCalendar" uses set_body, so we
	can't make the composer un-showable after doing that. So get rid
	of the "cannot show" exception.

	* e-msg-composer.c (e_msg_composer_set_body): Prepare the composer
	to be shown in its weird state: Put an explanatory message in the
	body, then call disable_editor.
	(disable_editor): Common editor-disabling code - makes the editor
	and attachment bar insensitive and disables any menu items that
	could be used to modify them.
	(e_msg_composer_new_redirect): Use disable_editor here now.

svn path=/trunk/; revision=16191
2002-03-18 16:52:27 +00:00
bc73d24d04 VFolders in the summary
svn path=/trunk/; revision=16190
2002-03-18 15:47:04 +00:00
0ae3f73824 Draw colour rectangles for each of the colour items and set a closure on
2002-03-15  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (on_right_click): Draw colour rectangles for
	each of the colour items and set a closure on each.
	(colourise_msg): colourise the message, yo.

svn path=/trunk/; revision=16187
2002-03-16 04:40:07 +00:00