/tags/1.6.2-5/debian/control |
---|
4,7 → 4,7 |
Maintainer: Magnus Holmgren <holmgren@debian.org> |
Build-Depends: debhelper (>= 7), python (>= 2.6.6-3~) |
Build-Depends-Indep: librsvg2-bin, imagemagick |
Standards-Version: 3.8.3 |
Standards-Version: 3.9.2 |
Homepage: http://pyscrabble.sourceforge.net |
Vcs-Browser: http://svn.kibibyte.se/pyscrabble |
Vcs-Svn: http://svn.kibibyte.se/pyscrabble/trunk |
/tags/1.6.2-5/debian/changelog |
---|
1,4 → 1,4 |
pyscrabble (1.6.2-5) UNRELEASED; urgency=low |
pyscrabble (1.6.2-5) unstable; urgency=low |
* Convert package to source format 3.0 (quilt), meaning renaming the |
patches and converting their headers as well as dropping |
8,8 → 8,15 |
* Bump Debhelper compat level to 7. |
* pyscrabble-server.README.Debian: Clarify that pyscrabble-server is not |
intended to be run from the command line directly (Closes: #611833). |
* hosts.patch: Improve the code for adding new entries to the Additional |
Hosts list: |
* Fix C&P bug that caused the Game port to be validated twice but the |
Web port not at all. |
* Pre-fill the default port numbers to help the user (Closes: #566666). |
* Don't destroy the dialog until the entered values have been extracted. |
* Increase Standards-Version to 3.9.2 without changes needed. |
-- Magnus Holmgren <holmgren@debian.org> Mon, 25 Apr 2011 01:08:40 +0200 |
-- Magnus Holmgren <holmgren@debian.org> Mon, 25 Apr 2011 21:58:25 +0200 |
pyscrabble (1.6.2-4) unstable; urgency=low |
/tags/1.6.2-5/debian/patches/series |
---|
1,3 → 1,4 |
installation.patch |
about_close.patch |
serverlist_timeout.patch |
hosts.patch |
/tags/1.6.2-5/debian/patches/hosts.patch |
---|
0,0 → 1,44 |
Author: Magnus Holmgren <holmgren@debian.org> |
Description: Improve the code for adding new entries to the Additional Hosts list |
- Fix C&P bug that caused the Game port to be validated twice but the Web port not at all. |
- Pre-fill the default ports. |
- Don't destroy the dialog until the entered values have been extracted. |
--- a/pyscrabble/gui/options.py |
+++ b/pyscrabble/gui/options.py |
@@ -830,10 +830,12 @@ class OptionWindow(gtk.Window): |
s = _("Game port") |
gport = gtkutil.EntryWithLabel(label="%s: " % s, visibility=True) |
+ gport.set_text("9999") |
dialog.vbox.pack_start( gport ) |
s = _("Web port") |
wport = gtkutil.EntryWithLabel(label="%s: " % s, visibility=True) |
+ wport.set_text("8888") |
dialog.vbox.pack_start( wport ) |
s = _("Location") |
@@ -866,13 +868,11 @@ class OptionWindow(gtk.Window): |
try: |
int(gport.get_text()) |
- int(gport.get_text()) |
+ int(wport.get_text()) |
except: |
self.error(util.ErrorMessage(_('Port must be a number'))) |
return |
- dialog.destroy() |
- |
o = manager.OptionManager(section=HOSTS_SECTION) |
data = o.get_default_option(OPTION_HOSTS, '') |
data = '%s%s:%s:%s:%s/' % (data, host.get_text(), gport.get_text(), wport.get_text(), location.get_text()) |
@@ -882,4 +882,5 @@ class OptionWindow(gtk.Window): |
model.clear() |
for host,gport,wport,location in util.getAdditionalHosts(): |
model.append( (host,location) ) |
- |
\ No newline at end of file |
+ |
+ dialog.destroy() |