| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-10-14 JP Rosevear <jpr@novell.com>
* gui/e-meeting-attendee.c: convert to G_DEFINE_TYPE
* gui/e-meeting-list-view.c: ditto
* gui/e-meeting-time-sel.c: ditto
* gui/e-meeting-time-sel-item.c: ditto
* gui/e-select-names-renderer.c: ditto
* gui/e-timezone-entry.c: ditto
* gui/e-tasks.c: ditto
* gui/gnome-cal.c: ditto
* gui/weekday-picker.c: ditto
svn path=/trunk/; revision=27584
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-10 Harry Lu <harry.lu@sun.com>
Fix for bugzilla bug #51628.
* gui/weekday-picker.c: (weekday_picker_class_init): setup focus
handler.
(day_clicked): new function to set day_mask when mouse clicked
or keyboard input of space/enter.
(handle_key_press_event): new function to handle key press event.
(day_event_cb): handle key press event too.
(weekday_picker_init): set widget can be focused.
(colorize_items): change the box's outline if it is focused.
(weekday_picker_focus): new function to handler focus event.
svn path=/trunk/; revision=23899
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-29 JP Rosevear <jpr@ximian.com>
Fixes #43775
* gui/weekday-picker.c (get_day_text): calculate the characters to
display correctly
(configure_items): use it
(weekday_picker_style_set): ditto
* gui/print.c (format_date): use e_utf8_strftime
(print_week_view_background): ditto
(print_month_summary): ditto
(range_selector_new): ditto
(print_comp_item): ditto
* gui/itip-utils.c (comp_description): the translation is already
utf8
* gui/e-itip-control.c (write_label_piece): the string is already
in utf8
* gui/e-day-view.c (e_day_view_style_set): use e_utf8_strftime
(e_day_view_recalc_cell_sizes): ditto
* gui/e-day-view-top-item.c (e_day_view_top_item_draw): use
e_utf8_strftime
* gui/e-cell-date-edit-text.c (ecd_get_text): return the
duplicated buffer (its already utf8)
(show_date_warning): use e_utf8_strftime
* gui/calendar-model.c (date_value_to_string): return the
duplicated buffer (its already utf8)
(calendar_model_value_to_string): the translations should already
be in utf8
* gui/calendar-config.c
(calendar_config_locale_supports_12_hour_format): use
e_utf8_strftime
* gui/calendar-commands.c (calendar_set_folder_bar_label): use
e_utf8_strftime
svn path=/trunk/; revision=21355
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-01 Hans Petter Jansson <hpj@ximian.com>
* gui/e-day-view-main-item.c (e_day_view_main_item_draw):
Nuke GdkFont and use Pango's font measuring.
* gui/e-day-view-time-itme.c (e_day_view_time_item_get_column_width)
(e_day_view_time_item_draw): Ditto.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw)
(e_day_view_top_item_draw_long_event): Ditto.
* gui/e-day-view.c (e_day_view_style_set)
(e_day_view_recalc_cell_sizes)
(e_day_view_reshape_long_event)
(e_day_view_update_top_canvas_drag)
(e_day_view_update_main_canvas_drag): Ditto.
* gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set)
(e_meeting_time_selector_recalc_date_form): Ditto.
* gui/e-week-view-event-item.c (e_week_view_draw_time): Ditto.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
Ditto.
* gui/e-week-view-titles-item.c (e_week_view_titles_item_draw):
Ditto.
* gui/e-week-view.c (e_week_view_style_set)
(e_week_view_recalc_cell_sizes)
(e_week_view_reshape_event_span): Ditto.
* gui/weekday-picker.c (weekday_picker_style_set): Ditto.
svn path=/trunk/; revision=20627
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-06 Hans Petter Jansson <hpj@ximian.com>
* cal-client/cal-client.c (cal_client_open_status_enum_get_type):
Create a non-abstract enumeration type derived from GEnum.
(cal_client_set_mode_status_enum_get_type): Ditto.
(cal_mode_enum_get_type): Ditto.
(cal_client_class_init): Use our enumerations and not the abstract
one.
(cal_client_finalize): Don't destroy factories, since the CalClient
doesn't own them anymore. They're shared between CalClients now.
(get_factories): Implement. Move the factory setup code here from
cal_client_construct (), and cache the factories. This is hopefully
temporary, until wombat goes away or is fixed.
(cal_client_construct): Most of the code moved to get_factories ().
* cal-client/cal-client.h: Add enumeration type macros and protos.
* gui/cal-search-bar.c (cal_search_bar_get_type): Removed in favour
of E_MAKE_TYPE, which uses GObject calls.
(cal_search_bar_class_init): Use g_type_class_peek_parent ().
* gui/calendar-model.c (calendar_model_get_type):
(calendar_model_class_init): Ditto, like above file.
* gui/calendar-view.c (calendar_view_get_type):
(calendar_view_class_init): Ditto.
* gui/e-calendar-table.c (e_calendar_table_get_type):
(e_calendar_table_class_init): Ditto.
* gui/e-comp-editor-registry.c (e_comp_editor_registry_get_type):
(class_init): Ditto.
* gui/e-day-view-main-item.c (e_day_view_main_item_get_type):
(e_day_view_main_item_class_init): Ditto.
* gui/e-day-view-time-item.c (e_day_view_time_item_get_type):
(e_day_view_time_item_class_init): Ditto.
* gui/e-day-view-top-item.c (e_day_view_top_item_get_type):
(e_day_view_top_item_class_init): Ditto.
* gui/e-day-view.c (e_day_view_get_type):
(e_day_view_class_init): Ditto.
* gui/e-itip-control.c (e_itip_control_get_type):
(class_init): Ditto.
* gui/e-meeting-attendee.c (e_meeting_attendee_get_type):
(class_init): Ditto.
* gui/e-meeting-model.c (e_meeting_model_get_type):
(class_init): Ditto.
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_get_type):
(e_meeting_time_selector_item_class_init): Ditto.
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_get_type):
(e_meeting_time_selector_class_init): Ditto.
* gui/e-timezone-entry.c (e_timezone_entry_get_type):
(e_timezone_entry_class_init): Ditto.
* gui/e-week-view-event-item.c (e_week_view_event_item_get_type):
(e_week_view_event_item_class_init): Ditto.
* gui/e-week-view-main-item.c (e_week_view_main_item_get_type):
(e_week_view_main_item_class_init): Ditto.
* gui/e-week-view-titles-item.c (e_week_view_titles_item_get_type):
(e_week_view_titles_item_class_init): Ditto.
* gui/gnome-cal.c (gnome_calendar_get_type):
(gnome_calendar_class_init): Ditto.
* gui/weekday-picker.c (weekday_picker_get_type):
(weekday_picker_class_init): Ditto.
* gui/e-week-view.c (e_week_view_get_type):
(e_week_view_class_init): Ditto, but parent_class init was moved
from get_type() to class_init().
* gui/calendar-view-factory.c (calendar_view_factory_get_type):
(calendar_view_factory_class_init): Ditto, and set up finalize
callback instead of destroy.
(calendar_view_factory_finalize): It's a GObject, so implement this.
(celendar_view_factory_destroy): Move code to _finalize() and remove.
* gui/main.c (init_bonobo): Remove extraneous bonobo_activation_init().
svn path=/trunk/; revision=19043
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* calendar-commands.c: Use g_object_ref()/g_object_unref() instead
of gtk_object_ref/gtk_object_unref().
* calendar-config.c: Likewise.
* calendar-model.c: Likewise.
* comp-editor-factory.c: Likewise.
* comp-util.c: Likewise.
* e-calendar-table.c: Likewise.
* e-day-view.c: Likewise.
* e-itip-control.c: Likewise.
* e-meeting-model.c: Likewise.
* e-meeting-time-sel.c: Likewise.
* e-tasks.c: Likewise.
* e-timezone-entry.c: Likewise.
* e-week-view.c: Likewise.
* gnome-cal.c: Likewise.
* goto.c: Likewise.
* itip-utils.c: Likewise.
* print.c: Likewise.
* tasks-control.c: Likewise.
* tasks-migrate.c: Likewise.
* gui/cal-search-bar.c: Use g_object_new() instead of
gtk_type_new().
* gui/calendar-model.c: Likewise.
* gui/calendar-view-factory.c: Likewise.
* gui/calendar-view.c: Likewise.
* gui/calendar-view.c: Likewise.
* gui/comp-editor-factory.c: Likewise.
* gui/e-calendar-table.c: Likewise.
* gui/e-cell-date-edit-text.c: Likewise.
* gui/e-comp-editor-registry.c: Likewise.
* gui/e-day-view.c: Likewise.
* gui/e-itip-control.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-model.c: Likewise.
* gui/e-meeting-time-sel.c: Likewise.
* gui/e-tasks.c: Likewise.
* gui/e-timezone-entry.c: Likewise.
* gui/e-week-view.c: Likewise.
* gui/gnome-cal.c: Likewise.
* gui/weekday-picker.c: Likewise.
* gui/e-itip-control.c (get_servers): g_object_unref the
shell_client instead of using bonobo_object_unref().
* gui/component-factory.c (owner_set_cb): Use
evolution_shell_client_corba_objref() instead of
bonobo_object_corba_objref().
svn path=/trunk/; revision=18673
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c: Use g_signal_connect() instead of
gtk_signal_connect().
* calendar-commands.c: Likewise.
* calendar-config.c: Likewise.
* calendar-model.c: Likewise.
* comp-editor-factory.c: Likewise.
* component-factory.c: Likewise.
* control-factory.c: Likewise.
* e-calendar-table.c: Likewise.
* e-comp-editor-registry.c: Likewise.
* e-day-view-time-item.c: Likewise.
* e-day-view.c: Likewise.
* e-itip-control.c: Likewise.
* e-meeting-model.c: Likewise.
* e-meeting-time-sel.c: Likewise.
* e-tasks.c: Likewise.
* e-timezone-entry.c: Likewise.
* e-week-view.c: Likewise.
* gnome-cal.c: Likewise.
* goto.c: Likewise.
* tasks-control.c: Likewise.
* tasks-migrate.c: Likewise.
* weekday-picker.c: Likewise.
svn path=/trunk/; revision=18672
|
|
|
|
|
|
|
|
| |
2002-11-07 JP Rosevear <jpr@ximian.com>
* Initial port of gui/ subdir to GNOME 2
svn path=/trunk/; revision=18648
|
|
|
|
| |
svn path=/trunk/; revision=14214
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-26 Kjartan Maraas <kmaraas@gnome.org>
* cal-client/client-test.c: Replace includes of <gnome.h>, <bonobo.h>
and <gtk/gtk.h> with the needed headers to speed up compile.
* cal-util/test-recur.c: Same here for <gtk/gtk.h>
* gui/calendar-commands.c: Replace <bonobo.h> and remove
<libgnorba/gnorba.h>
* gui/calendar-summary.c: Replace <gnome.h> and <bonobo.h>
* gui/calendar-summary.h: Added <bonobo/bonobo-generic-factory.h>
* gui/component-factory.c: Remove <bonobo.h>
* gui/control-factory.c: Replace <bonobo.h>
* gui/e-calendar-table.c: Remove <gnome.h>
* gui/e-itip-control.c: Replace <gnome.h> and <bonobo.h>
* gui/e-meeting-edit.c: Replace <bonobo.h>
* gui/e-tasks.c: Replace <gnome.h>
* gui/e-tasks.h: Replace <bonobo.h>
* gui/gnome-cal.h: Remove <bonobo.h>
* gui/main.c: Replace <bonobo.h> and <glade/glade.h>
* gui/tasks-control-factory.c: Replace <bonobo.h>
* gui/tasks-control.c: Replace <gnome.h> and <bonobo.h>
* gui/weekday-picker.c: Add <string.h> and <libgnome/gnome-defs.h>
* gui/alarm-notify/client-main.c: Remove <gnome.h> and <bonobo.h>
* gui/alarm-notify/notify-main.c: Replace <gnome.h> and <bonobo.h>
* gui/dialogs/alarm-notify-dialog.c: Replace <gnome.h>
* pcs/cal-backend.c: Replace <gtk/gtk.h>
svn path=/trunk/; revision=8937
|
|
|
|
|
|
|
|
|
|
| |
2001-01-19 Federico Mena Quintero <federico@ximian.com>
* gui/weekday-picker.c (weekday_picker_init): Unset the
GTK_CAN_FOCUS flag on the weekday picker. This will do until it
supports being used with the keyboard.
svn path=/trunk/; revision=7664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-14 Federico Mena Quintero <federico@helixcode.com>
Fixes bug #955.
* gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for
the week_start_day, to be used in the same way as
calendar-config.h defines it. Removed the week_starts_on_monday
flag.
(day_event_cb): Use the week_start_day.
(colorize_items): Likewise.
(configure_items): Likewise.
(weekday_picker_set_week_start_day): New function.
(weekday_picker_get_week_start_day): New function.
(weekday_picker_set_week_starts_on_monday): Removed function.
(weekday_picker_get_week_starts_on_monday): Removed function.
* gui/widget-util.[ch]: New files with utilities for creating or
configuring widgets.
* gui/widget-util.c (date_edit_new): New function to create an
EDateEdit configured with the calendar's preferences; moved over
from event-editor.c.
* gui/event-editor.c (make_recur_weekly_special): Use
weekday_picker_set_week_start_day() and the corresponding function
from calendar-config.h.
(init_widgets): Likewise.
(make_date_edit_with_time): Removed function.
(make_recur_ending_until_special): Use date_edit_new().
(make_date_edit): Likewise.
* gui/dialogs/task-editor.c (task_editor_create_date_edit): Likewise.
* gui/event-editor-dialog.glade: Removed references to
make_date_edit_with_time(); replace them with make_date_edit().
* gui/Makefile.am (evolution_calendar_SOURCES): Added
widget-util.[ch] to the list of sources.
svn path=/trunk/; revision=7037
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-01 Federico Mena Quintero <federico@helixcode.com>
Fixes bug #918.
* gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for a
set of blocked days.
(weekday_picker_set_blocked_days): New function to configure a set
of days that cannot be modified by the user.
(weekday_picker_get_blocked_days): Query function for the above.
(day_event_cb): Block the appropriate days from being modified.
* gui/event-editor.c (get_start_weekday_mask): New function to
compute a day mask for the start day of a calendar component.
(set_recur_special_defaults): New function to set sane defaults
for the recurrence special widgets.
(fill_recurrence_widgets): Use set_recur_special_defaults().
(make_recur_weekly_special): Block the appropriate days.
svn path=/trunk/; revision=6767
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-07 Federico Mena Quintero <federico@helixcode.com>
* gui/weekday-picker.h (WeekdayPickerClass): Added a "changed"
signal to notify of changes to the set of selected days.
* gui/weekday-picker.c (weekday_picker_class_init): Create the
"changed" signal.
(weekday_picker_set_days): Emit the "changed" signal.
svn path=/trunk/; revision=6487
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the new recurrence page, partially finished. I just want
it on CVS for if my laptop explodes.
This is highly disgusting code. It has to discriminate between the
recurrence types we support and the ones we do not.
I hate iCalendar. I hate it more than Hi-Fi\'s pizza.
2000-10-26 Federico Mena Quintero <federico@helixcode.com>
* gui/event-editor.c (EventEditorPrivate): Integrate Anna's new
recurrence page. Replace the old widget pointers with the new
ones. Modified the relevant functions accordingly and added
plenty of new ones.
(event_editor_get_cal_client): New function.
(fill_recurrence_widgets): This is *THE* tricky function for you.
It has to discriminate whether we get a recurrence we support for
editing or not. And this is not trivial. Sigh.
(event_editor_update_widgets): Added preconditions and API docs.
* event-editor-dialog.glade: Fixed all the spacings/
paddings/packing options so that the widgets will look right if
the dialog box is resized. Also fixes some misaligned widgets.
* cal-util/cal-component.c (cal_component_set_rdate_list): Removed
incorrect assertion.
svn path=/trunk/; revision=6219
|
|
2000-10-06 Federico Mena Quintero <federico@helixcode.com>
* gui/weekday-picker.[ch]: New widget to pick weekdays.
svn path=/trunk/; revision=5774
|