summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 73474af)
raw | patch | inline | side by side (parent: 73474af)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 10 Jan 2007 13:10:03 +0000 (13:10 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 10 Jan 2007 13:10:03 +0000 (13:10 +0000) |
src/inkview.cpp | patch | blob | history |
diff --git a/src/inkview.cpp b/src/inkview.cpp
index 95af5b73432b4596d485d4ae6ab720978e05b965..d6ea436a1155acb9355f8683af45fa6a0e08d5b5 100644 (file)
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
#include <gtk/gtktable.h>
#include <gtk/gtkbutton.h>
+#include <gtkmm/main.h>
+
#include "gc-core.h"
#include "preferences.h"
@@ -122,9 +124,11 @@ sp_svgview_main_key_press (GtkWidget *widget, GdkEventKey *event, struct SPSlide
{
switch (event->keyval) {
case GDK_Up:
+ case GDK_Home:
sp_svgview_goto_first(ss);
break;
case GDK_Down:
+ case GDK_End:
sp_svgview_goto_last(ss);
break;
case GDK_F11:
@@ -152,6 +156,7 @@ sp_svgview_main_key_press (GtkWidget *widget, GdkEventKey *event, struct SPSlide
case GDK_KP_Page_Up:
case GDK_Page_Up:
case GDK_Left:
+ case GDK_BackSpace:
sp_svgview_show_prev (ss);
break;
case GDK_Escape:
usage();
}
+ Gtk::Main main_instance (&argc, const_cast<char ***>(&argv));
+
struct SPSlideShow ss;
int option,