Commit graph

19890 commits

Author SHA1 Message Date
Carlos Soriano
7b074dfb73 build: remove .builconfig 2017-03-10 20:33:33 +01:00
Carlos Soriano
cbba1e65d6 Adwaita.css: Remove unused padding:0 2017-03-10 17:11:29 +01:00
Carlos Soriano
5c340ba19d view-icon-ui: Remove row and column spacing
The default flowbox child provides some spacing already, not need to
make it bigger.
2017-03-10 17:10:56 +01:00
Carlos Soriano
9488453667 view-icon-item-ui: Allow maximum of 3 lines for file name
If not the vertical requirement per item is too big.
2017-03-10 17:10:26 +01:00
Carlos Soriano
06e393e8f6 icon-item-ui: Use middle ellipsization
Let's try with middle ellipsization, since it provides context on both
the start and the end of the name.
2017-03-10 17:09:50 +01:00
Carlos Soriano
3e30313102 container-max-width: Fix padding calculation
We were taking into account the child's padding for min and max size,
instead of the self widget.
2017-03-10 17:09:13 +01:00
Carlos Soriano
71ad9be5fe container-max-width: Increase default min & max width
So there is more room for a label
2017-03-10 16:17:00 +01:00
Carlos Soriano
08e6082974 view-icon-controller: Use event box for click handling
Either we expand the GtkFlowBox making the icons scarce around, or
we need to handle ourselves the mouse events with an event box on top
of it.

Ideally GtkFlowBox would expand but have a property to pack the
children. This will be possible in gtk4 when GtkContainer is an
interface and GtkFlowBox implements it, but being able to have an
overlay on top that will handle these clicks outside of the actual area
and also the rubber band selection.
2017-03-10 15:26:15 +01:00
Carlos Soriano
7ac81c87c8 view-icon-controller: Handle get_selection_for_file_transfer
We were not handling it properly, making trash and other operations to
fail.

This functions should be removed anyway. Probably if we don't need
tree view expanding in a future.
2017-03-10 15:26:15 +01:00
Carlos Soriano
1a1e367fd0 nautilus-view-icon: Rework selection and loading
Better performance, code design and fixes some issues.
2017-03-10 15:26:15 +01:00
Milo Casagrande
8eaea9080f Update Italian translation 2017-03-09 22:25:23 +00:00
Piotr Drąg
23b3698f33 Update Polish translation 2017-03-09 14:10:34 +01:00
Alexandru Pandelea
bb17f89256 general: use gtk_menu_popup_at_pointer
Since gtk_menu_popup is deprecated, use gtk_menu_popup_at_poiner instead.

https://bugzilla.gnome.org/show_bug.cgi?id=779775
2017-03-09 12:40:09 +02:00
Alexandru Pandelea
cff57aa144 Revert "use gtk_menu_popup_at_pointer"
This reverts commit eff346505b.
2017-03-09 12:34:15 +02:00
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