| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=10293
|
|
|
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c: #include
"evolution-shell-component-utils.h" rather than "e-gui-utils.h"
for e_pixmaps_update.
* gui/tasks-control.c: Likewise.
svn path=/trunk/; revision=10021
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-12 Federico Mena Quintero <federico@ximian.com>
* gui/e-day-view.c (update_query): New function to restart a query
for the day view.
(query_obj_updated_cb): Renamed from obj_updated_cb(); updated for
queries instead of calendar clients.
(query_obj_removed_cb): Likewise.
(cal_opened_cb): Just update_query() instead of queueing reloading
all the events.
(e_day_view_set_cal_client): Likewise.
(e_day_view_set_query): Likewise.
(e_day_view_set_selected_time_range): Likewise.
(e_day_view_set_days_shown): Likewise.
(e_day_view_recalc_work_week): Likewise.
(e_day_view_queue_reload_events): Removed function now that events
are updated entirely by the query.
(e_day_view_reload_events_idle_cb): Likewise.
(e_day_view_reload_events): Likewise.
(e_day_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW.
* gui/e-week-view.c: Analogous changes to the ones in e-day-view.c.
(e_week_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW.
* cal-util/timeutil.c (isodate_from_time_t): Return a g_strdup()ed
version of the string instead of a pointer to a static buffer.
(time_from_isodate): Resurrected function. Polished up to our
current standards of paranoia.
* pcs/query.c (func_time_now): New function (time-now).
(func_make_time): New function (make-time ISODATE).
(func_time_add_day): New function (time-add-day TIME N).
(func_time_day_begin): New function (time-day-begin TIME).
(func_time_day_end): New function (time-day-end TIME).
(func_occur_in_time_range): Use time_t values instead of ints.
(match_component): Free the stringized component. Free the ESexp
result value.
* gui/e-day-view.h: Removed a couple of unused prototypes.
* pcs/query.c (query_destroy): Oops, disconnect from the backend.
* pcs/cal.c (Cal_get_query): Duplicate the query reference before
we return it.
* gui/calendar-commands.c (pixmaps): Fixed paths to image files.
svn path=/trunk/; revision=9266
|
|
|
|
| |
svn path=/trunk/; revision=9191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
* gui/calendar-commands.c: Fix headers.
* gui/calendar-config.c: Same here.
* gui/calendar-model.c: Same here.
* gui/e-day-view-time-item.c: Same here.
* gui/e-day-view-top-item.c: Same here.
* gui/e-day-view.c: Same here.
* gui/e-meeting-edit.c: Same here.
* gui/e-week-view-main-item.c: Same here.
* gui/e-week-view.c: Same here.
* gui/event-editor.c: Same here.
* gui/gnome-cal.c: Same here.
* gui/goto.c: Same here.
* gui/main.c: Same her.
* gui/print.c: Same here.
svn path=/trunk/; revision=9180
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Guided by Jacub Stener's mail, where he explaned which icons were renamed or
added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash
and Executive summary folder type icons. Fixed art/Makefile.am for these
changes.
Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made
all components and dialogs use cache and not load pixmaps every time.
Accidentally got a couple of includes fix in, but they won't break anything.
svn path=/trunk/; revision=9092
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-03-25 Federico Mena Quintero <federico@ximian.com>
* gui/e-calendar-table.c (e_calendar_table_init): The
model_rows_{inserted,deleted} signals changed names; deal with it.
(e_calendar_table_on_rows_inserted): Updated for new ETable API.
(e_calendar_table_on_rows_deleted): Likewise.
* gui/gnome-cal.h (GnomeCalendarOpenMode): Removed unused enum.
* gui/gnome-cal.c (gnome_calendar_open): Constify.
* gui/calendar-commands.c (calendar_set_uri): Removed function,
since it was just calling gnome_calendar_open().
* gui/control-factory.c (set_prop): Replace usage of
calendar_set_uri() with gnome_calendar_open().
(load_calendar): Likewise.
(calendar_persist_init): Made static.
* gui/e-tasks.c: #include "calendar-config.h"
(e_tasks_update_all_config_settings): We are configuring a table,
not a calendar! Use the appropriate function.
svn path=/trunk/; revision=8928
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-17 Miguel de Icaza <miguel@ximian.com>
* evolution-calendar.xml: Added ShowWeekView, ShowMonthView,
ShowDay, ShowWorkWeek to the View menu.
* evolution.xml, evolution-mail.xml: Provide "Actions" in the
toplevel evolution. Fill in Actions/Component in Evolution-mail
(no visual changes, just internal changes).
* evolution-calendar.xml: Added Actions menu. Added New Verb
EditNewEvent.
2001-03-17 Miguel de Icaza <miguel@ximian.com>
* gui/e-day-view.c (e_day_view_on_new_event,
e_day_view_on_new_appointment): Simplifed this function to use the
shared code.
* gui/e-week-view.c (e_week_view_on_new_event,
e_week_view_on_new_appointment): ditto.
* gui/gnome-cal.c (gnome_calendar_new_appointment_for): New
function used to launch editor components with a time range. A
bunch of functions use this code now instead of duplicating code
all over the place
svn path=/trunk/; revision=8794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-17 Miguel de Icaza <miguel@ximian.com>
* gui/e-week-view.c (e_week_view_new_event): Moved functionality
here from e_day_view_on_new_appointment. Allows setting for "full
day" event.
(e_week_view_on_new_full_day): New function for making a full day
event.
(e_week_view_on_goto_date): Go To support.
(e_week_view_on_goto_today): Goto today support.
* gui/e-day-view.c (e_day_view_new_event): Moved functionality
here from e_day_view_on_new_appointment. Allows setting for "full
day" event.
(e_day_view_on_new_full_day): New function for making a full day
event.
(e_day_view_on_goto_date): Go To support.
(e_day_view_on_goto_today): Goto today support.
* main_items: Add New All Day Event; Go to Today; Go to Date.
svn path=/trunk/; revision=8778
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-05 Damon Chaplin <damon@ximian.com>
* gui/e-tasks.c: keep list of all Tasks folders so we can update the
preference settings when necessary.
* gui/gnome-cal.c: configure the TaskPad according to the settings.
* gui/e-calendar-table.c: use ECellCombo and ECellDateEdit for fields,
so the tasks folders is almost usable now.
* gui/calendar-model.c: added support for the Status property.
* gui/calendar-config.[hc]: added convenience functions to setup
ECalendarTable and ECellDateEdit objects.
* gui/calendar-commands.c: connected to "destroy" signal of calendars
so we can remove them from all_calendars list.
* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config):
call e_tasks_update_all_config_settings() to update all the settings
in the Tasks folders as well.
* cal-util/cal-component.h: added CAL_COMPONENT_FIELD_STATUS.
* cal-util/cal-component.c (cal_component_get_transparency): fixed
calls to strcasecmp so they check for '== 0'.
Applied patch from Miguel...
2001-02-27 Miguel de Icaza <miguel@ximian.com>
* gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize
the menus to have entries always in a consistent fashion, as
reported to the genepool mailing list.
(e_day_view_on_event_right_click): Added a FIXME comment to the
FIXME comment without a FIXME.
Now we use e_popup_menu. This allows us to hide/show items on
demand, and to sensitize/de-sensitize items depending on their
state.
This will also let us add icon support (when we get nice icons for
this)
* gui/e-week-view.c (e_week_view_show_popup_menu): Ditto.
The files popup-menu.c and popup-menu.h can now be removed.
svn path=/trunk/; revision=8549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-13 JP Rosevear <jpr@ximian.com>
* gui/calendar-commands.c (update_pixmaps): Set toolbar new
appointment icon
(set_pixmap): load files rather than create from xpm file
* gui/*view.xpm: move to the art directory
2001-02-13 JP Rosevear <jpr@ximian.com>
* art/Makefile.am: install new files
* art/*view.xpm: add files from calendar/gui
svn path=/trunk/; revision=8216
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Federico Mena Quintero <federico@ximian.com>
* cal-util/timeutil.c: <gnome.h> trimming to reduce compilation time.
* gui/dialogs/task-editor.c: Ditto.
* gui/dialogs/cal-prefs-dialog.c: Ditto.
* gui/dialogs/save-comp.c: Ditto.
* gui/dialogs/delete-comp.c: Ditto.
* gui/calendar-commands.c: Ditto.
* gui/calendar-model.c: Ditto.
svn path=/trunk/; revision=7880
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* */*: Ximianified email addresses and copyrights.
* idl/evolution-calendar.idl (CalFactory::open): Renamed from
::load(), and added an only_if_exists argument.
(CalFactory::create): Removed method.
(Listener::OpenStatus): Removed the IN_USE error and replaced it
with a NOT_FOUND one; renamed the enum from LoadStatus.
(Listener::notifyCalOpened): Renamed from notifyCalLoaded().
* pcs/cal-backend.h (CalBackend): Removed the uri field.
(CalBackendOpenStatus): Renamed from CalBackendLoadStatus and
added a NOT_FOUND value.
(CalBackendClass::open): Put in a slot for the open method.
* pcs/cal-backend.c (cal_backend_create): Removed function.
* pcs/cal-backend-file.c (cal_backend_file_open): Return the
appropriate value when only_if_exists is TRUE.
(create_cal): We are Ximian now, so set the PRODID property to
the appropriate foo.
* pcs/cal-factory.c (CalFactory_open): implemented, replacing
CalFactory_load() and CalFactory_create().
(CalFactory_open): Moved the queue_load_create_job() stuff to
here, since we now only need to contemplate the open case instead
of load/create ones.
(open_backend): Do everything here; replaces load_backend() and
create_backend().
* cal-client/cal-listener.h (CalListenerClass::cal_opened):
Renamed from cal_loaded.
(CalListenerClass): Replaced the silly signals, which are
gratuitous abstraction, by a set of function pointers in the
instance structure.
* cal-client/cal-listener.c (cal_listener_get_calendar): Removed
unused function.
(cal_listener_construct): Added the listener notification functions.
(cal_listener_new): Ditto.
(Listener_notifyCalOpened): Renamed to our new naming convention
for servant implementations.
(Listener_notifyObjUpdated): Ditto.
(Listener_notifyObjRemoved): Ditto.
* cal-client/cal-client.h (CalClientOpenStatus): Renamed from
CalClientLoadStatus.
(CalClientClass::cal_opened): Renamed from ::cal_loaded().
(CalClientLoadState): New enum; basically make LoadState public so
that users of this code do not have to maintain their own states.
* cal-client/cal-client.c (cal_client_create_calendar): Removed
function.
(cal_client_open_calendar): Moved the functionality over from
load_or_create(); now we do everything here.
(*): Use the CalClientLoadState enum values instead of the old
LoadState values.
(cal_client_get_load_state): Renamed from cal_client_is_loaded(),
and return the appropriate value.
(CalClientPrivate): Added an uri field.
(cal_client_init): Initialize priv->uri.
(cal_client_destroy): Free the priv->uri.
(cal_opened_cb): Maintain the priv->uri.
(cal_client_open_calendar): Fill in the priv->uri.
(cal_client_get_uri): New function.
* gui/calendar-model.c (calendar_model_set_new_comp_vtype): New
function to configure the type of calendar components to create
when doing click-to-add. This makes the model usable for
something other than task lists.
(calendar_model_get_new_comp_vtype): New function.
* gui/e-calendar-table.c (e_calendar_table_get_model): New function.
(e_calendar_table_destroy): Unref the subset_model.
* gui/gnome-cal.h (GnomeCalendarOpenMode): Removed enum.
* gui/gnome-cal.c (LoadState): Removed enum; we now use the
CalClientLoadState from the client objects.
(GnomeCalendarPrivate): Removed the loading_uri and
task_pad_loading_uri fields as well as the load_state and
task_pad_load_state fields, as we can now query them directly from
the CalClient.
(open_error): Renamed from load_error().
(create_error): Removed function.
(gnome_calendar_open): Do not take in the mode parameter.
(cal_opened_cb): Get rid of our beautifully-crafted state machine
and replace it with simple code; all the loading smarts are in the
Wombat now.
(setup_widgets): Set the new component vtype of the table model to
CAL_COMPONENT_TODO.
* gui/Makefile.am (evolution_calendar_SOURCES): Removed
gnome-month-item.[ch] from the list of sources.
* gui/calendar-summary.c (CalSummary): Removed unused cal_loaded
field.
(create_summary_view): Do not check if the file exists; this is
the job of the Wombat.
(generate_html_summary): Fixed prototype.
(alarm_fn): Fixed prototype.
(property_dialog): Fixed prototype. Wonder if/how this ever
worked.
(create_summary_view): Cast the component and view as
appropriate. Removed unused html variable.
[Iain dude, are you compiling with -Wall?]
* gui/e-itip-control.c (cal_opened_cb): Sigh, this function
signature was *very* wrong. It was using CalClientGetStatus
instead of CalClientOpenStatus.
* gui/e-tasks.h (ETasksOpenMode): Removed enum.
* gui/e-tasks.c (setup_widgets): Set the new component vtype of
the table model to CAL_COMPONENT_TODO.
(LoadState): Removed the state machine foo.
(e_tasks_open): Removed the mode parameter.
(initial_load): Removed function.
(create_error): Removed function.
(ETasksPrivate): Removed folder_uri field.
(cal_opened_cb): Remove the state machine.
* gui/component-factory.c: #include "tasks-control.h"
* conduits/calendar/calendar-conduit.h (ECalConduitContext):
Removed calendar_load_tried field.
* conduits/calendar/calendar-conduit.c (start_calendar_server_cb):
Sigh, fixed function prototype.
* conduits/todo/todo-conduit.h (EToDoConduitContext): Removed
calendar_load_tried field.
* conduits/todo/todo-conduit.c (start_calendar_server_cb): Fixed
function prototype.
svn path=/trunk/; revision=7571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-03 Federico Mena Quintero <federico@helixcode.com>
* gui/calendar-commands.c (new_calendar): Handle the case where
the calendar view cannot be created; present a warning dialog box.
(new_calendar): Do not show the widget here, since we already show
it in control-factory.c.
* gui/control-factory.c (control_factory_new_control): Handle the
case where the calendar view cannot be created.
* gui/component-factory.c (create_view): Ditto.
* gui/calendar-summary.h: Added prototype for
calendar_summary_factory_init().
svn path=/trunk/; revision=7233
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-02 Federico Mena Quintero <federico@helixcode.com>
* gui/dialogs/delete-comp.c (delete_component_dialog): Do not
compose strings so that they can be localized correctly. Also,
convert from UTF8 into the font's encoding. Fixes bug #1030.
* gui/e-calendar-table.c (delete_component): Pass the widget
argument to delete_component_dialog().
* gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise.
* gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise.
* gui/event-editor.c (file_delete_cb): Likewise.
* gui/calendar-commands.c: Use BONOBO_UI_VERB() instead of
BONOBO_UI_UNSAFE_VERB(). Guess what, all of our handler
signatures were wrong.
* gui/event-editor.c: Likewise.
* gui/dialogs/task-editor.c: Likewise.
* gui/goto-dialog.glade: Added some spacing between the month/year
widgets and the calendar widget.
svn path=/trunk/; revision=7211
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-01 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_destroy): Unconditionally remove
the client from the alarm notification system.
Removed all the obsolete alarm code.
* gui/event-editor.c: Removed some crufty externs left over from
Gnomecal.
* gui/calendar-commands.c: #include "goto.h"
Removed crufty variables left over from Gnomecal.
(new_calendar): Do not take a full_name parameter.
(init_username): Removed function.
(init_calendar): Wheeeeeeee! Removed crufty function.
(quit_cmd): Removed function.
* gui/print.c (WEEK_STARTS_ON_MONDAY): Made it unconditionally
FALSE because we do not use the configuration setting anyways.
Sigh, all the printing code needs to be revamped.
svn path=/trunk/; revision=7209
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-22 JP Rosevear <jpr@helixcode.com>
* gui/goto.c (ecal_date_range_changed): New function to keep the
ecal marked properly
(create_ecal): move more creation code here, update marks
(goto_dialog_init_widgets): listen for date_range_changed signal
in the ecal
* gui/calendar-commands.c (init_calendar): Remove ancient gnomecal
cruft
* gui/mark.[hc], gui/prop.c: Remove ancient gnomecal code that is
no longer needed, last bit of bug 904
svn path=/trunk/; revision=7133
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-01 Federico Mena Quintero <federico@helixcode.com>
* gui/control-factory.c (set_prop): Removed debugging message.
(control_factory_init): Ditto.
* gui/calendar-commands.c (calendar_set_uri): Ditto.
* gui/main.c (main): Ditto.
svn path=/trunk/; revision=6762
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-21 Federico Mena Quintero <federico@helixcode.com>
* gui/calendar-model.c (calendar_model_is_cell_editable): The icon
column is not editable!
* gui/calendar-commands.c (todo_properties_changed): Removed.
(time_format_changed): Removed.
(colors_changed): Removed.
* gui/calendar-commands.h:
* gui/prop.c (prop_apply):
* gui/calendar-commands.c (init_calendar): Removed the old to-do
list crap.
* gui/gncal-todo.[ch]: Removed obsolete files.
* gui/Makefile.am (evolution_calendar_SOURCES): Removed gncal-todo.[ch].
* gui/gnome-cal.c (gnome_calendar_todo_properties_changed): Removed.
(gnome_calendar_time_format_changed): Removed.
(gnome_calendar_colors_changed): Removed.
svn path=/trunk/; revision=6635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-30 Federico Mena Quintero <federico@helixcode.com>
* gui/calendar-commands.c (new_calendar): Removed the geometry and
hidden arguments. This code is ancient.
(all_calendars): Made static. This sucks; configuration should be
notification-based instead of "let's iterate through all open
calendars".
(active_calendars): Removed. Functions can check the length of
the all_calendars list if they are interested.
svn path=/trunk/; revision=6274
|
|
|
|
|
|
|
|
|
|
| |
2000-10-20 Michael Meeks <michael@helixcode.com>
* gui/calendar-commands.h: s/BonoboUIHandler/BonoboUIComponent/
* gui/calendar-commands.c (properties_cmd): ditto.
svn path=/trunk/; revision=6084
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-19 Michael Meeks <michael@helixcode.com>
* gui/calendar-commands.c (tb_print_cb): remove; redundant.
* gui/event-editor.c (create_menu, create_toolbar): kill.
(event_editor_destroy): upd.
(event_editor_construct): update to new UI handler, cast
priv->general_summary to a widget not an object.
svn path=/trunk/; revision=6009
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-18 Michael Meeks <michael@helixcode.com>
* gui/dialogs/task-editor.c (create_menu, create_toolbar): die.
(debug_xml_cb): add debugging hook.
* gui/dialogs/Makefile.am: add EVOLUTION_DATADIR
* gui/dialogs/task-editor.c (task_editor_construct): upd for new UI.
svn path=/trunk/; revision=5973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-12 Damon Chaplin <damon@helixcode.com>
* gui/calendar-commands.c (calendar_control_activate):
(update_pixmaps):
(set_pixmap): set the pixmaps of the toolbar buttons for the views,
and removed a lot of old unused stuff. We'll use plain buttons for
the view buttons for now, until Bonobo toolbars support radio buttons.
* gui/gnome-cal.c (gnome_calendar_dayjump): check day_button is not
NULL before using it.
(gnome_calendar_update_view_buttons): check button is not NULL.
svn path=/trunk/; revision=5889
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-11 Damon Chaplin <damon@helixcode.com>
* gui/main.c (main): call calendar_config_write_on_exit() to write
out some special config settings (as the mail component does).
* gui/calendar-commands.c (properties_cmd): changed to use the new
preferences dialog.
(update_all_config_settings): new function to iterate over all the
calendars and update the config settings.
* gui/dialogs/cal-prefs-dialog.glade: preferences dialog.
* gui/dialogs/cal-prefs-dialog.[hc]: new files for the preferences
dialog.
* gui/calendar-config.[hc]: new files to handle loading/saving config
settings.
* cal-util/cal-recur.c: fixed bug in YEARLY when no filters were set,
plus minor changes.
* cal-util/test-recur.c: updated.
* gui/e-day-view-time-item.c:
* gui/popup-menu.c: update to #include <gal/widgets/e-gui-utils.h>
* gui/component-factory.c (owner_set_cb): called calendar_config_init.
(owner_set_cb):
(owner_unset_cb): updated the prototypes.
* gui/main.c (main): added call to calendar_config_write_on_exit().
* gui/component-factory.h:
* gui/component-factory.c (owner_set_cb): added global evolution_dir
just like the mail component, so we know we to store config stuff.
svn path=/trunk/; revision=5856
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-05 Michael Meeks <michael@helixcode.com>
* component-factory.c (summary_fn, component_factory_init): Disable
summary stuff, it appears to be badly broken.
* Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch]
* subscribe-dialog.c (update_pixmaps): upd.
(set_pixmap): upd.
(subscribe_dialog_gui_init): upd.
remove redundant and annoying forward definitions.
* folder-browser-factory.c (control_deactivate): upd.
(control_activate_cb): upd.
(control_activate): upd.
(set_pixmap): upd.
(update_pixmaps): upd.
(register_ondemand): upd.
(create_ondemand_hooks): upd.
2000-10-05 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd.
(folder_bar_mode_changed_cb): upd.
(command_xml_dump): clobber.
(e_shell_view_menu_setup): upd.
* e-shell-view.c (shell_view_interface_set_message_cb): upd.
(shell_view_interface_unset_message_cb): upd.
(e_shell_view_construct): upd.
(get_control_for_uri): upd.
(e_shell_view_get_bonobo_ui_component): upd.
2000-10-05 Michael Meeks <michael@helixcode.com>
* contact-editor/e-contact-editor.c (create_ui): upd.
(e_contact_editor_init): upd.
* gui/component/addressbook.c (control_activate_cb): upd.
(control_deactivate): kill.
(control_activate): upd.
2000-10-05 Michael Meeks <michael@helixcode.com>
* gui/calendar-commands.c: upd.
(calendar_control_activate): upd.
(calendar_control_deactivate): upd.
2000-10-05 Michael Meeks <michael@helixcode.com>
* component/e-summary-factory.c (control_activate): upd.
(set_pixmap): upd. (update_pixmaps): upd.
(control_activate_cb): upd.
(control_deactivate): upd.
svn path=/trunk/; revision=5742
|
|
|
|
|
|
| |
troubles with CVS at home (so I commit this on his behalf).
svn path=/trunk/; revision=5560
|
|
|
|
|
|
|
|
|
|
| |
2000-09-21 Federico Mena Quintero <federico@helixcode.com>
* gui/calendar-commands.c (verbs): Removed the "about calendar"
command, since we don't want to have both "About Evolution" and
"About Calendar".
svn path=/trunk/; revision=5545
|
|
|
|
|
|
| |
s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/
svn path=/trunk/; revision=5539
|
|
|
|
|
|
|
|
| |
And use this in grabbing the ui from the xml file.
Requires HEAD bonobo.
svn path=/trunk/; revision=5474
|
|
|
|
|
|
| |
Anything UI related that breaks is now my fault; apologies in advance.
svn path=/trunk/; revision=5415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-08 Federico Mena Quintero <federico@helixcode.com>
Fall equinox cleanup!
OK, I know the equinox is not here yet, but weather has changed
enough to warrant it.
Sigh. This place is definitely not the tropics.
* gui/gnome-cal.c (obj_updated_cb): Renamed from
gnome_calendar_object_updated_cb(); fixed prototype.
(obj_removed_cb): Renamed from gnome_calendar_object_removed_cb();
fixed prototype.
(GnomeCalendarPrivate): Moved all the GnomeCalendar fields to a
private structure so I don't have to rebuild the whole calendar
GUI directory every time something changes in the object.
(GnomeCalendarPrivate): Removed the property bag and the control
fields; they are local to the control-factory now.
(gnome_calendar_update_view_buttons): Remove the
ignore_view_button_clicks mess and just block the signal.
(gnome_calendar_set_view): Added a "focus" argument to indicate
whether we want the main widget in the specified view to grab the
focus.
(gnome_calendar_set_view_internal): Handle the focus argument here.
(gnome_calendar_set_view_buttons): Temporary hack to notify the
calendar about its buttons.
(gnome_calendar_get_selected_time_range): New function.
(gnome_calendar_get_cal_client): New function.
* gui/control-factory.c (calendar_properties_init): Keep the
property bag local to here; it does not need to be in the calendar
object yet.
(control_factory_fn): Renamed from control_factory(). Just use
control_factory_new_control().
(control_factory_new_control): Moved the stuff over from
create_control(), and keep the control local to here. Check the
return value of bonobo_control_new().
* gui/calendar-commands.c (show_day_view_clicked): Remove the
ignore_view_button_clicks mess.
(new_calendar): Removed the useless "page" argument.
(calendar_control_activate): Use gnome_calendar_set_view_buttons()
for now.
svn path=/trunk/; revision=5255
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-30 Damon Chaplin <damon@helixcode.com>
* gui/e-day-view.[hc]:
* gui/e-day-view-main-item.c:
* gui/e-week-view.[hc]:
* gui/e-week-view-main-item.c:
* gui/calendar-commands.c:
* gui/gnome-cal.[hc]: switched to using new ECalendar widget,
and a few other fixes.
svn path=/trunk/; revision=5121
|
|
|
|
|
|
|
|
|
|
| |
2000-08-24 Christopher James Lahey <clahey@helixcode.com>
* gui/calendar-commands.c, gui/e-day-view.c, gui/e-week-view.c,
gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/prop.c:
Fixed some warnings.
svn path=/trunk/; revision=5009
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-10 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_new_appointment): New function.
Mostly moved over from calendar-commands.c:display_objedit().
* gui/calendar-commands.c (calendar_iterate): Removed. Wheee!
(display_objedit): Removed.
(new_appointment_cb): New function. Just call
gnome_calendar_new_appointment().
(display_objedit_today): Removed.
(calendar_control_activate): Removed the "New appointment for
today" option, since it is pretty useless.
svn path=/trunk/; revision=4707
|
|
|
|
|
|
|
|
| |
2000-08-10 Federico Mena Quintero <federico@helixcode.com>
* gui/calendar-commands.c (calendar_iterate): Removed. Wheee!
svn path=/trunk/; revision=4703
|
|
|
|
|
|
| |
toolbars.
svn path=/trunk/; revision=4677
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-07 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (cal_component_clone): New function.
(cal_component_get_icalcomponent): Ensure that the SEQUENCE
property does not need incrementing.
* gui/dialogs/alarm-notify-dialog.c (alarm_notify_dialog): Use
CalComponent. Deal with an empty summary property.
svn path=/trunk/; revision=4589
|
|
|
|
| |
svn path=/trunk/; revision=4524
|
|
|
|
| |
svn path=/trunk/; revision=3990
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-21 Damon Chaplin <damon@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_direction): changed so it keeps the
selection range. It just moves it on one day/week etc. This makes
it very handy for the keyboard shortcut code.
* gui/calendar-commands.c (calendar_control_activate): fixed bug
setting the radio button active.
* gui/e-day-view.[hc]: added support for keyboard navigation and
selection of the time range.
svn path=/trunk/; revision=3665
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/e-week-view.c: added little buttons which are shown when there
are more events than will fit in a day. Clicking on the button takes
the user to the 1-Day view and shows the full day.
* gui/e-day-view.c:
* gui/e-week-view.c: set the "use_ellipsis" arg to TRUE for the EText
items so we get tooltips automatically. Though we may want to use our
own code to show tooltips so we can show the tips when the mouse is
around the edges of the event box, and we may want to show the start
and end times of the event in full.
* gui/calendar-commands.c (calendar_control_activate):
* gui/gnome-cal.h: added view_toolbar_buttons[] so we can access the
radio buttons in the code easily. We need this if we want to jump to
another view programmatically.
svn path=/trunk/; revision=3605
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cal-client/cal-client.c (cal_client_get_object): instead of
returning a text representation, decode the text and return an
iCalObject. Also added CalClientGetStatus which indicates
success or type of failure.
* cal-util/calobj.c (ical_object_find_in_string): #ifed out
ical_object_find_in_string since it is unused now.
* cal-client/client-test.c (list_uids): track get_object change
* gui/calendar-commands.c (calendar_iterate): same
* gui/e-day-view.c (e_day_view_update_event): same
* gui/e-week-view.c (e_week_view_update_event): same
* gui/print.c (print_day_details): same
(print_day_summary): same
(print_todo_details): same
* gui/gnome-cal.c (trigger_alarm_cb): same
* gui/gncal-todo.c (gncal_todo_update): same
svn path=/trunk/; revision=3463
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-02 Federico Mena Quintero <federico@helixcode.com>
* gui/calendar-commands.c (print): New function to call the print
engine.
(calendar_toolbar): Added the Print button.
(calendar_control_activate): Added the File/Print item.
* gui/e-day-view.c (e_day_view_get_selected_time_range): Allow
start_time and end_time to be NULL.
* gui/e-week-view.c (e_week_view_get_selected_time_range):
Likewise.
* gui/print.c (range_selector_new): Show the range selector
widgets. Use the correct radio group for all of them!
(print_calendar): Do the dialog box here. We may want to split
this function later into smaller chunks.
svn path=/trunk/; revision=3409
|
|
|
|
|
|
|
|
| |
a GtkFrame. Also, make sure it cannot be dragged to the left or right
of the dock, because with the current non-BonoboUIHandler system we
use it causes bad bad things to happen.
svn path=/trunk/; revision=3319
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-31 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.h (GnomeCalendar): Added a hash table to map
calendar objects to their respective event editors.
* gui/gnome-cal.c (gnome_calendar_init): Create the
object_editor_hash.
(gnome_calendar_destroy): Free the object_editor_hash.
(gnome_calendar_edit_object): New function to centralize the
launching of event editors; if one already exists for a particular
calendar object, we just raise its window.
(edit): Use gnome_calendar_edit_object().
* gui/calendar-commands.c (display_objedit): Use
gnome_calendar_edit_object().
(display_objedit_today): Likewise.
* gui/e-day-view.c (e_day_view_on_new_appointment): Likewise.
(e_day_view_on_edit_appointment): Likewise.
* gui/e-week-view.c (e_week_view_on_new_appointment): Likewise.
(e_week_view_on_edit_appointment): Likewise.
* gui/event-editor.c (event_editor_new): Do not take in an
iCalObject; rather provide an event_editor_set_ical_object()
function. We need this because a single editor may be switched
between different calendar objects. Also, do not show the event
editor; leave it up to the client code.
(event_editor_construct): Likewise.
(clear_widgets): New function to clear the widgets to default
values.
(fill_widgets): New function to fill in the widgets from the
iCalObject. We don't do this in init_widgets() anymore.
(free_exception_clist_data): New function to free the exceptions
clist data. We were leaking the row data.
(init_widgets): Hook to the destroy signal of the exceptions
clist.
(event_editor_set_ical_object): New function. Now it also makes a
copy of the calendar object for the event editor; clients do not
need to copy it anymore.
(event_editor_destroy): Unref the UI handler as well.
(event_editor_class_init): New "ical_object_released" signal to
notify the parent that we are no longer editing the calendar
object.
(make_title_from_ico): Handle NULL objects.
* gui/event-editor.h (EventEditor): Removed fields that are no
longer used.
svn path=/trunk/; revision=3317
|
|
|
|
| |
svn path=/trunk/; revision=3185
|
|
|
|
|
|
| |
of gnome-libs to avoid the bonobo-toolbar-detaching bug
svn path=/trunk/; revision=2997
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-11 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_update_all): Removed unused
arguments. Load the initial alarms here.
(load_alarms): New function to load a day's worth of alarms.
(gnome_calendar_class_init): Eeeek! This was taking in an
incorrect argument type.
(gnome_calendar_init): Now the calendar keeps a hash table of
UIDs->queued alarms. Create the hash table here.
(gnome_calendar_destroy): Destroy the alarms hash table.
(gnome_calendar_object_updated_cb): Remove the alarms for the
object and regenerate them.
(gnome_calendar_object_removed_cb): Remove the alarms for the
object.
* gui/alarm.c (alarm_add): Do not take in a CalendarAlarm, just
the trigger time, the callback and the closure data. Return an
opaque identifier for the alarm so that it can be removed by the
client code if needed. Use the queue_alarm() helper function.
(queue_alarm): Helper function to actually queue the alarm and set
up the itimer. Deal with a nonzero return value from
setitimer().
(alarm_remove): New function to remove an alarm based on its ID.
(pop_alarm): New helper function; pops the first alarm of the
queue and resets the timer as appropriate.
(alarm_ready): Simplified a lot by using pop_alarm().
* idl/evolution-calendar.idl (Cal): Added get_alarms_in_range().
* pcs/cal.c (build_instance_seq): New function to build a CORBA
sequence from the internal list of instances.
(Cal_get_events_in_range): Use build_instance_seq().
(Cal_get_alarms_in_range): Implemented new method.
* pcs/cal-backend.c (cal_backend_get_alarms_in_range): New
function with the get_alarms_in_range() engine.
* pcs/cal-backend-imc.c (cal_backend_imc_get_alarms_in_range):
Implemented the get_alarms_in_range() method.
* cal-client/cal-client.c (cal_client_get_alarms_in_range): New
client-side function for getting the alarms.
(build_instance_list): New helper function to build the
CalObjInstance list from the CORBA sequence.
(cal_client_get_events_in_range): Use build_instance_list().
* gui/calendar-commands.h: #include <cal-util/calobj.h>. #include
"gnome-cal.h".
* gui/e-week-view.c: #include "calendar-commands.h" instead of
main.h; the latter is an obsolete file and will be killed.
* gui/evolution-calendar-control.c (main): Call init_bonobo()
before anything else. We need the GTK+ object system initialized.
* gui/Makefile.am (evolution_calendar_SOURCES): Do not use main.h.
* cal-util/cal-util.c (cal_alarm_instance_list_free): New function.
svn path=/trunk/; revision=2987
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c (calendar_control_activate): Move
"about" menuitem to the help menu.
svn path=/trunk/; revision=2970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-06 Damon Chaplin <damon@helixcode.com>
* cal-util/calobj.[hc]: added guint ref_count to iCalObject struct,
and ical_object_ref/unref() functions. I've updated all the gui/
stuff to use ref_counts but I haven't touched the pcs/ stuff. Maybe
just using ical_object_destroy() is OK there.
* gui/gncal-todo.c:
* gui/calendar-commands.c:
* gui/eventedit.c:
* gui/e-week-view.c:
* gui/e-day-view.c: use refcounting for iCalObjects.
* gui/e-day-view-main-item.c:
* gui/e-day-view-top-item.c:
* gui/e-day-view.c: try not to ever draw outside the event, even when
the event is very small.
2000-05-05 Damon Chaplin <damon@helixcode.com>
* gui/e-day-view.c: don't allow recurring events to be resized or
dragged, and don't show the resize/drag cursors. Actually it may be
better to let the user do the resize/drag and then ask them what they
want to do - change the single occurrence or the entire series.
* gui/e-day-view-time-item.c (e_day_view_time_item_show_popup_menu):
use e_auto_kill_popup_menu_on_hide() to destroy the popup menu.
* gui/popup-menu.c: include e-gui-utils.h
svn path=/trunk/; revision=2823
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-04 Damon Chaplin <damon@helixcode.com>
* gui/e-day-view.c (e_day_view_foreach_event_with_uid): for the long
events pass E_DAY_VIEW_LONG_EVENT as the day. Fixes SEGV.
* gui/calendar-commands.c: when we switch views, grab the focus.
* gui/gnome-cal.c (gnome_calendar_tag_calendar):
(gnome_calendar_mark_gtk_calendar_day): changed this so it uses
cal_client_get_events_in_range(), and doesn't load any objects.
Also just return if it isn't visible.
* gui/calendar-commands.c (calendar_get_events_in_range): call
g_list_sort() to sort the list rather than g_list_insert_sorted() for
each element. It is much more efficient.
Also changed it so that the co->ev_start/end fields are copied from
the CalObjInstance rather than the parameters to the function
(that is right, isn't it?)
Also freed the list elements, and finally the list.
(calendar_iterate): changed this to use cal_client_get_events_in_range
since that is more efficient than getting all the uids and then loading
and parsing all the events.
* pcs/cal-backend.c (save): output the '... saved' message before
freeing the string!
* gui/gncal-todo.c (gncal_todo_update):
* gui/e-week-view.c (e_week_view_update_event):
* gui/e-day-view.c (e_day_view_update_event):
* gui/calendar-commands.c (calendar_get_events_in_range):
(calendar_iterate): free obj_string after it is parsed.
svn path=/trunk/; revision=2802
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-02 Damon Chaplin <damon@helixcode.com>
* gui/calendar-commands.c (calendar_control_activate): set the active
radio button here. Oops - it wasn't a Bonobo problem after all.
* gui/popup-menu.c (popup_menu): added call to
e_auto_kill_popup_menu_on_hide() to destroy the menu.
* gui/e-week-view.c (e_week_view_show_popup_menu):
* gui/e-day-view.c (e_day_view_on_event_right_click): ico->user_data
isn't useful any more, since the event editor keeps its own iCalObject.
So for now we make the menu commands available even when the event is
being edited in the event editor.
Also corrected misspellings of 'occurance' -> 'occurrence'.
* gui/eventedit.c (event_editor_destroy): destroy the iCalObject.
The event editor now uses its own independent iCalObject.
* gui/e-week-view.c (e_week_view_on_unrecur_appointment):
* gui/e-day-view.c (e_day_view_on_unrecur_appointment): create a new
uid for the new single instance. I'm not sure what we should do about
the creation/last modification times of the objects.
* gui/e-week-view.c (e_week_view_on_edit_appointment):
* gui/e-day-view.c (e_day_view_on_edit_appointment): duplicate the
iCalObject before passing it to the event editor, since it will change
the fields. If we don't duplicate it we won't know what has changed
when we get the "update_event" callback.
* gui/e-week-view.c (e_week_view_key_press):
* gui/e-day-view.c (e_day_view_key_press): set the created and last_mod
times of the new iCalObject. We may want to set the default alarm as
well.
* cal-util/calobj.c (ical_gen_uid): made this function public so we
can generate new uids if necessary.
svn path=/trunk/; revision=2759
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-01 Damon Chaplin <damon@helixcode.com>
* gui/gnome-cal.[hc] (gnome_calendar_get_current_time_range): new
function to get the currently seleted time range form the current view.
* gui/calendar-commands.c (display_objedit): use the above function
to get the time for the new appointment.
* gui/e-week-view.c:
* gui/e-day-view.c: use a shallow copy of the ico when we update the
times (when resizing/dragging). Otherwise we won't detect that the
time has changed in the "update_event" callback.
Also added functions to get the currently selected time range.
svn path=/trunk/; revision=2712
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-01 Damon Chaplin <damon@helixcode.com>
* cal-util/calobj.c (ical_object_compare_dates): new function to see
if the event dates have changed (including any recurrence rules).
It is used for optimization when we get the "object_changed" signal.
We have to do far less work if the dates are unchanged.
* gui/e-week-view.c:
* gui/e-day-view.c: only draw the selection when we have the keyboard
focus, since the user expects to be able to type in a new event when
the selection is shown. Also keep the selection when we lose focus,
but just don't show it.
Also quite a few changes to cope with the new client/server
architecture.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw):
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
only draw the selection if the widget has the keyboard focus.
* gui/gnome-cal.c (mark_gtk_calendar_day): fixed so it works with
events longer than one day. And changed the code for updating events
in the new views.
svn path=/trunk/; revision=2701
|
|
|
|
|
|
|
|
| |
* gui/gnome-cal.c (gnome_calendar_destroy): hook for widget
destroy -- used to unref the CalClient so wombat knows we are gone.
(gnome_calendar_class_init): added a class init for this widget.
svn path=/trunk/; revision=2613
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-24 Damon Chaplin <damon@helixcode.com>
* gui/Makefile.am: added new source files and pixmaps, and removed
old source files, which can be deleted.
* gui/e-week-view-titles-item.[hc]:
* gui/e-week-view-main-item.[hc]:
* gui/e-week-view-event-item.[hc]:
* gui/e-week-view.[hc]: new files implementing the week/month views.
* gui/yearview.xpm:
* gui/monthview.xpm:
* gui/weekview.xpm:
* gui/workweekview.xpm:
* gui/dayview.xpm: new pixmaps for the toolbar buttons. These aren't
intended to be the final pixmaps.
* gui/calendar-commands.c: added radio buttons to the toolbar to
switch between the calendar views, and moved the am_pm_flag here so we
can get rid of view-utils.c.
* gui/gnome-cal.[hc]: made it a subclass of GtkVBox, rearranged the
widgets into 2 notebooks, and added the selection_start_time and
selection_end_time fields.
* gui/goto.c: updated to use new selection time range.
* gui/quick-view.c: added '#include <gtk/gtkwindow.h>' so it compiles.
* gui/e-day-view.[hc]: changed the interface to support the new
selection time range, got rid of a few debugging messages and changed
a few bits.
svn path=/trunk/; revision=2583
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c (calendar_control_activate): moved
"About Calendar" into the View menu so it shows up.
svn path=/trunk/; revision=2545
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c (calendar_set_uri): calls gnome_calendar_open
instead of checking on disk and calling load or create.
* gui/gnome-cal.c (gnome_calendar_open): collapsed
gnome_calendar_load and gnome_calendar_create into this function.
added new type GnomeCalendarOpenMode which has the value
CALENDAR_OPEN or CALENDAR_OPEN_OR_CREATE.
svn path=/trunk/; revision=2506
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-shell-view.c (get_view): set calendar's uri with a property bag
* gui/evolution-calendar-control.c (calendar_properties_init): create
a property bag for this control
(set_prop): callback for property sets
(get_prop): callback for proprety gets
* gui/calendar-commands.c (calendar_set_uri): new function,
called when the "calendar_uri" property is set on the calendar-
control's property bag.
svn path=/trunk/; revision=2501
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/gnome-cal.c (gnome_calendar_load): catch cal_loaded signal
on the cal client.
(gnome_calendar_load_cb): callback for cal_loaded signal. moved
gnome_calendar_update_all from gnome_calendar_load to here.
* gui/calendar-commands.c: minor cleanups
* pcs/cal-backend.c (save_to_vcal): copied code from gnome-pim
to write vcal to a file
(save): filled it with more gnome-pim code
(add_object): call save () after changing
(remove_object): same
(cal_backend_create): same
(cal_backend_remove_object): same
svn path=/trunk/; revision=2352
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/gnome-cal.c (gnome_calendar_create): new function:
friendly wrapper for cal_client_create_calendar
* gui/calendar-commands.c (new_calendar): call gnome_calendar_create
if no filename is provided
* gui/prop.c (properties): calendar is a frame
* gui/calendar-commands.c (calendar_control_activate): sort out the
menus a bit, more of them show up now.
* gui/Makefile.am: don't build library or test, just the bonobo control
* gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead
of a window, now.
* gui/gnome-cal.c (gnome_calendar_new): same
* gui/goto.c (goto_dialog): same
svn path=/trunk/; revision=2339
|
|
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c (calendar_control_activate): removed
uih from the argument list, added cal. use cal as user_data
in callbacks rather than the control.
(calendar_control_deactivate): removed uih from argument list
svn path=/trunk/; revision=2311
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/calendar-commands.c (setup_menu): removed
(setup_appbar): removed
(calendar_control_activate): new function -- does the work
that setup_appbar and setup_menu used to do.
(calendar_control_deactivate): undoes what calendar_control_activate
does by removing the toolbar items and menu items.
svn path=/trunk/; revision=2299
|
|
* gui/Makefile.am: build test-calendar-widget and evolution-calendar,
common stuff is in a library
* gui/gnome-cal.c (gnome_calendar_get_type): made the calendar widget
based on a gtk_frame rather than a gnome_app
* gui/calendar-commands.c: split out some of main.c
* gui/evolution-calendar-control.c: bonobo bung so evolution
can use the calendar widget
svn path=/trunk/; revision=2294
|