diff options
author | necoro <> | 2007-05-12 23:02:26 +0000 |
---|---|---|
committer | necoro <> | 2007-05-12 23:02:26 +0000 |
commit | be5997284de46af17f1e169dc94beb9e85462dd3 (patch) | |
tree | dcac9ba3ec1693e83fd0a112eae7f94b6b9ce627 /portato/gui/gtk | |
parent | 29087903eee36b6e20fe3e15bba2a8caa872ed95 (diff) | |
download | portato-be5997284de46af17f1e169dc94beb9e85462dd3.tar.gz portato-be5997284de46af17f1e169dc94beb9e85462dd3.tar.bz2 portato-be5997284de46af17f1e169dc94beb9e85462dd3.zip |
now showing the overlay
Diffstat (limited to 'portato/gui/gtk')
-rw-r--r-- | portato/gui/gtk/windows.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py index 2f06bc0..79e24b4 100644 --- a/portato/gui/gtk/windows.py +++ b/portato/gui/gtk/windows.py @@ -367,7 +367,7 @@ class PackageTable: self.descLabel = self.tree.get_widget("descLabel") self.notInSysLabel = self.tree.get_widget("notInSysLabel") self.missingLabel = self.tree.get_widget("missingLabel") - + # buttons self.emergeBtn = self.tree.get_widget("pkgEmergeBtn") self.unmergeBtn = self.tree.get_widget("pkgUnmergeBtn") @@ -419,10 +419,15 @@ class PackageTable: else: desc = "<b>"+desc+"</b>" use_markup = True - desc = "<i><u>"+self.actual_package().get_cp()+"</u></i>\n\n"+desc + name = "<i><u>"+self.actual_package().get_cp()+"</u></i>" + if self.actual_package().is_overlay(): + name = "%s\n<i>(Overlay: %s)</i>" % (name, self.actual_package().get_overlay_path()) + + desc = "%s\n\n%s" % (name, desc) + self.descLabel.set_use_markup(use_markup) self.descLabel.set_label(desc) - + if not self.queue or not self.doEmerge: self.emergeBtn.set_sensitive(False) self.unmergeBtn.set_sensitive(False) |