[nautilus] view: Make sure we chain down to call reset_to_defaults on the view.



commit 599fe3661af49974850c26d04473d5613a36581e
Author: Michael Wood <michael g wood intel com>
Date:   Wed Apr 10 16:57:05 2013 +0100

    view: Make sure we chain down to call reset_to_defaults on the view.

 src/nautilus-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 258f4fb..15187b1 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -475,6 +475,8 @@ nautilus_view_reset_to_defaults (NautilusView *view)
                                              NAUTILUS_ACTION_SHOW_HIDDEN_FILES);
        gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action),
                                      g_settings_get_boolean (gtk_filechooser_preferences, 
NAUTILUS_PREFERENCES_SHOW_HIDDEN_FILES));
+
+        NAUTILUS_VIEW_CLASS (G_OBJECT_GET_CLASS (view))->reset_to_defaults (view);
 }
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]