From 9d0d47b84803139265ab9af395ef1825e56af824 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Mon, 25 Jun 2012 15:27:53 +0000 Subject: Move the dots between the arrow buttons Signed-off-by: Gonzalo Odiard --- 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 -- cgit v0.9.1