We are treating a click in the pathbar as a back/forward history action if the
target location is already in history. This makes the Back and Forward buttons
unconsistent in result.
Instead, treat any click on the pathbar as new history entry.
Addapted from original patch by Marcus Husar <marcus.husar@gmail.com>.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=563009
File sizes (especially compressed images) are arbitrary values that are
highly dependant on the camera resolution, and contents of the image.
Therefore it does not make sense to have this be a drop-down with preset
hard-coded values: A 21MP camera often produces 12MB images... but the
only option is 10MB, or 100MB.
This commit changes the combobox in the preferences to a spinbutton and
changes the signal handler for thumbnail-limit.
The value is in MB, with a maximum of 4096 and a minimum of 1.
https://bugzilla.gnome.org/show_bug.cgi?id=779165
We are displaying "? items" in the size column for unreadable folders.
This string is weird and doesn't contribute a clear meaning, but a long
string such as "uknown number of items" is not desirable either.
So, change this string to "--", matching what is used when item count
is disabled.
https://bugzilla.gnome.org/show_bug.cgi?id=99439
So users can drag the window from the buttons of the pathbar too, as it
seems it's more important feature for them instead of dnd the path in
the pathbar, which is also quite undiscoverable.
As per commit d379767851https://bugzilla.gnome.org/show_bug.cgi?id=785619
This reverts commit d379767851, which removed
drag-and-drop interaction involving the pathbar, because it interfered with
dragging to move the window from the headerbar.
This made it impossible to drop files into a parent directory. But acting as
a drop target would not interfere with dragging to move.
We are removing again the problematic drag-source parts in the next commit.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=785619
This patch avoids the use of gdk_screen_get_width,
gdk_screen_get_height,gdk_screen_width,gdk_screen_height, functions
which are deprecated since 3.22 version of GDK library.
Also deletes the eel_pop_up_context_menu function since is not used
in the source code.
https://bugzilla.gnome.org/show_bug.cgi?id=780283
Currently, the type list box in the search popover is not
keyboard-navigable, which, as a consequence, results in the user’s
inability to also easily close the popover.
https://bugzilla.gnome.org/show_bug.cgi?id=786402
Currently, the number of letters before and after the match decrease
the rank of the search hit by the same amount.
Though, the prefix matches should be prefered over the sufix ones,
so make the number of letters after the match decrease the rank
by a much smaller factor than the number of letters before the match.
https://bugzilla.gnome.org/show_bug.cgi?id=785942
When starting the search providers, some provider might finish
before all providers are started, so a wrong value of providers_running
will be used, making Nautilus crash.
To fix this, keep a queue of the started providers and whenever the
value of the finised/running providers is needed, check the status of
each provider.
https://bugzilla.gnome.org/show_bug.cgi?id=785723
When deciding on the activation action, the code checks if Nautilus
is the default handler for archives. There are cases when the returned
application info is invalid, e.g. for application/octet-stream.
https://bugzilla.gnome.org/show_bug.cgi?id=786168
Currently, the file chooser dialog points to the base directory of the
archive when selecting the location for decompression. This poses a
problem when searching, as the file chooser is unable to display the
directory. This commit fixes that by showing the file chooser at the
base directory of the search.
https://bugzilla.gnome.org/show_bug.cgi?id=783090
Until now archives were managed only if activated from Nautilus itself
and if a setting was set.
There are two main problems with this.
1- Archives opened in other apps cannot be handled by Nautilus
2- Users cannot use the regular mime type handling for setting Nautilus
as the app handling archives, or unsetting it.
This patch add support for archives mime types handled by gnome-autoar
and removes the UI and setting used in the previous version.
https://bugzilla.gnome.org/show_bug.cgi?id=771424
The fallback file icon is outdated now and the fact that it is stored in
binary format in a source file makes it harder to update it. This commit
uses the upstream PNG and changes the code to load it from resources.
https://bugzilla.gnome.org/show_bug.cgi?id=786042