Commit graph

19926 commits

Author SHA1 Message Date
Alexandru Pandelea
eff346505b use gtk_menu_popup_at_pointer
Since gtk_menu_popup is deprecated, use gtk_menu_popup instead.

https://bugzilla.gnome.org/show_bug.cgi?id=779775
2017-03-09 12:15:32 +02:00
Alexandru Pandelea
273e6efce2 general: use gdk_monitor_get_scale_factor
As it is deprecated, instead of using gdk_screen_get_monitor_scale_factor
use gdk_monitor_get_scale_factor().

https://bugzilla.gnome.org/show_bug.cgi?id=779774
2017-03-09 12:14:12 +02:00
Marek Černocký
a78985c5b2 Updated Czech translation 2017-03-09 08:22:31 +01:00
Marek Černocký
81f5e44831 Updated Czech translation 2017-03-09 08:20:04 +01:00
Christian Hergert
09dcc052cb flatpak: disable bash-completion-dir
We don't need the completion for tracker anyway, and it is trying to write
to a read-only directory.
2017-03-08 14:15:50 -08:00
Kartikeya Sharma
df262b5c93 window: Don't use eel to show a dialog
Most of the things in eel are already in glib, or are already easy
enough to have them directly in the code. So we should remove eel which
is just another layer of abstraction that we don't need as it makes
it hard to follow the code.

This patch replaces eel_show_error_dialog with show_error_dialog
to make it independent of eel.

https://bugzilla.gnome.org/show_bug.cgi?id=775092
2017-03-08 17:17:01 +01:00
Kartikeya Sharma
eb23c630c6 window-slot: Don't use eel to show a dialog
Most of the things in eel are already in glib, or are already easy
enough to have them directly in the code. So we should remove eel which
is just another layer of abstraction that we don't need as it makes
it hard to follow the code.

This patch replaces eel_show_error_dialog with show_error_dialog
to make it independent of eel.

https://bugzilla.gnome.org/show_bug.cgi?id=775092
2017-03-08 17:17:01 +01:00
Kartikeya Sharma
460235b9c9 ui-utilities: Add custom function to display error dialog
Most of the things in eel are already in glib, or are already easy
enough to have them directly in the code. So we should remove eel which
is just another layer of abstraction that we don't need as it makes
it hard to follow the code.

This patch adds function to show error dialog (show_error_dialog)
which is to be used in place of eel_show_error_dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=775092
2017-03-08 17:17:01 +01:00
Ernestas Kulik
f72f5f3c9d meson: move scripts to a directory
This commit moves scripts used in Meson to a separate directory to
declutter the root directory.

https://bugzilla.gnome.org/show_bug.cgi?id=779669
2017-03-08 17:52:01 +02:00
Ernestas Kulik
9419c26876 meson: compile gschemas after installing
As some users or developers might choose to install repo builds, they
would also have to compile the installed GSettings schema manually. This
commit adds a script that does that post-install.

https://bugzilla.gnome.org/show_bug.cgi?id=779669
2017-03-08 17:52:01 +02:00
Ernestas Kulik
ef7005eae6 .gitattributes: update files not for export
A couple of files no longer exist in the repo and some shouldn’t be
exported.

https://bugzilla.gnome.org/show_bug.cgi?id=779579
2017-03-08 15:12:59 +02:00
Trần Ngọc Quân
b9e555ab1a Updated Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2017-03-08 14:11:36 +07:00
Марко М. Костић
10a08f9673 Updated Serbian translation 2017-03-07 16:44:48 +01:00
GNOME Translation Robot
eae5a34ad6 Update Scottish Gaelic translation
(cherry picked from commit 1da296e2e1)
2017-03-07 12:24:01 +00:00
Ernestas Kulik
b632f52c15 general: remove private enum type description templates
These are leftovers from the libnautilus-private merge that are no
longer used.

https://bugzilla.gnome.org/show_bug.cgi?id=779667
2017-03-07 12:14:56 +02:00
Ernestas Kulik
dc57c21448 meson: update submodule only if it doesn’t exist
Some build servers don’t have git installed, which makes the tarball
build fail when trying to update the libgd submodule. This commit adds a
check for the existence of the root meson.build of libgd before running
git.

https://bugzilla.gnome.org/show_bug.cgi?id=779603
2017-03-06 17:43:22 +02:00
Ernestas Kulik
f80af5094c file-operations: change skip behavior
Currently, when skipping files, they are added to the transfer counts,
which results in inflated progress information. This commit makes the
code subtract from the total counts, instead.

https://bugzilla.gnome.org/show_bug.cgi?id=779569
2017-03-06 14:40:03 +02:00
Ernestas Kulik
b5ebb70374 file-operations: reset skipped status of files on copy/move
When copying or moving a file, the file’s “skipped” status is not reset,
resulting in cases where the code starts skipping all files. In such
cases the progress popover will show the finished operation count higher
than the total amount of files.

https://bugzilla.gnome.org/show_bug.cgi?id=779569
2017-03-06 14:40:03 +02:00
Ernestas Kulik
2fc8866a6f libgd: update to latest commit 2017-03-05 21:57:21 +02:00
Gábor Kelemen
de272cfb0e Update Hungarian translation 2017-03-05 14:31:10 +00:00
Ernestas Kulik
d9ac53c8b0 rename-file-popover-controller: close on file deletion
Currently, the popover remains open if the file is deleted (can be
triggered by creating a file, opening the rename popover and undoing).
This commit makes the controller connect to the “changed” signal of the
target file and emits the “cancelled” signal if the file is gone.

https://bugzilla.gnome.org/show_bug.cgi?id=779568
2017-03-04 14:02:34 +02:00
Ernestas Kulik
55e1d1b4b0 files-view: connect to the correct signal
1d166b5e3b changed the add-file signal to
add-files, but did not update one of the handlers. This commit makes the
code connect to the new signal and updates the handler.

https://bugzilla.gnome.org/show_bug.cgi?id=779564
2017-03-04 14:02:17 +02:00
Yuras Shumovich
56d728ee47 Update Belarusian translation 2017-03-03 20:07:17 +00:00
Carlos Soriano
06f0659e67 release: prepare for 3.23.91 2017-03-03 17:06:18 +01:00
Carlos Soriano
cbf2361154 configure: bump gnome-autoar version
For not getting duplicated extract here items due to commit
66cf03f9f191 in gnome-autoar and commit 366a5147bd0 and aab1b7335c4
in file-roller.
2017-03-03 17:06:18 +01:00
Ernestas Kulik
fd50ac5011 meson: set correct libnautilus-extension version in .pc
Currently, when building with Meson, the version of the pkg-config file
for libnautilus-extension is set to the version of the library itself.
This is incompatible with how it was before - the version was set to the
version of Nautilus. That breaks some modules that build extensions
(e.g. file-roller).

https://bugzilla.gnome.org/show_bug.cgi?id=779472
2017-03-03 17:06:18 +01:00
Alexandru Pandelea
76cefc8295 batch-rename: fix stack child height
With numbering added, the format mode stack child is slightly smaller
than the replace one, so the scrolled window height is slightly
changing when switching between modes.

The problem is that the row spacing in the replace stack child is
greater by 1px than the spacing in the format stack child.

To fix this make the replace stack child have the same row spacing.

https://bugzilla.gnome.org/show_bug.cgi?id=778272
2017-03-03 17:06:18 +01:00
Alexandru Pandelea
0cab9f03eb desktop-canvas-view: fix crash on refresh
Refreshing the desktop makes nautilus-desktop crash.

The cause of this crash is that the desktop canvas view is a floating
reference. In commit 5c414bfcd1 the creation
of the desktop view was changed and it was forgotten to sink the floating
ref.

To fix this, remove the floating reference. The reason why the ref sink
is needed here, as well as in all the other views, is because the views
are also managed as data structures.

https://bugzilla.gnome.org/show_bug.cgi?id=779321
2017-03-03 17:06:18 +01:00
Jan Tojnar
a67d17b142 general: Allow running uncrustify from elsewhere
run-uncrustify.sh script uses cwd relative file names, which fails
if it is ran from the repository root or other directory.

This commit fixes the paths relative to the script.

https://bugzilla.gnome.org/show_bug.cgi?id=779408
2017-03-03 17:06:18 +01:00
Bastien Nocera
d3adbdb970 Fix more "format not a string literal" warnings
https://bugzilla.gnome.org/show_bug.cgi?id=779533
2017-03-03 14:34:06 +01:00
Inaki Larranaga Murgoitio
9b4d216fd1 Update Basque language 2017-03-03 13:13:57 +01:00
Ask Hjorth Larsen
be5f20176a Updated Danish translation 2017-03-02 13:17:19 +01:00
Ernestas Kulik
b24def95fb rename-file-popover-controller: make F2 toggle between selection modes
In previous versions of Nautilus, F2 used to switch between selecting
the whole filename and selecting the filename up to the extension. This
functionality has been lost in some version. This commit brings the
functionality back.

https://bugzilla.gnome.org/show_bug.cgi?id=774361
2017-03-02 13:30:58 +02:00
Ernestas Kulik
9becdca573 rename-file-popover-controller: set entry width for all files
The width for the rename popover entry is set if the file is a regular
file, which does not include folders, resulting in a narrow entry,
despite the name being long. This commit makes the code set the width
regardless of the file type.

https://bugzilla.gnome.org/show_bug.cgi?id=774361
2017-03-02 13:30:58 +02:00
Ernestas Kulik
2c22594624 meson: make doc generation opt-in
Since Continuous does not have GTK-Doc and jhbuild users don’t usually
care about generating documentation, it makes sense to disable it by
default.

https://bugzilla.gnome.org/show_bug.cgi?id=779420
2017-03-01 18:15:20 +02:00
Ernestas Kulik
d4d2fb655f search-provider: include header, not the source
Currently, the generated enum types source is included, which is
unnecessary.

https://bugzilla.gnome.org/show_bug.cgi?id=779420
2017-03-01 16:45:10 +02:00
Charles Monzat
523ebbee19 Update French translation 2017-02-28 21:51:53 +00:00
Anders Jonsson
7dc6c82f83 Update Swedish translation 2017-02-28 19:51:55 +00:00
Jiri Grönroos
6efa5a5743 Update Finnish translation 2017-02-28 18:38:52 +00:00
Sveinn í Felli
439e144077 Update Icelandic translation 2017-02-28 14:34:31 +00:00
Carlos Soriano
4b2f6d5dcf canvas-container: fix warning of possible non handled value in switch
We added a new enum value, but we didn't handled it on places where
we knew it couldn't be reached. However that spits out a warning with
gcc even if we handled it after the switch.

Fix that handling a "default" and returning a default value.
2017-02-27 16:10:33 +01:00
Carlos Soriano
12826378e1 meson: ignore deprecations warnings
We know we have deprecations functions, and they require a major work
as porting to gtk4.
That's truly a different task to what we are doing every day, and the
multiple warnings obscure all real warnings to the task that is
relevant at that point.

This is making contributors skip the warnings, rather than actually look
at them.

For that, ignore deprecation warnings for now until someone wants to
work in the gtk4 port, and we also assume you read the documentation
when introducing new code in order to avoid deprecations.
2017-02-27 16:06:11 +01:00
Ernestas Kulik
ec92b8ab60 general: remove empty view
Since testing is planned to be done with actual views and no one has
built Nautilus with the empty view enabled recently, it is safe to say
that it should go. This commit removes the empty view.

https://bugzilla.gnome.org/show_bug.cgi?id=779255
2017-02-27 16:47:51 +02:00
Mohammed Sadiq
753e9d812c autogen.sh: don't run aclocal
autoreconf takes care of running aclocal and other commands
in the right order.

Also, removing aclocal saves around 40 seconds (Thanks to
Ernestas Kulik for testing) when running autogen.sh

https://bugzilla.gnome.org/show_bug.cgi?id=779248
2017-02-27 15:17:42 +02:00
Ernestas Kulik
2475e9a1f7 meson: don’t look for update-mime-database
Since Nautilus no longer install a mime type
(5951fadbef), updating the mime database
is not something that should be done anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=779250
2017-02-27 15:11:07 +02:00
Ernestas Kulik
37beae836d files-view: remove unused function prototype
_update_menus () is no longer used.

https://bugzilla.gnome.org/show_bug.cgi?id=779256
2017-02-27 15:09:35 +02:00
Ernestas Kulik
de521ddf8b window: remove max forced window size calculation
Currently, the default size for window is calculated by taking the
minimum value between the screen size and the hardcoded default. As
the smallest recommended screen size for GNOME today is 1024x600 and the
code has been added in 2000, it is likely no longer relevant. This
commit simply makes the code use the hardcoded values within the
recommended range as the default window size.

https://bugzilla.gnome.org/show_bug.cgi?id=779082
2017-02-27 14:17:50 +02:00
Daniel Mustieles
76a1a24a61 Update Spanish translation 2017-02-27 08:45:06 +00:00
Daniel Boles
78a1562861 application: Load Adwaita.css for Adwaita-dark
"Adwaita-dark" is supplied by gnome-themes-standard and has a distinct
name to theme GTK+ 2. For GTK+ 3, this theme just imports gtk-contained-
dark.css from the library, so it's _as if_ Adwaita was the system theme.

But Nautilus only applied its Adwaita-specific CSS if the system theme
name was exactly "Adwaita". So using "Adwaita-dark" meant we got Adwaita
but without Nautilus' additions to it, even though they are applicable.

Fix this by also loading Adwaita.css if the theme name is "Adwaita-dark"

https://bugzilla.gnome.org/show_bug.cgi?id=779266
2017-02-26 22:13:20 +00:00
Piotr Drąg
790465d5df Update Polish translation 2017-02-26 21:07:23 +01:00