2003-05-20 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/save-comp.c (save_component_dialog): Change this
dialog from using a gnome_message_box (which has been deprecated),
to using a gtk_message_dialog. This HIG-ifies this dialog, and
fixes bug #42046.
svn path=/trunk/; revision=21285
2003-05-19 Anna Marie Dirks <anna@ximian.com>
* gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct):
Added HIG-blessed padding to (some of) the widgets in the
dialog.
* gui/dialogs/meeting-page.glade: Added HIG-blessed border width
and spacing to the meeting page of the event editor.
* gui/dialogs/schedule-page.glade: Added HIG-blessed border width
to the schedule page on the event editor.
svn path=/trunk/; revision=21256
2003-05-16 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor.c (make_title_from_comp): the title is
already in UTF-8
svn path=/trunk/; revision=21235
2003-05-07 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-page.glade: fix button conversion problem
* gui/dialogs/task-details-page.c
(task_details_page_fill_widgets): only free the percent if its
non-null
svn path=/trunk/; revision=21128
2003-05-01 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-editor.c (task_editor_finalize): unref the
model again
(task_editor_edit_comp): don't allow editing if the assignee has
delegated
* gui/dialogs/meeting-page.c (popup_delete_cb): set the new
non-delegator to be editable
* gui/dialogs/event-editor.c (event_editor_edit_comp): don't allow
editing if the attendee has delegated
(event_editor_finalize): unref the model again
* gui/e-meeting-model.c: remove e-table-without related functions
(finalize): don't create without table
(e_meeting_model_etable_from_model): build the table with this as
model
(e_meeting_model_etable_model_to_view_row): directly use the
model_to_view call
(e_meeting_model_etable_view_to_model_row): as above
(attendee_changed_cb): make sure pre change is alwasy called
* gui/e-meeting-model.h: use DECLS, remove protos for long dead
functions, don't include config.h
svn path=/trunk/; revision=21045
2003-04-29 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-editor.c (task_editor_finalize): ditto
* gui/dialogs/event-editor.c (event_editor_finalize): don't unref
the model here
* gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null
up the display_top and display_main for re-entrancy purposes
svn path=/trunk/; revision=21018
2003-04-28 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/cal-prefs-dialog.glade: Added appropriate spacing
and padding to the calendar/tasks page of the settings dialog.
Fixes bug #41129
svn path=/trunk/; revision=20990
2003-04-28 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/task-page.glade: Finishes up fixing #41256 by
adding appropriate spacing/padding to the main task page.
* gui/dialogs/task-details-page.glade: Added appropriate
spacing and padding to the task-details page. Partially
fixes#41256.
svn path=/trunk/; revision=20989
2003-04-28 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/recurrence-page.glade: Added padding/spacing
to this page as specified by the HIG. Partially fixes#41215.
* gui/dialogs/alarm-page.glade: Added padding/spacing/stock
buttons to the alarm page. Partially fixes#41215.
* gui/dialogs/event-page.glade: Added padding/spacing to the
event-page (partially fixes#41215)
svn path=/trunk/; revision=20988
2003-04-15 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-component.c (owner_set_cb): If we already have an
evolution_dir, free the old one before setting it anew.
* gui/e-day-view-time-item.c (e_day_view_time_item_draw): Unref the
metrics.
* gui/e-day-view.c (e_day_view_style_set): Unref the metrics.
(e_day_view_recalc_cell_sizes): We don't need font metrics here.
(e_day_view_reshape_long_event): Ditto.
* gui/e-meeting-model.c (init): Don't dup the string passed to
e_table_without_hide().
* gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
Unref the metrics.
(e_meeting_time_selector_recalc_date_form): Doesn't need metrics.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
Unref the metrics.
* gui/e-week-view.c (e_week_view_style_set): Unref metrics.
(e_week_view_recalc_cell_sizes): Ditto.
(e_week_view_reshape_event_span): Move Pango stuff to where it
can't be leaked due to an early return. Unref metrics.
* gui/weekday-picker.c (weekday_picker_style_set): Unref metrics.
* gui/dialogs/meeting-page.c (meeting_page_finalize): Free default
address.
svn path=/trunk/; revision=20857
* gui/dialogs/task-page.glade: Remove the "Contacts" button and
entry from here too. Supposed to have been part of #35926
* gui/dialogs/task-page.c: Remove all code pertaining to the
contacts button
* gui/dialogs/comp-editor-util.c:
* gui/dialogs/comp-editor-util.h: Likewise
* gui/dialogs/Makefile.am (IDL_GENERATED, etc): Remove
select-names stuff, which is no longe rused.
svn path=/trunk/; revision=20816
* gui/dialogs/alarm-options.c: Remove button_ok, button_cancel,
canceled members from struct Dialog.
(get_widgets): Do not initialize.
(close_dialog): Destroy the toplevel.
(toplevel_delete_event_cb): Removed.
(button_cancel_clicked_cb): Removed.
(button_ok_clicked_cb): Removed.
(close_dialog): Removed.
(alarm_options_dialog_run): Use gtk_dialog_run.
(init_widgets): Do not init ->canceled, do not connect OK/Cancel
buttons.
(alarm_to_dialog): No need to make the file entry modal from here
anymore.
* gui/dialogs/alarm-options.glade: Turned into a GtkDialog. Set
the "modal" property to True for the file entry.
svn path=/trunk/; revision=20749
2003-04-07 JP Rosevear <jpr@ximian.com>
* gui/dialogs/event-page.glade: create button properly
* gui/itip-utils.c (comp_server_send): for errors other than busy,
we want to email the results
* pcs/cal-backend.c (cal_backend_ref_categories): insert the new
category in the category list as well
(idle_notify_categories_changed): reset idle id
svn path=/trunk/; revision=20726
2003-03-28 Hans Petter Jansson <hpj@ximian.com>
Fixes#39954
* gui/dialogs/recurrence-page.c (make_recurrence_special):
Destroy would-be children of the container before the container.
svn path=/trunk/; revision=20559
2003-03-28 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c (meeting_page_init): init new members
(get_current_account): get a matching account for the currently
selected user in the combo
(meeting_page_finalize): unref the meeting attendee if there is
one
(meeting_page_fill_widgets): don't set the combo list here
(clear_widgets): set the default organizer here and if we don't
have an organizer, add the default organizer as an attendee
(meeting_page_fill_component): use get_current_account
(org_changed_cb): if this is a new meeting and the organizer
changes, change the attendee
(change_clicked_cb): no need to set the default here
(init_widgets): reflect changed callback name
(meeting_page_construct): set the combo strings here
(popup_delete_cb): remove the organizer attendee if the user
explicitly deletes it
* gui/e-meeting-model.c (attendee_changed_cb): set row properly
* gui/itip-utils.c (comp_to_list): skip the user themselves if
cancelling or requesting
svn path=/trunk/; revision=20557
2003-03-26 Jack Jia <jack.jia@sun.com>
* calendar/gui/dialogs/alarm-options.c
(malarm_widgets_to_alarm): add a parameter(TC_CORBA_string) to
the bonobo_widget_get_property.
svn path=/trunk/; revision=20515
* gui/itip-utils.c: Update for e_notice move
* gui/tasks-control.c (confirm_expunge): Move the code that used
to be e_gnome_dialog_set_parent here, since it was marked
deprecated and this was the only place using it.
* gui/dialogs/comp-editor.c: Update for e_notice move
(page_changed_cb, page_summary_changed_cb, page_dates_changed_cb):
Pass a parent_window to e_notice.
* gui/dialogs/meeting-page.c: Update for e_notice move.
(meeting_page_fill_component, meeting_page_fill_component,
popup_delegate_cb): Pass a parent_window to e_notice
svn path=/trunk/; revision=20503
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-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-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-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-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-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 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
* 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-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