diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-06-03 00:04:06 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-06-03 00:04:06 +0000 |
commit | 6eedbb72c49233821b2fb0d766085a36092a78f7 (patch) | |
tree | 423aba78fd9ea37f8c85d4d9f34cb3961572fe45 | |
parent | fe8d6ede95b05c58e088d3ae429f77f398dadfe0 (diff) | |
download | nautilus-6eedbb72c49233821b2fb0d766085a36092a78f7.tar.gz |
Add a boolean preference for toggling the display of hidden files.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog):
Add a boolean preference for toggling the display of hidden files.
In order to make space for this one, i moved the remote views one
to a new tradeoffs pane, which was commandeered by sullivan.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | libnautilus-extensions/nautilus-global-preferences.c | 25 | ||||
-rw-r--r-- | libnautilus-private/nautilus-global-preferences.c | 25 |
3 files changed, 47 insertions, 12 deletions
@@ -1,3 +1,12 @@ +2000-06-02 Ramiro Estrugo <ramiro@eazel.com> + + * libnautilus-extensions/nautilus-global-preferences.c: + (global_preferences_create_dialog): + Add a boolean preference for toggling the display of hidden files. + + In order to make space for this one, i moved the remote views one + to a new tradeoffs pane, which was commandeered by sullivan. + 2000-06-02 Andy Hertzfeld <andy@eazel.com> added a new theme composed of vector icons, and a generalized theme diff --git a/libnautilus-extensions/nautilus-global-preferences.c b/libnautilus-extensions/nautilus-global-preferences.c index 0575e9f62..5d84e212a 100644 --- a/libnautilus-extensions/nautilus-global-preferences.c +++ b/libnautilus-extensions/nautilus-global-preferences.c @@ -85,6 +85,7 @@ global_preferences_create_dialog (void) GtkWidget *directory_views_pane; GtkWidget *sidebar_panels_pane; GtkWidget *appearance_pane; + GtkWidget *tradeoffs_pane; /* * In the soon to come star trek future, the following widgetry @@ -108,7 +109,7 @@ global_preferences_create_dialog (void) */ directory_views_pane = nautilus_preferences_box_add_pane (preference_box, "Directory Views", - "Directory Views Something"); + "Directory Views Settings"); nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (directory_views_pane), "Window Behavior"); @@ -124,12 +125,11 @@ global_preferences_create_dialog (void) NAUTILUS_PREFERENCES_CLICK_POLICY, NAUTILUS_PREFERENCE_ITEM_ENUM); - - nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (directory_views_pane), "Remote Views"); + nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (directory_views_pane), "Hidden Files"); nautilus_preferences_pane_add_item_to_nth_group (NAUTILUS_PREFERENCES_PANE (directory_views_pane), 2, - NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS, + NAUTILUS_PREFERENCES_SHOW_HIDDEN_FILES, NAUTILUS_PREFERENCE_ITEM_BOOLEAN); /* @@ -176,7 +176,7 @@ global_preferences_create_dialog (void) */ appearance_pane = nautilus_preferences_box_add_pane (preference_box, "Appearance", - "Appearance Options"); + "Appearance Settings"); nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), "Smoother Graphics"); @@ -185,7 +185,6 @@ global_preferences_create_dialog (void) NAUTILUS_PREFERENCES_ANTI_ALIASED_CANVAS, NAUTILUS_PREFERENCE_ITEM_BOOLEAN); - nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), "Toolbar Icons"); nautilus_preferences_pane_add_item_to_nth_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), 1, @@ -197,12 +196,26 @@ global_preferences_create_dialog (void) 2, NAUTILUS_PREFERENCES_DIRECTORY_VIEW_FONT_FAMILY, NAUTILUS_PREFERENCE_ITEM_FONT_FAMILY); + nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), "Icons"); nautilus_preferences_pane_add_item_to_nth_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), 3, NAUTILUS_PREFERENCES_ICON_THEME, NAUTILUS_PREFERENCE_ITEM_ICON_THEME); + /* + * Tradeoffs + */ + tradeoffs_pane = nautilus_preferences_box_add_pane (preference_box, + "Speed Tradeoffs", + "Speed Tradeoffs Settings"); + + nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (tradeoffs_pane), "Remote Views"); + + nautilus_preferences_pane_add_item_to_nth_group (NAUTILUS_PREFERENCES_PANE (tradeoffs_pane), + 0, + NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS, + NAUTILUS_PREFERENCE_ITEM_BOOLEAN); /* all done */ return prefs_dialog; diff --git a/libnautilus-private/nautilus-global-preferences.c b/libnautilus-private/nautilus-global-preferences.c index 0575e9f62..5d84e212a 100644 --- a/libnautilus-private/nautilus-global-preferences.c +++ b/libnautilus-private/nautilus-global-preferences.c @@ -85,6 +85,7 @@ global_preferences_create_dialog (void) GtkWidget *directory_views_pane; GtkWidget *sidebar_panels_pane; GtkWidget *appearance_pane; + GtkWidget *tradeoffs_pane; /* * In the soon to come star trek future, the following widgetry @@ -108,7 +109,7 @@ global_preferences_create_dialog (void) */ directory_views_pane = nautilus_preferences_box_add_pane (preference_box, "Directory Views", - "Directory Views Something"); + "Directory Views Settings"); nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (directory_views_pane), "Window Behavior"); @@ -124,12 +125,11 @@ global_preferences_create_dialog (void) NAUTILUS_PREFERENCES_CLICK_POLICY, NAUTILUS_PREFERENCE_ITEM_ENUM); - - nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (directory_views_pane), "Remote Views"); + nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (directory_views_pane), "Hidden Files"); nautilus_preferences_pane_add_item_to_nth_group (NAUTILUS_PREFERENCES_PANE (directory_views_pane), 2, - NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS, + NAUTILUS_PREFERENCES_SHOW_HIDDEN_FILES, NAUTILUS_PREFERENCE_ITEM_BOOLEAN); /* @@ -176,7 +176,7 @@ global_preferences_create_dialog (void) */ appearance_pane = nautilus_preferences_box_add_pane (preference_box, "Appearance", - "Appearance Options"); + "Appearance Settings"); nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), "Smoother Graphics"); @@ -185,7 +185,6 @@ global_preferences_create_dialog (void) NAUTILUS_PREFERENCES_ANTI_ALIASED_CANVAS, NAUTILUS_PREFERENCE_ITEM_BOOLEAN); - nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), "Toolbar Icons"); nautilus_preferences_pane_add_item_to_nth_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), 1, @@ -197,12 +196,26 @@ global_preferences_create_dialog (void) 2, NAUTILUS_PREFERENCES_DIRECTORY_VIEW_FONT_FAMILY, NAUTILUS_PREFERENCE_ITEM_FONT_FAMILY); + nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), "Icons"); nautilus_preferences_pane_add_item_to_nth_group (NAUTILUS_PREFERENCES_PANE (appearance_pane), 3, NAUTILUS_PREFERENCES_ICON_THEME, NAUTILUS_PREFERENCE_ITEM_ICON_THEME); + /* + * Tradeoffs + */ + tradeoffs_pane = nautilus_preferences_box_add_pane (preference_box, + "Speed Tradeoffs", + "Speed Tradeoffs Settings"); + + nautilus_preferences_pane_add_group (NAUTILUS_PREFERENCES_PANE (tradeoffs_pane), "Remote Views"); + + nautilus_preferences_pane_add_item_to_nth_group (NAUTILUS_PREFERENCES_PANE (tradeoffs_pane), + 0, + NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS, + NAUTILUS_PREFERENCE_ITEM_BOOLEAN); /* all done */ return prefs_dialog; |