OSDN Git Service
(root)
/
mypaint-anime
/
master.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c2b795
)
dialogs: fix exception when canceling
author
Martin Renold
<martinxyz@gmx.ch>
Sun, 24 Oct 2010 15:18:04 +0000
(17:18 +0200)
committer
Martin Renold
<martinxyz@gmx.ch>
Sun, 24 Oct 2010 15:18:04 +0000
(17:18 +0200)
https://gna.org/bugs/?16944
gui/dialogs.py
patch
|
blob
|
history
diff --git
a/gui/dialogs.py
b/gui/dialogs.py
index
783c882
..
e3b88d3
100644
(file)
--- a/
gui/dialogs.py
+++ b/
gui/dialogs.py
@@
-54,11
+54,11
@@
def ask_for_name(widget, title, default):
hbox.pack_start(e)
d.vbox.show_all()
if d.run() == gtk.RESPONSE_ACCEPT:
- result = d.e.get_text()
+ result = d.e.get_text()
.decode('utf-8')
else:
result = None
d.destroy()
- return result
.decode('utf-8')
+ return result
def error(widget, message):
window = widget.get_toplevel()