#include "ev-utils.h"
#include "ev-sidebar.h"
#include "ev-sidebar-thumbnails.h"
+#include "ev-presentation-timer.h"
struct _EvDSCWindowPrivate {
GtkWidget *main_box;
GtkWidget *menubar;
GtkWidget *sidebar;
GtkWidget *notesview;
+ GtkWidget *timer;
EvDocumentModel *model;
EvDocumentModel *notes_model;
EvDocument *presentation_document;
G_CALLBACK (ev_dscwindow_sidebar_visibility), ev_dscwindow->priv->sidebar);
gtk_container_add (GTK_CONTAINER (expander), toolbar);
- gtk_box_pack_end (GTK_BOX (vbox), expander, FALSE, TRUE, 0);
+ GtkWidget *hbox = gtk_hbox_new (FALSE,0);
+ gtk_box_pack_start (GTK_BOX (hbox), expander, FALSE, TRUE, 0);
+ ev_dscwindow->priv->timer = ev_presentation_timer_new ();
+ gtk_box_pack_end (GTK_BOX (hbox), ev_dscwindow->priv->timer, TRUE, TRUE, 0);
+ gtk_box_pack_end (GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
gtk_widget_show_all(vbox);
gtk_container_add (GTK_CONTAINER (ev_dscwindow), vbox);
}