summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* batch-rename-dialog: Fix button label for numbering orderCorey Berla2022-09-011-2/+2
| | | | | | | There's a regression in f88c4a2b39e4e88bf78acffdcee3555a31aaea7c that causes the numbering label button to never get updated. The GtkMenuButton was exposed but the api for GtkButton was used instead. Use GtkMenuButton api
* batch-rename-dialog: Fix insert and delete text signalsCorey Berla2022-09-012-4/+4
| | | | | | | | | Similar to 60b0a8ae87075374d56b5e3a766a63e5bcdd39ee in gtk4 the delete-text and insert-text should be connected to the editable delegate of the entry as the entry does not emit those signals. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2442
* audio-video-properties: Add error row on failureAntónio Fernandes2022-08-311-0/+1
| | | | Rather than displaying a broken page without any row.
* properties: Don't propagate height of subpagesAntónio Fernandes2022-08-311-9/+14
| | | | | | | | | | | | | | Generally, we want the properties window to be sized to fit the natural height of the content of the main page. However, the extensions subpage is propagating its natural height; in some cases, this can lead to the properties page being the full screen height in many cases. The natural height propagation is set internally by AdwPreferencesPage, so we have to drop its use here. It was probably a misuse anyway, given this is a subpage. Internally it's just a scrolled window and a clamp, so that's what it's gonig to be replaced with.
* properties: Use Operating System name for root filesystemCorey Berla2022-08-311-1/+13
| | | | | For consistency with what we do in Places, use the operating system name or "Operating System" instead of "/"
* properties: Remove code for opening existing windowCorey Berla2022-08-311-71/+0
| | | | | | | | Apparently this was from when Nautilus had properties windows as independent windows. Now it breaks the ability to open the same property window from another Nautilus window. Remove the code. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2358
* properties: Fix opening gnome-disks for root filesystemCorey Berla2022-08-311-5/+31
| | | | | | | | | | | | | | | | | | With the introduction of nautilus-dbus-launcher, we made it so that the current disk is selected in gnome-disks (when opening from the properties window) by passing the disk identifier to --block-device. This works fine for most mounted volumes, but breaks the ability to open gnome-disks for the root filesystem because g_file_find_enclosing_mount() doesn't return a mount for the root file system (it only returns "user interesting locations"). So, use unix-specific API to handle that case (antoniof's ammendment). As a 2nd fallback, just open Disks without selecting anything (but if this ever happens, it's a bug: we probably shouldn't show the Disks section in Properties in that directory). Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2447
* properties: Don't allow changing the icon for root filesystemCorey Berla2022-08-311-1/+2
|
* properties: Set icon for root filesystem to the harddisk iconCorey Berla2022-08-311-6/+13
| | | | | | We have a special case to set the icons for mounts, but the root filesystem doesn't return a mount from g_file_find_enclosing_mount() so set the icon for / separately.
* properties: Don't attempt to setup_star if parent_location == NULLCorey Berla2022-08-311-0/+5
| | | | | | | | | | | When you open a properties window on the root file system, you'll get g_file_has_prefix: assertion 'G_IS_FILE (file)' failed because setup_star is checking if the parent location can be starred. We only allow starring files in the home directory anyways, so just return early Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2422
* dnd: Temporary fix for getting the preferred action on an x11 dropCorey Berla2022-08-313-0/+57
| | | | | | | | | | In x11 the GtkDropTarget is not correctly setting the preferred action on the GdkDrop. The GdkDrag is getting set correctly, so for the meantime, until a solution is merged into Gtk, let's get the action from the GdkDrag instead of the GdkDrop. See: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4982 Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2457
* dnd: Cleanup calls to gdk_drop_get_actions()Corey Berla2022-08-312-2/+9
| | | | In preparation for the next commit.
* Update Slovenian translationMatej Urbančič2022-08-311-1537/+1716
|
* general: Set labelled-by for view cellsCorey Berla2022-08-314-0/+26
| | | | | | | | | | | | | In gtk4, we need to set labelled-by to help a11y programs know what it currently selected. Unfortunately, the focus is on a GTK internal widget, so at the moment this solution requires a hack: we mark the internal list item widget as being labeled by our cell (which is, in turn, labeled by the filename label). We are reporting this to GTK to work toward a better solution. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2460
* Update Brazilian Portuguese translationLeônidas Araújo2022-08-311-1471/+1672
|
* Update Basque translationAsier Sarasua Garmendia2022-08-311-228/+245
|
* files-view: Hide Properties of Starred and RecentAntónio Fernandes2022-08-311-2/+6
| | | | | | | The Properties of these places are broken and unnecessary. Also, disable copying the URI of these locations, because it's also useless.
* files-view: Reset templates model to NULL if unwantedAntónio Fernandes2022-08-311-0/+10
| | | | | | | Otherwise the pathbar still displays the submenu in locations where creation of new files is not supported. Resolves https://gitlab.gnome.org/GNOME/nautilus/-/issues/2455
* places-view: Make sure signals are really disconnectedCorey Berla2022-08-311-16/+6
| | | | | | I screwed up in 8c296a91c8a3e410edcb6471fa713eeaa3133d25 by flipping the instance and data when disconnecting the signal. Let's just use g_signal_connect_object to make this automatic.
* freedesktop-dbus: Call parent finalize functionIgnacy Kuchciński2022-08-301-0/+2
|
* toolbar: Don't add a ref to menu_itemIgnacy Kuchciński2022-08-301-5/+6
| | | | g_set_object adds a ref, so don't use it in this case
* grid-cell: Fix leak and use macrosIgnacy Kuchciński2022-08-301-2/+4
|
* file-utilities: Fix leak and use macrosIgnacy Kuchciński2022-08-301-4/+2
|
* sidebar: Make Add to Bookmarks consistent with the pathbarCorey Berla2022-08-301-1/+1
|
* sidebar: Only show Add/Remove Bookmark when applicableCorey Berla2022-08-301-0/+4
| | | | | | In the sidebar, bookmarking only makes sense for mounted volumes. Hide add/remove bookmark if the action is disabled, because the action would never make sense for locations where it's disabled.
* sidebar: Fix typo in action "bookmark"Corey Berla2022-08-301-1/+1
| | | | | | | Menu item was set to "add-bookmark" so this was never enabled because the action was nonexistent. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2461
* ci: build for aarch64Zander Brown2022-08-301-6/+21
| | | | | | | Rebase on the current flatpak-ci style/guidelines, thus enabling aarch64 builds (and publshing nautilus on gnome-nightly for aarch64) https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/DevOps-with-Flatpak
* file: Check if special dir is the home directoryCorey Berla2022-08-301-0/+6
| | | | | | | | xdg-user-dirs is intentionally configured to disable a special directory when it's set to $HOME. Let's check if the file is pointing to the home directory and return early. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2459
* Update Danish translationAlan Mortensen2022-08-301-1663/+1892
|
* Update Finnish translationJiri Grönroos2022-08-291-1676/+1937
|
* Updated Spanish translationDaniel Mustieles2022-08-291-234/+257
|
* Update Russian translationAleksandr Melman2022-08-281-232/+248
|
* Update Chinese (China) translationLuming Zh2022-08-281-233/+247
|
* Update Georgian translationZurab Kargareteli2022-08-261-224/+235
|
* Update Catalan translationJordi Mas2022-08-261-328/+359
|
* Update Occitan translationQuentin PAGÈS2022-08-251-321/+342
|
* Update Abkhazian translationNart Tlisha2022-08-251-35/+35
|
* Update Portuguese translationHugo Carvalho2022-08-241-163/+169
|
* Update Galician translationFran Dieguez2022-08-241-169/+174
|
* Update Persian translationDanial Behzadi2022-08-241-165/+170
|
* Updated Spanish translationDaniel Mustieles2022-08-241-157/+164
|
* Update Indonesian translationKukuh Syafaat2022-08-241-163/+171
|
* files-view: Grab focus when background / selection menu closedCorey Berla2022-08-231-0/+12
| | | | | | | | | | | | After closes the background or selection menu (by clicking out of the menu or escape) the focus goes to the back button in the toolbar, rather than the last focused item. It's not clear if this is a gtk issue or because our complex configuration. Connect the "closed" signal to simply grab back the focus to the files view. This isn't perfect because it doesn't necessarily grab the last focussed child, but it saves from adding too much complexity. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2433
* Revert "files-view: Set popover menu's parent to scrolled window"António Fernandes2022-08-231-4/+2
| | | | | | | This reverts commit 60f40431e218964153f223026e7cc2339d445701. It caused popovers not to resize when new menu items are enabled. We are going to use a different workaround.
* Update Croatian translationGoran Vidović2022-08-231-162/+169
|
* Update Ukrainian translationYuri Chornoivan2022-08-231-171/+173
|
* pathbar: Add empty trash action to secondary menuIgnacy Kuchciński2022-08-231-0/+7
|
* files-view: Remove duplicated setting of new-folder actionIgnacy Kuchciński2022-08-231-4/+0
|
* files-view: Add empty trash action to background context menuIgnacy Kuchciński2022-08-232-0/+34
| | | | | After removing the action from the trash infobar, let's add it back where it makes sense to be located.
* special-location-bar: Add trash barIgnacy Kuchciński2022-08-233-1/+108
| | | | | After removing the separate trash bar, let's roll it into special location bar, as it only has 1 button now.