summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdefault.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2013-01-10 16:19:03 -0600
committerFederico Mena Quintero <federico@gnome.org>2013-01-10 16:19:03 -0600
commit0b4183234b23866b3857cb00a145b34c954ac2d1 (patch)
treed4d7f013ef60a07d7922d3e49a63a2051ad61ee3 /gtk/gtkfilechooserdefault.c
parent439a770efac908b1191575a46b7a6db696987868 (diff)
downloadgtk+-0b4183234b23866b3857cb00a145b34c954ac2d1.tar.gz
New API, gtk_places_sidebar_set_open_flags()
This lets us handle the 'Open in new tab' and 'Open in new window' menu items on our own, and allows callers to have less code to deal with each mode. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Diffstat (limited to 'gtk/gtkfilechooserdefault.c')
-rw-r--r--gtk/gtkfilechooserdefault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 776d7baac8..ced3722005 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -1276,7 +1276,7 @@ file_is_recent_uri (GFile *file)
}
static void
-places_sidebar_open_location_cb (GtkPlacesSidebar *sidebar, GFile *location, GtkPlacesOpenMode open_mode, GtkFileChooserDefault *impl)
+places_sidebar_open_location_cb (GtkPlacesSidebar *sidebar, GFile *location, GtkPlacesOpenFlags open_flags, GtkFileChooserDefault *impl)
{
gboolean clear_entry;