summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-21 22:02:27 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-21 22:05:08 -0500
commitdeb1efed47218c8eb2c4e4b3ee6280ac245bf44d (patch)
tree5441deee9af199b1c42561dce7d4a48eeaca8c00
parentaa6559724b6b37c7a50ad89f08fe6f8412bce27a (diff)
downloadccsm-deb1efed47218c8eb2c4e4b3ee6280ac245bf44d.tar.gz
ccsm-deb1efed47218c8eb2c4e4b3ee6280ac245bf44d.tar.bz2
Fix typos.
-rw-r--r--ccm/Conflicts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccm/Conflicts.py b/ccm/Conflicts.py
index 5f6f01f..8ae8f7b 100644
--- a/ccm/Conflicts.py
+++ b/ccm/Conflicts.py
@@ -317,7 +317,7 @@ class PluginConflict(Conflict):
elif conflict[0] == 'RequiresFeature':
answer, choice = self.AskUser(self.Plugin, conflict)
- if ret == gtk.RESPONSE_YES:
+ if answer == gtk.RESPONSE_YES:
for plg in conflict[2]:
if plg.ShortDesc == choice:
enableConflicts = plg.EnableConflicts
@@ -466,7 +466,7 @@ class PluginConflict(Conflict):
widgets.append(cmb)
okMsg = _("Enable these plugins")
- cancelMsg_("Don't enable %(plugin)s") % msg_dict
+ cancelMsg = _("Don't enable %(plugin)s") % msg_dict
elif conflict[0] == 'RequiresPlugin':
msg = _("<b>%(plugin)s</b> requires the plugin <b>%(require)s</b>.")