solang-devel
[Top][All Lists]
Advanced

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

[Solang-devel] [PATCH] FlickrSource


From: Debarshi Ray
Subject: [Solang-devel] [PATCH] FlickrSource
Date: Sun, 28 Jun 2009 22:07:58 +0530

Added support for Automake 1.11.

http://rishi.fedorapeople.org/0001-Added-support-for-Automake-1.11.patch


Reduced synchronous steps in the import process and introduced
 new hooks.

Added two new hooks (IPhotoSource::init and IPhotoSource::final) to
initialize and finalize the photo sources before the ImporterDialog
is shown and after it is hidden. These are meant to be asynchronous
operations. eg., one can connect to IPhotoSource::init_end to be
notified when initialization has ended.

It is now possible to avoid keeping the browser widget as a part of
the IPhotoSource implementations. The widget can be dynamically
created in IPhotoSource::get_browser and Gtk::manage can be used to
delegate its lifetime to that of its parent. A new hook has been
introduced as IPhotoSource::read_selection to read the URIs selected
in the browser after a response has been received from the
ImporterDialog and before it is destroyed.

Importer::on_action_photo_import has been split into the following
three parts to avoid blocking the main loop for too long:
+ To invoke IPhotoSource::init.
+ To show the ImporterDialog on IPhotoSource::init_end.
+ To respond to ImporterDialog::signal_response.

http://rishi.fedorapeople.org/0002-Reduced-synchronous-steps-in-the-import-process-and.patch


Basic functional Flickr source.

Used a custom FlickrChooserButton instead of a Gtk::ComboBoxEntry as
the browser widget, which is no longer a member of FlickrSource and
its lifetime is controlled by its parent using Gtk::manage.

New dependencies have been introduced on Flickcurl, LibSoup and
WebKit Gtk+.

http://rishi.fedorapeople.org/0003-Basic-functional-Flickr-source.patch


Happy hacking,
Rishi
-- 
One reason that life is complex is that it has a real part and an
imaginary part.
    -- Andrew Koenig




reply via email to

[Prev in Thread] Current Thread [Next in Thread]