summaryrefslogtreecommitdiff
path: root/portato/gui/gtk
diff options
context:
space:
mode:
authornecoro <>2007-02-20 19:53:20 +0000
committernecoro <>2007-02-20 19:53:20 +0000
commitb4f5605505dad572f4c4ea47e03d8d678c351003 (patch)
treed338947ac9bc8ef7b4c1998fa6d653b7a120bfa5 /portato/gui/gtk
parent0713215207a7eed95bed8e4ca9044c3eed5f3827 (diff)
downloadportato-b4f5605505dad572f4c4ea47e03d8d678c351003.tar.gz
portato-b4f5605505dad572f4c4ea47e03d8d678c351003.tar.bz2
portato-b4f5605505dad572f4c4ea47e03d8d678c351003.zip
Renamed package.get_env_var to package.get_package_settings
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/usetips.py4
-rw-r--r--portato/gui/gtk/windows.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/portato/gui/gtk/usetips.py b/portato/gui/gtk/usetips.py
index d59e397..75bb63f 100644
--- a/portato/gui/gtk/usetips.py
+++ b/portato/gui/gtk/usetips.py
@@ -66,11 +66,11 @@ class UseTips (TreeViewTooltips):
string = ""
if len(enabled) > 0:
- string = "<b>+"+"\n+".join(enabled)+"</b>"
+ string = "<b>+%s</b>" % ("\n+".join(enabled),)
if len(disabled) > 0:
string = string + "\n"
if len(disabled) > 0:
- string = string+"<i>- " + "\n- ".join(disabled) + "</i>"
+ string = string+"<i>- %s</i>" % ("\n- ".join(disabled),)
return string
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 7841e5e..d5ea943 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -388,7 +388,7 @@ class PackageTable:
self.comboVB.pack_start(self.vCombo)
# the label (must be here, because it depends on the combo box)
- desc = self.actual_package().get_env_var("DESCRIPTION").replace("&","&amp;")
+ desc = self.actual_package().get_package_settings("DESCRIPTION").replace("&","&amp;")
if not desc:
desc = "<no description>"
use_markup = False