diff options
author | John Sullivan <sullivan@src.gnome.org> | 2000-03-15 21:13:57 +0000 |
---|---|---|
committer | John Sullivan <sullivan@src.gnome.org> | 2000-03-15 21:13:57 +0000 |
commit | 4df4c1e1ea73d38e226517ea14f7a74cc0517a98 (patch) | |
tree | 407c30e045c78bb35210221bd2d76acbcab76b88 /libnautilus-private/nautilus-preferences.h | |
parent | b84f3f1d7de5eaf865c946c5d468cd14dbce03b5 (diff) | |
download | nautilus-4df4c1e1ea73d38e226517ea14f7a74cc0517a98.tar.gz |
Used preferences mechanism for text under icons and
open-in-new-window-when-clicked.
Diffstat (limited to 'libnautilus-private/nautilus-preferences.h')
-rw-r--r-- | libnautilus-private/nautilus-preferences.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-preferences.h b/libnautilus-private/nautilus-preferences.h index 59df82016..2a57924ef 100644 --- a/libnautilus-private/nautilus-preferences.h +++ b/libnautilus-private/nautilus-preferences.h @@ -55,7 +55,8 @@ struct _NautilusPreferences typedef enum { NAUTILUS_PREFERENCE_BOOLEAN, - NAUTILUS_PREFERENCE_ENUM + NAUTILUS_PREFERENCE_ENUM, + NAUTILUS_PREFERENCE_STRING } NautilusPreferencesType; /* @@ -120,6 +121,11 @@ void nautilus_preferences_set_enum (Naut gint enum_value); gint nautilus_preferences_get_enum (NautilusPreferences *prefs, const gchar *pref_name); +void nautilus_preferences_set_string (NautilusPreferences *prefs, + const gchar *pref_name, + const char *string_value); +char * nautilus_preferences_get_string (NautilusPreferences *prefs, + const gchar *pref_name); NautilusPreferences * nautilus_preferences_get_global_preferences (void); |