summaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/prefs.h b/src/prefs.h
index d074ddbf..fe79edaf 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -41,7 +41,8 @@ typedef enum
META_PREF_SCREEN_KEYBINDINGS,
META_PREF_DISABLE_WORKAROUNDS,
META_PREF_COMMANDS,
- META_PREF_BUTTON_LAYOUT
+ META_PREF_BUTTON_LAYOUT,
+ META_PREF_WORKSPACE_NAMES
} MetaPreference;
typedef void (* MetaPrefsChangedFunc) (MetaPreference pref,
@@ -75,6 +76,10 @@ MetaActionDoubleClickTitlebar meta_prefs_get_action_double_click_titlebar (void)
void meta_prefs_set_num_workspaces (int n_workspaces);
+const char* meta_prefs_get_workspace_name (int i);
+void meta_prefs_change_workspace_name (int i,
+ const char *name);
+
/* Screen bindings */
#define META_KEYBINDING_WORKSPACE_1 "switch_to_workspace_1"
#define META_KEYBINDING_WORKSPACE_2 "switch_to_workspace_2"