Commit Graph

322 Commits

Author SHA1 Message Date
aa30af4897 use a GtkMessageDialog and deal correctly with the dialog's reponses.
2003-03-20  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/cancel-comp.c (cancel_component_dialog): use a
	GtkMessageDialog and deal correctly with the dialog's reponses.

svn path=/trunk/; revision=20434
2003-03-20 17:47:54 +00:00
a7c97f5d6b use GtkMessageDialog instead of gnome_question_dialog, and deal correctly
2003-03-18  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/send-comp.c (send_component_dialog): use GtkMessageDialog
	instead of gnome_question_dialog, and deal correctly with the dialog's
	response.

svn path=/trunk/; revision=20342
2003-03-18 19:43:46 +00:00
76d5d48097 Fixes #34095
2003-03-17  Hans Petter Jansson  <hpj@ximian.com>

	Fixes #34095

	* gui/e-meeting-model.c (append_row): Don't leak meeting attendees;
	unref the attendee after it's assigned to model.

	* gui/dialogs/meeting-page.c (meeting_page_destroy): Free the actual
	array of deleted attendees.

	* gui/dialogs/event-editor.c (event_editor_destroy): Free the private
	structure.

	* gui/itip-utils.c (comp_description): Rework free/busy information
	composer so we can free date/time information after use. Then free it.
	(itip_send_comp): Free the allocated CORBA buffer for attachment data.

	* gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_component):
	Free the destination contacts string once we're done with it.

	* gui/e-calendar-table.c (invisible_destroyed): Unref the invisible.

	* gui/e-day-view.c (invisible_destroyed): Ditto.

	* gui/e-week-view.c (invisible_destroyed): Ditto.

svn path=/trunk/; revision=20329
2003-03-18 01:46:26 +00:00
e4c6f61966 Fixes #39757
2003-03-17  Hans Petter Jansson  <hpj@ximian.com>

	Fixes #39757

	* gui/dialogs/alarm-page.c (sensitize_buttons): Somehow this code
	reverted to thinking it was dealing with a GtkCList, when in reality
	it's a GtkTreeView. Fix that, so the buttons are sensitized correctly.

svn path=/trunk/; revision=20328
2003-03-18 00:58:04 +00:00
c32307b1c8 don't use GNOME_STOCK_* defines, but GTK_STOCK_*.
2003-03-12  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/save-comp.c (save_component_dialog): don't use
	GNOME_STOCK_* defines, but GTK_STOCK_*.

svn path=/trunk/; revision=20262
2003-03-12 16:10:30 +00:00
460a3fb010 corrected button ordering and changed the return type to be a
2003-03-12  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/save-comp.[ch] (save_component_dialog): corrected
	button ordering and changed the return type to be a GtkResponseType.

	* gui/dialogs/comp-editor.c (prompt_to_save_changes): adapted to
	changes in save_component_dialog.

svn path=/trunk/; revision=20261
2003-03-12 16:04:50 +00:00
7f8c51d30d g_objectify ref/unref
2003-03-05  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (show_current): g_objectify ref/unref

	* gui/itip-bonobo-control.c (set_data_idle_cb): as above
	(pstream_load): ditto

	* gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above

svn path=/trunk/; revision=20172
2003-03-05 15:50:34 +00:00
f776394961 don't let the user change to an email organizer if the back end is not an
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't
 	let the user change to an email organizer if the back end is not
 	an email addres

svn path=/trunk/; revision=20162
2003-03-04 22:28:56 +00:00
6c95c6da0e call cal_client_get_cal_address instead of cal_client_get_email_address
2003-03-04  JP Rosevear  <jpr@ximian.com>

       * gui/itip-utils.c (itip_organizer_is_user): call
       cal_client_get_cal_address instead of cal_client_get_email_address

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

       * pcs/cal.c (impl_Cal_get_cal_address): implement updated method
       name
       (cal_class_init): set method implementation

       * pcs/cal-backend.c (cal_backend_class_init): init get_cal_address
       virtual function
       (cal_backend_get_cal_address): call proper function

       * pcs/cal-backend.h: update proto, rename get_email_address
       virtual function to get_cal_address virtual function

       * pcs/cal-backend-file.c (cal_backend_file_class_init): match
       get_cal_address call
       (cal_backend_file_get_cal_address): rename from
       cal_backend_file_get_email_address

       * cal-client/cal-client.c: rename email_address private member to
       cal_address
       (cal_client_init): init cal_address
       (cal_client_destroy): free cal_address and properly free
       alarm_email_address
       (cal_client_get_cal_address): rename from
       cal_client_get_email_address and call proper corba function

svn path=/trunk/; revision=20151
2003-03-04 20:59:13 +00:00
c35c8eb37d fix copyright
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	* gui/dialogs/recur-comp.h: fix copyright

 	* gui/dialogs/recur-comp.c: fix copyright
 	(recur_component_dialog): say "recurring journal entry" instead of
 	just "recurring journal"

svn path=/trunk/; revision=20147
2003-03-04 20:03:21 +00:00
df4595a2b8 Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>)
2003-03-04  JP Rosevear  <jpr@ximian.com>

        Partially  Fixes #23606 (from Jack Jia <jack.jia@sun.com>)

 	* gui/dialogs/schedule-page.c (update_time): handle no end date if
 	the start is date only

 	* gui/dialogs/event-page.c (update_time): ditto

svn path=/trunk/; revision=20146
2003-03-04 19:59:21 +00:00
ae7622009e Shush.
svn path=/trunk/; revision=20145
2003-03-04 19:53:59 +00:00
6c2bfc807c Commit missed files.
svn path=/trunk/; revision=20144
2003-03-04 19:53:28 +00:00
6b4c3984d5 If only the pipe wouldn't break.
svn path=/trunk/; revision=20143
2003-03-04 19:52:37 +00:00
484aa9de68 gui/dialogs/alarm-page.c gui/dialogs/event-page.c
2003-03-03  Hans Petter Jansson  <hpj@ximian.com>

	* gui/dialogs/alarm-page.c
	* gui/dialogs/event-page.c
	* gui/dialogs/meeting-page.c
	* gui/dialogs/recurrence-page.c
	* gui/dialogs/schedule-page.c
	* gui/dialogs/task-details-page.c
	* gui/dialogs/task-page.c (get_widgets): gtk_widget_unparent() ->
	gtk_container_remove(). The former caused crashes in the
	addressbook's name-selector.

svn path=/trunk/; revision=20130
2003-03-03 22:28:59 +00:00
e923674e24 build libcal-dialogs as an uninstalled shared library ($(IDL_GENERATED_H),
* gui/dialogs/Makefile.am: build libcal-dialogs as an uninstalled
	shared library
	($(IDL_GENERATED_H), etc): Only generate
	Evolution-Addressbook-SelectNames.h, not the corresponding .c
	files, or we'll get duplicate symbol errors trying to link this
	into libevolution_calendar.la

	* gui/Makefile.am (libevolution_calendar_la_LIBADD): Update for
	that (and eliminate libtool portability warnings)

svn path=/trunk/; revision=20114
2003-02-28 22:44:27 +00:00
ef315a410d Show start/end-of-day widgets.
2003-02-25  Hans Petter Jansson  <hpj@ximian.com>

	* gui/dialogs/cal-prefs-dialog.c (get_widgets): Show start/end-of-day
	widgets.

svn path=/trunk/; revision=20062
2003-02-25 22:31:18 +00:00
ba64403a4f Don't warn if calendar isn't loaded... Doesn't seem to hurt, but this
2003-02-23  Hans Petter Jansson  <hpj@ximian.com>

	* cal-client/cal-client.c (cal_client_is_read_only): Don't warn
	if calendar isn't loaded... Doesn't seem to hurt, but this should
	probably be investigated further.

	* gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget):
	If we have no contacts, don't bother trying to set them in the
	widget. Used to pass a NULL list, which would lead to much anxiety
	in callees.

	* gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
	If we have no potential organizers, emit a sensible warning.

	* gui/dialogs/task-page.c (init_widgets): Don't try to connect to
	the "changed" signal of the GtkTextView -- we listen to the
	GtkTextBuffer now.

svn path=/trunk/; revision=20019
2003-02-24 03:10:28 +00:00
ee568bb74f gconf settings upgrades
svn path=/trunk/; revision=20018
2003-02-24 02:59:24 +00:00
1d89cb7a9b Appease the compiler. (gnome_calendar_update_paned_quanta): Don't actually
2003-02-23  Hans Petter Jansson  <hpj@ximan.com>

	* gui/gnome-cal.c (backend_died_cb): Appease the compiler.
	(gnome_calendar_update_paned_quanta): Don't actually try to set
	the quantum properties. The quantum code should probably go away
	entirely now that the panes update during resize, but let's keep
	it around for a bit more.

	* gui/dialogs/event-editor.c (event_editor_construct): Ref & sink
	the pages.

	* gui/dialogs/task-editor.c (task_editor_construct): Ref & sink
	the pages.

svn path=/trunk/; revision=20011
2003-02-24 00:57:57 +00:00
1b3f0e9d8a Show the custom widgets, since libglade appears to not want to do that.
2003-02-22  Hans Petter Jansson  <hpj@ximian.com>

	* gui/dialogs/task-details-page.c (get_widgets): Show the custom
	widgets, since libglade appears to not want to do that.

	* gui/dialogs/task-page.c (clear_widgets): Make the description
	field use a GtkTextView.
	(task_page_fill_widgets): Ditto.
	(task_page_fill_component): Ditto.
	(init_widgets): Ditto.
	(get_widgets): Show the custom widgets, since libglade doesn't do it.

svn path=/trunk/; revision=20003
2003-02-23 02:30:10 +00:00
4481f892e1 revert previous change
svn path=/trunk/; revision=19968
2003-02-20 05:38:56 +00:00
94e846e2a9 Remove libversit. We haven't depended on that in forever.
* cal-client/Makefile.am (client_test_LDADD): Remove libversit. We
        haven't depended on that in forever.

        * cal-util/Makefile.am (test_recur_LDADD): Likewise

        * gui/alarm-notify/Makefile.am: build libalarm as a shared library
        instead of static.

        * gui/dialogs/Makefile.am: likewise for libcal-dialogs

        * gui/Makefile.am (libevolution_calendar_la_LIBADD): update for
        that.

svn path=/trunk/; revision=19965
2003-02-20 04:43:14 +00:00
efd467f902 Make the CORBA IDL compilation work with parallel makes. Likewise.
* gui/Makefile.am: Make the CORBA IDL compilation work with
parallel makes.
* gui/dialogs/Makefile.am: Likewise.
* gui/alarm-notify/Makefile.am: Likewise.

svn path=/trunk/; revision=19872
2003-02-10 17:28:37 +00:00
eacd38d4ee Use e_auto_kill_popup_menu_on_selection_done() instead of
* gui/e-day-view-time-item.c
(e_day_view_time_item_show_popup_menu): Use
e_auto_kill_popup_menu_on_selection_done() instead of
e_auto_kill_popup_menu_on_hide().
* gui/dialogs/meeting-page.c (right_click_cb): Likewise.

svn path=/trunk/; revision=19835
2003-02-06 23:25:10 +00:00
999c456787 show the widget before returning it.
* gui/dialogs/event-page.c (make_timezone_entry): show the widget
	before returning it.

svn path=/trunk/; revision=19826
2003-02-06 19:40:27 +00:00
84d3e4130f Remove cruft. Rename ICONSDIR to IMAGESDIR. (gladedir, etspecdir): Remove
* gui/dialogs/Makefile.am (INCLUDES): Remove cruft. Rename
	ICONSDIR to IMAGESDIR.
	(gladedir, etspecdir): Remove definitions

	* gui/dialogs/alarm-page.c: #include gtktreeselection.h and
	gtkcellrenderertext.h
	(append_reminder): Remove unused variable.
	(alarm_page_fill_component): Likewise.
	(alarm_page_set_summary): Likewise.
	(delete_clicked_cb): Likewise.

	* gui/dialogs/comp-editor.c (make_icon_from_comp):
	s/ICONSDIR/IMAGESDIR/

	* gui/dialogs/event-page.c: #include <string.h>

	* gui/dialogs/meeting-page.c (meeting_page_construct): Remove
	unused variable.
	(meeting_page_fill_widgets): Likewise

	* gui/dialogs/recurrence-page.c: #include gtktreeselection.h and
	gtkcellrenderertext.h
	(append_exception): Remove unused variable
	(fill_component): Likewise
	(recurrence_page_set_summary): Likewise.
	(exception_delete_cb): Likewise

svn path=/trunk/; revision=19792
2003-02-06 01:58:04 +00:00
05020b82c3 array of localized month day names ("1st" - "31st")
* cal-util/cal-recur.c (cal_recur_nth): array of localized month
	day names ("1st" - "31st")

	* gui/dialogs/recurrence-page.c (make_recur_month_num_submenu,
	make_recur_month_num_menu, month_num_menu_selection_done_cb): Use
	the new cal_recur_nth[] array. The way this was done before didn't
	localize properly.

	* gui/alarm-notify/notify-main.c (main):
	s/glade_gnome_init/glade_init/

	From evolution-1-2-branch:

	* gui/e-itip-control.c (write_recurrence_piece): Describe
	recurrences, if we can. #30993
	(set_date_label): If the meeting has recurrences, call
	write_recurrence_piece after writing the start and end dates.
	(write_label_piece): Wrap the timezone in <font size=-1> to
	de-emphasize it a bit and try to keep the timestamp on a single
	line even with big Outlook timezone names. Add an option to show
	just the date, for describing the end of recurrences (since the
	time in the UNTIL is the *beginning* of the last instance, which
	would confuse people).
	(update_item): Set the VCALENDAR's METHOD.
	(ok_clicked_cb): Use update_item, not remove_item, to process a
	cancelation. Part of #33875.

	* pcs/cal-backend-file.c (cal_backend_file_cancel_object): New,
	handle an ICAL_METHOD_CANCEL update.
	(cal_backend_file_update_objects): Call
	cal_backend_file_update_object or cal_backend_file_cancel_object
	as appropriate.

svn path=/trunk/; revision=19763
2003-02-05 18:12:34 +00:00
5c82a66329 The CVS server exited after applying everything from my last commit,
except for the changes made to this file. Why?

svn path=/trunk/; revision=19750
2003-02-05 00:17:37 +00:00
c366eaafc3 Skip setting the "font_gdk" arg for now.
2003-02-02  Hans Petter Jansson  <hpj@ximian.com>

	* gui/e-day-view.c (e_day_view_set_event_font_cb): Skip setting the
	"font_gdk" arg for now.
	(e_day_view_update_main_canvas_drag): Ditto.

	* gui/e-week-view.c (e_week_view_style_set): Ditto.

	* gui/weekday-picker.c (configure_items): Ditto.

	* gui/dialogs/event-page.c (get_widgets): Show custom widgets
	manually, since the visibility specified in the Glade XML appears
	to not have any effect.

	* gui/dialogs/recurrence-page.c (get_widgets): Ditto.

svn path=/trunk/; revision=19706
2003-02-02 08:07:39 +00:00
3cf26e43e2 Mainly making all views use PangoLayouts for text. When drawing a
2003-01-25  Hans Petter Jansson  <hpj@ximian.com>

	Mainly making all views use PangoLayouts for text. When drawing a
	PangoLayout, the draw offset is the top left corner of the layout,
	not the text's baseline. Keep this in mind when viewing the
	changes. I'll be brief about the exact changes, since they speak
	better for themselves.

	* gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width):
	Use Pango.
	(e_day_view_time_item_draw): Use Pango.

	* gui/e-day-view-top-item.c (e_day_view_top_item_draw): Use Pango.
	(e_day_view_top_item_draw_long_event): Add some FIXME text so we can
	see when this is being used. Is it in use at all?

	* gui/e-day-view.c: No longer specify an explicit X font string for
	the large font. Use the main font, and change the point size.
	(e_day_view_init): Use Pango.
	(e_day_view_style_set): Use Pango. Comment out the gdk_font setting
	for the drag text items for now.

	* gui/e-day-view.h: Use Pango.

	* gui/e-week-view-event-item.c (e_week_view_draw_time): Use Pango.

	* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
	Use Pango.

	* gui/e-week-view-titles-item.c (e_week_view_titles_item_draw):
	Use Pango.

	* gui/e-week-view.c: No longer specify an explicit X font string for
	the small font. Use the main font, and change the point size.
	(e_week_view_init): Use Pango.
	(e_week_view_destroy): Use Pango.
	(get_string_width): Implemented for convenience.
	(get_digit_width): Implemented for convenience.
	(e_week_view_style_set): Use Pango.
	(e_week_view_recalc_cell_sizes): Use Pango.
	(e_week_view_get_time_string_width): Use Pango.

	* gui/e-week-view.h: Use Pango.

	Following are some random UTF-8 fixes and a crash fix.

	* gui/itip-utils.c (comp_description): Use g_locale_to_utf8 ().

	* gui/dialogs/comp-editor.c (make_title_from_comp): Return a
	UTF-8 string.

	* gui/dialogs/alarm-page.c (alarm_page_set_summary): Pass UTF-8
	directly to GTK.

	* gui/dialogs/delete-comp.c (delete_component_dialog): Ditto.

	* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Ditto.
	(meeting_page_construct): Ditto.

	* gui/dialogs/recurrence-page.c (recurrence_page_set_summary): Ditto.

	* gui/dialogs/event-editor.c (event_editor_finalize): Fix crash caused
	by gtk_object_destroy()-ing a non-GtkObject.

svn path=/trunk/; revision=19628
2003-01-26 01:42:05 +00:00
0d838a10a2 Don't insist appointment is updated if both old and new summary are blank.
2003-01-24  Hans Petter Jansson  <hpj@ximian.com>

	* gui/e-day-view.c (e_day_view_on_editing_stopped): Don't insist
	appointment is updated if both old and new summary are blank.

	* gui/e-week-view.c (e_week_view_on_editing_stopped): Ditto.

	* gui/e-timezone-entry.c (on_button_clicked): Timezone dialog is now
	a GtkDialog. Treat it as such.

	* gui/goto.c (ecal_event): Goto dialog is now a GtkDialog. Treat it
	as such.
	(goto_dialog): Ditto.

	* gui/goto-dialog.glade: Set the return IDs from the dialog buttons.

	* gui/dialogs/meeting-page.c (popup_delegate_cb): Enable the delegate
	dialog. It's now a GtkDialog, so treat it like one.
	(right_click_cb): Use GTK stock item, not GNOME (that doesn't work
	anymore).

	* gui/e-delegate-dialog.glade: Set the return IDs from dialog buttons.

	* gui/print.c (print_calendar): Correct the print dialog init. Code
	is still not enabled, though.

	* gui/tasks-control.c (print_tasks): Add a warning about printing
	being disabled.

svn path=/trunk/; revision=19624
2003-01-24 22:02:49 +00:00
0f7f8fdd03 Remove, this is now defined in configure.in.
* gui/dialogs/Makefile.am (iconsdir): Remove, this is now defined
in configure.in.

* gui/Makefile.am (iconsdir): Remove; this is now defined in
configure.in.

* gui/alarm-notify/Makefile.am (iconsdir): Remove; this is now
defined in configure.in.

svn path=/trunk/; revision=19620
2003-01-24 18:12:16 +00:00
2c11fe24f2 Add a terminating NULL to the concatenation.
2003-01-23  Hans Petter Jansson  <hpj@ximian.com>

	* gui/dialogs/comp-editor.c (comp_editor_merge_ui): Add a terminating
	NULL to the concatenation.

svn path=/trunk/; revision=19612
2003-01-24 05:03:54 +00:00
e296988648 GTK_OBJECT -> G_OBJECT cast.
2003-01-23  Hans Petter Jansson  <hpj@ximian.com>

	* gui/dialogs/event-page.c (get_widgets): GTK_OBJECT -> G_OBJECT cast.

	* gui/dialogs/alarm-page.c (get_widgets): Ditto.

	* gui/dialogs/meeting-page.c (get_widgets): Ditto.

	* gui/dialogs/recurrence-page.c (get_widgets): Ditto.

	* gui/dialogs/schedule-page.c (get_widget): Ditto.

	* gui/dialogs/task-details-page.c (get_widget): Ditto.

	* gui/dialogs/task-page.c (get_widget): Ditto.

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Add a
	FIXME comment to think about.

svn path=/trunk/; revision=19610
2003-01-24 02:00:44 +00:00
c5152171a1 Fixes some trivial, but distracting, warnings.
2003-01-23  Hans Petter Jansson  <hpj@ximian.com>

	Fixes some trivial, but distracting, warnings.

	* gui/calendar-config.c (on_timezone_set): Fix constness.

	* gui/e-timezone-entry.c (on_button_clicked): Fix constness.

	* gui/dialogs/event-page.c (contacts_changed_cb): Fix constness.

	* gui/dialogs/task-page.c (contacts_changed_cb): Fix constness.

	* gui/e-itip-control.c (start_default_server): Cast callback with
	G_CALLBACK ().

	* gui/dialogs/schedule-page.c (init_widgets): Cast callback with
	G_CALLBACK ().

	* gui/calendar-offline-handler.c (impl_dispose): Takes GObject,
	not GtkObject.
	(impl_finalize): Ditto.

	* gui/calendar-view.c (calendar_view_edit): Now takes parent window
	as second arg.

	* gui/e-meeting-model.c (select_names_ok_cb): Fix constness.
	(get_select_name_dialog): Cast callback to BonoboListenerCallbackFn.

	* gui/e-meeting-time-sel.c
	(e_meeting_time_selector_options_menu_position_callback): Add the
	push_in arg to arg list. This was crash-prone before.
	(e_meeting_time_selector_autopick_menu_position_callback): Ditto.

	* gui/alarm-notify/alarm-notify-dialog.c: Include e-unicode.h.

svn path=/trunk/; revision=19605
2003-01-23 21:56:10 +00:00
bc61f8e11c Use EVOLUTION_GALVIEWSDIR.
* gui/gnome-cal.c (gnome_calendar_setup_view_menus): Use
EVOLUTION_GALVIEWSDIR.

* gui/e-tasks.c (e_tasks_setup_view_menus): Use
EVOLUTION_GALVIEWSDIR.

* cal-util/Makefile.am: Install libcal-util.la in $(privlibdir)
instead of $(libdir).

* gui/dialogs/comp-editor.c (setup_widgets): Get
evolution-comp-editor.xml from EVOLUTION_UIDIR.
(comp_editor_merge_ui): Get the file in EVOLUTION_UIDIR.

* gui/tasks-control.c (tasks_control_activate): Get
evolution-tasks.xml from EVOLUTION_UI_DIRECTORY.

* gui/calendar-commands.c (calendar_control_activate): Get
evolution-calendar.xml from EVOLUTION_UI_DIRECTORY.

* pcs/Makefile.am (pcsincludedir): Version using $(BASE_VERSION).

* importers/Makefile.am: Install evolution-calendar-importer in
$(libexecdir)/evolution/$(BASE_VERSION).
(sounddir): Remove.

* gui/dialogs/Makefile.am (iconsdir): Version using
$(BASE_VERSION).
(gladedir): Likewise.
(etspecdir): Likewise.

* gui/Makefile.am (help_base): Remove.
(install-data-local): Do not make the $(help_base)/C directory.
(etspecdir): Version using $(BASE_VERSION).
(gladedir): Likewise.
(iconsdir): Likewise.
(INCLUDES): Update the EVOLUTION_IMAGESDIR define to be versioned,
and add a -DEVOLUTION_GALVIEWSDIR.

* cal-util/Makefile.am: Install evolution-alarm-notify in
$(libexecdir)/evolution/$(BASE_VERSION).

* cal-util/Makefile.am (libcal_utilincludedir): Version using
$(BASE_VERSION).
* gui/alarm-notify/Makefile.am (iconsdir): Likewise.
(gladedir): Likewise.

* cal-client/Makefile.am: Install libcal-client.la in privlibdir
instead of libdir.
(libcal_clientincludedir): Version using $(BASE_VERSION).

svn path=/trunk/; revision=19553
2003-01-22 20:07:51 +00:00
ceb8214177 Implement EAlarmList as CalComponentAlarm list with a GtkTreeModel
2003-01-16  Hans Petter Jansson  <hpj@ximian.com>

	* gui/e-alarm-list.[ch]: Implement EAlarmList as CalComponentAlarm
	list with a GtkTreeModel interface.

	* gui/Makefile.am: Add e-alarm-list.[ch].

	* gui/dialogs/alarm-page.[ch]: Use GtkTreeView with the new
	EAlarmList as model for the alarm list. Update copyright.

	* gui/dialogs/recurrence-page.[ch]: Update copyright.
	(free_exception_date_time): Removed.
	(fill_exception_widgets): Kill a lingering clist operation.

svn path=/trunk/; revision=19499
2003-01-16 21:14:02 +00:00
3ee4a2d5c5 Create accel groups for popup menus. Fixes crash.
2003-01-15  Hans Petter Jansson  <hpj@ximian.com>

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
	Create accel groups for popup menus. Fixes crash.

	* gui/e-date-time-list.[ch]: Implement EDateTimeList as
	CalComponentDateTime list with a GtkTreeModel interface.

	* gui/Makefile.am: Add e-date-time-list.[ch].

	* gui/dialogs/recurrence-page.c: Use GtkTreeView with the new
	EDateTimeList as model for the exception list.

svn path=/trunk/; revision=19490
2003-01-15 23:41:35 +00:00
3c89e1aa02 Removed. Removed.
* gui/config-control-factory.h: Removed.
* gui/config-control-factory.c: Removed.

* gui/itip-bonobo-control.c: Renamed from itip-control-factory.c.
(itip_bonobo_control_new): New.
(itip_control_factory_init): Removed.

* gui/itip-bonobo-control.h: Renamed from itip-control-factory.h.

* gui/tasks-control-factory.c: Removed.
* gui/tasks-control-factory.h: Removed.

* gui/control-factory.c (control_factory_init): Removed.

* gui/Makefile.am: Updated to build everything as
libevolution-calendar.so and install in the COMPONENTDIR.

* gui/GNOME_Evolution_Calendar.server.in.in: Updated to build the
component as a shared library.

* gui/main.c (main): Removed.

* gui/calendar-component.c (calendar_component_get_object): New.
(owner_set_cb): Do not store the shell pointer in shells.
(owner_unset_cb): Do not remove the shell pointer from shells;
instead, just set global_shell_client to NULL.

* gui/calendar-component.h: Renamed from component-factory.h.
* gui/calendar-component.c: Renamed from component-factory.c.

svn path=/trunk/; revision=19430
2003-01-13 21:15:25 +00:00
c53d080d04 Icons are now in $(datadir)/evolution/images instead of
* gui/alarm-notify/Makefile.am: Icons are now in
$(datadir)/evolution/images instead of
$(datadir)/images/evolution.
* gui/Makefile.am: Likewise.
* gui/dialogs/Makefile.am: Likewise.

svn path=/trunk/; revision=19296
2003-01-08 22:37:36 +00:00
8a30fde1e5 Replace gtk_signal_disconnect_by_data() with
2002-12-19  Hans Petter Jansson  <hpj@ximian.com>

        * gui/calendar-commands.c (calendar_control_deactivate):
        Replace gtk_signal_disconnect_by_data() with
        g_signal_handlers_disconnect_matched(). Former takes GtkObject,
        latter takes GObject.

        * gui/calendar-model.c (calendar_model_destroy): Ditto.
        (update_query): Ditto.
        (calendar_model_set_cal_client): Ditto.

        * gui/e-day-view.c (e_day_view_destroy): Ditto.
        (update_query): Ditto.
        (e_day_view_set_cal_client): Ditto.

        * gui/e-tasks.c (query_eval_error_cb): Ditto.
        (query_query_done_cb): Ditto.

        * gui/e-week-view.c (e_week_view_destroy): Ditto.
        (update_query): Ditto.
        (e_week_view_set_cal_client): Ditto.

        * gui/gnome-cal.c (update_query): Ditto.
        (gnome_calendar_destroy): Ditto.

        * gui/tasks-control.c (tasks_control_deactivate): Ditto.

        * gui/e-comp-editor-registry.c (foreach_close_cb): Replace
        gtk_signal_handler_(un)block_by_data() with
        g_signal_handlers_(un)block_matched(). Former takes GtkObject, latter
        takes GObject.

        * gui/dialogs/alarm-page.c (alarm_page_get_type): Replace with
        E_MAKE_TYPE().
        (alarm_page_class_init): Use GObject as base class instead of
        GtkObject, and set up finalization instead of destroy handler.
        (alarm_page_destroy): Change to alarm_page_finalize() and assume
        parent is GObject, not GtkObject.
        (alarm_page_new): Use g_object_new(), not gtk_type_new().

        * gui/dialogs/event-page.c: Same general changes as above file.
        (update_time): Replace gtk_signal_handler_(un)block_by_data()
        with g_signal_handlers_(un)block_matched().
        (clear_widgets): Ditto.
        (times_updated): Ditto.

        * gui/dialogs/recurrence-page.c: Same general changes as above file.
        (clear_widgets): Replace gtk_signal_handler_(un)block_by_data()
        with g_signal_handlers_(un)block_matched().
        (append_exception): Ditto.
        (fill_ending_date): Ditto.
        (recurrence_page_fill_widgets): Ditto.

        * gui/dialogs/comp-editor.c: Same general changes as above file.
        (comp_editor_finalize): Replace gtk_signal_disconnect_by_data()
        with g_signal_handlers_disconnect_matched().
        (comp_editor_remove_page): Ditto.

        * gui/dialogs/event-editor.c: Same general changes as above file.
        * gui/dialogs/meeting-page.c: Same general changes as above file.
        * gui/dialogs/schedule-page.c: Same general changes as above file.
        * gui/dialogs/task-details-page.c: Same general changes.
        * gui/dialogs/task-editor.c: Same general changes as above file.
        * gui/dialogs/task-page.c: Same general changes as above file.
        * gui/dialogs/e-delegate-dialog.c: Same general changes.

svn path=/trunk/; revision=19167
2002-12-19 13:09:14 +00:00
3041d1943a run fix.sh over this.
2002-11-27  Not Zed  <NotZed@Ximian.com>

        * gui/itip-utils.[ch]: run fix.sh over this.

        * gui/dialogs/*.[ch]: run fix.sh over all of this.

2002-11-26  Richard Li <Richard.Li@Sun.COM>

        * cal-client/cal-client.c (cal_client_construct): removed extra call
        to CORBA_exception_init.

2002-11-22  Not Zed  <NotZed@Ximian.com>

        * gui/dialogs/delete-comp.c (delete_component_dialog): Changed
        e_messagebox -> gtk_messagedialog.

svn path=/trunk/; revision=18972
2002-12-02 03:06:02 +00:00
bc01d3ac62 Changed e_messagebox -> gtk_messagedialog.
2002-11-22  Not Zed  <NotZed@Ximian.com>

        * gui/dialogs/delete-comp.c (delete_component_dialog): Changed
        e_messagebox -> gtk_messagedialog.

svn path=/trunk/; revision=18903
2002-11-24 23:19:21 +00:00
de63e5c5e3 pass type to bonobo_widget::set_property. (select_names_ok_cb): ", for
2002-11-19  Not Zed  <NotZed@Ximian.com>

        * gui/e-meeting-model.c (get_select_name_dialog): pass type to
        bonobo_widget::set_property.
        (select_names_ok_cb): ", for get_property.

        * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
        pass type to bonobo_widget::set_property & plug small leak.
        (e_delegate_dialog_get_delegate): ", for get_property.
        (e_delegate_dialog_get_delegate_name): "

        * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget):
        pass type to bonobo_widget::set_property.
        (comp_editor_contacts_to_component): ", for get_property

svn path=/trunk/; revision=18835
2002-11-19 04:56:45 +00:00
222645151f Initial port of gui/ subdir to GNOME 2
2002-11-07  JP Rosevear  <jpr@ximian.com>

	* Initial port of gui/ subdir to GNOME 2

svn path=/trunk/; revision=18648
2002-11-07 22:47:47 +00:00
55434d9467 converted to BonoboObject.
2002-11-07  Rodrigo Moya <rodrigo@ximian.com>

	* cal-client/query-listener.[ch]: converted to BonoboObject.

	* gui/dialogs/comp-editor-util.c (parse_contact_string): use glib's
	g_utf8_strchr.

	* gui/dialogs/delete-comp.c: removed non-existant headers. Use
	GtkStock instead of GnomeStock.

	* gui/dialogs/e-delegate-dialog.c: converted to BonoboActivation.
	(e_delegate_dialog_construct): adapted to changes in glade_xml_new.

svn path=/trunk/; revision=18632
2002-11-07 16:18:38 +00:00
4dec64f373 #include gtkoptionmenu.h. (cal_prefs_dialog_new): adapted to changes in
2002-11-06  Rodrigo Moya <rodrigo@ximian.com>

	* gui/cal-prefs-dialog.c: #include gtkoptionmenu.h.
	(cal_prefs_dialog_new): adapted to changes in glade_xml_new.

	* gui/dialogs/event-page.h:
	* gui/dialogs/meeting-page.h:
	* gui/dialogs/recurrence-page.h:
	* gui/dialogs/schedule-page.h:
	* gui/dialogs/task-details-page.h:
	* gui/dialogs/task-page.h:
	* gui/cal-prefs-dialog.h: use correctly the macros.

	* gui/dialogs/cancel-comp.c:
	* gui/dialogs/changed-comp.c:
	* gui/dialogs/comp-editor-page.c:
	* gui/gnome-cal.h: removed non-existent headers.

	* gui/dialogs/comp-editor.c: remove non-existent headers.
	(close_dialog): gtk_widget_destroy the widget.
	(setup_widgets, comp_editor_merge_ui): use BonoboWindow correctly.
	(comp_editor_set_cal_client, comp_editor_send_comp,
	 comp_editor_edit_comp): use G_OBJECT_GET_CLASS for
	getting the class of an object.

	* gui/dialogs/comp-editor-page.c (comp_editor_page_class_init):
	use g_signal_* functions.

	* gui/dialogs/comp-editor-util.c: converted to BonoboActivation.

	* gui/dialogs/comp-editor.h: #include bonobo-window.h, not
	bonobo-win.h.

svn path=/trunk/; revision=18622
2002-11-07 02:00:56 +00:00
4c76e8e668 don't return a Bonobo_EventSource_ListenerId, since it does not exist
2002-11-06  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/comp-editor-util.[ch]
	(comp_editor_connect_contacts_changed): don't return a
	Bonobo_EventSource_ListenerId, since it does not exist anymore,
	and was not even being used.

	* gui/e-timezone-entry.h: use GLib macros.

	* gui/dialogs/*.glade:
	* gui/alarm-notify/*.glade:
	* gui/*.glade: converted to Glade2 format.

svn path=/trunk/; revision=18616
2002-11-06 21:51:45 +00:00
5c35a41fe2 adapted to to new glade_xml_new signature.
2002-11-05  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/alarm-options.c (alarm_options_dialog_run): adapted to
	to new glade_xml_new signature.

	* gui/calendar-model.h:
	* gui/dialogs/comp-editor-page.h:
	* gui/dialogs/alarm-page.[ch]: removed non-existant header files.

	* gui/dialogs/comp-editor-util.h: added missing headers.

svn path=/trunk/; revision=18615
2002-11-06 19:43:40 +00:00