Diff of /cbrpager-maemo/branches/MAEMO_0_9_20/src/callbacks.c [r11] .. [r12] Maximize Restore

  Switch to side-by-side view

--- a/cbrpager-maemo/branches/MAEMO_0_9_20/src/callbacks.c
+++ b/cbrpager-maemo/branches/MAEMO_0_9_20/src/callbacks.c
@@ -55,11 +55,20 @@
                                         GdkEventKey     *event,
                                         gpointer         user_data)
 {
-  main_canvas_keypressed(event);
+  main_canvas_keyevent(event, TRUE);
   
   return FALSE;
 }
 
+gboolean
+on_main_canvas_key_release_event       (GtkWidget       *widget,
+					GdkEventKey     *event,
+					gpointer         user_data)
+{
+  main_canvas_keyevent(event, FALSE);
+
+  return FALSE;
+}
 
 void
 on_begin_btn_clicked                   (GtkButton       *button,
@@ -381,7 +390,7 @@
 on_go_to_start1_activate               (GtkMenuItem     *menuitem,
                                         gpointer         user_data)
 {
-
+  goto_begin();
 }