[Aptitude-devel] Moving the search progress indicator?

Daniel Burrows dburrows at debian.org
Fri Jan 16 05:09:11 UTC 2009


On Thu, Jan 15, 2009 at 08:22:54PM +0100, Obey Arthur Liu <arthur at milliways.fr> was heard to say:
> D'oh! I was going to add a nice parametered constructor to guiOpProgress
> which would take a Gtk::WidgetThatHasAProgressBar abstract class like
> Gtk::Entry. Too bad there's no such abstract class. In fact, Gtkmm
> doesn't even provide the set_progress_fraction() method for Gtk::Entry.
> This sucks. Now we have to do ugly stuff like temporarily swapping out
> the Gtk::Entry with a Gtk::ProgressBar. Or maybe bypass Gtkmm and call
> the underlying C GtkObject. Bah. Poor nice little first idea.

  Can't we just make a second subclass of OpProgress that displays
progress information in a TextEntry?

  Daniel



More information about the Aptitude-devel mailing list