aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-09-05 09:24:12 +0200
committerThomas White <taw@bitwiz.org.uk>2012-09-05 09:24:12 +0200
commit4f5d16a45aaec1778443072283cbb05616d3635c (patch)
tree56f7cdc910dcf6f878a0de8dc09ecd406333c685
parentc4b897371ba6772bfed962e7ac067fac5e8a2df8 (diff)
Tweaks
-rw-r--r--data/colloquium.ui4
-rw-r--r--src/mainwindow.c7
2 files changed, 4 insertions, 7 deletions
diff --git a/data/colloquium.ui b/data/colloquium.ui
index 131f380..b2df3f7 100644
--- a/data/colloquium.ui
+++ b/data/colloquium.ui
@@ -52,10 +52,6 @@
<toolitem name="prev" action="ButtonPrevSlideAction" />
<toolitem name="next" action="ButtonNextSlideAction" />
<toolitem name="last" action="ButtonLastSlideAction" />
- <separator />
- <toolitem name="select" action="ButtonToolSelectAction" />
- <toolitem name="text" action="ButtonToolTextAction" />
- <toolitem name="image" action="ButtonToolImageAction" />
</toolbar>
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 23cbdf7..89b26a7 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -602,7 +602,7 @@ static gint close_sig(GtkWidget *window, struct presentation *p)
static gboolean draw_sig(GtkWidget *da, cairo_t *cr,
- struct presentation *p)
+ struct presentation *p)
{
double xoff, yoff;
int width, height;
@@ -626,8 +626,9 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr,
/* Draw the slide from the cache */
cairo_rectangle(cr, 0.0, 0.0, width, height);
- cairo_set_source_surface(cr, p->cur_edit_slide->rendered_edit,
- xoff, yoff);
+// cairo_set_source_surface(cr, p->cur_edit_slide->rendered_edit,
+// xoff, yoff);
+ cairo_set_source_rgb(cr, 0.0, 0.0, 1.0);
cairo_fill(cr);
cairo_translate(cr, xoff, yoff);