solang-devel
[Top][All Lists]
Advanced

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

[Solang-devel] PATCH] Sanitized ProgressObserver usage


From: Debarshi Ray
Subject: [Solang-devel] PATCH] Sanitized ProgressObserver usage
Date: Wed, 9 Dec 2009 05:21:06 +0200

http://rishi.fedorapeople.org/0001-Sanitized-ProgressObserver-usage.patch

+ Every operation that uses a ProgressObserver should provide a
  description, number of events and set the current events to 0; and
  reset it on completion. It is good to check whether the pointer is
  0 or not.
+ ProgressObserver::reset now emits a separate Glib::Dispatcher which
  can be obtained though ProgressObserver::dispatcher_reset.
+ ProgressDialog and MainWindow::progress_ use the above dispatcher.
  ProgressDialog::reset is no longer needed and has been removed.
+ Do not expand MainWindow::progress_. Use Gtk::PACK_SHRINK instead.
  Only show it when it is in use.

Happy hacking,
Debarshi
-- 
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]