summaryrefslogtreecommitdiff
path: root/src/gtk/nautilusgtkplacesview.c
Commit message (Collapse)AuthorAgeFilesLines
* WIP general: Use gtk_widget_dispose_templatewip/antoniof/use-gtk-widget-dispose-templateAntónio Fernandes2022-09-031-0/+2
| | | | Resolves https://gitlab.gnome.org/GNOME/nautilus/-/issues/2418
* gtkplacesview: Do not show properties menu for unmounted drivesEric Daigle2022-08-231-2/+5
| | | | | | | | | | As described in #2412, the Other Locations context menu currently shows a useless Properties option when an unmounted drive is right-clicked. Adds a check when enabling the Properties widget to ensure it is only enabled if a drive is mounted and/or is the root filesystem (the root case must be handled separately as the mount field is not set in the GtkPlacesViewRow representing the root filesystem) Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2412
* general: Reimplement a11y for gtk4Corey Berla2022-07-301-0/+1
| | | | | Set the accessible role for our custom UI widgets. Misc labelling and descriptions.
* places: Add properties to context menu of local and network mountsCorey Berla2022-07-141-5/+20
| | | | | Places only allows properties for "Computer". Add properties for local and network mounts.
* gtkplacesview: Name root directory after OSStarShot2022-06-131-1/+4
| | | | | | | | | | | | | | | | Having a "Computer" palce inside "On This Computer" section does not make sense and sounds strange. Also, if someone wants to save files in their computer, the "Computer" location might sound like the right place, and it's not. Sometimes the root directory is not even the root of a disk or partition, but some special mount (e.g. under ostree). The root directory is directly related to the operating system, so let's name it after the operating system. This helps convey the idea that making changes there is going to affect how the system works and possible break it. Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2250
* places: Align popover menu with mouse positionCorey Berla2022-05-071-10/+42
| | | | | | | | | The popover menu always pops-up in the center of each row regardless of where the mouse cursor is currently positioned. Make the popover popup at the pointer click position. If the popover is triggered by the keyboard (i.e. SHIFT+F10), then align it with the start of the row.
* places: Fix crash when disconnectingCorey Berla2022-05-071-0/+1
| | | | | | After disconnecting a network mount in places (when there's 2 or more mounts), right clicking another mount crashes the application. Set row_for_action to NULL when successfully unmounted.
* places: Add support for properties windowCorey Berla2022-05-021-0/+35
| | | | | | | | In places (Other Locations), right clicking Computer only presents options to Open. Add support for opening the properties window to non-network locations Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2141
* general: Switch to GTK4António Fernandes2022-01-091-822/+688
| | | | | | | | | | | | | | | | The new major version of the toolkit is a requirement to fix old issues and enable future enhancements. Update symbols and adapt logic to API changes. Update and simplify UI definitions. Update local copy of places sidebar and places view. Replace dependencies with their GTK4-compatible successors. Make a minimum changes required to build and run, with known regressions to be fixed in future commits. For a detailed breakup of the changes, see the 36 commits-deep log leading to d5763facb1e5045251171ed1273dca0859f3542f. This is the main part of https://gitlab.gnome.org/GNOME/nautilus/-/issues/276
* general: Use in-tree copy of GtkPlacesSidebarAntónio Fernandes2021-12-291-23/+23
| | | | | | | | | | | GtkPlacesSidebar is a public GTK 3 widget, but private in GTK 4, so we need to have the sidebar in our own codebase if we are to keep using it. Extend the script already in use for the places view and use it to copy the places sidebar and its dependencies and patch it as necessary. Also, construct it from code, because this in-tree places sidebar cannot be used in a GtkBuilder UI template.
* gtkplacesview: Update to the latest codeOndrej Holy2021-04-221-0/+9
| | | | Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1811
* gtkplacesview: Update to latest codewip/oholy/pathbar-default-locatonOndrej Holy2020-12-191-1/+15
| | | | Fixes: https://gitlab.gnome.org/GNOME/nautilus/issues/1319
* gtk: Update to the latest codesOndrej Holy2020-07-031-1/+2
| | | | | | | | GTK-based codes are not up-to-date. Let's run gtk-code-generator.sh to update them. But also update the script to remove the unwanted marshalers. Finally, this doesn't bring any functional changes, but it adapts our script to the latest GTK codes. Let's add a comment in meson.build to not forget doing this regularly...
* places-view: Update to latest gtk codeCarlos Soriano2019-01-221-0/+59
|
* gtkplacesview: Update to last codeMarco Trevisan (Treviño)2018-04-241-5/+56
|
* gtkplacesview: Update to last codeCarlos Soriano2017-04-221-15/+25
|
* gtkplacesview: update to latest codeCarlos Soriano2017-04-221-1678/+1502
|
* placesview: synchronize with GTK+Georges Basile Stavracas Neto2017-04-111-1/+5
|
* project: update NautilusGtkPlacesView from masterGeorges Basile Stavracas Neto2017-04-101-0/+38
| | | | GtkPlacesView now supports monitoring networks.
* general: format code with newer UncrustifyCarlos Soriano2016-11-301-1528/+1641
| | | | | Some issues were fixed, and now we can rerun Uncrustify to format correctly more part of the code.
* gtkplacesview: update to last codeCarlos Soriano2016-09-221-1648/+1555
| | | | | | | We were missing a string marked as translated. Also, this files shouldn't have the nautilus style since they are a copy pasted code, so this patch just copied them and therefore the changes look bigger than what it should be.
* general: run uncrustifyCarlos Soriano2016-08-291-1522/+1637
| | | | | | | | And make the style of Nautilus the same for all files. Hopefully we can fix all the style issues we can find in the next days, so expect a little of movement on this. https://bugzilla.gnome.org/show_bug.cgi?id=770564
* places-view: fetch updates from gtk+ repoRazvan Chitu2016-07-121-23/+45
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768657
* placesview: auto generate codeCarlos Soriano2016-03-091-0/+2512
We have been manually copying the code inside nautilus since we introduced the places view. It has been a pain to maintain, mostly because we needed to remove the bits that only work inside gtk+ and instead either remove them or make a substitution. But that was doable. However, it reached a new level when we realized that we use the file chooser inside nautilus, for the "move to" and "copy to" actions, which create makes symbols clash. So we needed to rename all the symbols in those files. Instead of making it manually, create a shell script that fetches gtk+ repository and make the appropriate substitutions, deletions and what not. https://bugzilla.gnome.org/show_bug.cgi?id=760307