Commit graph

374 commits

Author SHA1 Message Date
Ernestas Kulik 74b0a69b6e global-preferences: remove thumbnail-size setting
As the setting can only be changed manually (and the assumption is that
no one does that), it makes sense to not expose it and always use the
default.
2018-01-05 15:08:06 +02:00
Ernestas Kulik 983892a656 build: general cleanups
This commit does the following:
  * Canonicalize the style:
    * Use two-space indentations.
    * Un-Autotools-ify option names.
    * Don’t align arguments, simply increase indentation.
    * Don’t add a space before opening parenthesis in calls.
  * Remove unused variables.
  * Remove unused dependencies.
  * Remove config.h.meson.
  * Optimize dependencies.
  * Use disabler functionality for libselinux dependency, to save lines.
2018-01-02 12:51:32 +02:00
Ernestas Kulik 74dd9c9f72 general: remove desktop support 2018-01-02 12:51:32 +02:00
Alexandru Pandelea a9c446afe2 Add favorite files
Add option to make files Favorite, by either toggling a star in the
list view, or from the context menu.

https://bugzilla.gnome.org/show_bug.cgi?id=786039
2017-11-05 20:09:00 +01:00
Carlos Soriano 9ad049def7 Merge branch 'alexpandelea/issue65' into 'master'
remove setting fts from preference dialog

See merge request GNOME/nautilus!14
2017-11-03 16:55:54 +00:00
António Fernandes 046e9e8529 gschema: clarify/simplify some strings in the gconf schemas
Based on old pending patch by Christian Neumair on the following bug:

https://bugzilla.gnome.org/show_bug.cgi?id=309879
2017-11-02 15:57:49 +00:00
Alexandru Pandelea d33960cd1c remove setting fts from preference dialog
Instead of setting whether the search should be full text search or
not from the preference dialog, make the permanent setting from the
search popover.

https://gitlab.gnome.org/GNOME/nautilus/issues/65
2017-10-21 19:19:38 +03:00
Anders Jonsson ff5a93f608 Fix typo
(overriden -> overridden)

https://bugzilla.gnome.org/show_bug.cgi?id=786965
2017-10-14 15:13:10 +02:00
Ernestas Kulik a762659d6c build: add tests for data files
This will help avoid potentially breaking pre-release changes in the
future.

https://bugzilla.gnome.org/show_bug.cgi?id=786104
2017-08-11 14:13:07 +03:00
Jeremy Bicha 501ece61be general: Remove spaces from .desktop MimeType list
https://bugzilla.gnome.org/show_bug.cgi?id=786079
2017-08-09 20:56:49 -04:00
Carlos Soriano 1bdc404245 general: Add mime type support for archives
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
2017-08-09 22:07:59 +02:00
Carlos Soriano 8005c8abe1 nautilus.desktop: Remove saved-search leftovers
It was removed long ago

https://bugzilla.gnome.org/show_bug.cgi?id=771424
2017-08-09 20:27:07 +02:00
Alexandru Pandelea 11cbe223a5 implement fts
The search text can now also match the contents of a file, besides
the file name.

This is done with the help of a Tracker query, using fts:match, which
matces both the contents of a file and the filename.

The user also has the option to choose whether to use or not the
Full Text Search. This can be done with a preference, which represents
the default option when opening a new tab/window or from the search
popover.

https://bugzilla.gnome.org/show_bug.cgi?id=775961
2017-06-22 16:49:41 +03:00
Jeremy Bicha 9a0c5cdf12 autostart: Set NoDisplay=true
This hides the autostart from Ubuntu's Startup Applications
app since we don't want users to easily disable this without
understanding why it's there.

https://bugzilla.gnome.org/show_bug.cgi?id=781874
2017-04-28 08:16:08 -04:00
Ernestas Kulik 857a90c29b autotools: kill it
We’re moving to Meson this cycle, so this is losing some deadweight.

https://bugzilla.gnome.org/show_bug.cgi?id=780366
2017-03-22 17:18:29 +02: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
Ernestas Kulik ed5652c89a general: add support for Meson
Since it’s 2017 already, Nautilus should use a build system that doesn’t
take longer to set up the build than it takes to actually build. An
observed build time using Ninja of roughly one-fifth of what it took
Autotools is more than reason enough to add support for Meson. Along
with that, this commit adds a convenience script to generate a tarball
for releases, since we use libgd as a submodule and Meson does not
handle source distributions.

https://bugzilla.gnome.org/show_bug.cgi?id=778167
2017-02-24 00:24:27 +02:00
Ernestas Kulik 728300331d general: drop git.mk
This commit removes git.mk and adds hand-written gitignore files. That
is needed to ignore build/, which is the directory of choice for Meson
builds.

https://bugzilla.gnome.org/show_bug.cgi?id=778167
2017-02-24 00:24:27 +02:00
Piotr Drąg 30d6f75def gschema: fixes to new translatable strings 2017-02-15 01:54:55 +01:00
Carlos Soriano 1e5eba1d7c view-icon: add new zoom level
With the flow box we can finally add more zoom levels. Add a new larger
one so the user can view larger content.
2017-02-15 01:27:41 +01:00
Carlos Soriano 0a65897c43 gschema: make list view default when searching
Not sure when this changed, but it's a mistake since we always wanted
list view when searching as default.

Let's fix it.
2017-02-15 01:27:41 +01:00
Carlos Soriano 1d166b5e3b views: add flow box based view
After all the rework on the window slots, views, and splitting
the desktop, we are finally able to add a flow box based view for
Nautilus.

The GtkFlowBox is still not performance enough to be added as the
default view, not even as an alternative in the user preferences.
However, since the work on this is one of the biggest for Nautilus and
gtk+, the decision was to merge a prototype in order to open the
development, testing and iteration of the code in order to make it
good enough for, in a not so far away future, have it as the main view.

The work merged is not finished, and is an experiment and prototype in
more things than just the GtkFlowBox, we want to create a single shared
model with a complete MVC pattern between all the views. This will need
quite a few iterations to get it right, but once is done right, I hope
it's going to be good enough as an example to any application that wants
multiple types of views with the new widgets of gtk+.

This patch adds the GtkFlowBox view to be optionally used under a
gsetting called use-experimental-views, turned off by default.
2017-02-15 01:27:41 +01:00
Ernestas Kulik ecb7f992f5 Revert "general: use Autoconf to perform substitution"
This reverts commit 48cd7072a1.
2017-01-05 00:04:43 +02:00
Ernestas Kulik db8e84d7e3 data/Makefile.am: fix up indentation
https://bugzilla.gnome.org/show_bug.cgi?id=776796
2017-01-04 17:37:02 +02:00
Ernestas Kulik 48cd7072a1 general: use Autoconf to perform substitution
Variables in service files are substituted using sed, which takes more
space than a couple of lines in configure.ac.

https://bugzilla.gnome.org/show_bug.cgi?id=776796
2017-01-04 17:37:02 +02:00
Ernestas Kulik 3868b4cc87 general: remove Bug Buddy metadata from desktop files
Bug Buddy is no longer actively maintained and probably even less
actively used. ABRT and Apport seem to not parse these things as well.

https://bugzilla.gnome.org/show_bug.cgi?id=776796
2017-01-04 17:37:02 +02:00
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
Marco Trevisan (Treviño) ce4255cf15 NautilusApplication: add --new-window commandline to force the old behavior
Calling nautilus with -w or --new-window always opens a new window.
Desktop file updated, to use this parameter as default.

https://bugzilla.gnome.org/show_bug.cgi?id=694034
2013-03-04 10:50:35 +01:00
Cosimo Cecchi b3434e8bec data: add nautilus-classic.desktop
This is needed to have nautilus autostarted with desktop icons in the
classic session.
2013-02-06 13:37:38 -05:00
Matthias Clasen 0ee7f3b67e Add notification hint to the destop file
This tells gnome-control-center to show nautilus in the search
panel.
See https://live.gnome.org/GnomeGoals/NotificationSource

https://bugzilla.gnome.org/show_bug.cgi?id=690995
2013-01-14 10:14:47 -05:00
Cosimo Cecchi e6b70a2cb8 shell-provider: use the right signature for LaunchSearch() 2012-12-10 16:52:36 -05:00
Cosimo Cecchi 9f90af0138 shell-provider: don't use a separate binary
Since NautilusApplication is a service, we can now handle searches and
windows coming and going indipendently just fine.

This also allows us to launch a search directly from the search provider
very easily.
2012-12-06 16:24:35 -05:00
Cosimo Cecchi 0956d7dfc3 search-provider: use org.gnome.Shell.SearchProvider2 interface 2012-12-06 16:24:35 -05:00
Matthias Clasen 5e5095c84b Add keywords to the desktop file
This makes gnome-shell search more pleasant and useful.

https://bugzilla.gnome.org/show_bug.cgi?id=687000
2012-10-27 19:35:39 -04:00
Cosimo Cecchi 1f9aea29b2 build: fix distcheck 2012-09-17 20:32:47 -04:00
William Jon McCann 0ab374ea0b Use git.mk 2012-09-17 18:07:25 -04:00
William Jon McCann 9480b1b0f1 Remove obsolete app icons 2012-09-11 12:04:54 -04:00
Cosimo Cecchi 6039b1b949 shell-provider: forgotten file 2012-09-06 11:13:38 -04:00
Cosimo Cecchi 8e491b6492 shell-provider: add a first skeleton of the shell search provider
It's not wired in yet.
2012-09-06 09:49:08 -04:00
William Jon McCann cbca1bfa97 Add back a legacy nautilus-connect-server command
In order to ease the transition.

https://bugzilla.gnome.org/show_bug.cgi?id=682637
2012-09-02 19:34:24 -04:00
William Jon McCann 1e10200883 Change name of action to Run Software instead of Autorun Prompt 2012-08-15 09:39:24 -04:00
Cosimo Cecchi f04f79a424 build: update gitignore 2012-01-16 10:09:03 -05:00
Cosimo Cecchi 2de1c3a4a0 fdo-dbus: dist the DBus interface XML file
Fixes distcheck
2011-12-19 11:44:19 +01:00
Federico Mena Quintero f01e2e9b5f Add an org.freedesktop.FileManager1.service file for DBus
Even though this registers a service for a freedesktop name with a Gnome-specific
program (Nautilus), we'll just do this for now.

Later we can discuss in the DBus list how to launch services with generic
interfaces, but specific implementations for each desktop environment.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2011-12-14 12:16:09 -06:00
Akshay Gupta a3c387089e Add declaration for the org.freedesktop.FileManager1 DBus interface
This is not in dbus-interfaces.xml as that one has a different
namespace (org.gnome.Nautilus), and that makes the generated
code from gdbus-codegen really ugly.  By keeping a separate
file for this interface, we can get pretty generated code.
2011-12-06 17:47:36 -06:00
György Balló 5208c1c1a2 Autostart only in GNOME and Unity
Don't show desktop icons in other DEs, e.g Xfce and KDE uses it's own
desktop implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=661942
2011-10-18 12:16:22 -04:00
mads@kiilerich.com ad5b834df3 nautilus-autorun-software: handle mime type x-content/unix-software only
This is a consequence of the fix for
https://bugs.freedesktop.org/show_bug.cgi?id=20562 .

This undoes the part of cffb9cf702 that hardcodes that media with
x-content/win32-software are silently ignored, and thus improves on the
fix for #524270.

Wine or something could now provide a handler for win32-software.

https://bugzilla.gnome.org/show_bug.cgi?id=632510
2011-09-07 16:08:32 -04:00
Michael Terry 637289f745 Add Unity to OnlyShowIn
https://bugzilla.gnome.org/show_bug.cgi?id=653657
2011-09-07 15:12:46 -04:00
Cosimo Cecchi cbadf49a82 css: remove custom CSS stylesheet
Our custom CSS stylesheet is actually very tied to Adwaita. We don't
want to force this style to other GTK+ themes, so the theming
information has been moved to Adwaita itself.
2011-09-07 15:04:47 -04:00
Cosimo Cecchi ca7f81e2e9 icon-container: use the "rubberband" style class for the selection item
Instead of using a custom style property.
2011-09-07 14:55:16 -04:00
Cosimo Cecchi 752ab2718b css: cleanup the CSS file a bit 2011-06-13 11:43:09 -04:00
Cosimo Cecchi fc3d9af1df autostart: add an autostart desktop file
It will autostart nautilus automatically based on the GSettings key
org.gnome.desktop.background show-desktop-icons.

https://bugzilla.gnome.org/show_bug.cgi?id=647267
2011-05-24 14:46:10 -04:00
Cosimo Cecchi 636c06bdc3 css: update for new GtkCssParser 2011-05-24 14:27:47 -04:00
Alexander Larsson 9669b91d70 Update all .gitignore files 2011-05-04 16:48:34 +02:00
Alexander Larsson 7c27c4ce15 Convert the nautilus dbus support to use gdbus-codegen
This required latest glib code to work.
2011-05-04 16:41:17 +02:00
Cosimo Cecchi a21e3e2194 places-sidebar: use per-side border widths for the sidebar frames
This adds a border to the sidebar.
2011-04-27 10:03:09 -04:00
Cosimo Cecchi aaaee6de75 icon-container: rework the colors used for additional text labels
We now use the insensitive color for the normal state, and make them
follow the filename color for selected states.

This also fixes https://bugzilla.gnome.org/show_bug.cgi?id=319982,
tested with the HighContrast theme.
2011-04-04 22:43:52 -04:00
Cosimo Cecchi 1f31ab18d9 css: apply a soft gradient to the floating bar. 2011-03-21 16:57:01 -04:00
Cosimo Cecchi c863defffa query-editor: theme the query editor like the other cluebars 2011-03-21 10:49:46 -04:00
Cosimo Cecchi 9c65f3b667 window: use GTK_STYLE_CLASS_SIDEBAR for the nautilus sidebar 2011-03-17 17:36:33 -04:00
Cosimo Cecchi 633929a88b css: theme the search bar and the cluebar with the proper colors 2011-03-15 14:34:12 -04:00
Cosimo Cecchi 45945cd457 window: add back the resize grip
At the same time, add a bit more padding to the floating bar label, so
that it won't be covered by the grip.
Remove some margin at the bottom of the window too.
2011-03-15 10:37:43 -04:00
Cosimo Cecchi 275744644c floating-bar: don't use a yellow color for the floating bar
Make it also a bit shorter.
2011-03-15 10:13:00 -04:00
Cosimo Cecchi 3800f7c795 css: make the backgorund of the floating bar button transparent 2011-03-08 21:29:03 -05:00
Cosimo Cecchi f84f6578c5 css: don't put toolbar style here
It's in gnome-themes-standard until we found a more generic way of
expressing it.
2011-02-28 11:19:18 -05:00
Cosimo Cecchi e939b36481 desktop-file: remove obsolete x-directory/* mimetypes
They got deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=612694
2011-02-25 10:38:16 -05:00
Cosimo Cecchi 6c9cfec6cc places-sidebar: use the widget type directly instead of defining a class 2011-02-24 20:59:52 -05:00
Cosimo Cecchi 415aef2af3 dbus-manager: install a DBus service file 2011-02-22 23:37:44 -05:00
Cosimo Cecchi 5a21e22cb0 css: theme things a bit more 2011-02-17 11:25:17 -05:00
Cosimo Cecchi da3905c073 sq look like 2011-02-17 11:25:16 -05:00
Cosimo Cecchi db0c274ffa floating-bar: make it more similar to the mockups 2011-02-17 11:25:16 -05:00
Cosimo Cecchi 79c9f9e854 css: style the floating bar according to the mockups 2011-02-17 11:25:15 -05:00
William Jon McCann eb6a4a8eae Use Files as launcher name
https://bugzilla.gnome.org/show_bug.cgi?id=641256
2011-02-02 10:56:58 -05:00
Cosimo Cecchi 35bf6c86b5 Clean up our desktop file (#640687)
- remove the 'System' category
- remove autostart interactions with gnome-session
2011-01-27 12:27:16 -05:00
Cosimo Cecchi 207a2499a3 css: move the style properties from adwaita here 2011-01-20 12:38:46 +01:00
Cosimo Cecchi a22f2501c8 desktop-files: cleanup desktop files installed by nautilus
In the 3.0 world, nautilus doesn't have to install a hundred of desktop
files, as it's just a regular application.
Tweak the default desktop file to make it suitable for being the only
one, and remove the others.
2011-01-11 18:48:48 +01:00
Colin Walters b2d4ac4020 nautilus.desktop: Remove NoDisplay=true
For GNOME 3, File Manager is moving towards being an application,
and therefore, we want it to show up in the appliactions list.
2010-12-17 13:44:22 -05:00
Cosimo Cecchi dad5d12770 theming: add a CSS file for nautilus, and initialize it at startup 2010-12-15 19:35:38 +01:00
Cosimo Cecchi 36831040af file-management-properties: remove the properties binary
We are moving the Media preferences to a separate control-center panel,
as they're desktop-wide settings. The actual autorun/automount will be
handled by gnome-settings-daemon.

The result is that we don't need to install our old gnome-control-center
capplet anymore, so we can remove all this code.
2010-11-23 18:03:20 +01:00
Cosimo Cecchi 87469500d9 [data] remove patterns 2010-07-25 19:36:40 +02:00
Cosimo Cecchi b5dd251560 [data] remove useless browser file 2010-07-25 19:36:33 +02:00
Frédéric Péters 1dd60a63b0 Remove deprecated Encoding key from desktop files 2009-10-07 16:15:22 +02:00
Cosimo Cecchi ec4ce1431b Fix distcheck 2009-05-05 02:48:21 +02:00
Cosimo Cecchi 06dda37076 Move desktop files into data/
Move desktop files into data/ subdirectory, so that they not clutter
the top source dir.
2009-04-23 14:29:21 +02:00
Alexander Larsson bad7749c6c Add .gitignore files 2009-04-17 14:30:05 +02:00
Cosimo Cecchi 6ea5ee4b32 Bring icon handling to the 21th century. Add an emblem-note icon, this is
2009-01-28  Cosimo Cecchi  <cosimoc@gnome.org>

	* data/icons/*:
	Bring icon handling to the 21th century.
	Add an emblem-note icon, this is copied from g-i-t "stock_note"
	icon right now, but we might change this later.
	* src/nautilus-application.c: (nautilus_application_init):
	add a lookup path for custom themable icons.

	This also fixes bug #569407. Thanks to Lapo Calamandrei for
	the tips on icon naming.

svn path=/trunk/; revision=14891
2009-01-28 11:49:20 +00:00
David Zeuthen d99071af2f Require gio 2.17.5 for g_mount_guess_content_type().
2008-07-29  David Zeuthen  <davidz@redhat.com>

        * configure.in:
        Require gio 2.17.5 for g_mount_guess_content_type().

        * data/nautilus.xml.in:
        Delete x-content/* definitions; these are in shared-mime-info 0.50
        and greater.

        * libnautilus-private/nautilus-global-preferences.c:
        * libnautilus-private/nautilus-global-preferences.h:
        * libnautilus-private/apps_nautilus_preferences.schemas.in:
        Remove /apps/nautilus/preferences/media_autorun_x_content_ask
        and add /apps/nautilus/preferences/media_autorun_x_content_start_app
        instead since we're inverting the logic. Now, by default (except
        for x-content/software for which we're shipping an app ourselves)
        we default to asking the user what action to take.

        * libnautilus-private/nautilus-autorun.c:
        * libnautilus-private/nautilus-autorun.h:
        Use g_mount_guess_content_type() instead of using our own
        sniffing code. Also provide an option for the user to select
        an application to use (#532474).

        * src/nautilus-file-management-properties.c:
        Catch up with API changes to nautilus_autorun_prepare_combo_box()


svn path=/trunk/; revision=14425
2008-07-29 21:40:22 +00:00
Alexander Larsson dcd068fecd Add GMount attribute to NautilusFile. (not implemented yet)
2008-01-17  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-file.[ch]:
        * libnautilus-private/nautilus-file-attributes.h:
        * libnautilus-private/nautilus-file-private.h:
	Add GMount attribute to NautilusFile.
	(not implemented yet)
	
        * Makefile.am:
        * configure.in:
        * data/nautilus.xml.in:
        * libnautilus-private/apps_nautilus_preferences.schemas.in:
        * libnautilus-private/nautilus-autorun.[ch]:
        * libnautilus-private/nautilus-global-preferences.c:
        * libnautilus-private/nautilus-global-preferences.h:
        * libnautilus-private/nautilus-program-choosing.c:
        * src/Makefile.am:
        * src/file-manager/fm-directory-view.c:
        * src/nautilus-application.c:
        * src/nautilus-autorun-software.c: Added.
        * src/nautilus-file-management-properties.c:
        * src/nautilus-file-management-properties.glade:
        * src/nautilus-window-manage-views.c:
        * src/nautilus-x-content-bar.[ch]: Added.
	More work on autorun and x-content types from David Zeuthen


svn path=/trunk/; revision=13616
2008-01-17 13:45:27 +00:00
Alexander Larsson 2761f4f92f Add check_trash arg to nautilus_file_operations_unmount_mount. Add
2008-01-14  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-file-operations.[ch]:
	Add check_trash arg to nautilus_file_operations_unmount_mount.
	Add nautilus_file_operations_mount_volume().
	
        * libnautilus-private/nautilus-desktop-icon-file.c:
        * src/nautilus-places-sidebar.c:
        * src/file-manager/fm-tree-view.c:
	Update to API change.
	
        * data/nautilus.xml.in:
        * libnautilus-private/Makefile.am:
        * libnautilus-private/apps_nautilus_preferences.schemas.in:
        * libnautilus-private/nautilus-autorun.[ch]: Added.
        * libnautilus-private/nautilus-global-preferences.[ch]:
        * src/nautilus-application.c:
        * src/nautilus-file-management-properties.c:
        * src/nautilus-file-management-properties.glade:
	Add new autorun setup (by David Zeuthen)


svn path=/trunk/; revision=13594
2008-01-14 13:17:36 +00:00
Luca Ferretti 13c47883b4 Run gtk-update-icon-cache one one when exiting from icons directory. Not
2008-01-10  Luca Ferretti  <elle.uca@libero.it>

	* data/icons/16x16/apps/Makefile.am:
	* data/icons/22x22/apps/Makefile.am:
	* data/icons/24x24/apps/Makefile.am:
	* data/icons/32x32/apps/Makefile.am:
	* data/icons/scalable/apps/Makefile.am:
	Run gtk-update-icon-cache one one when exiting from
	icons directory. Not needed to repeat it 5 times.


svn path=/trunk/; revision=13584
2008-01-10 14:06:42 +00:00
Luca Ferretti e77fbdc213 Move "nautilus" named icon from icon/appicon to data/icons matching the
2008-01-10  Luca Ferretti  <elle.uca@libero.it>

	* configure.in:
	* data/Makefile.am:
	* data/icons/*:
	* icons/Makefile.am:
	* icons/appicon/*:
	Move "nautilus" named icon from icon/appicon to data/icons
	matching the directory and naming structure of other GNOME
	projects.

	This will also help if we'll need to add custom themeable
	icons.


svn path=/trunk/; revision=13583
2008-01-10 13:50:53 +00:00
Christian Persch 8e00ed171c Update svn:ignore and remove .cvsignore files
svn path=/trunk/; revision=12678
2006-12-31 17:15:07 +00:00
Martin Wehner be576f0b25 Remove unused pattern file. (#337353)
2006-04-07  Martin Wehner  <martin.wehner@gmail.com>

	* data/patterns/.striated.png:
	* data/patterns/Makefile.am:
	Remove unused pattern file. (#337353)
2006-04-06 22:59:49 +00:00
Alexander Larsson 671e4bdaa4 --- Merged the nautilus-search2 branch --- 2005-12-12 16:59:19 +00:00
Christian Neumair e3213b06b3 Don't mark strings for translation we get from gnome-icon-theme. Fixes
2005-10-18  Christian Neumair  <chris@gnome-de.org>

	* data/browser.xml: Don't mark strings for translation we get from
	gnome-icon-theme. Fixes #114919.
2005-10-18 15:21:29 +00:00
Christian Neumair 3c6400db94 Add translator comments. Fixes #46338, #46339, #46341. Change "Show Hidden
2005-05-11  Christian Neumair  <chris@gnome-de.org>

	* libnautilus-private/nautilus-file-utilities.c:
	(nautilus_get_vfs_method_display_name):
	* data/browser.xml:
	* src/file-manager/fm-directory-view.c:
	Add translator comments. Fixes #46338, #46339, #46341.
	Change "Show Hidden Files" tooltip to infinitive
	construction. Fixes #46337.
2005-05-11 21:30:39 +00:00
Alexander Larsson 9144994015 Remove old files.
2005-03-01  Alexander Larsson  <alexl@redhat.com>

	* data/applications.desktop.in:
	* data/favorites.desktop.in:
	Remove old files.

	* docs/Makefile.am (EXTRA_DIST):
	Remove nautilus-context-menus.txt from makefile

2005-03-01  Alexander Larsson  <alexl@redhat.com>

	* POTFILES.in:
	Remove old files
2005-03-01 09:39:40 +00:00
Alexander Larsson 00858aa133 Enable startup notification.
2005-02-14  Alexander Larsson  <alexl@redhat.com>

	* data/applications.desktop.in:
	* data/favorites.desktop.in:
	* src/network-scheme.desktop.in:
	* nautilus-computer.desktop.in:
	* nautilus-folder-handler.desktop.in:
	* nautilus-home.desktop.in:
	* nautilus.desktop.in:
	Enable startup notification.

	* src/nautilus-application.c:
	* src/nautilus-application.h:
	* src/nautilus-bookmarks-window.c:
	* src/nautilus-connect-server-dialog-nonmain.c:
	* src/nautilus-location-bar.c:
	* src/nautilus-main.c:
	* src/nautilus-navigation-window-menus.c:
	* src/nautilus-shell-interface.idl:
	* src/nautilus-shell.c:
	* src/nautilus-window-manage-views.c:
	* src/nautilus-window-private.h:
	* src/nautilus-window.c:
	Handle startup notification across corba activation.
	Patch from Elijah Newren <newren@gmail.com>
2005-02-14 10:59:23 +00:00
Martin Wehner 208667333e Remove unused file.
2005-02-05  Martin Wehner  <martin.wehner@epost.de>

	* data/Makefile.am:
	* data/static_bookmarks.xml:
	Remove unused file.
2005-02-05 01:42:45 +00:00
Alexander Larsson 4459a08b7a Kill start-here.
2004-07-16  Alexander Larsson  <alexl@redhat.com>

	* data/Makefile.am:
	* data/preferences.desktop.in:
	* data/serverconfig.desktop.in:
	* data/serverconfig.directory.in:
	* data/starthere-link.desktop.in:
	* data/starthere.desktop.in:
	* data/starthere.directory.in:
	* data/sysconfig.desktop.in:
	* data/sysconfig.directory.in:
	* src/nautilus-application.c: (nautilus_application_startup),
	(desktop_changed_callback):
	* src/nautilus-window-menus.c:
	(nautilus_window_initialize_menus_part_1):

	Kill start-here.
2004-07-16 15:01:59 +00:00
Jordi Mallach d221303a4d Add Encoding and fixed Terminal entries. Likewise.
2003-07-02 Jordi Mallach  <jordi@sindominio.net>

	* nautilus.desktop.in: Add Encoding and fixed Terminal entries.
	* data/*.desktop.in: Likewise.
2003-07-02 17:34:21 +00:00