diff options
| author | Huang Peng <shawn.p.huang@gmail.com> | 2008-07-01 23:28:55 +0800 |
|---|---|---|
| committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-07-01 23:28:55 +0800 |
| commit | bbb8dff42d4e22809c7a2eeb15dff1e016b4a602 (patch) | |
| tree | 1f699fb3c289a60cf14bdbca8fbe6033f8620db4 | |
| parent | e8339cbb37356712dacc60310e335b29560675aa (diff) | |
| download | ibus-bbb8dff42d4e22809c7a2eeb15dff1e016b4a602.tar.gz ibus-bbb8dff42d4e22809c7a2eeb15dff1e016b4a602.tar.xz ibus-bbb8dff42d4e22809c7a2eeb15dff1e016b4a602.zip | |
Fix problem when page size == 10.
| -rw-r--r-- | panel/candidatepanel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/panel/candidatepanel.py b/panel/candidatepanel.py index a11eab0..b96e36b 100644 --- a/panel/candidatepanel.py +++ b/panel/candidatepanel.py @@ -51,8 +51,8 @@ class CandidateArea (gtk.HBox): self.pack_start (VSeparator(), False, False, 0) self.pack_start (self._vbox2, True, True, 4) - for i in xrange (1, 10): - label1 = gtk.Label ("%d." % i) + for i in xrange (1, 11): + label1 = gtk.Label ("%d." % (i % 10)) label1.set_alignment (0.0, 0.5) label1.set_no_show_all (True) |
