Commit Graph

9036 Commits

Author SHA1 Message Date
2990822b33 Implemented the `File -> New -> Shortcut' command.
I have also implemented a "no-new-button" mode for the folder
selection dialog widget.

svn path=/trunk/; revision=10655
2001-07-01 09:10:36 +00:00
8b6c94e7cd Missing ChangeLog entries for the previous commit.
svn path=/trunk/; revision=10654
2001-07-01 08:24:50 +00:00
8fc1cb82fe Implemented a "Rename Group" command. Unfortunately, it doesn't work
very well due to EShortcutBar breakage.  But we'll fix that later.

svn path=/trunk/; revision=10653
2001-07-01 07:12:56 +00:00
6077a94d84 Change EShortcuts to not use group titles to access specific groups.
Also, allow more than one group with the same title.

svn path=/trunk/; revision=10652
2001-07-01 06:25:43 +00:00
3950295c0f Implemented a "Rename Shortcut" command.
svn path=/trunk/; revision=10651
2001-07-01 06:14:59 +00:00
d1706596df Added a simple `e_request_string()' utility function.
svn path=/trunk/; revision=10650
2001-07-01 06:13:11 +00:00
d801d2df67 Change the internal structure for shortucts, so that it contains a
type and a name too.  The name will allow renaming shortcuts (thus
decoupling the name of the folder the shortcuts points to from the
name of the shortcut); the type member is used to cache the type of
the folder we point to so that we can still display the right icon
even if the folder is currently not in the storage (e.g. this happens
for IMAP folders when you haven't opened the corresponding IMAP node
yet).

I don't like the way this is designed at all (mainly, the
responsibility for saving the values should be moved elsewhere), but
I'll fix it later.

Also, I added an "Open in New Window" right-click menu item for
shortcuts.

svn path=/trunk/; revision=10649
2001-07-01 05:11:43 +00:00
a0afdf4f53 Fixes bug #1406.
2001-06-30  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #1406.

	* gui/calendar-config.c (config_read): Handle the options for the
	task list colors.
	(calendar_config_write): Ditto.
	(calendar_config_get_tasks_due_today_color): New function.
	(calendar_config_set_tasks_due_today_color): New function.
	(calendar_config_get_tasks_overdue_color): New function.
	(calendar_config_set_tasks_overdue_color): New function.
	(calendar_config_configure_e_calendar_table): Use
	e_table_model_changed() for the colors.

	* gui/dialogs/cal-prefs-dialog.glade: Updated the options for the
	task list and alarms.

	* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config):
	Update the task list settings.
	(cal_prefs_dialog_update_config): Ditto.

	* gui/calendar-model.c (get_color): Deal with tasks for today as
	well as overdue tasks.  Make it cleaner, even though we have to
	duplicate a chunk of is_overdue().

	* gui/calendar-commands.c (preferences_cmd): Renamed from
	properties_cmd().

svn path=/trunk/; revision=10648
2001-07-01 04:59:24 +00:00
21f1aedda2 Use Tuomas' next-message, previous-message and print icons in the
mailer.

svn path=/trunk/; revision=10647
2001-07-01 04:09:55 +00:00
915c3e0e0c draw icons per category
2001-07-01  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view-main-item.c
	(e_day_view_main_item_draw_day_event): draw icons per category

	* gui/e-day-view-top-item.c
	(e_day_view_top_item_draw_long_event): draw icons per category

	* gui/e-day-view.c
	(e_day_view_reshape_long_event):
	(e_day_view_reshape_day_event): calculate space for category icons

	* gui/e-week-view-event-item.c
	(e_week_view_event_item_draw_icons): draw icons per category

	* gui/e-week-view.c
	(e_week_view_reshape_event_span): calculate space for category icons

svn path=/trunk/; revision=10646
2001-07-01 02:04:46 +00:00
1a5710ebc0 Store URLs on disk.
svn path=/trunk/; revision=10645
2001-07-01 00:58:33 +00:00
675b94a4f5 Check args. Somewhere in the code (somewhere in the minicard stuff) this
2001-06-30  Jon Trowbridge  <trow@ximian.com>

        * backend/ebook/e-card.c (e_card_evolution_list): Check args.
        Somewhere in the code (somewhere in the minicard stuff) this can
	be called with a NULL arg, which was causing crashes.
        (e_card_evolution_list_show_addresses): Check args.

svn path=/trunk/; revision=10644
2001-07-01 00:44:31 +00:00
fe0499e1d9 Changed to return the created window. (find_socket): Added. Copied from
2001-06-30  Jon Trowbridge  <trow@ximian.com>

        * mail-display.c (make_popup_window): Changed to return the
        created window.
        (find_socket): Added.  Copied from e-shell-view.c.  The fact
        that I'm copying this bit of code all over isn't cool.
        (html_button_press_event): Properly destroy the popup window when
        the widget inside the control is destroyed.

        * mail-callbacks.c (addrbook_sender): Added.  Implements
        the "Add sender to addressbook" right-click. (Bug #3645)
        (find_socket): Added.  Copied from e-shell-view.c.

        * folder-browser.c: Added "Add sender to addressbook" to
        context_menu[].

        * mail-display.c: (handle_embedded_address_object): Removed.
        (on_object_requested): Removed handling for embedded address
        objects.  (Which was obsolete crap.)

svn path=/trunk/; revision=10643
2001-07-01 00:41:13 +00:00
0d23a1ac2a Use names in the clist, not the url
svn path=/trunk/; revision=10642
2001-07-01 00:23:28 +00:00
0318bd9626 fixed clibpoard command activation from the menu entries. CTRL-C and
2001-07-01  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.c (e_day_view_*_clipboard): fixed clibpoard
	command activation from the menu entries. CTRL-C and CTRL-X don't
	work though, since it seems the key presses are being captured by
	the text item

	gui/e-week-view.c (e_week_view_*_clipboard): ditto

svn path=/trunk/; revision=10641
2001-07-01 00:21:39 +00:00
1e53a6e3d5 Allow new RDFs to be added.
svn path=/trunk/; revision=10640
2001-06-30 23:29:46 +00:00
730ceece38 Handle the online/offline stuff
svn path=/trunk/; revision=10639
2001-06-30 22:59:34 +00:00
ba225d83af Add the preferences thing
svn path=/trunk/; revision=10638
2001-06-30 22:30:51 +00:00
9ae6fb2f6c Only set the pressed_event_num and pressed_span_num if button 1 was
2001-06-30  Federico Mena Quintero  <federico@ximian.com>

	* gui/e-week-view-event-item.c
	(e_week_view_event_item_button_press): Only set the
	pressed_event_num and pressed_span_num if button 1 was pressed.
	Fix up return values a bit.  This fixes bug #3780.

svn path=/trunk/; revision=10637
2001-06-30 22:10:26 +00:00
4eb33d8180 Doh, the call for the day view was supposed to be
2001-06-30  Federico Mena Quintero  <federico@ximian.com>

	* gui/gnome-cal.c
	(gnome_calendar_on_date_navigator_selection_changed): Doh, the
	call for the day view was supposed to be
	gnome_calendar_set_view(), not set_view().  Fixes bug #3779.

svn path=/trunk/; revision=10636
2001-06-30 20:56:19 +00:00
effc7ac8c0 I was accidentally comparing characters and strings here, and didn't see
2001-06-30  Jon Trowbridge  <trow@ximian.com>

	* backend/ebook/e-destination.c (build_field): I was accidentally
	comparing characters and strings here, and didn't see the compiler
	warning.  Fixed.
	(e_destination_exportv): Don't export any empty destinations.
	(bug#3825).

svn path=/trunk/; revision=10635
2001-06-30 20:28:52 +00:00
e3a7660cde Pulled organizing stuff, made its own file.
2001-06-30  Kevin Breit  <battery841@mediaone.net>

	* C/usage-mail.sgml: Pulled organizing stuff, made its own file.

svn path=/trunk/; revision=10634
2001-06-30 18:44:49 +00:00
786e6eada9 Pass the event time to gtk_menu_popup() so that we can release the button
2001-06-30  Federico Mena Quintero  <federico@ximian.com>

	* e-storage-set-view.c (popup_folder_menu): Pass the event time to
	gtk_menu_popup() so that we can release the button and have the
	menu stay up.

svn path=/trunk/; revision=10633
2001-06-30 18:29:39 +00:00
60015405ac Added evolution-alarm-notify.
2001-06-30  Federico Mena Quintero  <federico@ximian.com>

	* tools/killev: Added evolution-alarm-notify.

svn path=/trunk/; revision=10632
2001-06-30 17:22:33 +00:00
309d8d7f58 call e_calendar_table_cut_clipboard with the correct object
2001-06-30  Rodrigo Moya <rodrigo@ximian.com>

	* gui/tasks-control.c (tasks_control_cut_cmd): call
	e_calendar_table_cut_clipboard with the correct object

	(tasks_control_copy_cmd): ditto

	(sensitize_commands): sensitize clipboard commands based on the
	number of selected tasks

svn path=/trunk/; revision=10631
2001-06-30 12:16:04 +00:00
b190305858 Marked strings for translation + conversion to utf8.
* e-summary-calendar.c (generate_html):
Marked strings for translation + conversion to utf8.

* e-summary-mail.c
Added missing #include <config.h>
(e_summary_mail_generate_html):
Marked strings for translation + conversion to utf8.

* e-summary-weather.c
(e_summary_weather_get_html, open_callback):
Marked strings for translation + conversion to utf8.
(weather_make_html): Fixed leaks.

* e-summary-rdf.c
(tree_walk): Fixed leaks.
(read_callback): Marked strings for translation.

svn path=/trunk/; revision=10630
2001-06-30 12:08:27 +00:00
50c60bc7ff Added addressbook/gui/component/e-address-popup.c,
* POTFILES.in:
Added addressbook/gui/component/e-address-popup.c,
my-evolution/e-summary-mail.c, my-evolution/e-summary-rdf.c,
my-evolution/e-summary-weather.c.

svn path=/trunk/; revision=10629
2001-06-30 12:08:22 +00:00
a03b5cb797 Marked strings for translation.
* gui/component/e-address-popup.c (e_address_popup_construct): Marked
strings for translation.

svn path=/trunk/; revision=10628
2001-06-30 12:07:06 +00:00
b6b1a2148d Touch all of our EDestinations before we unref them, updating the last-use
2001-06-30  Jon Trowbridge  <trow@ximian.com>

        * e-msg-composer-hdrs.c (set_recipients): Touch all of our
        EDestinations before we unref them, updating the last-use records
        in the addressbook.

svn path=/trunk/; revision=10627
2001-06-30 05:23:31 +00:00
7c5dd95cd7 Make the standard for considering two cards to be match stricter.
2001-06-30  Jon Trowbridge  <trow@ximian.com>

        * gui/merging/e-card-merging.c (match_query_callback): Make the
        standard for considering two cards to be match stricter.

        * gui/component/select-names/e-select-names-completion.c
        (make_match): Use the card's use-score to set the match's
        sort_major value.
        (match_name): Removed obsolete code.
        (e_select_names_completion_begin): Added (double) cast to make
        match->score calculation come out properly.

        * backend/ebook/e-card.c: Added X-EVOLUTION-LAST-USE and
        X-EVOLUTION-USE-SCORE to attribute_jump_array.
        (e_card_get_today): Added.  A convenience routine for getting
        today's date and putting it in a GDate.
        (e_card_get_use_score): Added.  Compute the current, time-decayed,
        use-score for the card.
        (e_card_touch): Increment the use-score by one; update the last
        used date.
        (e_card_date_to_string): Added as a convenience routine, getting
        rid of some code duplication.
        (e_card_get_vobject): Add handlers for X-EVOLUTION-USE-SCORE and
        X-EVOLUTION-LAST-USE.
        (parse_last_use): Added.
        (parse_use_score): Added.
        (e_card_class_init): Added args for last-use and use-score.
        (e_card_get_arg): Added handlers for last-use and use-score.
        o
        (e_card_set_arg): Added handlers for last-use and use-score.

        * backend/ebook/e-destination.c: Added pending_card_id to
        EDestinationPrivate struct.
        (e_destination_copy): Copy the pending_card_id.
        (e_destination_is_empty): Check for a pending_card_id.  We are
        non-empty if we have one.
        (e_destination_clear_card): Clear pending_card_id.
        (e_destination_set_card): Clear pending_card_id.
        (e_destination_has_pending_card): Added.
        (e_destination_use_card): Added.  An asynchronous way to load a
        pending card and then apply a callback to it.
        (build_field): Be paranoid, map our special characters to '_'.
        (e_destination_export): Use EXPORT_MAX_FIELDS symbol rather than a
        hard-wired array size.  Added the "card" entry.
        (e_destination_import): Fix bug in handling of the "name" field.
        Process the "card" field.
        (e_destination_touch): "Touch" and commit the ECard corresponding
        to the e-mail address in the destination.  (A query against the
        local addressbook is actually performed, in case the destination
        isn't cardified.

        * backend/ebook/e-card-compare.c (e_card_compare_name): Revamp the
        way E_CARD_MATCH_FOO results are mapped to comparison results.
        Report better matches when the family name is matched.

svn path=/trunk/; revision=10626
2001-06-30 05:23:09 +00:00
c187a911c8 Do nothing if passed NULL. (e_completion_match_compare): Move the
2001-06-29  Jon Trowbridge  <trow@ximian.com>

	* gal/e-text/e-completion-match.c (e_completion_match_unref): Do
        nothing if passed NULL.
	(e_completion_match_compare): Move the sort_major comparison out
	to make it the primary sort key (followed by score and then
	sort_minor).
	(e_completion_match_compare_alpha): Move the sort_major comparison
	out to make it the primary sort key.

svn path=/trunk/; revision=10625
2001-06-30 05:01:02 +00:00
028af96877 Added a search field to the query here. (e_select_names_init): Update the
2001-06-29  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c (update_query):
	Added a search field to the query here.
	(e_select_names_init): Update the query on a number of signals here.

	* gui/component/select-names/e-select-names.h: Added search_entry
	here.

	* gui/component/select-names/select-names.glade: Added the search
	entry here.  Added some labels.  Removed the update button.

svn path=/trunk/; revision=10624
2001-06-30 03:27:33 +00:00
a0619157c2 Change the uri here to have addressbook.db at the end.
2001-06-29  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_option_activated): Change the uri here to have
	addressbook.db at the end.

	* gui/component/select-names/select-names.glade: Changed the name
	of the folder option menu here to match the name used in the code.

svn path=/trunk/; revision=10623
2001-06-30 02:56:45 +00:00
e464ef3034 Change the query when the "Update List" button is pushed.
2001-06-29  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names.c (update_query):
	Change the query when the "Update List" button is pushed.

	* gui/component/select-names/e-select-names.h: Removed
	currently_selected field.  Added categories_entry field.

	* gui/component/select-names/select-names.glade: Added "Update
	List" button.

svn path=/trunk/; revision=10622
2001-06-30 02:40:27 +00:00
d6372c9ae9 This is a first shoot at making shortcuts renameable [#3719];
unfinished.  Also, it causes the shortcut bar to stop displaying
message unread count, but this is unfixable until we get rid of the
::LocalStorage interface, which should hopefully happen soon.

svn path=/trunk/; revision=10621
2001-06-30 02:28:44 +00:00
5122606b01 remove redundant logic.
2001-06-29  Larry Ewing  <lewing@ximian.com>

	* mail-display.c (html_button_press_event): remove redundant
	logic.

svn path=/trunk/; revision=10620
2001-06-30 02:24:06 +00:00
7f21c999f5 Replaced GList with GSList here to fix a type mismatch.
2001-06-29  Christopher James Lahey  <clahey@ximian.com>

	* e-shortcuts-view-model.c (load_all_shortcuts_into_model):
	Replaced GList with GSList here to fix a type mismatch.

svn path=/trunk/; revision=10619
2001-06-30 02:12:32 +00:00
6f940aed6e Changed $(datadir)/evolution/etspec to "$(etspecdir)" here.
2001-06-29  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (INCLUDES): Changed $(datadir)/evolution/etspec to
	"$(etspecdir)" here.

svn path=/trunk/; revision=10618
2001-06-30 02:06:42 +00:00
e8b463223e Replaced GList with GSList here to fix a type mismatch.
2001-06-29  Christopher James Lahey  <clahey@ximian.com>

	* e-shortcuts-view-model.c (load_group_into_model): Replaced GList
	with GSList here to fix a type mismatch.

svn path=/trunk/; revision=10617
2001-06-30 02:01:44 +00:00
abdd471509 make sure we show the sig file.
2001-06-29  Larry Ewing  <lewing@ximian.com>

	* mail-callbacks.c (create_msg_composer): make sure we show the
	sig file.

	* e-msg-composer.c (e_msg_composer_show_sig_file): remove now
	invalid argument in the documentation.

svn path=/trunk/; revision=10616
2001-06-30 02:01:38 +00:00
019a20555b Change EShortcuts to use GSLists instead of GLists.
svn path=/trunk/; revision=10615
2001-06-30 00:15:11 +00:00
71e948a9ae Require GAL 0.8.99.6.
svn path=/trunk/; revision=10614
2001-06-29 23:52:26 +00:00
d55e49c51f Add e_free_string_slist() and e_free_object_slist().
svn path=/trunk/; revision=10613
2001-06-29 23:42:14 +00:00
15a4c0417c fixed typos
2001-06-29  Rodrigo Moya <rodrigo@ximian.com>

	* evolution-tasks.xml: fixed typos

svn path=/trunk/; revision=10612
2001-06-29 22:36:03 +00:00
240fee3d79 Turn folder syncing back on here so that IMAP folders will sync without
2001-06-29  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-factory.c (control_deactivate): Turn folder
	syncing back on here so that IMAP folders will sync without
	needing to hit Send & Receive.

svn path=/trunk/; revision=10611
2001-06-29 21:48:17 +00:00
b5a7aee537 Put in the hack to stop GtkHTML from returning to the top of the page.
svn path=/trunk/; revision=10610
2001-06-29 21:42:29 +00:00
c78f6bec65 fixed a logic mistake in the last commit
svn path=/trunk/; revision=10609
2001-06-29 21:25:24 +00:00
6ec4e9f826 Fix a few buggies
svn path=/trunk/; revision=10608
2001-06-29 21:12:02 +00:00
c386fa4ea6 Set the filter-rule dialog to be user-resizable.
2001-06-29  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (rule_editor_construct): Set the filter-rule
	dialog to be user-resizable.

svn path=/trunk/; revision=10607
2001-06-29 21:00:24 +00:00
86d9e4453e Throw up the confirmation dialog. (composer_get_message): If the user only
2001-06-29  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (ask_confirm_for_only_bcc): Throw up the
	confirmation dialog.
	(composer_get_message): If the user only specified Bcc recipients,
	prompt him/her to make sure we should continue and risk the server
	adding an Apparently-To header.

	* mail-config.c (config_read): Read in config option for prompting
	when only Bcc recipients are specified.
	(mail_config_write_on_exit): Save the option.
	(mail_config_get_prompt_only_bcc): New.
	(mail_config_set_prompt_only_bcc): New.

svn path=/trunk/; revision=10606
2001-06-29 20:20:21 +00:00