diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2013-03-22 15:59:02 +0000 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2013-03-22 15:59:02 +0000 |
commit | ce114d1100efb2c7635227e2aa1a5b738bc54b1f (patch) | |
tree | 8cd0582f01af471540f615ef2e1aab141f6d2a93 /tikzit/src/gtk/Menu.m | |
parent | c27208f7a1051dcd5fa9c042d3eb87ae9a42f28f (diff) |
Add "space" shortcut to refresh preview without it grabbing focus
Diffstat (limited to 'tikzit/src/gtk/Menu.m')
-rw-r--r-- | tikzit/src/gtk/Menu.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tikzit/src/gtk/Menu.m b/tikzit/src/gtk/Menu.m index 7472f84..83bb2b3 100644 --- a/tikzit/src/gtk/Menu.m +++ b/tikzit/src/gtk/Menu.m @@ -55,21 +55,21 @@ static void refresh_shapes_cb (GtkAction *action, Application *appl) { static void show_preferences_cb (GtkAction *action, Application *appl) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - [appl showSettingsDialog]; + [appl presentSettingsDialog]; [pool drain]; } #ifdef HAVE_POPPLER static void show_preamble_cb (GtkAction *action, Application *appl) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - [appl showPreamblesEditor]; + [appl presentPreamblesEditor]; [pool drain]; } #endif static void show_context_window_cb (GtkAction *action, Application *appl) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - [appl showContextWindow]; + [appl presentContextWindow]; [pool drain]; } @@ -316,7 +316,7 @@ static void send_to_back_cb (GtkAction *action, Window *window) { #ifdef HAVE_POPPLER static void show_preview_cb (GtkAction *action, Window *window) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - [app showPreviewForDocument:[window document]]; + [app presentPreviewForDocument:[window document]]; [pool drain]; } #endif |