From 5ded52f5e98d60abb903cc9194714a9b293ad482 Mon Sep 17 00:00:00 2001 From: Felipe Barriga Richards Date: Fri, 6 Jan 2017 13:48:20 -0300 Subject: Added hotkey to rename current workspace --- src/include/all-keybindings.h | 1 + src/include/util.h | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'src/include') diff --git a/src/include/all-keybindings.h b/src/include/all-keybindings.h index a26720a1..b236823c 100644 --- a/src/include/all-keybindings.h +++ b/src/include/all-keybindings.h @@ -187,6 +187,7 @@ keybind (run-command-screenshot, handle_run_command, 32, 0) keybind (run-command-window-screenshot, handle_run_command, 33, 0) keybind (run-command-terminal, handle_run_terminal, 0, 0) +keybind (rename-workspace, handle_rename_workspace, 0, 0) /* No description because this is undocumented */ keybind (set-spew-mark, handle_set_spew_mark, 0, 0) diff --git a/src/include/util.h b/src/include/util.h index ba6a2754..545357f8 100644 --- a/src/include/util.h +++ b/src/include/util.h @@ -108,6 +108,15 @@ GPid meta_show_dialog (const char *type, GSList *columns, GSList *entries); +GPid +meta_show_entry_dialog (const char *message, + gint *active_workspace_id, + const char *entry_text, + const char *display, + const char *ok_text, + const char *cancel_text, + const int transient_for, + const GIOFunc stdio_func_cb); /* To disable verbose mode, we make these functions into no-ops */ #ifdef WITH_VERBOSE_MODE -- cgit v1.2.1