Commit Graph

1671 Commits

Author SHA1 Message Date
291190adfd more fixes for libversit.la -> libversit.a
svn path=/trunk/; revision=16211
2002-03-19 20:30:52 +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
e91db1e5a1 Updated to use new EPopupMenu API.
2002-03-15  Jeffrey Stedfast  <fejj@ximian.com>

	* gui/e-day-view.c: Updated to use new EPopupMenu API.

	* gui/e-week-view.c: Updated to use new EPopupMenu API.

	* gui/e-calendar-table.c: Updated to use new EPopupMenu API.

svn path=/trunk/; revision=16184
2002-03-16 02:19:47 +00:00
c85ad2279b [Start implementing the new Search Bar design.]
* e-search-bar.c (init): Init various members to NULL.
(set_dropdown): Removed.
(add_dropdown): Removed.
(set_menu): New.
(add_menu_items): New.
(set_option): No need to setup the dropdown size here anymore.
(verb_cb): Function implementing the search menu verbs.
(update_bonobo_menus): New.
(e_search_bar_set_ui_component): New.

* e-search-bar.h: Remove the dropdown button stuff from struct
ESearchBar.  Add `uic' and `items' members.

* e-filter-bar.c (e_filter_bar_new): Get a @uic arg.

* folder-browser-factory.c (control_activate): Set the UI
component on the search bar.

* gui/tasks-control.c (tasks_control_activate): Call
`e_tasks_set_ui_component()' here to give it the
BonoboUIComponent.
(tasks_control_deactivate): Likewise, call it here to unset the
BonoboUIComponent.

* gui/e-tasks.c (e_tasks_set_ui_component): New.

* gui/calendar-commands.c (calendar_control_activate): Call
gnome_calendar_set_ui_component() here.
(calendar_control_deactivate): ...And here, with a NULL
BonoboUIComponent.

* gui/gnome-cal.c (gnome_calendar_set_ui_component): New.

* gui/component/addressbook.c (control_activate): Call
`e_search_bar_set_ui_component()' to set the BonoboUIComponent for
the search bar.

* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon
for the LDAP sources configuration control.

svn path=/trunk/; revision=16178
2002-03-15 22:51:13 +00:00
ac6299d7a4 use bonobo exception macros to tidy
2002-03-15  JP Rosevear  <jpr@ximian.com>

	* gui/main.c: use bonobo exception macros to tidy

	* gui/itip-control-factory.c: ditto

	* gui/gnome-cal.c: ditto

	* gui/comp-editor-factory.c: ditto

	* gui/calendar-commands.c: ditto

svn path=/trunk/; revision=16172
2002-03-15 14:05:33 +00:00
f3a4446748 add all day event editor mode
2002-03-14  JP Rosevear  <jpr@ximian.com>

	* idl/evolution-calendar.idl: add all day event editor mode

	* gui/component-factory.c: clean up exception handling
	(sc_user_create_new_item_cb): support the all day event id
	(create_object): add a user creatable all day appointment item

	* gui/comp-editor-factory.c (get_default_event): get a default
	event either all day or starting at the top of the hour
	(get_default_task): get a default task
	(edit_new): support the all day event mode

	* gui/calendar-commands.c: remove unused functions/verbs

svn path=/trunk/; revision=16157
2002-03-14 19:08:20 +00:00
049e0335ba Add an "evolution:config_item:icon_path" attribute so we get an icon for
* gui/GNOME_Evolution_Calendar.oaf.in: Add an
"evolution:config_item:icon_path" attribute so we get an icon for
the calendar preferences.

svn path=/trunk/; revision=16141
2002-03-13 17:00:50 +00:00
d5ba94f758 Add <visible>False</visible> to cal-prefs-dialog so it doesn't get shown
* gui/dialogs/cal-prefs-dialog.glade: Add <visible>False</visible>
to cal-prefs-dialog so it doesn't get shown when we load the Glade
file with libglade.

* gui/component-factory.c (owner_set_cb): Register the
ConfigControl factory.

* gui/tasks-control.c: Removed verb "TaskSettings".
(tasks_control_settings_cmd): Removed.

* gui/calendar-commands.c: Removed verb "CalendarSettings".
(settings_cmd): Removed.

* gui/dialogs/cal-prefs-dialog.c: Renamed `CalPrefsDialogPrivate'
to `DialogData'.  Replace `dialog' member with a `page' member.
Remove `toplevel_notebook' member.
(init_widgets): Renamed from `cal_prefs_dialog_init_widgets'.
Just get a DialogData.
(get_widgets): Get a DialogData pointer.
(cal_prefs_dialog_destroy): Removed.
(config_control_destroy_callback): New, signal handler for
::destroy for ConfigControl.
(cal_prefs_dialog_new): Create a new DialogData, connect all the
signal handlers.
(create_time_edit): Renamed from
`cal_prefs_dialog_create_time_edit'.
(cal_prefs_dialog_show): Removed.
(cal_prefs_dialog_button_clicked): Removed.
(show_task_list_config): Get a DialogData.
(show_config): Renamed from `cal_prefs_dialog_show_config'.
Likewise.
(update_task_list_config): Likewise.
(update_config): Renamed from
`cal_prefs_dialog_update_config'. Likewise.
(color_set_callback): New callback, makes the dialog report
changes when the setting in any of the color widgets is changed.
(widget_changed_callback): New callback, makes the dialog report
changes when any of the widgets changes status.
(connect_changed): New utility function to connect this callback
to all the widgets.
(setup_widgets): Connect all the widgets.
(cal_prefs_dialog_new): Call `setup_widgets'.

* gui/config-control-factory.c: New.
* gui/config-control-factory.h: New.

* gui/GNOME_Evolution_Calendar.oaf.in: Add
OAFIID:GNOME_Evolution_Calendar_ConfigControl and
OAFIID:GNOME_Evolution_Calendar_ConfigControlFactory.

svn path=/trunk/; revision=16135
2002-03-13 04:55:04 +00:00
649b0cf76d Should fix #21240
2002-03-06  Rodrigo Moya <rodrigo@ximian.com>

	Should fix #21240

	* gui/alarm-notify/alarm-notify.c: replaced use of GnomeVFSURI
	with EUri, to allow non-registered methods.

svn path=/trunk/; revision=15944
2002-03-06 18:32:33 +00:00
3b59224e6f reverted my last change of adding the METHOD property to the incoming
2002-03-05  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-itip-control.c (e_itip_control_set_data): reverted my last
	change of adding the METHOD property to the incoming request.

	* gui/itip-utils.c (comp_string): added extra
	X-MICROSOFT-CDO-REPLYTIME property for broken Outlook. Should fix
	#20783.

svn path=/trunk/; revision=15940
2002-03-06 12:07:26 +00:00
1bc7073a90 [pullup from evolution-1-0-branch]
* gui/itip-utils.c (comp_compliant): Reset the DTSTAMP of the new
	component. (RFC2245 says DTSTAMP corresponds to the time the
	particular iCalendar representation of the object was created.)
	Fixes #21198.

svn path=/trunk/; revision=15930
2002-03-05 21:44:44 +00:00
41c0e5bb18 remove unneeded parameter from print_text_size everywhere
2002-03-05  JP Rosevear  <jpr@ximian.com>

	* gui/print.c: remove unneeded parameter from print_text_size
	everywhere
	(get_font_for_size): calculate a font size based on the available
	height
	(print_text): calculate the top of where the font should be drawn
	(print_text_size): use get_font_for_size
	(print_day_background): use get_font_for_size

2002-03-05  JP Rosevear  <jpr@ximian.com>

	* gui/e-meeting-time-sel-item.c
	(e_meeting_time_selector_item_draw): pass the real table
	to e_meeting_model_etable_view_to_model_row
	(e_meeting_time_selector_item_paint_busy_periods): ditto

	* gui/dialogs/meeting-page.c (right_click_cb): ditto

	* gui/e-meeting-model.h: update protos

	* gui/e-meeting-model.c
	(e_meeting_model_etable_model_to_view_row): take in to account the
	fact the table used the without model
	(e_meeting_model_etable_view_to_model_row): ditto

svn path=/trunk/; revision=15926
2002-03-05 20:47:48 +00:00
1816d860eb added support for printing the Tasks table. I hacked it a bit so the user
2002-03-04  Damon Chaplin  <damon@ximian.com>

	* gui/tasks-control.c: added support for printing the Tasks table.
	I hacked it a bit so the user could choose portrait or landscape mode.
	This is bug #9677. ETable printing has a few issues, though, and it
	isn't very pretty.

svn path=/trunk/; revision=15906
2002-03-04 19:38:45 +00:00
51130d0659 [pullup from evolution-1-0-branch]
* gui/itip-utils.c (comp_subject): Prefix the subject with an
        indicator like "Accepted" or "Cancelled" explaining what the
        action is, since Outlook doesn't display any of that information
        inline like we do. (20780)

svn path=/trunk/; revision=15896
2002-03-04 15:25:01 +00:00
db615484be added the METHOD property to the top level component we create.
2002-02-28  Rodrigo Moya <rodrigo@ximian.com>

	* calendar/gui/e-itip-control.c (e_itip_control_set_data): added the
	METHOD property to the top level component we create.

svn path=/trunk/; revision=15880
2002-03-01 12:56:50 +00:00
effbd15dbb display an error message if the call to gnome_calendar_open or
2002-02-26  Rodrigo Moya <rodrigo@ximian.com>

	* gui/control-factory.c (set_prop):
	* gui/tasks-control.c (tasks_control_set_property): display an error
	message if the call to gnome_calendar_open or e_tasks_open does not
	return TRUE. Fixes #20346.

svn path=/trunk/; revision=15845
2002-02-26 16:30:19 +00:00
7330d192f0 [pullup from evolution-1-0-branch]
* gui/itip-utils.c (itip_send_comp): use
	GNOME_Evolution_Composer_setBody rather than _setMultipartType and
	_attachData now, to send a message containing just a text/calendar
	part. Fixes 14705. Mostly.
	(comp_content_type): Include the filename here since we can't add
	a Content-Disposition now.

svn path=/trunk/; revision=15834
2002-02-25 16:40:37 +00:00
387acacf48 change query_changed to search_activated.
2002-02-24  Chris Toshok  <toshok@ximian.com>

	* gui/cal-search-bar.c (cal_search_bar_class_init): change
	query_changed to search_activated.
	(cal_search_bar_search_activated): rename
	cal_search_bar_query_changed to this.

svn path=/trunk/; revision=15830
2002-02-25 11:08:27 +00:00
cad0e082bf New helper function. (create_object): Add icons for the various user
* gui/component-factory.c (add_creatable_item): New helper
function.
(create_object): Add icons for the various user creatable items.

svn path=/trunk/; revision=15790
2002-02-22 02:23:40 +00:00
843b04862e pass extra itip_send_comp params (send_freebusy): ditto (ok_clicked_cb):
002-02-19  JP Rosevear  <jpr@ximian.com>

 	* gui/e-itip-control.c (send_item): pass extra itip_send_comp
 	params
 	(send_freebusy): ditto
 	(ok_clicked_cb): ditto, including the timezones culled from the
 	component

 	* gui/e-week-view.c: pass extra itip_send_comp params

 	* gui/calendar-commands.c: ditto

 	* gui/e-day-view.c: ditto

 	* gui/dialogs/task-editor.c: ditto

 	* gui/dialogs/event-editor.c: ditto

 	* gui/dialogs/comp-editor.c: ditto

 	* gui/itip-utils.h (itip_send_comp): update proto

 	* gui/itip-utils.c (foreach_tzid_callback): check the passed in
 	zones, then the builtin time zones then the client

2002-02-19  JP Rosevear  <jpr@ximian.com>

 	* gui/e-itip-control.c (find_my_address): strip the ical value and
 	do a case insensitive compare
 	(find_attendee): ditto
 	(change_status): put the error message here
 	(ok_clicked_cb): don't update the item or rsvp unless
 	change_status was successful, trip the ical value and do a case
 	insensitive compare

 	* gui/itip-utils.c (get_address): strip the incoming address
 	(itip_strip_mailto): use g_strncasecmp
 	(comp_limit_attendees): strip the ical value and do a case
 	insensitive compare

svn path=/trunk/; revision=15763
2002-02-19 16:26:25 +00:00
68bff65a41 use new column enums (set_value_at): emit pre-change/cell change signals
2002-02-14  JP Rosevear  <jpr@ximian.com>

 	* gui/e-meeting-model.c: use new column enums
 	(set_value_at): emit pre-change/cell change signals
 	(destroy): destroy refresh_queue and refresh_data
 	(init): init new elements
 	(refresh_queue_add): if the attendee is being refreshed already,
 	possibly update the start/end times to look for and update the
 	callback info, otherwise add it to the queue
 	(refresh_queue_remove): remove a refreshing attende from the queue
 	(process_callbacks): make all the callbacks and remove the
 	attendee from the queue
 	(process_free_busy): process the callbacks immediately if parsing
 	fails or on successful completion of processing
 	(async_close): process free busy
	(cursor_cb): we're only looking for one at a time now
 	(refresh_busy_periods): idle callback to start processing the queue
 	(e_meeting_model_refresh_all_busy_periods): add every row to the queue
 	(e_meeting_model_refresh_busy_periods): add a single row to the queue

 	* gui/e-meeting-model.h: new protos, enum the columns

 	* gui/e-meeting-time-sel.c: use new compare time function
 	(e_meeting_time_selector_construct): listen for a cell changed
 	signal and use separate callbacks for rows_inserted and
 	rows_deleted
 	(e_meeting_time_selector_refresh_free_busy): util function to
 	refresh free busy info
 	(e_meeting_time_selector_on_update_free_busy): use above
 	(rows_inserted_cb): refresh free busy on the new rows
 	(cell_changed_cb): refresh free busy on the row when the address
 	changes
 	(rows_deleted_cb): redraw

 	* gui/e-meeting-utils.[hc]: a holding spot for a meeting time
 	comparison function

 	* gui/Makefile.am: compile new files

svn path=/trunk/; revision=15741
2002-02-15 19:22:18 +00:00
378a7c56b7 don't append 'calendar.ics' to the URI. (get_prop): finished.
2002-02-13  Rodrigo Moya <rodrigo@ximian.com>

        * gui/control-factory.c (set_prop): don't append 'calendar.ics'
	to the URI.
	(get_prop): finished.

	* gui/tasks-control.c (tasks_control_set_property): don't append
	'tasks.ics' to the URI.
	(tasks_control_get_property): finished.

	* gui/gnome-cal.c (gnome_calendar_open):
	* gui/e-tasks.c (e_tasks_open): append $filename.ics to the uri to be
	opened if the uri is local. Leave intact in other cases.

svn path=/trunk/; revision=15724
2002-02-14 13:02:59 +00:00
2bcb81a1c6 check if the CalComponentDateTime values are set before trying to use
2002-02-08  Damon Chaplin  <damon@ximian.com>

	* gui/comp-util.c (cal_comp_util_compare_event_timezones): check if
	the CalComponentDateTime values are set before trying to use them.
	Possibly fixes bug #18529.

svn path=/trunk/; revision=15630
2002-02-09 01:55:37 +00:00
bf5ad102a4 added vCalendar importer and intelligent GnomeCalendar importer code here,
2002-02-08  Damon Chaplin  <damon@ximian.com>

	* importers/icalendar-importer.c: added vCalendar importer and
	intelligent GnomeCalendar importer code here, as it shares a lot of
	code with the iCalendar importer.

	NOTE: check_folder_type() needs to be finished at some point.
	It needs a new shell Corba call so it can decide whether to import
	events or tasks into the folder. Currently it just imports both.

	* importers/main.c (importer_factory_fn): create vCalendar importer
	or GnomeCalendar importer if required.

	* importers/evolution-calendar-importer.h: added declarations for
	creating a vCalendar importer and intelligent Gnome Calendar importer.

	* importers/Makefile.am: added -DEVOLUTION_SOUNDDIR so the importer
	knows what filename to use for audio alarms in vCalendar files.
	Added libicalvcal-evolution to LDADD.

	* importers/GNOME_Evolution_Calendar_Importer.oaf.in: added vCalendar
	importer and intelligent Gnome Calendar importer.

	* gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE
	if the event uses UTC. We don't want to flag all events from Outlook,
	which use UTC.

svn path=/trunk/; revision=15628
2002-02-09 01:03:32 +00:00
1e390adb7d change custom widget creator to e_url_entry_new
2002-02-08  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/task-details-page.glade: change custom widget
	creator to e_url_entry_new

	* gui/dialogs/task-details-page.c (get_widgets): get the url entry
	and its entry

svn path=/trunk/; revision=15622
2002-02-08 21:53:53 +00:00
180d4e4ed0 add a custom widget created with e_url_button_new
2002-02-08  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/task-details-page.glade: add a custom widget created
	with e_url_button_new

	* gui/dialogs/task-details-page.c (task_details_page_init): init
	url_button member to NULL
	(init_widgets): set the url button entry
	(get_widgets): get the url button

	* gui/calendar-commands.c (pixmaps): use new all day event icon

svn path=/trunk/; revision=15610
2002-02-08 17:33:14 +00:00
70398dd9e6 pass meeting boolean for gnome_calendar_edit_object and
2002-02-07  JP Rosevear  <jpr@ximian.com>

	* gui/e-day-view.c: pass meeting boolean for
	gnome_calendar_edit_object and gnome_calendar_new_appointment_for

	* gui/e-week-view-event-item.c: ditto

	* gui/e-week-view.c: ditto

	* gui/tasks-control.c (confirm_expunge): kill warning

	* gui/calendar-commands.c (new_meeting_cb): show a new meeting
	dialog
	(new_event_cb): pass new param

	* gui/gnome-cal.c (gnome_calendar_edit_object): take meeting
	boolean and show meeting page if true
	(gnome_calendar_new_appointment_for): takeing meeting param and
	pass to above
	(gnome_calendar_new_appointment): add new param

	* gui/gnome-cal.h: update proto

	* gui/component-factory.c (create_component): take a comp editor
	mode, determine vtype
	(sc_user_create_new_item_cb): check for meeting user creatable
	item
	(create_object): add meeting as user creatable item

	* gui/comp-editor-factory.c (edit_new): get a comp editor mode
	now, determine vtype and show meeting page if required
	(queue_edit_new): get comp editor mode
	(impl_editNew): ditto, plus queue the mode directly instead of
	determining the vtype

	* gui/dialogs/event-editor.c (show_meeting): new internal util
	function to show meeting page
	(event_editor_show_meeting): show the meeting
	(schedule_meeting_cmd): use show_meeting

	* gui/dialogs/event-editor.h: new proto

	* idl/evolution-calendar.idl: editNew takes a mode rather than a
	type now

	* cal-util/Makefile.am: fix includes

svn path=/trunk/; revision=15595
2002-02-07 19:35:18 +00:00
b7ac37f6b1 Bumped the required version of gal.
2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the required version of gal.

From addressbook/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* gui/widgets/e-addressbook-view.c
	(e_addressbook_view_setup_menus): Changed this function to use the
	new GalViewMenus which takes a GalViewInstance, instead of a
	GalViewCollection.

From calendar/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
	(gnome_calendar_setup_view_menus): Made these use the new
	GalViewMenus stuff.

From mail/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* folder-browser.c, folder-browser.h, folder-browser-ui.c,
	folder-browser-ui.h
	(folder_browser_ui_setup_view_menus,
	folder_browser_ui_discard_view_menus): Changed this to use the new
	GalViewMenus stuff.  Made these exported functions.

	* mail-callbacks.c, message-browser.c: Changed these to not pass
	the now removed row parameter to message_list_select.

	* mail-config.c, mail-config.h (mail_config_folder_to_safe_url):
	Refactored this out of mail_config_folder_to_cachename.

	* message-list.c, message-list.h (message_list_select): Removed
	the row argument.  Changed this to use the new function in ETree
	for finding the next cursor row that matches a test.
	(message_list_construct): Handle a failed construction of the
	ETree here.
	(message_list_setup_etree, save_tree_state): Don't load or save
	the header state.  folder-browser-ui.c deals with this now.

From views/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* addressbook/galview.xml, calendar/galview.xml, mail/galview.xml,
	tasks/galview.xml: Added default-view parameters.

	* mail/As_Sent_Folder.galview: New galview.

	* mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder
	galview.

From widgets/ChangeLog:

2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* menus/gal-view-menus.c, menus/gal-view-menus.h
	(gal_view_menus_new): Made this take a GalViewInstance instead of
	a GalViewCollection.  Reworked most of this to utilize the
	interfaces provided by GalViewInstance.

svn path=/trunk/; revision=15592
2002-02-07 11:24:08 +00:00
9112abc02f convert months from 1-12 to 0-11. Fixes bug #19235.
2002-02-06  Damon Chaplin  <damon@ximian.com>

	* cal-util/cal-recur.c (cal_recur_from_icalproperty): convert months
	from 1-12 to 0-11. Fixes bug #19235.

svn path=/trunk/; revision=15584
2002-02-06 23:30:49 +00:00
5b170de85b new gui routines for conduit settings (e_todo_gui_fill_config): ditto
2002-02-04  JP Rosevear  <jpr@ximian.com>

	* conduits/todo/todo-conduit.c (e_todo_gui_new): new gui routines
	for conduit settings
	(e_todo_gui_fill_config): ditto
	(e_todo_gui_fill_widgets): ditto
	(e_todo_gui_destroy): ditto
	(e_todo_context_destroy): destroy new_cfg and gui properly
	(local_record_from_comp): set the priority to the default setting
	if none is set on the icalendar object
	(fill_widgets): fill gui widgets
	(create_settings_window): create gui

svn path=/trunk/; revision=15569
2002-02-04 20:57:19 +00:00
0fbb812091 if this is a reply, print the attendee status
2002-01-30  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (write_html): if this is a reply, print the
	attendee status

svn path=/trunk/; revision=15531
2002-01-30 22:59:29 +00:00
f1a90dc6db Use 1 instead of zero as the minimum value for the repetitions spin button
2002-01-25  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/alarm-options.glade: Use 1 instead of zero as the
	minimum value for the repetitions spin button as we use a check
	box to specify whether the alarm has repetitions or not.  Fixes
	bug #19054.

svn path=/trunk/; revision=15472
2002-01-25 19:02:19 +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
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
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
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
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
025b29282c move all functions here, get rid of header files, use e-pilot-settings to
2002-01-14  JP Rosevear  <jpr@ximian.com>

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

	* conduits/todo/todo-conduit.c: as above

svn path=/trunk/; revision=15322
2002-01-14 21:07:46 +00:00
861de26de3 use icaltimetype_to_tm
2002-01-14  JP Rosevear  <jpr@ximian.com>

	* gui/gnome-cal.c (get_current_time): use icaltimetype_to_tm

svn path=/trunk/; revision=15320
2002-01-14 20:28:10 +00:00
bde55a8d92 figure out when today is and highlight if it is not selected
2002-01-14  JP Rosevear  <jpr@ximian.com>

	* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
	figure out when today is and highlight if it is not selected

	* gui/e-week-view.h: enum the "today" color

	* gui/e-week-view.c (e_week_view_realize): init the "today" color

svn path=/trunk/; revision=15319
2002-01-14 20:21:20 +00:00
7ace2ffaad add protos
2002-01-13  JP Rosevear  <jpr@ximian.com>

	* gui/alarm-notify/save.h: add protos

	* gui/alarm-notify/save.c (save_blessed_program): records a
	program as blessed
	(is_blessed_program): checks to see if a program is blessed

	* gui/alarm-notify/alarm-queue.c (procedure_notification_dialog):
	popup a dialog notifying the user that is a program and let them
	not see the dialog about this program again
	(procedure_notification): use above

svn path=/trunk/; revision=15313
2002-01-14 01:07:09 +00:00
0ed7d60f57 translate timezone names when displayed. Fixes bug #6544.
2002-01-11  Damon Chaplin  <damon@ximian.com>

	* gui/e-timezone-entry.c:
	* gui/e-itip-control.c (write_label_piece):
	* gui/calendar-config.c (on_timezone_set): translate timezone names
	when displayed. Fixes bug #6544.

svn path=/trunk/; revision=15307
2002-01-12 00:34:14 +00:00
51adfb0876 new verb callback (sensitize_commands): set sensitivity of mark complete
2002-01-03  JP Rosevear  <jpr@ximian.com>

	* gui/tasks-control.c (tasks_control_complete_cmd): new verb
	callback
	(sensitize_commands): set sensitivity of mark complete command

	* gui/e-tasks.h: new proto

	* gui/e-tasks.c (e_tasks_complete_selected): mark selected tasks
	in the table as complete

	* gui/e-calendar-table.h: new proto

	* gui/e-calendar-table.c (e_calendar_table_complete_selected):
	mark selected rows as complete

svn path=/trunk/; revision=15239
2002-01-03 19:43:32 +00:00
6d4da19b13 only need one warning message now
002-01-03  JP Rosevear  <jpr@ximian.com>

	* gui/tasks-control.c (confirm_expunge): only need one warning
	message now

	* gui/e-tasks.c (create_sexp): change the logic to expunge all
	completed tasks not just hidden ones

svn path=/trunk/; revision=15236
2002-01-03 19:03:00 +00:00
0fe2d52016 confirm expunging of the tasks (tasks_control_expunge_cmd): verb callback
2002-01-03  JP Rosevear  <jpr@ximian.com>

	* gui/tasks-control.c (confirm_expunge): confirm expunging of the
	tasks
	(tasks_control_expunge_cmd): verb callback

	* gui/calendar-config.c (config_read): read confirm expunge value
	(calendar_config_write): write confirm expunge value
	(calendar_config_write_on_exit): ditto
	(calendar_config_get_confirm_expunge): get value
	(calendar_config_set_confirm_expunge): set value

	* gui/calendar-config.h: new proto

	* gui/e-itip-control.c (start_calendar_server): kill warning

	* gui/e-tasks.c (e_tasks_init): init query member to NULL
	(set_status_message): util function to set status message
	(e_tasks_open): use above
	(cal_opened_cb): ditto
	(create_sexp): create sexp of items to be deleted
	(query_obj_updated_cb): remove any items found
	(query_eval_error_cb): bail out on error
	(query_query_done_cb): tidy when done
	(e_tasks_delete_completed): set up query

	* gui/e-tasks.h: new proto

	* gui/calendar-model.c (query_query_done_cb): use g_warning
	instead of printing to stderr
	(query_eval_error_cb): ditto
	(update_query): clear the status message if we can't create the
	query

	* gui/tag-calendar.c (resolve_tzid_cb): make this static

svn path=/trunk/; revision=15233
2002-01-03 15:01:46 +00:00
72d188ef33 remove needs send signal related cruft (save_comp_with_send): with
2001-12-21  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/comp-editor.c: remove needs send signal related
	cruft
	(save_comp_with_send): with send_component_dialog, indicate if the
	meeting info is newly created or not
	(real_edit_comp): remember if the dialog initially needs a send

	* gui/dialogs/send-comp.c (send_component_dialog): take a "new"
	parameter indicating whether the dialog should intimate if the
	component to be sent is a new meeting or not

	* gui/dialogs/send-comp.h: update proto

	* gui/dialogs/comp-editor.c: remove no longer used needs_send
	notification and signal

	* gui/dialogs/comp-editor.h: remove proto

	* gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): add new
	param to send_component_dialog
	(e_day_view_finish_long_event_resize): ditto
	(e_day_view_finish_resize): ditto
	(e_day_view_on_editing_stopped): ditto
	(e_day_view_on_top_canvas_drag_data_received): ditto

	* gui/e-week-view.c (e_week_view_on_editing_stopped): add new
	param to send_component_dialog

svn path=/trunk/; revision=15204
2001-12-21 16:17:09 +00:00
1
ff1f6c3f1a inherit from bonobo window
2001-12-21    <jpr@ximian.com>

	* gui/dialogs/comp-editor.h: inherit from bonobo window

	* gui/dialogs/comp-editor.c: inherit from bonobo window
	(comp_editor_key_press_event): Look for an escape key press and
	close the window if found

svn path=/trunk/; revision=15202
2001-12-21 14:49:31 +00:00
c279319bc5 -- Merge fix for #17377 from the evolution-1-0-branch.
* gui/main.c (main): Push GdkRGB visual and colormap.

svn path=/trunk/; revision=15194
2001-12-20 06:12:17 +00:00
3581bfb3ef go slow and clear the map if the last uri and the current uri do not match
2001-12-19  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/calendar-conduit.c (check_for_slow_setting):
	go slow and clear the map if the last uri and the current uri do
	not match
	(post_sync): save the last uri

	* conduits/calendar/calendar-conduit-config.h: handle a last uri
	config option

	* conduits/todo/todo-conduit-config.h: ditto

    	* conduits/calendar/calendar-conduit.c (start_calendar_server):
    	use the open_default_calendar method

    	* conduits/todo/todo-conduit.c (start_calendar_server): same as above

    	* cal-client/Makefile.am: link with bonobo conf

    	* cal-client/cal-client.h: new protos

    	* idl/evolution-calendar.idl: make sure open method raises
    	appropriate exceptions

     	* gui/e-itip-control.c (start_calendar_server): use
     	cal_client_open_default_* calls

     	* cal-client/cal-client.c (real_open_calendar): do the real work
     	of loading
     	(cal_client_open_calendar): use above
     	(get_fall_back_uri): get the basic local uri
     	(get_default_uri): get the default uri from the config db
     	(cal_client_open_default_calendar): open the default uri or the
     	fallback if the method is unsupported
     	(cal_client_open_default_tasks): same for tasks

svn path=/trunk/; revision=15179
2001-12-19 15:19:33 +00:00