Actually use the drop_state, instead of encoding things in new_bookmark_index

This lets us keep the new_bookmark_index untouched even when the drop state goes from armed to unarmed.
That will in turn let us drop in the right place...

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Drop in the right place when the feedback row is active

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Remove the drop feedback row a little time after drag_leave

Since ::drag-leave gets emitted before ::drag-drop, we can't just remove the drop feedback row
in drag-leave, as we *need* it during drag-drop.  So, we use the same trick as in testdnd.c - we
install a timeout handler in our drag-leave callback, and remove the feedback in the timeout callback.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Merge branch 'places-sidebar'
Sync nautilus commit 95400548176688f3d2f5e8888f48410756bd96b8

Switch location on hovering the places sidebar during a DnD operation -
kind of for spring-loaded folders.
Sync from nautilus commit 277a6a45bee8186b2493ad1b286234ac52f1aed8

Use gtk_tree_view_set_activate_on_single_click().
Sync from nautilus commit d2bfffc574c1e6305d862c041b35c9c45ba67674

Coding style fix.
Merge branch 'places-sidebar'
Remove the switch location timer during drag_leave

So that hovering in and out of the sidebar quickly doesn't cause a location change in the caller.
Sync from nautilus commit 500770e8de18b07392ffa4435372525d5d03c688

Add a Connect to Server menu item, a show-connect-to-server property, and a show-connect-to-server signal.
csd: Drop content_window

Instead of reparenting the content, use input-only windows to
set cursors and capture clicks on the window frame. This avoids
some of the problems that were introduced by content_window, such
as black flashes and non-working opacity.
Add a selected_volume argument to ::populate-popup

Nautilus needs this in order to implement a Format command for a volume's popup menu.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
window: only account for decoration borders when we're client decorated
Merge branch 'places-sidebar'
window: don't forget to fetch title border when not on CSD

We still need to respect this border value even when we're not running
under CSD, since we support setting a custom titlebar in all cases.

The border/style magic in gtk_window_draw() really needs to be separated
out into logical pieces soon, but for now let's keep a consistent
behavior with the previous code.
Oops, only show 'Connect to server' if the caller enabled it
Merge branch 'master' into places-sidebar
Add GtkStack

Add separate GtkStack and GtkStackSwitcher widgets that are an
alternative to GtkNotebook. Additionally, GtkStack supports
animated transitions when changing pages.
These widgets were initially developed in libgd.
Add docs for GtkStack
Add docs for GtkStackSwitcher