summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* window: Handle NULL active_slot pointer1759-crash-closing-last-tabAntónio Fernandes2021-02-271-3/+12
| | | | | | This pointer may be NULL. Usually this may happen only during window initialization and destruction. However, for robustness, make sure every use either handles a NULL pointer or asserts it's non-NULL.
* window: Add weak reference to the active slotAntónio Fernandes2021-02-271-3/+3
| | | | | | | | | | | | | | | We used to explicitly set the active slot when closing a tab. However, we now let GtkNotebook pick the next tab, and wait for ::switch-tab to set the active_slot field to the one GtkNotebook picked, thanks to commit 475684ac9e556b144da594bf25581560d4fa5a7f. However, if the closed tab was the only tab in this window, then ::switch-tab is never called, so active_slot becomes a dangling pointer, crashing the application when trying to close the window. Use a weak reference to ensure the pointer is set to NULL in that case. Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/1759
* Update Basque translationAsier Sarasua Garmendia2021-02-271-936/+953
|
* Update Indonesian translationKukuh Syafaat2021-02-261-124/+124
|
* Update Croatian translationGoran Vidović2021-02-261-2/+2
|
* Update Croatian translationGoran Vidović2021-02-261-941/+955
|
* Update German translationChristian Kirbach2021-02-251-947/+960
|
* Update Galician translationFran Dieguez2021-02-241-126/+123
|
* Updated Lithuanian translationAurimas Černius2021-02-211-957/+971
|
* Update Finnish translationJiri Grönroos2021-02-211-948/+964
|
* Update Turkish translationSabri Ünal2021-02-211-118/+118
|
* Update Brazilian Portuguese translationRafael Fontenelle2021-02-181-725/+742
|
* Update Slovenian translationMatej Urbančič2021-02-171-984/+997
|
* ci: Add libhandy master to DockerfileOndrej Holy2021-02-171-0/+10
| | | | | The CI currently fails because the latest libhandly release is not yet in rawhide. Let's add libhandy master to our image to fix the pipeline.
* Update French translationCharles Monzat2021-02-171-949/+983
|
* Update Indonesian translationKukuh Syafaat2021-02-161-24/+42
|
* Update Serbian translationМарко Костић2021-02-161-721/+725
|
* Update Turkish translationEmin Tufan Çetin2021-02-151-28/+46
|
* Updated Spanish translationDaniel Mustieles2021-02-151-38/+46
|
* Update Catalan translationJordi Mas2021-02-141-1027/+1040
|
* Update Hungarian translationBalázs Úr2021-02-141-971/+975
|
* ui: Use GNOME 40 Empty View StylingChristopher Davis2021-02-144-27/+22
| | | | | | | We can't use HdyStatusPage right now because it would break DnD, as reported in https://gitlab.gnome.org/GNOME/gtk/-/issues/808 So, update the styling instead.
* Update Punjabi translationA S Alam2021-02-131-1435/+1471
|
* Post release version bumpwip/oholy/release-fixesOndrej Holy2021-02-131-1/+1
|
* Release version 40.beta40.betaOndrej Holy2021-02-132-1/+14
|
* preferences-window: Print error from gtk_builder_add_from_resourceOndrej Holy2021-02-131-1/+6
| | | | | | Currently, gtk_builder_add_from_resource silently fails with old libhandy version which leads to weird crashes. Let's print the returned error to be obvious what is going on.
* build: Bump libhandy dependencyOndrej Holy2021-02-131-1/+1
| | | | | Nautilus currenlty crashes with libhandy version older than 1.1.90. Let's bump the dependency to prevent that.
* list-view: Properly match for Star columnAntónio Fernandes2021-02-131-1/+1
| | | | | | | | | | We have been matching the Star column by it's title, ever since it was first introduced by commit a9c446afe262b7989bc17ef1f9ab19931db8dede Worse: we have been using an untranslated string. This means that if the string is localized clicking the star icons does nothing. Match the column by its key in the hash table instead.
* list-view: Hide Star column titleAntónio Fernandes2021-02-131-1/+7
| | | | | | | | | | | | | | | | While "Star" is 4 chars long in English, it's longer in other languages. This means the column may become much wider than needed for displaying a small star icon, which both looks bad and takes away space from other columns. Since this is a column of star symbols, we don't really need a title. But setting an empty title makes the columns too narrow (16px), which gets covered by the overlay scrollbar. So, in addition to removing the title label, set a 48 fixed width for the column, which provides enough gutter for the overlay scrollbar.
* Update Swedish translationAnders Jonsson2021-02-131-23/+41
|
* Update Romanian translationDaniel Șerbănescu2021-02-131-24/+42
|
* location-entry: Highlight basenames of completionsJames Westman2021-02-121-0/+37
| | | | Or, rather, dim the dirnames so the basenames stand out.
* location-entry: Use relative completions for relative pathsJames Westman2021-02-121-1/+20
| | | | | | | | If the user enters a relative path, we get absolute paths as in the completion popover, which is quite jarring and makes it less useful. Instead, truncate the prefix, such that the completions dropdown text aligns with the entry text.
* location-entry: Use g_strstrip()James Westman2021-02-121-2/+2
| | | | Replace g_strchomp and g_strchug with g_strstrip, for simplicity.
* location-entry: Use GtkEntryCompletionJames Westman2021-02-121-31/+76
| | | | | | | | | Improves tab completion in the location entry. GtkEntryCompletion shows a popup when there are multiple matches, so you can choose one or continue typing. The completion's tree model is populated dynamically as you type using a GFilenameCompleter. https://gitlab.gnome.org/GNOME/nautilus/-/issues/1171
* location-entry: Play bell when tab-complete failsJames Westman2021-02-121-4/+11
| | | | | | | When you press Tab in the location entry and there's no autocomplete suggestion, play an error bell instead of closing the location entry. Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/1171
* location-entry: Remove folder iconJames Westman2021-02-121-13/+0
| | | | | It hasn't been useful for quite a while, and messes with the visual alignment of the GtkEntryCompletion.
* Update Galician translationFran Dieguez2021-02-121-34/+44
|
* Update Ukrainian translationYuri Chornoivan2021-02-121-44/+54
|
* Update Portuguese translationHugo Carvalho2021-02-121-24/+42
|
* file-conflict-dialog: Make manual rename more convenientAntónio Fernandes2021-02-121-5/+16
| | | | | | | | The suggested name is in the form "original (1).txt", if the the conflicting name was "original.txt". The user may want to replace the "(1)" bits with something more meaningful, so select this region for convenience.
* file-conflict-dialog: Automatically suggest new nameAntónio Fernandes2021-02-125-11/+37
| | | | | | | | | | | | When "Select new name for the destination" expander is selected, the users must type a new name in order to proceed. This makes them go and look at the destination to see what would even make a unique name. Let's be more helpful and suggest a unique name based on the original. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/1344
* operations-ui-manager: Rename struct fieldAntónio Fernandes2021-02-121-5/+5
| | | | | | | .nautilus_directory holds a reference to a NautilusFile. Rename it to .nautilus_directory_file, so that the existing name can be reused to store a NautilusDirectory reference in the next commit.
* file-conflict-dialog: Tie default action to expanderAntónio Fernandes2021-02-121-24/+24
| | | | | | | | | | | The default action "Replace" is changed to "Rename" if a different name is set in the entry inside the "Select a new name..." expander. This means we have inconsistent UI states: * "Select a new name..." is expanded but the action is "Replace", * or it's collapsed but the default action is "Rename". Instead, let's tie the default action to the expander's state.
* build: Bump gnome-autoar dependencyOndrej Holy2021-02-121-1/+1
| | | | | This is needed to prevent the "signal 'request-passphrase' is invalid for instance '0x1e41340' of type 'AutoarExtractor'" warnings.
* ci: Add gnome-autoar master to DockerfileOndrej Holy2021-02-121-0/+10
| | | | | The CI currently fails because the gnome-autoar 0.3.0 is not yet in rawhide. Let's add gnome-autoar master to our image to fix the pipeline.
* file-operations: Add support for password protected archivesFelipe Borges2021-02-121-0/+91
| | | | | | | | | | | | This implementation launches a GtkDialog for users to enter a password when gnome-autoar reports that a given archive is password protected. We use an additional GMainContext to block the execution until a password string can be passed to AutoarExtractor's "passphrase-request" signal. This solution is an alternative to gtk_dialog_run(), which is not available in GTK4. See https://ondrej.holych.net/how-to-call-asynchronous-function-synchronously/ Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/327
* Update Indonesian translationKukuh Syafaat2021-02-121-727/+713
|
* Update Swedish translationAnders Jonsson2021-02-111-263/+258
|
* Update Turkish translationEmin Tufan Çetin2021-02-111-268/+262
|