diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-08-31 22:42:55 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-08-31 23:00:48 -0400 |
commit | 215f9cff6846297788dc81fdb563988f38ec8ff5 (patch) | |
tree | 11d8aedba6844f3932566bcbebdea855a6268780 /src/nautilus-view.h | |
parent | 0de1d3fe1099f7221c846bdbdaec90be29644c88 (diff) | |
download | nautilus-215f9cff6846297788dc81fdb563988f38ec8ff5.tar.gz |
view: don't connect to NautilusWindow signals
Since the window of the slot can change, we don't want to connect
signals from the view to the window.
We only connect to NautilusWindow signals for two reasons:
- updating the shadow type of the content view when the number of tabs
in the notebook changes
- following the hidden-files-changed signal
Since the first is really a hack, it can live in NautilusWindow itself
To implement the second, move the Show Hidden Files action to the view
action group, and handle hidden files action changes completely in the
view.
Diffstat (limited to 'src/nautilus-view.h')
-rw-r--r-- | src/nautilus-view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-view.h b/src/nautilus-view.h index 04b79c243..ff21058d4 100644 --- a/src/nautilus-view.h +++ b/src/nautilus-view.h @@ -410,4 +410,6 @@ void nautilus_view_pop_up_location_context_menu (NautilusView *v void nautilus_view_grab_focus (NautilusView *view); void nautilus_view_update_menus (NautilusView *view); +gboolean nautilus_view_get_show_hidden_files (NautilusView *view); + #endif /* NAUTILUS_VIEW_H */ |