diff options
author | Havoc Pennington <hp@pobox.com> | 2001-12-10 03:55:26 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-12-10 03:55:26 +0000 |
commit | 041b33c450ec54ad85d9f642035f0cc9d9195e26 (patch) | |
tree | fba66e02b3e5af9b8b88d44a49803b8c946de82a /src/prefs.h | |
parent | 06a0c62f86fb4096023ce5ee22aa37861180763c (diff) | |
download | metacity-041b33c450ec54ad85d9f642035f0cc9d9195e26.tar.gz |
update number of workspaces hint
2001-12-09 Havoc Pennington <hp@pobox.com>
* src/workspace.c (meta_workspace_free): update number of
workspaces hint
* src/screen.c (update_num_workspaces): implement number of
workspaces setting
* src/window.c (meta_window_configure_request): honor configure
requests on windows of type NORMAL, but still be mean to those of
type DIALOG
* src/main.c (main): add more log domains to those we set a log
handler for, and only set warnings fatal in debug mode
* src/metacity.schemas: add number of workspaces setting
Diffstat (limited to 'src/prefs.h')
-rw-r--r-- | src/prefs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/prefs.h b/src/prefs.h index 3b45a615..2acb4102 100644 --- a/src/prefs.h +++ b/src/prefs.h @@ -30,7 +30,8 @@ typedef enum { META_PREF_FOCUS_MODE, META_PREF_TITLEBAR_FONT, - META_PREF_TITLEBAR_FONT_SIZE + META_PREF_TITLEBAR_FONT_SIZE, + META_PREF_NUM_WORKSPACES } MetaPreference; @@ -50,6 +51,7 @@ MetaFocusMode meta_prefs_get_focus_mode (void); const PangoFontDescription* meta_prefs_get_titlebar_font (void); /* returns 0 if default should be used */ int meta_prefs_get_titlebar_font_size (void); +int meta_prefs_get_num_workspaces (void); #endif |