[gnome-games] sodoku: gi port complete, fix Gtk.DirectionType.TAB_BACKWARD
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] sodoku: gi port complete, fix Gtk.DirectionType.TAB_BACKWARD
- Date: Mon, 2 May 2011 22:07:19 +0000 (UTC)
commit 8d3135fb6cd4c434471cd2c56cbc3c39e1896836
Author: John Stowers <john stowers gmail com>
Date: Tue May 3 10:06:57 2011 +1200
sodoku: gi port complete, fix Gtk.DirectionType.TAB_BACKWARD
gnome-sudoku/src/lib/dancer.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/dancer.py b/gnome-sudoku/src/lib/dancer.py
index a585c28..6afb7bd 100644
--- a/gnome-sudoku/src/lib/dancer.py
+++ b/gnome-sudoku/src/lib/dancer.py
@@ -40,7 +40,7 @@ class GridDancer:
box.need_restore = True
else:
box.need_restore = False
- self.grid.get_toplevel().child_focus(Gtk.DIR_TAB_BACKWARD)
+ self.grid.get_toplevel().child_focus(Gtk.DirectionType.TAB_BACKWARD)
self.dancing = True
GObject.timeout_add(350, self.dance_grid)
@@ -126,7 +126,7 @@ if __name__ == '__main__':
vbox = Gtk.VBox()
vbox.pack_start(gsd, True, True, 0)
- vbox.pack_end(button)
+ vbox.pack_end(button, True, True, 0)
vbox.set_focus_child(button)
window.add(vbox)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]