aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-09-13 22:24:22 +0200
committerThomas White <taw@bitwiz.org.uk>2013-09-13 22:24:22 +0200
commit7f82ae3627592facfcdb84b187e03cafa654ac13 (patch)
treee22487ff049ba188a59497cf77b957022cf19517 /src/mainwindow.c
parentebdaf52f216ea63172a23716943d3a32dace5ea5 (diff)
Add notes
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index e84dd27..e3a5329 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -39,6 +39,7 @@
#include "frame.h"
#include "slideshow.h"
#include "wrap.h"
+#include "notes.h"
/* Update a slide, once it's been edited in some way. */
@@ -630,9 +631,9 @@ void change_edit_slide(struct presentation *p, struct slide *np)
update_toolbar(p);
redraw_editor(p);
- //if ( p->notes != NULL ) {
- // notify_notes_slide_changed(p, np);
- //}
+ if ( p->notes != NULL ) {
+ notify_notes_slide_changed(p, np);
+ }
if ( (p->slideshow != NULL) && p->slideshow_linked ) {
change_proj_slide(p, np);
@@ -708,8 +709,7 @@ static gint open_stylesheet_sig(GtkWidget *widget, struct presentation *p)
static gint open_notes_sig(GtkWidget *widget, struct presentation *p)
{
- /* FIXME */
- //open_notes(p);
+ open_notes(p);
return FALSE;
}
@@ -765,7 +765,7 @@ static void add_menu_bar(struct presentation *p, GtkWidget *vbox)
{ "TSlideshowAction", GTK_STOCK_FULLSCREEN, "_Start slideshow",
"F5", NULL, G_CALLBACK(start_slideshow_sig) },
{ "NotesAction", NULL, "_Open slide notes",
- "F5", NULL, G_CALLBACK(open_notes_sig) },
+ "F8", NULL, G_CALLBACK(open_notes_sig) },
{ "PrefsAction", GTK_STOCK_PREFERENCES, "_Preferences",
NULL, NULL, NULL },