summaryrefslogtreecommitdiff
path: root/src/nautilus-files-view.h
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-03-18 15:22:47 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-04-14 10:35:15 +0200
commitd7131602074fa740ca8bd004e8a23c1430f12819 (patch)
treedb8fba979e7bf2a46d234cf1c91bb32b1d1b1894 /src/nautilus-files-view.h
parent2ed64cad111a79bd3dbaad89cd1999f3ef999436 (diff)
downloadnautilus-d7131602074fa740ca8bd004e8a23c1430f12819.tar.gz
files-view: use inheritance for empty states
We don't want always empty states, for example, in the desktop. Use inheritance to allow children to do its own handling. https://bugzilla.gnome.org/show_bug.cgi?id=712620
Diffstat (limited to 'src/nautilus-files-view.h')
-rw-r--r--src/nautilus-files-view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nautilus-files-view.h b/src/nautilus-files-view.h
index c8c70acf5..efb4dea7f 100644
--- a/src/nautilus-files-view.h
+++ b/src/nautilus-files-view.h
@@ -258,6 +258,10 @@ struct NautilusFilesViewClass {
GdkRectangle * (*compute_rename_popover_relative_to) (NautilusFilesView *view);
GIcon * (* get_icon) (NautilusFilesView *view);
+
+ /* Use this to show an optional visual feedback when the directory is empty.
+ * By default it shows a widget overlay on top of the view */
+ void (* check_empty_states) (NautilusFilesView *view);
};
/* GObject support */