summaryrefslogtreecommitdiff
path: root/src/nautilus-view.h
diff options
context:
space:
mode:
authorStefano Teso <stefano.teso@gmail.com>2011-02-25 14:58:48 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2011-02-25 15:02:06 -0500
commita9515134c3bce4df1d1563340394b796ae40d183 (patch)
treeadf8bf1dc0238af2c2708a9bd986d4ff448865ff /src/nautilus-view.h
parent97b1ff2fa3b4d706969ab40d4bf17adad281e42f (diff)
downloadnautilus-a9515134c3bce4df1d1563340394b796ae40d183.tar.gz
list-view: create folders in subdirectories when possible
Don't always choose the tree root as parent when creating a new folder, but look at the current selection's directory. https://bugzilla.gnome.org/show_bug.cgi?id=330644
Diffstat (limited to 'src/nautilus-view.h')
-rw-r--r--src/nautilus-view.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nautilus-view.h b/src/nautilus-view.h
index d5afaf1c0..b53c45f16 100644
--- a/src/nautilus-view.h
+++ b/src/nautilus-view.h
@@ -142,6 +142,14 @@ struct NautilusViewClass {
*/
void (* reset_to_defaults) (NautilusView *view);
+ /* get_backing uri is a function pointer for subclasses to
+ * override. Subclasses may replace it with a function that
+ * returns the URI for the location where to create new folders,
+ * files, links, launchers, and paste the clipboard to.
+ */
+
+ char * (* get_backing_uri) (NautilusView *view);
+
/* get_selection is not a signal; it is just a function pointer for
* subclasses to replace (override). Subclasses must replace it
* with a function that returns a newly-allocated GList of