projects
/
cascardo
/
movie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1454083
)
Fixing the lack of a comparrision in NewProject.get_project
author
Lincoln de Sousa
<lincoln@minaslivre.org>
Tue, 12 Aug 2008 07:43:35 +0000
(
04:43
-0300)
committer
Lincoln de Sousa
<lincoln@minaslivre.org>
Tue, 12 Aug 2008 07:43:35 +0000
(
04:43
-0300)
gzv.py
patch
|
blob
|
history
diff --git
a/gzv.py
b/gzv.py
index
0bccbff
..
7feba6c
100644
(file)
--- a/
gzv.py
+++ b/
gzv.py
@@
-116,7
+116,8
@@
class NewProject(GladeLoader):
self.dialog.set_transient_for(parent)
def get_project(self):
- if not self.dialog.run():
+ # This '1' was defined in the glade file
+ if not self.dialog.run() == 1:
return None
fname = self.wid('image').get_filename()
@@
-187,7
+188,6
@@
class Gzv(GladeLoader):
project = proj.get_project()
proj.destroy()
- # This '1' was defined in the glade file
if project:
self.load_project(project)