From 53f4e6ccd74d217409ec38b506d7e7e4aeb7d738 Mon Sep 17 00:00:00 2001 From: Necoro <> Date: Fri, 18 Jan 2008 01:36:13 +0000 Subject: r643@Devoty: necoro | 2008-01-16 18:55:49 +0100 Fixed small bug in PackageTable.cb_package_revert_clicked r646@Devoty: necoro | 2008-01-18 00:12:30 +0100 Make tabpositions being configurable by the user r647@Devoty: necoro | 2008-01-18 01:38:19 +0100 Renamed 'shm' to '_shm' to not hide the global one r648@Devoty: necoro | 2008-01-18 01:38:29 +0100 Renamed 'shm' to '_shm' to not hide the global one r649@Devoty: necoro | 2008-01-18 02:34:43 +0100 Added update queues; general UI improvement --- portato/gui/wrapper.py | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'portato/gui/wrapper.py') diff --git a/portato/gui/wrapper.py b/portato/gui/wrapper.py index c7a5916..011c819 100644 --- a/portato/gui/wrapper.py +++ b/portato/gui/wrapper.py @@ -125,6 +125,26 @@ class Tree: @rtype: boolean""" raise NotImplementedError + def is_in_emerge (self, it): + """Checks whether an iterator is part of the "Update" section. + + @param it: the iterator to check + @type it: Iterator + @returns: True if the iter is part; False otherwise + @rtype: boolean""" + raise NotImplementedError + + def iter_equal (self, it, other_it): + """Checks whether to iterators are equal. + + @param it: the one iterator to compare + @type it: Iterator + @param other_it: the other iterator to compare + @type other_it: Iterator + @returns: True if both iterators are equal; False otherwise + @rtype boolean""" + raise NotImplementedError + def get_emerge_it (self): """Returns an iterator signaling the top of the emerge section. @@ -139,6 +159,20 @@ class Tree: @rtype: Iterator""" raise NotImplementedError + def get_update_it (self): + """Returns an iterator signaling the top of the update section. + + @returns: unmerge-iterator + @rtype: Iterator""" + raise NotImplementedError + + def set_in_progress (self, it): + """Marks the queue where the given iterator belongs as being in progress. + + @param it: one iterator of the queue to mark to + @type it: Iterator""" + raise NotImplementedError + def build_append_value (self, cpv, oneshot = False, update = False, downgrade = False, version = None, useChange = []): """Builds the list, which is going to be passed to append. -- cgit v1.2.3-54-g00ecf