summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorFelipe Barriga Richards <[email protected]>2017-01-06 13:48:20 -0300
committerraveit65 <[email protected]>2017-06-05 08:23:38 +0200
commit5ded52f5e98d60abb903cc9194714a9b293ad482 (patch)
tree4075b294302ee894f491422085f7739f241b1dd7 /src/include
parent669e59f9caa7d8d738a189fee899cbfbe5de97a0 (diff)
downloadmarco-5ded52f5e98d60abb903cc9194714a9b293ad482.tar.bz2
marco-5ded52f5e98d60abb903cc9194714a9b293ad482.tar.xz
Added hotkey to rename current workspace
Diffstat (limited to 'src/include')
-rw-r--r--src/include/all-keybindings.h1
-rw-r--r--src/include/util.h9
2 files changed, 10 insertions, 0 deletions
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