Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activity.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/activity.py b/activity.py
index 4f962d7..41678cb 100644
--- a/activity.py
+++ b/activity.py
@@ -126,6 +126,11 @@ 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.image_files_list))
+ center_align.add(self.sequence_view)
+
bottom_toolbar = gtk.HBox()
self.pack_start(bottom_toolbar, False, padding=style.zoom(30))
@@ -153,8 +158,6 @@ class ImageCollectionViewer(gtk.VBox):
_next_button.set_image(next_image)
_next_button.connect('clicked', self.__next_clicked_cb)
- self.sequence_view = SequenceView(len(self.image_files_list))
-
right_box.pack_end(_next_button, False, False,
padding=style.zoom(30))
bt_width, bt_height = _next_button.size_request()
@@ -163,8 +166,6 @@ class ImageCollectionViewer(gtk.VBox):
center_box.pack_start(prev_bt, False, False, 5)
prev_bt.connect('button-press-event', self.prev_image_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_image_clicked_cb)