diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-06-25 15:27:53 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-06-25 15:27:53 (GMT) |
commit | 9d0d47b84803139265ab9af395ef1825e56af824 (patch) | |
tree | 2ee28305ff383c58a40999b56f219dc79d1c3290 | |
parent | 668e99046009846a29d1929b1ac0b56e066fa594 (diff) |
Move the dots between the arrow buttons
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r-- | activity.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/activity.py b/activity.py index a4b7266..0520cf9 100644 --- a/activity.py +++ b/activity.py @@ -136,12 +136,6 @@ class ImageCollectionViewer(gtk.VBox): if start_window: # Create bottom controls - - center_align = gtk.Alignment(0.5, 0, 0, 0) - self.pack_start(center_align, False, padding=2) - self.sequence_view = SequenceView(len(self.animation_list)) - center_align.add(self.sequence_view) - bottom_toolbar = gtk.HBox() self.pack_start(bottom_toolbar, False, padding=style.zoom(30)) @@ -169,6 +163,8 @@ class ImageCollectionViewer(gtk.VBox): _next_button.set_image(next_image) _next_button.connect('clicked', self.__next_clicked_cb) + self.sequence_view = SequenceView(len(self.animation_list)) + right_box.pack_end(_next_button, False, False, padding=style.zoom(30)) bt_width, bt_height = _next_button.size_request() @@ -177,6 +173,8 @@ class ImageCollectionViewer(gtk.VBox): center_box.pack_start(prev_bt, False, False, 5) prev_bt.connect('button-press-event', self.prev_anim_clicked_cb) + center_box.pack_start(self.sequence_view, False, False, padding=5) + next_bt = CustomButton('go-next-paired-grey', bt_height) center_box.pack_start(next_bt, False, False, 5) next_bt.connect('button-press-event', self.next_anim_clicked_cb) @@ -317,7 +315,6 @@ class SequenceView(gtk.DrawingArea): self.queue_draw() def draw(self, ctx): - logging.error('draw SequenceView') if self._cant == 0: return |