diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-12-25 18:22:32 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-12-25 18:28:37 +0100 |
commit | 035997750ef2c2026ab8de38a90fdad82b1df04a (patch) | |
tree | d81a0d499a7f60a176f454ae3bd278ce23f48765 /fiv-view.c | |
parent | 7a4b5cd065b7f944cbed22021a0ee6ed9df007d2 (diff) | |
download | fiv-035997750ef2c2026ab8de38a90fdad82b1df04a.tar.gz fiv-035997750ef2c2026ab8de38a90fdad82b1df04a.tar.xz fiv-035997750ef2c2026ab8de38a90fdad82b1df04a.zip |
Add a few keyboard shortcuts
Diffstat (limited to 'fiv-view.c')
-rw-r--r-- | fiv-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1060,12 +1060,16 @@ fiv_view_key_press_event(GtkWidget *widget, GdkEventKey *event) case GDK_KEY_h: return set_scale_to_fit_height(self); + case GDK_KEY_c: + return command(self, FIV_VIEW_COMMAND_TOGGLE_CMS); case GDK_KEY_x: // Inspired by gThumb, which has more such modes. return command(self, FIV_VIEW_COMMAND_TOGGLE_SCALE_TO_FIT); case GDK_KEY_i: return command(self, FIV_VIEW_COMMAND_TOGGLE_FILTER); case GDK_KEY_t: return command(self, FIV_VIEW_COMMAND_TOGGLE_CHECKERBOARD); + case GDK_KEY_e: + return command(self, FIV_VIEW_COMMAND_TOGGLE_ENHANCE); case GDK_KEY_less: return command(self, FIV_VIEW_COMMAND_ROTATE_LEFT); |