Re: [evolution-patches] GNOME Bounty feturerequest #127557



On Wed, 2004-12-01 at 18:13 +0100, Philip Van Hoof wrote:
> 
> > > +       /* ask the user for destination file */
> > > +#ifdef USE_GTKFILECHOOSER
> > > +       dialog = gtk_file_chooser_dialog_new (_("Select destination
> > > file"),
> > > +                                             NULL,
> > > +
> > > GTK_FILE_CHOOSER_ACTION_SAVE,
> > > +                                             GTK_STOCK_CANCEL,
> > > GTK_RESPONSE_CANCEL,
> > > +                                             GTK_STOCK_SAVE,
> > > GTK_RESPONSE_OK,
> 
> >                                              NULL);
> > I guess we should probably put this code in one function and call that
> > function from do_save_calendar*
> 
> 'ask_destination_and_save' In the newer versions of the patch is doing
> something like that.
> 
oh, I missed the new version, responding now to that mail...

> > could you also make do_save_calendar use gnome_vfs_* instead of using an
> > ECal?
> 
> To let the 'do_save_calendar_ical' (which is what's used in newer
> versions of the patch) use gnome-vfs, I fear some ecal plugins will need
> to be modified. I haven't yet looked at the internals of this API. At
> this moment it's also writing the ical-file to a directory with only one
> file in it. 
> 
what changes would you need in the backends? AFAIS, you just have to get
all objects from the destination calendar and save that to a file
selected by the user.
-- 
Rodrigo Moya <rodrigo novell com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]