| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 JP Rosevear <jpr@ximian.com>
* gui/control-factory.c (control_factory_init): add auto exit unref
* gui/component-factory.c (destroy_cb): destroy our selves if we
have no more shells
(component_factory_init): add auto exit unref
svn path=/trunk/; revision=10312
|
|
|
|
| |
svn path=/trunk/; revision=10163
|
|
|
|
|
|
|
|
|
|
| |
2001-05-27 Rodrigo Moya <rodrigo@ximian.com>
* gui/component-factory.c (remove_folder): implemented the
'remove_folder' function for the calendar shell component
(xfer_folder): ditto for 'xfer_folder'
svn path=/trunk/; revision=10027
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
drop and support for it in the shell. Untested.
svn path=/trunk/; revision=8594
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-18 Federico Mena Quintero <federico@ximian.com>
* gui/tasks-migrate.[ch]: New files with a simple sequence to
migrate the task components from the old calendar folder into the
new tasks folder.
* gui/component-factory.c (owner_set_cb): Call tasks_migrate()
once evolution_dir is set. It sucks to have to do this here.
* cal-client/cal-client.c (cal_client_get_uids): In the inline
docs, indicate how to free the return value.
(cal_opened_cb): Ahem, moved assertion to the right place. Also,
ref() and unref() around our own signal emission because we are
not inside a signal handler, rather a simple callback from the
listener object; we want to have a chance to clean up even if the
client is unrefed during the emission.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
tasks-migrate.[ch] to the list of sources.
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* gui/event-editor.c (init_widgets): Use
e_calendar_item_set_max_days_sel() instead of setting GTK+ object
arguments.
* gui/e-day-view.c (e_day_view_set_cal_client): Oops, we had a
reversed test for the client being loaded.
* gui/tag-calendar.c (tag_calendar_by_client): Fixed similarly
reversed test.
svn path=/trunk/; revision=7622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
all the message hiding options to the View menu.
svn path=/trunk/; revision=7456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-08 Damon Chaplin <damon@helixcode.com>
* gui/Makefile.am: added new source files for the Tasks folders.
* gui/e-tasks.[hc]: new widget to encapsulate the Tasks view.
* gui/tasks-control.[hc]: new files to implement the Tasks control.
* gui/tasks-control-factory.[hc]: new files to implement the factory
for the Tasks controls. (I think the way I've split the code up is a
lot cleaner than the GnomeCal implementation - the factory file just
contains the factory functions and the control file contains all the
control functions. Maybe we should make GnomeCal like this.)
* gui/main.c: initialize the Tasks control factory.
* gui/component-factory.c: added support for the Tasks control.
Also added a "create_folder" function so we can now create new Tasks
and Calendar folders within Evolution.
I'm not a Bonobo expert so someone might want to check these over.
* gui/calendar-config.[hc]: added convenience functions to configure
the common settings of ECalendar and EDateEdit widgets.
* gui/dialogs/task-editor.c (task_editor_create_date_edit):
* gui/gnome-cal.c (gnome_calendar_update_config_settings):
* gui/event-editor.c: used function to configure the ECalendars
and EDateEdits.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
fixed minor bug in format strings.
svn path=/trunk/; revision=7297
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Smile.
svn path=/trunk/; revision=7123
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-13 Christopher James Lahey <clahey@helixcode.com>
* cal-util/cal-recur.c: #if 0ed cal_obj_date_only_compare_func.
(cal_object_get_rdate_end): Changed this function to get rid of a
possible uninitialized error on the rdate function.
* gui/calendar-model.c: Fixed some warnings involving the #define
_XOPEN_SOURCE lines here.
* gui/component-factory.c: #ifdef WANT_THE_EXECUTIVE_SUMMARYed out
the summary_factory object since it's unused if
WANT_THE_EXCUTIVE_SUMMARY is not defined.
* gui/e-day-view.c: #if 0ed out e_day_view_remove_event_cb.
(obj_updated_cb): #ifndef NO_WARNINGSed out a #warning.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw): Made
it so that
* gui/e-week-view.c (obj_updated_cb): #ifndef NO_WARNINGSed out a
#warning.
svn path=/trunk/; revision=6982
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-04 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (get_control_for_uri): return NULL if we can't
create a view.
(setup_evolution_shell_view_interface): add precondition.
+
lots of cleans.
svn path=/trunk/; revision=6778
|
|
|
|
| |
svn path=/trunk/; revision=5875
|
|
|
|
| |
svn path=/trunk/; revision=5874
|
|
|
|
|
|
|
|
|
| |
2000-10-11 Damon Chaplin <damon@helixcode.com>
* gui/component-factory.c (owner_unset_cb): don't free evolution_dir
as we need it to save the config settings.
svn path=/trunk/; revision=5858
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-09 Iain Holmes <iain@helixcode.com>
* Makefile.am: Added the executive-summary library and cflags
* evolution-calendar.oafinfo: Added oaf servers for the
executive summary and executive summary factory.
* calendar-summary.[ch]: New files to create the summary.
* component-factory.c (summary_fn): Create the executive
summary component.
(component_factory_init): Start the summary factory as well.
svn path=/trunk/; revision=5807
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-26 JP Rosevear <jpr@helixcode.com>
* gui/Makefile.am: Remove gnorba stuff
* gui/main.c: ditto
* gui/component-factory.c: ditto
* gui/control-factory.c: ditto
* gui/*.gnorba: ditto
svn path=/trunk/; revision=5048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-11 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (scan_property): Handle the
PERCENT-COMPLETE property.
(free_icalcomponent): Likewise.
(cal_component_get_percent): Likewise.
(cal_component_set_percent): Likewise.
(cal_component_free_percent): Likewise.
(scan_property): Handle the PRIORITY property.
(free_icalcomponent): Likewise.
(cal_component_get_priority): Likewise.
(cal_component_set_priority): Likewise.
(cal_component_free_priority): Likewise.
* cal-util/cal-component.h (CalComponentField): New enumeration
with the list of fields we support for ETable.
svn path=/trunk/; revision=4745
|
|
|
|
|
|
| |
* gui/component-factory.c (owner_set_cb): Update prototype.
svn path=/trunk/; revision=4714
|
|
|
|
| |
svn path=/trunk/; revision=4242
|
|
|
|
| |
svn path=/trunk/; revision=3824
|
|
|
|
|
|
|
|
| |
2000-06-29 Christopher James Lahey <clahey@helixcode.com>
* gui/component-factory.c: Make calendar die when evolution quits.
svn path=/trunk/; revision=3822
|
|
|
|
| |
svn path=/trunk/; revision=3820
|
|
|
|
|
|
|
|
| |
IDL methods and new functions to implement on the component side. I
have also added a simple folder creation dialog in the shell. It's
quite unfinished and untested.
svn path=/trunk/; revision=3491
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-25 Federico Mena Quintero <federico@helixcode.com>
* gui/main.c (init_bonobo): Do not initialize libglade twice.
* gui/component-factory.c (create_view): Set the folder_uri
property, otherwise the calendar will not get loaded into the
view.
svn path=/trunk/; revision=3203
|
|
folder types, and changed all the components to work with the new
setup.
svn path=/trunk/; revision=3199
|