[glide] When adding slides to slidebox, insert at propert position
- From: Robert Carr <racarr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glide] When adding slides to slidebox, insert at propert position
- Date: Thu, 29 Apr 2010 10:07:06 +0000 (UTC)
commit 9f90d5716c54a05ac2744f6e00525604d17abdfc
Author: Robert Carr <racarr Valentine localdomain>
Date: Thu Apr 29 05:47:43 2010 -0400
When adding slides to slidebox, insert at propert position
src/glide-slide-box.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/glide-slide-box.c b/src/glide-slide-box.c
index eee9740..0599272 100644
--- a/src/glide-slide-box.c
+++ b/src/glide-slide-box.c
@@ -56,6 +56,7 @@ glide_slide_box_document_slide_added (GlideDocument *document,
gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 5, 5, 9, 0);
gtk_box_pack_start (GTK_BOX (box), alignment, FALSE, FALSE, 0);
+ gtk_box_reorder_child (GTK_BOX (box), alignment, glide_slide_get_index (slide));
gtk_widget_show_all (alignment);
glide_slide_button_set_slide (GLIDE_SLIDE_BUTTON (b), slide);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]