summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebarprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove GtkPlacesOpenFlags from public headersMatthias Clasen2020-11-091-22/+27
| | | | | | | | | | | | The GtkPlacesOpenFlags enum is only used in private API, so move it to private headers. Since we still need a GType for it, add gtkplacessidebarprivate.h to the headers we use for generating private enum types. In turn, this registers the other private enums in that header, so take the opportunity to fix their naming, and use the generated types for the corresponding sidebarrow properties. Fixes: #3337
* Replace "gchar" with "char"Benjamin Otte2020-07-251-1/+1
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-1/+1
|
* filechooser: Add gtk_file_chooser_get_shortcutsMatthias Clasen2020-07-061-1/+1
| | | | | | | Replace gtk_file_chooser_list_shortcuts with a new api that returns a list model. Update all callers.
* placessidebar: Don't use the GdkDragBenjamin Otte2020-03-021-2/+1
| | | | | | | First, it should have been a GdkDrop, but even then, proper DND code should not rely on internals. It's only been used in an unused signal emission anyway.
* Remove GtkPlacesSidebar:local-onlyEmmanuele Bassi2020-02-221-5/+0
| | | | We don't use it any more in GtkFileChooserWidget.
* placessidebar: Take a GdkDrag in _set_drop_targets_visible()Ernestas Kulik2018-07-171-1/+1
| | | | | | | | Since the function is usually called from GtkWidget::drag-{begin,end} handlers, taking a GdkDrop does not work, especially given that ::drag-action-requested is emitted without checking the type. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1220
* widget: Make GtkWidgetClass::drag_leave() take a GdkDropBenjamin Otte2018-06-181-1/+1
| | | | Drag Contexts are on their way out!
* Drop GtkPlacesSidebar from public APIMatthias Clasen2018-01-081-1/+91
| | | | | | This is a bit of filechooser internals that gets shared with nautilus, which is fine, but it shouldn't be part of our public API. There are no other users than nautilus.
* placessidebar: add starred location itemAlexandru Pandelea2017-11-051-0/+1
| | | | | | | Add an item for showing all files marked as favorite. This item will open all files that have the nao:predefined-tag-favorite tag https://bugzilla.gnome.org/show_bug.cgi?id=785176
* gtkplacessidebar: implement libcloudproviders supportJulius Härtl2017-09-041-0/+1
| | | | | | | | | | | | | | | | Add integration of the libcloudproviders DBus API to the GtkPlacesSidebar by showing name and sync status of the cloud providers. The exported menu is rendered as a GtkPopover. The sidebar will be updated if the list of cloudproviders changes e.g. by adding or removing an account. If any cloud provider changes detailed information like sync status only the individual sidebar row gets updated. Co-authored-by: Carlos Soriano <csoriano@gnome.org> Co-authored-by: Daniel Boles <dboles@src.gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=786123
* Do not use the GPL v3 blurb for LGPL v2.1 filesEmmanuele Bassi2015-11-191-1/+1
| | | | GTK+ is licensed under the terms of the GNU LGPL v2.1+.
* Fix the licensing blurb in GtkPlacesSidebarEmmanuele Bassi2015-11-191-1/+1
| | | | | The code is released under the terms of the LGPL v2.1+, as is the rest of the GTK+ code.
* placessidebar: add Other Locations itemGeorges Basile Stavracas Neto2015-07-151-2/+3
| | | | | | | | | | | | | | | | | | | | Places sidebar is a widget that enabled the user to select XDG directories, bookmarks and mounted network locations, as well as manages permanent and removable devices. The new design that aims to look less clutered makes the sidebar display only removable devices, as well as mounted networks, bookmarks and XDG directories, and delegates the management of permanent devices such as hard drive partitions to GtkPlacesView, a newly introduced widget for this specific purpose. To delegate it, add an "Other Locations..." item to notify when the permanent devices manager is required. Besides that, don't show these fixes devices on the sidebar itself, as they are not supposed to be handled by the sidebar anymore. https://bugzilla.gnome.org/show_bug.cgi?id=752034
* places sidebar: Add private api to get titleMatthias Clasen2015-07-041-0/+3
| | | | | | | The places sidebar already does all the work to determine the right label to use for the current location of the filechooser. We want to use the same label in the headerbar subtitle, so add some private API to get it.
* gtkplacesidebar: use GtkListBoxCarlos Soriano2015-06-161-0/+54
We were using GTkTreeView in a simple list. Also, as we know, GtkCellRenderers are not the best way to theme and manipulate widgets. So instead use a GtkListBox to modernize the GtkPlacesSidebar, and in the way clean up some parts of the code (like headings) which were not used anymore. Also we don't use a model anymore, since the data is simple enough to manage it in a subclass of the row itself.