Commit graph

248 commits

Author SHA1 Message Date
Ernestas Kulik 04173f0f0a general: remove search provider service
It was to be removed in 39b4fc320b.

https://bugzilla.gnome.org/show_bug.cgi?id=776796
2017-01-04 17:37:02 +02:00
Lapo Calamandrei 8b7dbcdda8 icon: refresh the fullcolor app icon
It's blue now, there won't never be enough blue icons.
2016-12-31 19:41:22 +01:00
Jakub Steiner 191cde15cf icon: fix misrendering
- work around the issue in Inkscape. For more information, see
  https://bugs.launchpad.net/inkscape/+bug/1651436
2016-12-20 14:02:28 +01:00
Jakub Steiner b45e25df42 icon: updated app icon
Part of the Adwaita fullcolor refresh.

- 512x512px for highres
- less shine
- flatter
2016-12-15 12:40:26 +01:00
Piotr Drąg 5c213a6be6 Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=774288
2016-11-12 17:45:21 +01:00
Felipe Borges e1443f8d5c files-view, preferences: sync sort-directories-first with Gtk+
The sort-directories-first gsetting should be consistent
system-wise.

https://bugzilla.gnome.org/show_bug.cgi?id=750996
2016-11-07 16:13:43 +01:00
Ernestas Kulik 8c47f50ff2 general: quash some warnings
lineup-parameters: remove unused variable (fixed upstream)
bookmark: cast away const modifier in nautilus_bookmark_compare_with()
when using GLib macros
file-operations: used correct enum in a function call

https://bugzilla.gnome.org/show_bug.cgi?id=772586
2016-10-07 21:03:53 +03:00
Carlos Soriano 0abaab1c44 general: adjust uncrustify style
https://bugzilla.gnome.org/show_bug.cgi?id=770564
2016-09-06 15:41:06 +02:00
Dominique Leuenberger 2f0a9546b2 Fix compiler warning
The final return should not be reachable - but there is no way for
the compiler to know

Just return 0 as last fallback

https://bugzilla.gnome.org/show_bug.cgi?id=770652
2016-09-01 09:42:32 +02:00
Carlos Soriano 4cafccd828 general: add uncrustify script
The current style of nautilus is rather poor and mixes at least 3
different code styles.

Specific issues that affect the most common contributors to Nautilus
performance are:
- tabs for multiline alignment.
- mix of tabs and spaces.
- errors on no braced one liners conditionals.
- errors on non braced case statements with variable declarations.

So I would say requirements for the style is to address the previous
issues and also be a well known style. I don't want new contributors
to see a new style completely different from C books authors.

So far, I found Allman (aka BSD) style which seems the choice of most C
books authors as far as I can see on internet, and it address the
previous mentioned issues.

Since uncrustify doesn't support the aligment of parameters we do for
multiple stars "**", we also added a script made by Sebastian Wilmet
to align those.

As a matter of practicity I'm going to convert all Nautilus style to
this one, and if the next person who contributes most on Nautilus has
a different choice, please feel free to change it to whatever makes your
performance and your contributors performance the best.

https://bugzilla.gnome.org/show_bug.cgi?id=770564
2016-08-29 18:37:10 +02:00
Razvan Chitu 9d8de33448 general: add a setting for the default compression format
The compression operation allows multiple formats to be selected. It would be
good to store the last choice of the user in order to select it for future
operations.

https://bugzilla.gnome.org/show_bug.cgi?id=770199
2016-08-23 00:37:17 +03:00
Razvan Chitu 51dbfc9778 general: add preference for automatic decompression of archives
Make extraction the default action for activating selected archives and add an
option to open them instead of extracting.

https://bugzilla.gnome.org/show_bug.cgi?id=768646
2016-08-23 00:36:56 +03:00
Ernestas Kulik 5c352daa98 data/icons/Makefile.am: include 256x256 icon
The Automake file for icons was missing the 256x256 icon. This commit
includes it in the data file list.

https://bugzilla.gnome.org/show_bug.cgi?id=770145
2016-08-19 20:48:06 +03:00
Carlos Soriano 7a9eacc0af general: move the Nautilus icon to the source tree
Instead of using a themed icon.
This is necessary for flatpak Nautilus properly.

Patch made mostly by Mathieu Bridon and help of Patrick Griffis.
Thanks a lot!
2016-08-19 00:08:46 +02:00
Carlos Soriano 721184d135 Revert "general: move the Nautilus icon to the source tree"
This reverts commit eff30bcf53.
2016-08-18 22:24:52 +02:00
Carlos Soriano eff30bcf53 general: move the Nautilus icon to the source tree
Instead of using a themed icon.
This is necessary for flatpak Nautilus properly.
2016-08-18 22:20:30 +02:00
Piotr Drąg 795fe838df Add translator comments to .desktop files 2016-08-03 12:35:46 +02:00
Ernestas Kulik fc2139c117 Port from intltool
gettext has been continuously improving, up to a point where intltool
can be deprecated in favor of it. This commit ports the project files to
use upstream gettext.

https://bugzilla.gnome.org/show_bug.cgi?id=769362
2016-08-03 10:42:40 +03:00
Carlos Soriano a93e1a5014 desktop: add command line options for override gsettings
Sometimes we want to override the show-desktop-icons gsettings, as we
were doing before splitting the desktop.

Wrongly I assumed that since it's a different binary, once can simply
run it or not, but of course that was an oversimplification, and forgot
all what I needed to do in order to support all the cases for the
desktop handling.

This patch adds the missing command line options we had, --force-desktop
and --no-desktop, and also adds the --force-desktop to the classic
desktop file, since we needed to enable the classic mode.

https://bugzilla.gnome.org/show_bug.cgi?id=765159
2016-04-22 15:50:35 +02:00
Carlos Soriano 9bb4ff0275 desktop: add a compile flag for building it
So we can build nautilus without desktop support and the other way
around.

https://bugzilla.gnome.org/show_bug.cgi?id=712620
2016-04-19 16:51:15 +02:00
Carlos Soriano b80390d0c4 desktop: move to a different binary
We wanted to do this for long time. This will allow to handle the
desktop process in a different binary.
The ultimate goal is to make the desktop code completely split from
nautilus code.

This is the first and minimal step towards that goal.

In this patch we create a desktop application separated from nautilus
application, and remove the desktop handling in nautilus application.

https://bugzilla.gnome.org/show_bug.cgi?id=712620
2016-04-14 10:35:14 +02:00
Carlos Soriano dd5f9d44bc gschema: Fix docs of thumbnail size 2016-02-24 11:15:02 +01:00
Carlos Soriano fd21c947cc general: add another zoom level
In icon view, add a smaller zoom level to be able for dense views,
and increase the default padding to allow the labels enough space.

Now levels are 48px, 64px, 96px and 128px for icon view, instead of
only 64px, 96px and 128px, but with the increased padding the 64px and
48px are useful.

List view also gains a bigger level, and they become 16px, 32px, 48px,
64px.

Also, adjust the label max width to be larger, but inside the icon
itself. This fixes the label not taking advantage of all the width the
icon provides, and also a few cases where icons were misaligned.
2016-02-24 11:15:02 +01:00
Carlos Soriano 27c62f297e preferences: rework preferences window
With designers guidance, rework the preferences window to a better state.
Also, do few improvement on the way, like converting it to a GtkWindow.
2016-02-12 18:19:38 +01:00
Carlos Soriano a88310dd21 search: use a separate view setting for search
So we can select what type of view do we want for search independently
of what we normally use.

This is needed since we default to switch to list view for search, but
we would like to allow users to select a different view. However,
instead of adding a preference in the preference dialog, we can do it
more straightforward and change the setting when we are in search.

On the way, rework all the enums and views id for a saner code...
2016-02-12 17:52:24 +01:00
Piotr Drąg 6a181f48a6 Small improvements to translatable strings 2016-02-07 13:22:38 +01:00
Carlos Soriano a256967e55 search: rename recursive to local and remote
For clarity.
2016-02-03 16:33:55 +01:00
Carlos Soriano 52f491671d search-popover: use gsettings for last/modified filter type
We weren't syncing the last used/ last modified setting in the search
popover when changed location, which means the query didn't get the
last used user choice.
We don't want however to listen to a gsetting key and change every
ongoing search, so instead what we do is get the setting for the
initial creation of a search, and then every user change will set
the gsetting value, but will only affect the next created searches, not
the ongoing ones.
2016-02-02 22:22:38 +01:00
Georges Basile Stavracas Neto 80f8cba489 settings: add setting to track remote search on remote locations
Remote locations by default don't handle recursive search, since
it has high costs associated. We can't, however, neglect the ability
to search recursively on those folders, nor share the same setting
with common folders too.

To fix that, add a new setting called "enable-remote-recursive-search"
which will be used by the next commits to properly implement recursive
search for remote locations.
2016-02-02 20:43:04 +01:00
Richard Hughes 26de383e38 Add a missing tag to the AppData file 2016-01-25 16:38:14 +00:00
Richard Hughes 042e7a1edd data: Add GNOME project group to the AppData file 2016-01-22 14:54:27 +00:00
Richard Hughes ba968d806b data: Upgrade the AppData file to the 0.7+ version and add some missing data 2016-01-22 14:31:28 +00:00
Razvan Chitu a3a7ac81b7 files-view: add create link menu item for selected files
The menu item for this feature was removed in previous versions of nautilus.
A context menu item for creating links from copied files was added, but some
users prefered to create links from selected files.

Since this is demanded, implement the menu action for it and use the gsetting
added in the previous commits.

https://bugzilla.gnome.org/show_bug.cgi?id=745575
2015-12-24 16:06:48 +01:00
Razvan Chitu 0eef08686f files-view: add optional menu item for creating links
The menu item for creating links was removed in previous versions of nautilus
since it exposes a concept of the file system that is not really clear.
However, we don't have a working solution yet for the use cases that creating
links is a workaround, so we didn't remove the functionality altogether.

We were allowing link creation with a shortcut and with the middle button while
performing a drag and drop operation. However, some users would need to use a
context menu action instead of a drag and drop operation, which usually is less
convenient and prone to errors.

Since this is demanded, implement the menu action for it and add a gsetting
preference to show it in the context menu for those users who like to have it
there.

Also the new implementation uses the code that is already used for other
operations, improving the implementation compared to the previous one.

In an upcoming patch we add the UI for the preference dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=745575
2015-12-22 15:40:09 +01:00
Carlos Soriano 9d3e07c6d4 gschema: move to /data
To be more clear and follow a similar structure than gedit.

Also remove tabs sneakily...
2015-12-16 13:00:19 +01:00
Cosimo Cecchi 3896e27b3d Add kudos to appdata file
As requested by Richard Hughes.
2015-12-07 14:11:54 -08:00
Carlos Soriano a44b4996fa desktop file: specify new window action
So Gnome Shell is aware of it and can activate it.
Until now Gnome Shell was guessing it was able to open a new
window given the app.new-window action. However, what Gnome Shell
does in this case is just call activate of the application, which
is not the "new-window" action for nautilus, and instead only presents
the current window.

One can argue that Gnome Shell should not try to guess the available
actions to, after that, instead of using them, just activate the
application.

https://bugzilla.gnome.org/show_bug.cgi?id=756370
2015-11-12 22:51:46 +01:00
Carlos Soriano 3946214747 remove leftovers of connect to server 2015-08-21 11:34:52 +02:00
Cosimo Cecchi 5951fadbef Remove saved search mimetype association
It's not used anymore.
2015-01-24 02:06:03 +01:00
Richard Hughes 6253b01ba8 data: Rename the AppData file after the desktop ID change
The filename has to match the ID name for various optimisations.
2014-08-01 17:26:54 +01:00
Cosimo Cecchi 3c5eb05d41 data: remove obsolete files
I can't even understand what these were useful for.
2014-06-02 17:40:07 -07:00
Cosimo Cecchi 2b16d1c2f5 data: rename desktop file name in appdata XML 2014-04-30 18:25:19 +02:00
Cosimo Cecchi 39b4fc320b search-provider: don't own a separate bus name
This is not needed anymore, now what we're fully dbus activatable.
2014-04-30 11:08:26 +02:00
Cosimo Cecchi a5617016d3 application: make DBusActivatable 2014-04-30 11:08:26 +02:00
Bogdan Petcu 278d024666 data: remove the OnlyShowIn line
These days, Nautilus is just an application, so don't forcefully limit
our visibility to GNOME/Unity.

https://bugzilla.gnome.org/show_bug.cgi?id=721833
2014-02-17 12:17:57 -08:00
Daniel Mustieles e314fbcc99 Updated FSF's address 2014-01-31 14:13:48 +01:00
Cosimo Cecchi 16b1cfb967 appdata: remove screenshot for now
The one that was used is tiny and ugly. Remove it while we find a proper
solution to keep screenshots consistent and up to date.

https://bugzilla.gnome.org/show_bug.cgi?id=722691
2014-01-21 18:22:34 -08:00
Daniel Mustieles ab1a589898 Added AppData file 2014-01-21 14:09:08 +01:00
Elad Alfassa cf65e25acd Fix .desktop file categories so that nautilus will show up in gnome-software
gnome-software uses the desktop file categories to sort the applications
it shows.

This commit fixes the categories according to the freedesktop spec,
so that nautilus will appear in the correct category.

For more information:
http://standards.freedesktop.org/menu-spec/latest/apa.html
http://standards.freedesktop.org/menu-spec/latest/apas02.html
2013-09-03 13:19:57 +03:00
Marco Trevisan (Treviño) 49115b8526 NautilusFreedesktopDBus: add public setter for OpenLocations
https://bugzilla.gnome.org/show_bug.cgi?id=694266
2013-03-04 10:53:25 +01:00