Commit graph

443 commits

Author SHA1 Message Date
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
Alexander Larsson 3e0d21df23 AIX port from Laurent.Vivier@bull.net (Laurent Vivier)
2003-04-23  Alexander Larsson  <alexl@redhat.com>

        AIX port from Laurent.Vivier@bull.net (Laurent Vivier)

	* configure.in:
	Look for popt and some aix headers

	* components/hardware/Nautilus_View_hardware.server.in.in:
	Fix up LIBEXECDIR reference

	* components/history/nautilus-history-view.c:
	* components/notes/nautilus-notes.c:
	* components/throbber/nautilus-throbber.c:
	* libnautilus-private/nautilus-icon-canvas-item.c:
	* libnautilus-private/nautilus-icon-container.c:
	* libnautilus-private/nautilus-icon-dnd.c:
	* libnautilus-private/nautilus-program-chooser.c:
	* libnautilus-private/nautilus-volume-monitor.h:
	* src/nautilus-applicable-views.h:
	* src/nautilus-property-browser.c:
	* src/nautilus-sidebar-title.c:
	* src/file-manager/fm-directory-view.c:
	* test/test-nautilus-preferences-change.c: (main):
	* test/test.c: (test_quit):
	Fix c++ comments and commas at end of enums.
	Move math.h includes to top.

	* data/Makefile.am:
	Remove duplicate definitions

	* libnautilus-adapter/Makefile.am:
	* libnautilus-private/Makefile.am:
	* libnautilus/Makefile.am:
	Add correct libs

	* libnautilus-private/nautilus-file-private.h:
	Bitfields can't be enums.

	* libnautilus-private/nautilus-volume-monitor.c:
	Implement AIX support.

	* src/Makefile.am:
	Add POPT_FLAGS
2003-04-23 09:50:03 +00:00
Alexander Larsson 44556a083b Use the new icons in gnome-icon-theme for these.
2002-12-12  Alexander Larsson  <alexl@redhat.com>

	* 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:
	Use the new icons in gnome-icon-theme for these.

	* Makefile.am:
	* gnome-starthere-96.png:
	* gnome-starthere.png:
	Remove the icons. They moved to gnome-icon-theme.
2002-12-12 11:21:54 +00:00
James Willcox 4d8ebcd89d define DATADIR Add erase emblem Remove data/emblems ditto install
2002-10-07  James Willcox  <jwillcox@gnome.org>

	* components/emblem/Makefile.am:  define DATADIR
	* components/emblem/nautilus-emblem-view.c:
	(create_emblem_widget_with_pixbuf), (create_emblem_widget),
	(nautilus_emblem_view_populate):  Add erase emblem
	* configure.in:  Remove data/emblems
	* data/Makefile.am:  ditto
	* icons/Makefile.am:  install erase.png
2002-10-07 17:56:21 +00:00
Michael Meeks 81e2b8dc2c use new eel_glade_get_file.
2002-07-02  Michael Meeks  <michael@ximian.com>

	* src/nautilus-bookmarks-window.c
	(create_bookmarks_window): use new eel_glade_get_file.

	* configure.in: hack libglade out, we use eel now,
	requires a recent eel.

	* data/browser.xml: add mnemonics

	* src/nautilus-property-browser.c
	(nautilus_property_browser_init): don't shrink the
	description text, un-bold description [ makes it
	look ugly, but hey ].
2002-07-02 16:07:26 +00:00
Alex Larsson e7833472a1 More emblems from jimmac.
2002-05-08  Alex Larsson  <alexl@redhat.com>

	* data/browser.xml:
	* data/emblems/Makefile.am:
	* data/emblems/documents.png:
	* data/emblems/multimedia.png:
	* data/emblems/package.png:
	* data/emblems/web.png:
	* icons/default/Makefile.am:
	* icons/default/emblem-documents.png:
	* icons/default/emblem-multimedia.png:
	* icons/default/emblem-package.png:
	* icons/default/emblem-web.png:
	More emblems from jimmac.
2002-05-08 22:34:12 +00:00
Alex Larsson 6b93b00894 Add some new emblems from tigert's set.
2002-05-08  Alex Larsson  <alexl@redhat.com>

	* data/browser.xml:
	* data/emblems/Makefile.am:
	* data/emblems/art.png:
	* data/emblems/camera.png:
	* data/emblems/mail.png:
	* data/emblems/pictures.png:
	* data/emblems/sound.png:
	* icons/default/Makefile.am:
	* icons/default/emblem-art.png:
	* icons/default/emblem-camera.png:
	* icons/default/emblem-mail.png:
	* icons/default/emblem-pictures.png:
	* icons/default/emblem-sound.png:
	Add some new emblems from tigert's set.
2002-05-08 18:53:29 +00:00
David Bordoley a291b73abe Remove favorites .desktop file
2002-05-01 David Bordoley <bordoley@msu.edu>

       * data/Makefile.am:
       Remove favorites .desktop file

       * src/file-manager/nautilus-directory-view-ui.xml:
       Added stock icon for move to trash

       * src/nautilus-shell-ui.xml:
       Removed nautilus quick references
       Changed "Nautilus User Manual" to "Contents"
       Added stock help icon
       Added F1 shortcut key for help

       * src/nautilus-windows-menus.c:
       Removed nautilus quick references
2002-05-02 21:16:28 +00:00
Alexander Larsson 607b8dbf42 Name is now "Desktop Preferences"
2002-04-27  Alexander Larsson  <alexl@redhat.com>

	* data/preferences.desktop.in:
	Name is now "Desktop Preferences"

	* src/file-manager/fm-directory-view.c:
	* src/file-manager/nautilus-directory-view-ui.xml:
        "Remove Custom Images" -> "Remove Custom Icons" for consistency

	* src/nautilus-shell-ui.xml:
	Move preferences to bottom of menu.

	patches from Dave Bordoley <bordoley@msu.edu>
2002-04-27 23:52:51 +00:00
Jonathan Blandford 367205c97f s/Server Configuration/Server Settings
Thu Apr 25 12:22:57 2002  Jonathan Blandford  <jrb@gnome.org>

	* data/serverconfig.directory.in (_Name):
	* data/serverconfig.desktop.in (_Name):
	s/Server Configuration/Server Settings

	* src/nautilus-bookmarks-window.c (nautilus-bookmarks-window.c):
	Small UI tweaks.
2002-04-26 00:47:38 +00:00
David Emory Watson ef43706aa3 The blue component for Danube was 7FF but somehow got converted to FF instead of the correct value of 7F. This fix makes Danube a nice color again. 2002-02-12 20:05:16 +00:00
Seth Nickell 499a149b6a Bring start-here stuff up to date with current URI schemes, update to use
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* data/applications.desktop.in:
	* data/preferences.desktop.in:

	Bring start-here stuff up to date with current
	URI schemes, update to use appropriate system icons.
2002-01-29 07:03:56 +00:00
Seth Nickell 0e8a902c00 The programs:/ URI is now applications:/ to conform with the HIG and GDP
2001-12-14  Seth Nickell  <snickell@stanford.edu>

        The programs:/ URI is now applications:/ to conform with the
	HIG and GDP word list.

	* data/Makefile.am:
	* data/applications.desktop.in:
	* data/programs.desktop.in:

	Move programs.desktop.in to applications.desktop.in and change
	the URI and Name in the desktop entry.
2001-12-14 13:40:35 +00:00
Darin Adler a238fef0fe Roll double-free bug fix from the branch.
* libnautilus-private/nautilus-directory-async.c:
	(top_left_read_callback): Roll double-free bug fix from the branch.

	* TODO: Some small updates.

	* components/hardware/nautilus-hardware-view.c:
	* data/browser.xml:
	* icons/crux_eggplant/crux_eggplant.xml:
	* icons/crux_teal/crux_teal.xml:
	* icons/default.xml:
	* icons/gnome/gnome.xml:
	* icons/sierra/sierra.xml:
	* icons/tahoe/tahoe.xml:
	* libnautilus-private/nautilus-directory-background.c:
	(nautilus_file_background_write_desktop_settings):
	* libnautilus-private/nautilus-icon-container.c:
	(start_rubberbanding):
	* libnautilus-private/nautilus-icon-text-item.c:
	(fetch_themed_color):
	* src/nautilus-property-browser.c: (add_color_to_browser):
	* src/nautilus-sidebar-tabs.c: (setup_light_text),
	(setup_dark_text), (nautilus_sidebar_tabs_init),
	(nautilus_sidebar_tabs_receive_dropped_color):
	* src/nautilus-sidebar-title.c:
	(nautilus_sidebar_title_select_text_color):
	* src/nautilus-sidebar.c: (receive_dropped_color):
	Changed all rgb:RRRR/GGGG/BBBB to #RRGGBB. We still probably have
	to handle the old format just for old data files.

	* libnautilus-private/.cvsignore:
	nautilus-marshal-guts.h -> nautilus-marshal.h

	* src/file-manager/fm-directory-view.c:
	(update_directory_in_scripts_menu): Add filter so that we don't
	see invisible or backup files in the scripts menu. In the old
	days, gnome-vfs supplied the filtering.

	* src/nautilus-about.c: (nautilus_about_finalize),
	(nautilus_about_instance_init), (nautilus_about_hide),
	(nautilus_about_hide_on_response),
	(nautilus_about_hide_on_delete), (nautilus_about_class_init):
	Get rid of double-destroy problem with about, and fix OK button.

	* src/nautilus-bookmarks-window.c:
	(nautilus_bookmarks_window_response_callback): Fix Done button.
	(create_bookmarks_window): Hook up response callback.
	(on_window_delete_event), (handle_close_accelerator): Get rid of
	save_geometry_and_hide, since hide already does that.

	* src/nautilus-main.c: (main): Add some missing domains for better
	debugging. We should figure out a way to do this without a list of
	domains.
2001-12-01 01:05:38 +00:00
Gediminas Paulauskas f9a8d8571f remove .cvsignore files from empty directories 2001-11-29 12:42:05 +00:00
Michael Meeks e9e3b603f4 hush. 2001-11-21 05:23:47 +00:00
Darin Adler bc8ad1bf56 Remove e-paned.
* configure.in:
	* cut-n-paste-code/widgets/Makefile.am:
	* cut-n-paste-code/widgets/e-paned:
	* libnautilus-private/Makefile.am:
	* libnautilus-private/nautilus-horizontal-splitter.c:
	* libnautilus-private/nautilus-horizontal-splitter.h:
	* src/nautilus-window.c: (nautilus_window_constructed),
	(nautilus_window_set_content_view_widget),
	(nautilus_window_hide_sidebar), (nautilus_window_show_sidebar),
	(nautilus_window_sidebar_showing):
	Remove e-paned.

	* configure.in:
	* data/Makefile.am:
	* data/linksets/
	* libnautilus-private/Makefile.am:
	* libnautilus-private/nautilus-file-utilities.c:
	* libnautilus-private/nautilus-link-set.c:
	* libnautilus-private/nautilus-link-set.h:
	* src/Makefile.am:
	* src/nautilus-link-set-window.c:
	* src/nautilus-link-set-window.h:
	* src/nautilus-sidebar.c: (metadata_button_callback):
	Remove link sets.

	* libnautilus-private/nautilus-program-chooser.c:
	(launch_mime_capplet_on_ok),
	(launch_mime_capplet_and_close_dialog):
	* src/nautilus-window-menus.c: (forget_history_if_yes),
	(remove_bookmarks_for_uri_if_yes):
	Destroy dialogs when done, since GtkDialog doesn't do this for us.

	* src/nautilus-preferences-dialog.c: (preferences_dialog_create):
	Get rid of close signal handler, since default close handler does
	the same thing as a delete_event, which is what we want. We still
	might have to do something fancier on a delete_event.
2001-11-08 23:09:35 +00:00
Darin Adler ce7e34aada First baby steps at compiling under gnome 2. 2001-10-24 17:23:35 +00:00
Darin Adler 260d1eb66e A few DESTDIR fixes.
* Makefile.am:
	* data/Makefile.am:
	* helper-scripts/Makefile.am:
	A few DESTDIR fixes.

	* libnautilus-private/nautilus-icon-factory.c:
	Cache more icons. The old number was arbitrary and way too small.
2001-10-07 16:25:37 +00:00
Alex Larsson 27a8b1d24a Move sysconfig and serverconfig out of starthere. That was a merge error.
2001-10-01  Alex Larsson  <alexl@redhat.com>

	* data/Makefile.am (install-data-local):
	Move sysconfig and serverconfig out of starthere.
	That was a merge error.
2001-10-01 18:38:26 +00:00
Darin Adler b9b96b5724 Ignore .desktop and .directory files generated by the xml-18n-merge
* .cvsignore:
	* data/.cvsignore:
	Ignore .desktop and .directory files generated by the
	xml-18n-merge process.
2001-09-08 01:19:47 +00:00
Alex Larsson 47a2fa6e4c Merge some stuff from the redhat-outstanding-patches branch
2001-09-04  Alex Larsson  <alexl@redhat.com>

	Merge some stuff from the redhat-outstanding-patches branch

	* libnautilus-private/nautilus-file-utilities.[ch]
	(nautilus_user_main_directory_exists, nautilus_get_user_main_directory):
	Get rid of these. No more ~/Nautilus

	* libnautilus-private/nautilus-global-preferences.c:
	(default_home_location_callback): Always use your normal homedir
	as the home dir.

	* src/nautilus-application.c (check_required_directories): Don't
	create ~/Nautilus.
	(create_starthere_link_callback, nautilus_application_startup):
	Create a start here icon on the desktop.
	Turn of first time druid (by setting first time flag).
	(nautilus_application_startup, check_for_kdesktop, look_for_kdesktop_recursive,
	has_wm_state, get_self_typed_prop)
	Don't manage the desktop if kdesktop is running.

	* src/nautilus-first-time-druid.[ch]:
	Remove ~/Nautilus handling.
	s/druid_set_first_time_file_flag/nautilus_set_first_time_file_flag/

	* src/nautilus-shell-ui.xml:
	* src/nautilus-window-menus.c:
	Add start here to the go menu. Remove leftovers of the "support" menuimem.

	* src/file-manager/fm-directory-view.c:
	Move scripts to ~/.gnome/nautilus-scripts

	* Makefile.am:
	Add starthere icons

	* data/Makefile.am:
	* data/*.desktop.in:
	* data/*.directory.in:
	Add starthere desktop files.
2001-09-05 17:12:22 +00:00
Christian Meyer b18e6ea27f Removed Eazel related bookmarks, added SuSE and Ximian. 2001-08-22 10:51:36 +00:00
Andy Hertzfeld 4a61d92628 fixed problem that the reset property was not localizable, since it used
fixed problem that the reset property was not localizable, since
	it used an image that contained text.  Fixed, by removing the
	text from the image and compositing it on the fly, from a localizable
	string.

	* data/patterns/reset.png:
	new version of reset tile without text.

	* libnautilus-private/nautilus-customization-data.c:
	(nautilus_customization_data_get_next_element_for_display),
	(add_reset_text), (nautilus_customization_make_pattern_chit):
	composite the reset text on the fly when necessary

	* libnautilus-private/nautilus-customization-data.h:
	added a parameter to make_pattern_chit to tell it to draw
	the reset text when necessary

	* src/nautilus-property-browser.c: (make_drag_image),
	(make_color_drag_image), (add_reset_property):
	set the reset parameter properly when calling make_pattern_chit.
2001-07-21 00:14:57 +00:00
John Gotts e74e346d99 Made the bookmarks work again. 2001-07-08 05:45:22 +00:00
Ramiro Estrugo fbbaf80362 Remove librsvg.
* Makefile.am:
	Remove librsvg.

	* librsvg/.cvsignore:
	* librsvg/Makefile.am:
	* librsvg/art_render.c:
	* librsvg/art_render.h:
	* librsvg/art_render_gradient.c:
	* librsvg/art_render_gradient.h:
	* librsvg/art_render_mask.c:
	* librsvg/art_render_mask.h:
	* librsvg/art_render_svp.c:
	* librsvg/art_render_svp.h:
	* librsvg/art_rgba.c:
	* librsvg/art_rgba.h:
	* librsvg/example-nested-transform.svg:
	* librsvg/makefile-simple:
	* librsvg/opacity.svg:
	* librsvg/rsvg-bpath-util.c:
	* librsvg/rsvg-bpath-util.h:
	* librsvg/rsvg-css.c:
	* librsvg/rsvg-css.h:
	* librsvg/rsvg-defs.c:
	* librsvg/rsvg-defs.h:
	* librsvg/rsvg-ft.c:
	* librsvg/rsvg-ft.h:
	* librsvg/rsvg-paint-server.c:
	* librsvg/rsvg-paint-server.h:
	* librsvg/rsvg-path.c:
	* librsvg/rsvg-path.h:
	* librsvg/rsvg.c:
	* librsvg/rsvg.h:
	* librsvg/subpixel-text-test:
	* librsvg/test-ft-gtk.c:
	* librsvg/test-ft.c:
	* librsvg/test-rsvg.c:
	* librsvg/test.svg:
	Move librsvg to its own top level GNOME CVS module.

	* configure.in:
	Add librsvg and eel dependencies.
	Remove librsvg and font entries.

	* nautilus.spec.in:
	Remove font entries.  Add librsvg and eel requirements.

	* data/Makefile.am:
	* data/fonts/.cvsignore:
	* data/fonts/Makefile.am:
	* data/fonts/urw/.cvsignore:
	* data/fonts/urw/Makefile.am:
	* data/fonts/urw/README:
	* data/fonts/urw/fonts.dir:
	* data/fonts/urw/n019003l.afm:
	* data/fonts/urw/n019003l.pfb:
	* data/fonts/urw/n019003l.pfm:
	* data/fonts/urw/n019004l.afm:
	* data/fonts/urw/n019004l.pfb:
	* data/fonts/urw/n019004l.pfm:
	* data/fonts/urw/n019023l.afm:
	* data/fonts/urw/n019023l.pfb:
	* data/fonts/urw/n019023l.pfm:
	* data/fonts/urw/n019024l.afm:
	* data/fonts/urw/n019024l.pfb:
	* data/fonts/urw/n019024l.pfm:
	Retire default fonts.  These now live in eel.

	* libnautilus/nautilus-undo-transaction.c:
	(nautilus_undo_transaction_destroy):
	* libnautilus/nautilus-view.c: (nautilus_view_destroy):
	Update for eel changes.  Use eel-gtk-macros.

	* nautilus-installer/src/nautilus-druid-page-eazel.c:
	(nautilus_druid_page_eazel_destroy),
	(nautilus_druid_page_eazel_finalize),
	(nautilus_druid_page_eazel_size_allocate),
	(nautilus_druid_page_eazel_size_request):
	Update for eel changes.  Use eel-gtk-macros.

	* libnautilus-extensions/Makefile.am:
	* libnautilus-extensions/nautilus-bonobo-extensions.c:
	* libnautilus-extensions/nautilus-bonobo-extensions.h:
	* libnautilus-extensions/nautilus-bookmark.c:
	* libnautilus-extensions/nautilus-ctree.c:
	* libnautilus-extensions/nautilus-customization-data.c:
	* libnautilus-extensions/nautilus-dateedit-extensions.c:
	* libnautilus-extensions/nautilus-dateedit-extensions.h:
	* libnautilus-extensions/nautilus-directory-async.c:
	* libnautilus-extensions/nautilus-directory-background.c:
	* libnautilus-extensions/nautilus-directory-background.h:
	* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
	* libnautilus-extensions/nautilus-directory-metafile.c:
	* libnautilus-extensions/nautilus-directory.c:
	* libnautilus-extensions/nautilus-drag-window.c:
	* libnautilus-extensions/nautilus-drag.c:
	* libnautilus-extensions/nautilus-druid-page-eazel.c:
	* libnautilus-extensions/nautilus-druid.c:
	* libnautilus-extensions/nautilus-entry.c:
	* libnautilus-extensions/nautilus-file-changes-queue.c:
	* libnautilus-extensions/nautilus-file-operations-progress.c:
	* libnautilus-extensions/nautilus-file-operations.c:
	* libnautilus-extensions/nautilus-file-private.h:
	* libnautilus-extensions/nautilus-file-utilities.c:
	* libnautilus-extensions/nautilus-file.c:
	* libnautilus-extensions/nautilus-font-factory.c:
	* libnautilus-extensions/nautilus-gconf-extensions.c:
	* libnautilus-extensions/nautilus-generous-bin.c:
	* libnautilus-extensions/nautilus-global-preferences.c:
	* libnautilus-extensions/nautilus-global-preferences.h:
	* libnautilus-extensions/nautilus-horizontal-splitter.c:
	* libnautilus-extensions/nautilus-icon-canvas-item.c:
	* libnautilus-extensions/nautilus-icon-canvas-item.h:
	* libnautilus-extensions/nautilus-icon-container.c:
	* libnautilus-extensions/nautilus-icon-container.h:
	* libnautilus-extensions/nautilus-icon-dnd.c:
	* libnautilus-extensions/nautilus-icon-factory.c:
	* libnautilus-extensions/nautilus-icon-factory.h:
	* libnautilus-extensions/nautilus-icon-private.h:
	* libnautilus-extensions/nautilus-icon-text-item.c:
	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
	* libnautilus-extensions/nautilus-link-set.c:
	* libnautilus-extensions/nautilus-link.c:
	* libnautilus-extensions/nautilus-list-column-title.c:
	* libnautilus-extensions/nautilus-list.c:
	* libnautilus-extensions/nautilus-medusa-support.c:
	* libnautilus-extensions/nautilus-merged-directory.c:
	* libnautilus-extensions/nautilus-metafile-factory.c:
	* libnautilus-extensions/nautilus-metafile.c:
	* libnautilus-extensions/nautilus-mime-actions.c:
	* libnautilus-extensions/nautilus-preferences-box.c:
	* libnautilus-extensions/nautilus-preferences-dialog.c:
	* libnautilus-extensions/nautilus-preferences-group.c:
	* libnautilus-extensions/nautilus-preferences-item.c:
	* libnautilus-extensions/nautilus-preferences-pane.c:
	* libnautilus-extensions/nautilus-preferences.c:
	* libnautilus-extensions/nautilus-preferences.h:
	* libnautilus-extensions/nautilus-program-chooser.c:
	* libnautilus-extensions/nautilus-program-choosing.c:
	* libnautilus-extensions/nautilus-program-choosing.h:
	* libnautilus-extensions/nautilus-search-uri.c:
	* libnautilus-extensions/nautilus-sidebar-functions.c:
	* libnautilus-extensions/nautilus-tabs.c:
	* libnautilus-extensions/nautilus-theme.c:
	* libnautilus-extensions/nautilus-thumbnails.c:
	* libnautilus-extensions/nautilus-trash-directory.c:
	* libnautilus-extensions/nautilus-trash-file.c:
	* libnautilus-extensions/nautilus-trash-monitor.c:
	* libnautilus-extensions/nautilus-undo-context.c:
	* libnautilus-extensions/nautilus-undo-manager.c:
	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
	* libnautilus-extensions/nautilus-vfs-directory.c:
	* libnautilus-extensions/nautilus-vfs-file.c:
	* libnautilus-extensions/nautilus-view-identifier.c:
	* libnautilus-extensions/nautilus-volume-monitor.c:
	Use new eel library.

	* libnautilus-extensions/nautilus-art-extensions.c:
	* libnautilus-extensions/nautilus-art-extensions.h:
	* libnautilus-extensions/nautilus-art-gtk-extensions.c:
	* libnautilus-extensions/nautilus-art-gtk-extensions.h:
	* libnautilus-extensions/nautilus-background-canvas-group.c:
	* libnautilus-extensions/nautilus-background-canvas-group.h:
	* libnautilus-extensions/nautilus-background.c:
	* libnautilus-extensions/nautilus-background.h:
	* libnautilus-extensions/nautilus-caption-table.c:
	* libnautilus-extensions/nautilus-caption-table.h:
	* libnautilus-extensions/nautilus-caption.c:
	* libnautilus-extensions/nautilus-caption.h:
	* libnautilus-extensions/nautilus-clickable-image.c:
	* libnautilus-extensions/nautilus-clickable-image.h:
	* libnautilus-extensions/nautilus-debug-drawing.c:
	* libnautilus-extensions/nautilus-debug-drawing.h:
	* libnautilus-extensions/nautilus-debug.c:
	* libnautilus-extensions/nautilus-debug.h:
	* libnautilus-extensions/nautilus-ellipsizing-label.c:
	* libnautilus-extensions/nautilus-ellipsizing-label.h:
	* libnautilus-extensions/nautilus-enumeration.c:
	* libnautilus-extensions/nautilus-enumeration.h:
	* libnautilus-extensions/nautilus-font-manager.c:
	* libnautilus-extensions/nautilus-font-manager.h:
	* libnautilus-extensions/nautilus-font-picker.c:
	* libnautilus-extensions/nautilus-font-picker.h:
	* libnautilus-extensions/nautilus-gdk-extensions.c:
	* libnautilus-extensions/nautilus-gdk-extensions.h:
	* libnautilus-extensions/nautilus-gdk-font-extensions.c:
	* libnautilus-extensions/nautilus-gdk-font-extensions.h:
	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
	* libnautilus-extensions/nautilus-glib-extensions.c:
	* libnautilus-extensions/nautilus-glib-extensions.h:
	* libnautilus-extensions/nautilus-glyph.c:
	* libnautilus-extensions/nautilus-glyph.h:
	* libnautilus-extensions/nautilus-gnome-extensions.c:
	* libnautilus-extensions/nautilus-gnome-extensions.h:
	* libnautilus-extensions/nautilus-graphic-effects.c:
	* libnautilus-extensions/nautilus-graphic-effects.h:
	* libnautilus-extensions/nautilus-gtk-extensions.c:
	* libnautilus-extensions/nautilus-gtk-extensions.h:
	* libnautilus-extensions/nautilus-gtk-macros.h:
	* libnautilus-extensions/nautilus-image-table.c:
	* libnautilus-extensions/nautilus-image-table.h:
	* libnautilus-extensions/nautilus-image-with-background.c:
	* libnautilus-extensions/nautilus-image-with-background.h:
	* libnautilus-extensions/nautilus-image.c:
	* libnautilus-extensions/nautilus-image.h:
	* libnautilus-extensions/nautilus-label-with-background.c:
	* libnautilus-extensions/nautilus-label-with-background.h:
	* libnautilus-extensions/nautilus-label.c:
	* libnautilus-extensions/nautilus-label.h:
	* libnautilus-extensions/nautilus-labeled-image.c:
	* libnautilus-extensions/nautilus-labeled-image.h:
	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
	* libnautilus-extensions/nautilus-password-dialog.c:
	* libnautilus-extensions/nautilus-password-dialog.h:
	* libnautilus-extensions/nautilus-radio-button-group.c:
	* libnautilus-extensions/nautilus-radio-button-group.h:
	* libnautilus-extensions/nautilus-region.c:
	* libnautilus-extensions/nautilus-region.h:
	* libnautilus-extensions/nautilus-scalable-font-private.h:
	* libnautilus-extensions/nautilus-scalable-font.c:
	* libnautilus-extensions/nautilus-scalable-font.h:
	* libnautilus-extensions/nautilus-self-checks.c:
	* libnautilus-extensions/nautilus-self-checks.h:
	* libnautilus-extensions/nautilus-smooth-text-layout-cache.c:
	* libnautilus-extensions/nautilus-smooth-text-layout-cache.h:
	* libnautilus-extensions/nautilus-smooth-text-layout.c:
	* libnautilus-extensions/nautilus-smooth-text-layout.h:
	* libnautilus-extensions/nautilus-smooth-widget.c:
	* libnautilus-extensions/nautilus-smooth-widget.h:
	* libnautilus-extensions/nautilus-stock-dialogs.c:
	* libnautilus-extensions/nautilus-stock-dialogs.h:
	* libnautilus-extensions/nautilus-string-list.c:
	* libnautilus-extensions/nautilus-string-list.h:
	* libnautilus-extensions/nautilus-string-map.c:
	* libnautilus-extensions/nautilus-string-map.h:
	* libnautilus-extensions/nautilus-string-picker.c:
	* libnautilus-extensions/nautilus-string-picker.h:
	* libnautilus-extensions/nautilus-string.c:
	* libnautilus-extensions/nautilus-string.h:
	* libnautilus-extensions/nautilus-text-caption.c:
	* libnautilus-extensions/nautilus-text-caption.h:
	* libnautilus-extensions/nautilus-viewport.c:
	* libnautilus-extensions/nautilus-viewport.h:
	* libnautilus-extensions/nautilus-wrap-table.c:
	* libnautilus-extensions/nautilus-wrap-table.h:
	* libnautilus-extensions/nautilus-xml-extensions.c:
	* libnautilus-extensions/nautilus-xml-extensions.h:
	Remove these files.  These are all part of eel now.

	* applets/launcher/nautilus-launcher-applet.c:
	* applets/preferences-applet/nautilus-preferences-applet.c:
	* components/adapter/Makefile.am:
	* components/adapter/main.c:
	* components/adapter/nautilus-adapter-control-embed-strategy.c:
	* components/adapter/nautilus-adapter-embed-strategy.c:
	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
	* components/adapter/nautilus-adapter-factory-server.c:
	* components/adapter/nautilus-adapter-file-load-strategy.c:
	* components/adapter/nautilus-adapter-load-strategy.c:
	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
	* components/adapter/nautilus-adapter-stream-load-strategy.c:
	* components/adapter/nautilus-adapter.c:
	* components/hardware/Makefile.am:
	* components/hardware/nautilus-hardware-view.c:
	* components/help/Makefile.am:
	* components/help/help-method.c:
	* components/help/hyperbola-filefmt.c:
	* components/help/hyperbola-nav-tree.c:
	* components/history/Makefile.am:
	* components/history/nautilus-history-view.c:
	* components/image-viewer/Makefile.am:
	* components/image-viewer/nautilus-image-view.c:
	* components/loser/content/Makefile.am:
	* components/loser/content/nautilus-content-loser.c:
	* components/loser/sidebar/Makefile.am:
	* components/loser/sidebar/nautilus-sidebar-loser.c:
	* components/mozilla/Makefile.am:
	* components/mozilla/bonobo-extensions.c:
	* components/mozilla/nautilus-mozilla-content-view.c:
	* components/music/Makefile.am:
	* components/music/nautilus-music-view.c:
	* components/notes/Makefile.am:
	* components/notes/nautilus-notes.c:
	* components/rpmview/Makefile.am:
	* components/rpmview/nautilus-rpm-verify-window.c:
	* components/rpmview/nautilus-rpm-view-install.c:
	* components/rpmview/nautilus-rpm-view.c:
	* components/sample/nautilus-sample-content-view.c:
	* components/services/install-view/Makefile.am:
	* components/services/install-view/callbacks.c:
	* components/services/install-view/forms.c:
	* components/services/install-view/nautilus-service-install-view.c:
	* components/services/install/lib/eazel-install-logic2.c:
	* components/services/install/server/main.c:
	* components/services/inventory-view/Makefile.am:
	* components/services/inventory-view/nautilus-inventory-config-page
	.c:
	* components/services/inventory-view/nautilus-inventory-disable-pag
	* components/services/inventory-view/nautilus-inventory-enable-page
	* components/services/inventory-view/nautilus-inventory-view.c:
	* components/services/inventory/Makefile.am:
	* components/services/inventory/eazel-inventory-upload-callback.c:
	* components/services/inventory/eazel-inventory.c:
	* components/services/inventory/main.c:
	* components/services/login/nautilus-view/Makefile.am:
	* components/services/login/nautilus-view/nautilus-change-password-
	view.c:
	* components/services/login/nautilus-view/password-box.c:
	* components/services/nautilus-dependent-shared/Makefile.am:
	* components/services/nautilus-dependent-shared/eazel-services-exte
	nsions.c:
	* components/services/nautilus-dependent-shared/eazel-services-exte
	nsions.h:
	* components/services/nautilus-dependent-shared/eazel-services-foot
	er.c:
	* components/services/nautilus-dependent-shared/eazel-services-head
	er.c:
	* components/services/nautilus-dependent-shared/test-footer-header.
	c:
	* components/services/summary/Makefile.am:
	* components/services/summary/nautilus-summary-callbacks.c:
	* components/services/summary/nautilus-summary-dialogs.c:
	* components/services/summary/nautilus-summary-dialogs.h:
	* components/services/summary/nautilus-summary-footer.c:
	* components/services/summary/nautilus-summary-menu-items.c:
	* components/services/summary/nautilus-summary-view-private.h:
	* components/services/summary/nautilus-summary-view.c:
	* components/services/time/nautilus-view/main.c:
	* components/services/time/nautilus-view/trilobite-eazel-time-view.
	c:
	* components/services/trilobite/sample/nautilus-view/Makefile.am:
	* components/text/Makefile.am:
	* components/text/nautilus-text-view.c:
	* components/throbber/Makefile.am:
	* components/throbber/main.c:
	* components/throbber/nautilus-throbber.c:
	* components/tree/Makefile.am:
	* components/tree/nautilus-tree-change-queue.c:
	* components/tree/nautilus-tree-expansion-state.c:
	* components/tree/nautilus-tree-model.c:
	* components/tree/nautilus-tree-node.c:
	* components/tree/nautilus-tree-view-dnd.c:
	* components/tree/nautilus-tree-view.c:
	* helper-utilities/authenticate/Makefile.am:
	* helper-utilities/authenticate/nautilus-authenticate.c:
	* nautilus-installer/src/nautilus-druid.c:
	* src/Makefile.am:
	* src/file-manager/fm-desktop-icon-view.c:
	* src/file-manager/fm-directory-view.c:
	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-error-reporting.c:
	* src/file-manager/fm-icon-text-window.c:
	* src/file-manager/fm-icon-view.c:
	* src/file-manager/fm-list-view.c:
	* src/file-manager/fm-properties-window.c:
	* src/file-manager/fm-search-list-view.c:
	* src/file-manager/nautilus-indexing-info.c:
	* src/nautilus-about.c:
	* src/nautilus-application.c:
	* src/nautilus-bookmark-list.c:
	* src/nautilus-bookmark-parsing.c:
	* src/nautilus-bookmarks-window.c:
	* src/nautilus-complex-search-bar.c:
	* src/nautilus-component-adapter-factory.c:
	* src/nautilus-desktop-window.c:
	* src/nautilus-first-time-druid.c:
	* src/nautilus-link-set-window.c:
	* src/nautilus-location-bar.c:
	* src/nautilus-main.c:
	* src/nautilus-navigation-bar.c:
	* src/nautilus-profiler.c:
	* src/nautilus-property-browser.c:
	* src/nautilus-search-bar-criterion.c:
	* src/nautilus-search-bar.c:
	* src/nautilus-shell.c:
	* src/nautilus-sidebar-tabs.c:
	* src/nautilus-sidebar-title.c:
	* src/nautilus-sidebar.c:
	* src/nautilus-signaller.c:
	* src/nautilus-simple-search-bar.c:
	* src/nautilus-switchable-navigation-bar.c:
	* src/nautilus-switchable-search-bar.c:
	* src/nautilus-theme-selector.c:
	* src/nautilus-view-frame-corba.c:
	* src/nautilus-view-frame.c:
	* src/nautilus-window-manage-views.c:
	* src/nautilus-window-menus.c:
	* src/nautilus-window-toolbars.c:
	* src/nautilus-window.c:
	* src/nautilus-window.h:
	* src/nautilus-zoom-control.c:
	Update for new eel library usage.

	* test/test-nautilus-background.c:
	* test/test-nautilus-clickable-image.c:
	* test/test-nautilus-font-manager.c:
	* test/test-nautilus-font-picker.c:
	* test/test-nautilus-font-simple.c:
	* test/test-nautilus-font.c:
	* test/test-nautilus-glyph-simple.c:
	* test/test-nautilus-glyph.c:
	* test/test-nautilus-image-background.c:
	* test/test-nautilus-image-scrolled.c:
	* test/test-nautilus-image-simple.c:
	* test/test-nautilus-image-table.c:
	* test/test-nautilus-image-tile.c:
	* test/test-nautilus-image.c:
	* test/test-nautilus-label-background.c:
	* test/test-nautilus-label-flavorful.c:
	* test/test-nautilus-label-offset.c:
	* test/test-nautilus-label-scrolled.c:
	* test/test-nautilus-label-simple.c:
	* test/test-nautilus-label-wrapped.c:
	* test/test-nautilus-label.c:
	* test/test-nautilus-labeled-image.c:
	* test/test-nautilus-password-dialog.c:
	* test/test-nautilus-pixbuf-tile.c:
	* test/test-nautilus-smooth-text-layout.c:
	* test/test-nautilus-viewport-constraint.c:
	* test/test-nautilus-widgets.c:
	Remove these.  They live in eel now.

	* test/vsignore:
	* test/kefile.am:
	* test/st-nautilus-preferences-change.c:
	* test/st-nautilus-preferences-display.c:
	* test/st-nautilus-wrap-table.c:
	* test/st.c:
	* test/st.h:
	Update for new eel library usage.
2001-04-04 00:07:15 +00:00
John Sullivan 65e9e66c73 Fixed bug 4355: Built-in bookmarks icons change after first view
Also reduced the number of times that refresh_bookmarks_menu
	is called since it was showing up in some profiling.

	* libnautilus-extensions/nautilus-bookmark.h:
	* libnautilus-extensions/nautilus-bookmark.c:
	(nautilus_bookmark_initialize_class), (nautilus_bookmark_set_name),
	(bookmark_file_changed_callback): Split the "changed" signal into
	"appearance_changed" and "content_changed". "appearance_changed" is
	emitted only if the name or icon change. "content_changed" is emitted
	if the URI changes.

	* src/nautilus-bookmark-list.c: (insert_bookmark_internal):
	Connect to both appearance_changed and content_changed.

	* src/nautilus-window-menus.c: (bookmark_holder_new):
	Refresh menu only on appearance_changed, not content_changed.

	* data/static_bookmarks.xml: Added "i-web" as icon name for
	all the built-in bookmarks, since this is the icon they will
	end up with after being visited. (Now, visiting a built-in
	bookmark will not cause a refresh of the bookmarks menu.)
2001-03-21 01:07:08 +00:00
Darin Adler 1c5c03bc62 reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7783 (Makefile.am used to install xml data is wrong):

	* data/Makefile.am: Integrate build fix from fcrozat. Don't use
	the magic "info" name since it is used for special purposes on
	Mandrake and other systems.

	Other strings:

	* THANKS: Added some people who made recent contributions.
	* check-THANKS.pl: Add some more alternate names.

	* components/help/hyperbola-filefmt.c: (locale_score): Fix legal
	code that doesn't compile with some versions of gcc by adding a
	cast.

	* help/nautilus-user-manual/es/.cvsignore: Add
	nautilus-user-manual.junk.

	* libnautilus-extensions/nautilus-directory-async.c:
	(metafile_read_check_for_directory_callback),
	(metafile_read_done_callback),
	(metafile_write_failure_close_callback),
	(metafile_write_success_close_callback),
	(metafile_write_create_callback), (directory_load_callback),
	(directory_count_callback), (new_files_callback), (has_problem),
	(deep_count_callback), (mime_list_callback),
	(top_left_read_callback), (get_info_callback),
	(activation_uri_nautilus_link_read_callback),
	(activation_uri_gmc_link_read_callback),
	(cancel_activation_uri_for_file): Add ref/unref pairs that we need
	in callbacks that use NautilusDirectory objects but that also send
	out signals which might end up unref'ing them.

	* libnautilus-extensions/nautilus-file-operations.c:
	(nautilus_self_check_file_operations): Add tests to demonstrate
	bug 7701.

	* libnautilus-extensions/nautilus-smooth-text-layout-cache.c:
	(nautilus_self_check_smooth_text_layout_cache): Fix some destroys
	that should have been unrefs.

	* libnautilus-extensions/nautilus-string.c:
	(nautilus_self_check_string): Added tests for
	nautilus_str_get_after_prefix.
2001-03-15 23:17:57 +00:00
Brian Frank cb7e0dae19 Changed LWN.net bookmark to Linux Weekly News
2001-03-05  Brian Frank  <bfrank@eazel.com>

	* data/static_bookmarks.xml:

	Changed LWN.net bookmark to Linux Weekly News
2001-03-06 02:39:30 +00:00
Ramiro Estrugo a5eedddc21 reviewed by: <delete if not using a buddy>
2001-03-02  Ramiro Estrugo  <ramiro@eazel.com>

	    reviewed by: <delete if not using a buddy>

	    Bug 2673 - Need to hook up the new font picker to nautilus .

	    * configure.in:
	    Remove an old font setup hack that never really worked.

	    * data/fonts/urw/fonts.dir:
	    Rename the fonts to "Helvetica Default" in order not to clash with
	    system fonts.

	    * libnautilus-extensions/nautilus-font-manager.h:
	    * libnautilus-extensions/nautilus-font-manager.c:
	    (font_description_new): Add a font type parameter.
	    (font_lists_total_num_fonts): New function to count the total
	    number of scalable fonts detetected.
	    (font_description_table_add): Pass in the detected font lists to
	    do reality checks.
	    (font_get_font_type): New function.
	    (font_description_table_get_length),
	    (font_description_table_peek_nth),
	    (font_description_table_get_nth_file_name): Name the parameters
	    more consistently.
	    (font_description_table_for_each): Add font type parameter
	    (font_description_table_new): Rework to not require storing the
	    detected font list.  We now use that only for the duration of the
	    constructor.  Lost the install_font_lists dumbness.
	    (font_server_for_each_font_directory_internal): Use g_warning
	    instead of g_print.
	    (font_ignore_directory): New function to determine whether we
	    should ignore a directory - makes things much faster.
	    (font_manager_collect_font_tables): New function to handle all the
	    work of collecting font directories into tables.
	    (font_server_for_each_callback), (font_table_list_free),
	    (font_table_list_for_each), (free_font_tables),
	    (ensure_at_exit_handler), (ensure_fallback_font_table),
	    (ensure_user_font_table), (ensure_system_font_tables): Add 3
	    tables for fallback, system and users fonts.  These are populated
	    as needed.
	    (nautilus_font_manager_for_each_font): Iterate the 3 font talbles.
	    (nautilus_font_manager_get_fallback_font) : New function to obtain
	    a fallback font quickly without having to check the system.
	    (call_chop_off_comments), (nautilus_self_check_font_manager):
	    Rework the checks to not create a temp directory.  Unfortunately
	    they now only run for me.

	    * libnautilus-extensions/nautilus-font-picker.h:
	    * libnautilus-extensions/nautilus-font-picker.c:
	    (nautilus_font_picker_initialize_class),
	    (nautilus_font_picker_initialize), (nautilus_font_picker_destroy),
	    (font_entry_list_find), (font_picker_update),
	    (font_name_picker_changed_callback),
	    (style_picker_changed_callback), (ignore_font),
	    (font_manager_callback), (style_list_for_each_callback),
	    (font_entry_list_for_each_callback),
	    (nautilus_font_picker_get_selected_font),
	    (nautilus_font_picker_set_selected_font),
	    (nautilus_font_picker_set_title_label):
	    Use the new font manager.

	    * libnautilus-extensions/nautilus-global-preferences.h:
	    * libnautilus-extensions/nautilus-global-preferences.c:
	    (global_preferences_install_descriptions),
	    (global_preferences_install_defaults),
	    (global_preferences_create_dialog), (appearnace_pane_update),
	    (global_preferences_create_font_group),
	    (global_preferences_install_home_location_defaults),
	    (global_preferences_install_font_defaults):
	    Add a new preference for the smooth font.
	    Factor our the default font code to its own function.  Setup the
	    font pickers items to be mutually exclusive according to the
	    smooth graphics mode preference value.

	    * libnautilus-extensions/nautilus-gtk-extensions.h:
	    * libnautilus-extensions/nautilus-gtk-extensions.c:
	    (nautilus_gtk_widget_set_shown):
	    New function to show or hide a widget in one go.

	    * libnautilus-extensions/nautilus-preferences-group.c:
	    (nautilus_preferences_group_update):
	    Dont show the widget if a controlling preference prevents it.

	    * libnautilus-extensions/nautilus-preferences-item.h:
	    * libnautilus-extensions/nautilus-preferences-item.c:
	    (preferences_item_update_smooth_font),
	    (preferences_smooth_font_changed_callback),
	    (preferences_item_create_smooth_font): Add support for a smooth
	    font picker.
	    (preferences_item_destroy), (preferences_item_construct),
	    (nautilus_preferences_item_set_control_preference),
	    (nautilus_preferences_item_set_control_action),
	    (nautilus_preferences_item_get_control_showing): Add support for
	    using a controlling preference which can force the widget to be
	    shown or hidden depending on its value.

	    * libnautilus-extensions/nautilus-preferences-pane.c:
	    (nautilus_preferences_pane_update):
	    Use new gtk extension to show or hide the widget in one go.

	    * libnautilus-extensions/nautilus-scalable-font.h:
	    * libnautilus-extensions/nautilus-scalable-font.c:
	    (font_family_string_map_new): Update fallback font name.
	    (nautilus_scalable_font_new_from_file_name): New function to
	    create a font directly from a font file name.
	    (nautilus_scalable_font_get_default_font): Update fallback font name.
	    (nautilus_scalable_font_get_default_bold_font): New function to
	    get a fallback bold font.
	    Remove some unsed functions.  Remove the font setup hack, the font
	    manager takes care of that now.

	    * libnautilus-extensions/nautilus-string-picker.h:
	    * libnautilus-extensions/nautilus-string-picker.c:
	    (nautilus_string_picker_clear):
	    New function to clear the string picker.

	    * libnautilus-extensions/nautilus-tabs.c:
	    (nautilus_tabs_initialize):
	    Fix the hard coded font name.

	    * src/nautilus-first-time-druid.c: (new_title_label):
	    Fix the hard coded font name.

	    * src/nautilus-sidebar-tabs.c:
	    (nautilus_sidebar_tabs_load_theme_data):
	    Fix the hard coded font name.

	    * test/Makefile.am:
	    * test/test-nautilus-font-manager.c: (font_type_to_string),
	    (font_iterator_callback), (font_table_for_each_callback), (main):
	    * test/test-nautilus-font-picker.c: (font_picker_changed_callback),
	    (main):
	    * test/test-nautilus-glyph-simple.c: (main):
	    * test/test-nautilus-label.c: (main):
	    Update for new font picker and font manager changes.
2001-03-03 03:49:25 +00:00
Brian Frank 87e83cce94 Added MandrakeSoft to bookmarks, and fixed Sun Wah link to default to
2001-02-28  Brian Frank  <bfrank@eazel.com>

	Added MandrakeSoft to bookmarks, and fixed Sun Wah link to default to "non-flash" page.

	* data/static_bookmarks.xml
2001-03-01 04:33:13 +00:00
Andy Hertzfeld 47310e6199 fixed bug 7019, emblem names are not aligned vertically in show properties
fixed bug 7019, emblem names are not aligned vertically in
	show properties or the property browser.  Fixed by adding
	a "fixed image height" attribute to nautilus-labeled-image, and
	set it in the properties window and properties browser.

	* libnautilus-extensions/nautilus-labeled-image.c:
	(nautilus_labeled_image_initialize), (is_fixed_height),
	(labeled_image_get_image_dimensions),
	(nautilus_labeled_image_get_image_bounds),
	(nautilus_labeled_image_get_show_image),
	(nautilus_labeled_image_set_fixed_image_height):
	added a fixed_image_height instance variable, and used it
	when appropriate
	* libnautilus-extensions/nautilus-labeled-image.h:
	added setter for the fixed image height attribute

	* src/file-manager/fm-properties-window.c: (create_emblems_page):
	set the fixed image height attribute on the emblems
	* src/nautilus-property-browser.c:
	(make_properties_from_directories),
	(property_browser_category_button_new):
	set the fixed image height attribute for the emblems and also
	the category buttons

	fixed bug 7022, users are confused by the "shared" and "secret"
	emblems; fixed by removing them.

	* data/browser.xml:
	removed secret and shared emblem references
	* data/emblems/Makefile.am:
	removed the emblem .pngs from the makefile
	* data/emblems/secret.png:
	* data/emblems/shared.png:
	removed the emblem .pngs
	* icons/Makefile.am:
	removed the emblem .svgs from the makefile
	* icons/emblem-secret.svg:
	* icons/emblem-shared.svg:
	removed the .svgs
2001-02-27 20:14:10 +00:00
Darin Adler 2f9d6bc25f reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 6725 (Crash on Refresh if viewed file/folder is deleted
	outside of Nautilus):

	* src/nautilus-window-manage-views.c: (free_location_change):
	Reorder so we cancel the callbacks before more I/O has the chance
	to happen.
	* libnautilus-extensions/nautilus-directory-async.c:
	(nautilus_directory_async_state_changed): Don't do any I/O for a
	NautilusDirectory object once it's destroyed. Unfortunately, it's
	still possible for destroying one NautilusDirectory object to
	cause I/O to happen on another, so this doesn't fix the bug (which
	is why we also need the change above).

	Fixed bug 7080 (Nautilus build failure on Red Hat 7.)

	* libnautilus-extensions/nautilus-medusa-support.c: Fixed the bad
	#endif with non-comment text after it.

	Worked on bug 6928 (create fallback mechanism so eazel-logos
	version of each graphic is found if present). We still need a
	separate fallback mechanism for the theme XML file, since the
	throbber has a different number of frames.

	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_get_pixmap_directory): Simplify.
	(nautilus_pixmap_file): Look in eazel-logos directory first, so we
	will pick up logo graphics if there, and non-logo graphics otherwise.
	* test/test-nautilus-image-simple.c: (main): Remove a reference to
	a logo graphic.

	* eazel-logos/.cvsignore:
	* eazel-logos/About_Image.png:
	* eazel-logos/about_background.png:
	* eazel-logos/druid_header.png:
	* eazel-logos/eazel-logo-right-side-logo.png:
	* eazel-logos/throbber/.cvsignore:
	* eazel-logos/throbber/001.png:
	* eazel-logos/throbber/002.png:
	* eazel-logos/throbber/003.png:
	* eazel-logos/throbber/004.png:
	* eazel-logos/throbber/005.png:
	* eazel-logos/throbber/006.png:
	* eazel-logos/throbber/007.png:
	* eazel-logos/throbber/008.png:
	* eazel-logos/throbber/009.png:
	* eazel-logos/throbber/010.png:
	* eazel-logos/throbber/011.png:
	* eazel-logos/throbber/012.png:
	* eazel-logos/throbber/013.png:
	* eazel-logos/throbber/014.png:
	* eazel-logos/throbber/015.png:
	* eazel-logos/throbber/rest.png:
	* eazel-logos/default.xml:
	Added a new directory with copies of all graphics with the Eazel
	logo in them. Next we have to make this directory actually build
	and install these logos. Then Non-Eazel-logo'd graphics suitable
	for GPL will replace the original copies and these will keep the
	Eazel logo versions. The directory also contains the XML file for
	the default theme, since we need to change the throbber frames for
	the logo vs. non-logo version of the throbber.

	* components/services/nautilus-dependent-shared/icons/Makefile.am:
	* components/services/nautilus-dependent-shared/icons/eazel-cloud-logo.png:
	* components/services/nautilus-dependent-shared/icons/eazel-services-logo.png:
	* components/services/nautilus-dependent-shared/icons/service-summary-logo-top.png:
	* components/services/nautilus-dependent-shared/icons/startup-logo.png:
	* icons/Makefile.am:
	* icons/eazel-logo.gif:
	* icons/nautilus-logo.png:
	Removed unused graphics with the Eazel logo in them. There are a
	lot more unused graphics and someone should go through and remove
	them. I'm thinking of writing a script to do it.

	Other changes.

	* components/services/install/nautilus-view/.cvsignore:
	* components/services/vault/.cvsignore:
	* components/services/vault/command-line/.cvsignore:
	* data/top/.cvsignore:
	Re-removed .cvsignore files for empty directories.

	* THANKS: Corrected one email address.
	* check-THANKS.pl: Updated for the latest ChangeLog typos.
2001-02-27 18:47:19 +00:00
John Harper e29d750a06 reviewed by: Gene Z. Ragan <gzr@eazel.com>
2001-02-26  John Harper  <jsh@eazel.com>

	reviewed by: Gene Z. Ragan  <gzr@eazel.com>

	Fixed bug 7073 (Alt-vs-Control, Sawfish-vs-Nautilus, arrow key
	bindings problems.) - I also changed sawfish to use control by
	default again.

	* libnautilus-extensions/nautilus-list.c
	(nautilus_list_keyboard_move_to, nautilus_list_keyboard_space):
	changed GDK_CONTROL_MASK to GDK_MOD1_MASK to be consistent with
	the icon container

2001-02-26  John Harper  <jsh@eazel.com>

	* components/services/install/nautilus-view/.cvsignore:
	* components/services/vault/.cvsignore:
	* components/services/vault/command-line/.cvsignore:
	* data/top/.cvsignore:
	* help/nautilus-quick-reference/C/.cvsignore:
	* help/nautilus-user-manual/C/.cvsignore:
	* help/nautilus-user-manual/es/.cvsignore:
	* helper-utilities/xml-migrate/.cvsignore:

	Added and updated .cvsignore files to shut up cvs update
2001-02-27 07:40:24 +00:00
Andy Hertzfeld 65b1fd161e fixed bug 7067, on clean install, services icon is missing. Arlo recently
* data/linksets/home.xml:
	fixed bug 7067, on clean install, services icon is missing. Arlo
	recently removed the old services hand icon, but didn't update
	the image reference in the linkset; fixed by updating it.
2001-02-27 03:17:04 +00:00
Brian Frank e2769835fc Updating default bookmarks for Nautilus 1.0.
2001-02-23  Brian Frank  <bfrank@eazel.com>

	Updating default bookmarks for Nautilus 1.0.

	* data/static_bookmarks.xml
2001-02-23 20:47:54 +00:00
Andy Hertzfeld 7cb5b454a8 fixed bug 5599, make objects in $USER/Nautilus localizable. Fixed by
fixed bug 5599, make objects in $USER/Nautilus localizable.  Fixed
	by creating a linkset to instead the Computer and Services icons,
	and removing the top directory and associated code, since it's no
	longer needed.

	* configure.in:
	removed data/top
	* data/Makefile.am:
	removed top directory
	* data/linksets/Makefile.am:
	* data/linksets/home.xml:
	added new home linkset

	* data/top/.cvsignore:
	* data/top/.nautilus-metafile.xml:
	* data/top/Computer:
	* data/top/Makefile.am:
	* data/top/Services:
	removed files from top

	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_get_user_main_directory):
	changed it to no longer copy the top directory; instead,
	install the new linkset

	* po/POTFILES.in:
	added home.xml to the files to be localized
2001-02-16 02:29:46 +00:00
John Sullivan 7ce14a0b10 reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 5749 (bookmarks are untranslated)

	* data/static_bookmarks.xml:
	An earlier checkin to update the bookmarks stripped off
	all the underscores from "_name=" strings, which was what
	was causing them to be translated. Fixed by returning the
	underscores.
2001-02-02 20:10:36 +00:00
Maciej Stachowiak c3e579691a reviewed by: Pavel Cisler <pavel@eazel.com>
Fix bug 4678 (Clicking on a Nautilus link file in tree view causes
	Nautilus cannot handle item type error box).

	* components/tree/nautilus-tree-view.c:
	(nautilus_tree_view_destroy), (got_activation_uri_callback),
	(cancel_possible_activation), (tree_select_row_callback): Activate
	activation URI instead of file URI to support Nautilus links
	properly. If the link resolves to a "command:" URI, however,
	silently ignore it to avoid giving an ugly error message because
	per John Sullivan, selecting things in the tree view should not
	launch apps.

	* components/tree/nautilus-tree-view-private.h: Added
	activation_uri_wait_file field to details struct.

	* data/top/Computer, data/top/Services: Updated to new nautilus
	link format.
2001-02-02 11:29:19 +00:00
Darin Adler ce4e7c679d reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 6147 (selected icons flash unselected/selected rapidly):

	* src/nautilus-window-manage-views.c: (change_selection): Don't
	send out selection change notices to the view that reported the
	selection change.
	(change_selection_callback): Pass in view that requested the
	change so we can know not to send a selection change to that view.
	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_send_selection_change): Clear flag that says we
	have a selection change for the shell.
	(selection_changed_callback): Add code to indicate this selection
	change is due to the shell, so we don't tell the shell about
	something it just told us.
	(done_loading): Set flag so we don't tell the shell about selection
	changes that are part of the first load of the directory.
	(display_selection_info_idle_callback): Only send a selection change
	to the shell if the change was initiated here. Also remove the code
	that ref's the NautilusView object -- wasn't helping.
	(update_menus_timeout_callback), (display_pending_idle_callback),
	(display_pending_timeout_callback): Remove the code that ref's the
	NautilusView object -- wasn't helping.
	(fm_directory_view_notify_selection_changed): Propagate flag that
	tells the idle code we have made the change to the selection and
	the shell should be notified.

	Fix bug 6158 (nautilus --quit shouldn't check for
	~/.nautilus/first-time-wizard-flag).

	* src/nautilus-main.c: (main): Don't do the first-time druid check
	when the --quit or --restart option is used.

	Fix bug 803 (All metafile tags should be lower case).

	* libnautilus-extensions/nautilus-metadata.h: Use lower-case for
	metadata tags.
	* libnautilus-extensions/nautilus-directory-metafile.c:
	(create_metafile_root), (get_file_node),
	(nautilus_directory_rename_file_metadata),
	(nautilus_directory_copy_file_metadata),
	(nautilus_directory_set_metafile_contents): Change metadata tags
	to be lower-case.
	* libnautilus-extensions/nautilus-directory.c:
	(nautilus_self_check_directory): Use lower-case in metadata
	self-test for clarity.
	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_get_keywords), (nautilus_file_set_keywords): Change
	metadata tags to be lower-case.

	* data/top/.nautilus-metafile.xml
	* icons/ardmore/ardmore.xml:
	* icons/arlo/arlo.xml:
	* icons/arlo/i-directory.xml:
	* icons/arlo/i-regular.xml:
	* icons/crux_eggplant/crux_eggplant.xml:
	* icons/crux_eggplant/i-directory.xml:
	* icons/crux_eggplant/i-regular.xml:
	* icons/default.xml:
	* icons/gnome/gnome.xml:
	* icons/i-directory-accept.xml:
	* icons/i-directory.xml:
	* icons/i-regular.xml:
	* icons/villanova/villanova.xml:
	Change XML to use lower-case.

	* libnautilus-extensions/nautilus-link-set.c: (create_new_link):
	Use lower-case for link XML tags.
	* libnautilus-extensions/nautilus-link.c:
	(nautilus_link_local_create), (nautilus_link_local_set_link_uri),
	(nautilus_link_local_set_type),
	(nautilus_link_local_get_link_uri),
	(nautilus_link_local_get_link_type),
	(nautilus_link_get_link_uri_given_file_contents): Use lower-case
	for link XML tags.

	* src/nautilus-sidebar-title.c:
	(nautilus_sidebar_title_select_text_color),
	(nautilus_sidebar_title_theme_changed): Use lower-case for theme
	XML tags.
	* components/throbber/nautilus-throbber.c:
	(get_bonobo_properties), (nautilus_throbber_initialize),
	(nautilus_throbber_load_images),
	(nautilus_throbber_button_press_event): Change theme XML tags to be
	lower-case.
	* libnautilus-extensions/nautilus-icon-container.c:
	(start_rubberbanding): Use lower-case for theme XML tags.
	(nautilus_icon_container_initialize): Fix comment.
	(update_label_color), (nautilus_icon_container_theme_changed): Use
	lower-case for theme XML tags.
	* libnautilus-extensions/nautilus-icon-factory.c: (set_theme): Use
	lower-case for theme XML tags.
	(get_themed_icon_file_path): Use lower-case for icon XML file
	tags.
	(icon_theme_changed_callback): Use lower-case for theme XML tags.
	* src/nautilus-sidebar-tabs.c:
	(nautilus_sidebar_tabs_load_theme_data), (get_text_offset): Use
	lowe-case for theme XML tags.
	* src/nautilus-sidebar.c: (nautilus_sidebar_update_appearance):
	Use lower-case for theme XML tags.
	* src/nautilus-window-toolbars.c: (get_file_name_from_icon_name):
	Use lower-case for theme XML tags.
	* src/nautilus-zoom-control.c: (draw_number): Use lower-case for
	theme XML tags.

	Change code that used GSList when it should use GList. We use
	GList so that we can share utility functions. It's arbitrary. We
	could have decided to use all GSList instead, but we chose GList
	(because of its name, initially).

	* components/tree/nautilus-tree-expansion-state.c:
	(expansion_state_load_callback),
	(nautilus_tree_expansion_state_load_table_from_gconf),
	(hash_table_get_keys_callback), (hash_table_get_keys),
	(nautilus_tree_expansion_state_save_table_to_gconf): Update to use
	GList instead of GSList.
	* libnautilus-extensions/nautilus-gconf-extensions.h:
	* libnautilus-extensions/nautilus-gconf-extensions.c:
	(nautilus_gconf_handle_error), (nautilus_gconf_set_string_list),
	(nautilus_gconf_get_string_list): Change to work with GList
	instead of GSList to match the rest of Nautilus, so that the lists
	can be manipulated with all the GList utility functions.
	* libnautilus-extensions/nautilus-glib-extensions.h:
	* libnautilus-extensions/nautilus-glib-extensions.c:
	(nautilus_round): Changed name from nautilus_g_round -- "g" for
	"gratuitous".
	(nautilus_g_list_from_g_slist), (nautilus_g_slist_from_g_list):
	Added utility functions to help make GSLists from GLists and vice
	versa. Useful when dealing with functions that yield/expect
	GSLists.
	* libnautilus-extensions/nautilus-icon-text-item.c: (iti_destroy),
	(iti_update), (iti_paint_text), (iti_draw), (iti_render),
	(iti_event): Use nautilus_round by its new name.
	* libnautilus-extensions/nautilus-preferences.h:
	* libnautilus-extensions/nautilus-preferences.c:
	(nautilus_preferences_set_string_list),
	(nautilus_preferences_get_string_list),
	(nautilus_preferences_default_set_string_list),
	(nautilus_preferences_default_get_string_list): Change to use
	GList instead of GSList.
	* libnautilus-extensions/nautilus-search-uri.c:
	(free_tokenized_uri), (tokenize_uri), (get_translated_criterion),
	(get_nth_criterion_prefix), (parse_uri): Change to use GList
	instead of GSList.
	* src/nautilus-application.h:
	* src/nautilus-application.c:
	(nautilus_application_get_window_list): Renamed from
	nautilus_application_windows and changed to use GList instead of
	GSList.
	(nautilus_application_destroyed_window),
	(nautilus_application_create_window), (volume_unmounted_callback):
	Change to use GList instead of GSList.
	* src/nautilus-shell.c: (save_window_states),
	(restore_window_states): Use GList instead of GSList.
	* src/nautilus-window-manage-views.c: (just_one_window): Use GList
	instead of GSList.
	(open_location_prefer_existing_window_callback): Use GList instead
	of GSList.
	* src/nautilus-window.c: (nautilus_forget_history): Use GList
	instead of GSList and the new name for
	nautilus_application_get_window_list.

	Other changes.

	* src/nautilus-shell.c: (display_caveat_first_time): Turn off the
	caveat -- we're close enough to 1.0.

	* libnautilus-extensions/nautilus-view-identifier.c:
	(nautilus_view_identifier_new_from_oaf_server_info): Use free_deep
	call.

	* libnautilus/nautilus-view-standard-main.h: Use
	BEGIN/END_GNOME_DECLS.

	* src/file-manager/fm-desktop-icon-view.c: Remove unneeded
	include.
2001-01-31 00:27:01 +00:00
Ramiro Estrugo c272d9664e A tiny fix from Brian Frank. Also, save the file as a regular text file
* data/static_bookmarks.xml:
	A tiny fix from Brian Frank.  Also, save the file as a regular
	text file without the DOS extra CRs.

	* src/nautilus-sidebar-title.c:
	(sidebar_title_create_title_label),
	(sidebar_title_create_more_info_label): Center justify the sidebar
	title labels.
2001-01-24 20:32:15 +00:00
Andy Hertzfeld 74ad4923b7 removed files that I inadvertently checked in to the wrong branch.
removed files that I inadvertently checked in to the
	wrong branch.

	* components/rss-control/.cvsignore:
	* components/rss-control/Makefile.am:
	* components/rss-control/main.c:
	* components/rss-control/nautilus-rss-control.c:
	* components/rss-control/nautilus-rss-control.h:
	* components/rss-control/nautilus-rss-control.oafinfo:
	* data/top/Clock:
	* data/top/Slashdot:
2001-01-24 10:24:34 +00:00
Andy Hertzfeld 9583e9a53c initial check-in of post-1_0_1 branch
initial check-in of post-1_0_1 branch
2001-01-24 08:57:56 +00:00
Andy Hertzfeld 68211a201b fixed typo in "terracotta" pattern name that caused it not to be
* data/browser.xml:
	fixed typo in "terracotta" pattern name that caused it not to be
	capitalized in the property browser.
2001-01-23 05:43:27 +00:00
Arlo Rose cbb523c626 *data/patterns/Makefile.am: Missed a file!
*data/patterns/Makefile.am:
	Missed a file!
2001-01-22 11:20:27 +00:00
Arlo Rose f56c9eab45 Added new background pattern for the "Default" theme. I also let it show
* data/browser.xml:
        * data/patterns/brushed_metal.png:
        * icons/default.xml:
        Added new background pattern for the "Default" theme.
        I also let it show up in the normal pattern dialog
        as well.
2001-01-22 10:59:05 +00:00
Andy Hertzfeld 2861839801 removed added added modified added added added added added added added
* data/browser.xml:
	* data/patterns/Makefile.am:
	* data/patterns/50s.png: removed
	* data/patterns/blue_ridge.png: added
	* data/patterns/blue_type.png: added
	* data/patterns/camouflage.png: modified
	* data/patterns/countertop.png: added
	* data/patterns/dots.png: added
	* data/patterns/fibers.png: added
	* data/patterns/floral.png: added
	* data/patterns/fossil.png: added
	* data/patterns/green_weave.png: added
	* data/patterns/moss_ridge.png: added
	* data/patterns/ocean_stripes.png: added
	* data/patterns/purple_marble.png: added
	* data/patterns/rough_paper.png: modified
	* data/patterns/sky_ridge.png: added
	* data/patterns/snow_ridge.png: added
	* data/patterns/terracotta.png: added
	* data/patterns/white_ribs: removed

	added, renamed and modified patterns to replace the recently
	deleted ones.
2001-01-22 07:26:35 +00:00
Andy Hertzfeld 5d3bd02c69 removed the "vector" theme at Arlo's request, and many of the least
removed the "vector" theme at Arlo's request, and many of the
	least popular patterns

	* configure.in:
	removed vector from the build
	* data/browser.xml:
	* data/patterns/Makefile.am:
	removed lots of specific patterns
	* icons/Makefile.am:
	removed vector theme
	* icons/ardmore/ardmore.xml:
	* icons/gnome/gnome.xml:
	fixed bug 5868, GNOME theme has white text on light background, by
	setting the text color in the theme

	* icons/vector/.cvsignore:
	* icons/vector/Makefile.am:
	* icons/vector/i-directory-accept.svg:
	* icons/vector/i-directory.svg:
	* icons/vector/i-regular.svg:
	* icons/vector/i-regular.xml:
	* icons/vector/vector.xml:
	the vector theme is no more

	* nautilus.spec.in:
	removed the vector theme from the rpm spec file
	* po/POTFILES.in:
	removed the vector theme from the localized files

	* src/nautilus-property-browser.c: (make_property_tile),
	(nautilus_property_browser_get_category_width):
	tweaked the layout

	* src/nautilus-sidebar-title.c:
	(nautilus_sidebar_title_theme_changed):
	changed default shadow to 1 pixel

	* src/nautilus-theme-selector.c: (done_button_callback),
	(nautilus_theme_selector_initialize):
	added a done button like the property browser
2001-01-22 01:36:05 +00:00
Mike Engber 9ec707d707 reviewed by: Brian Frank
reviewed by: Brian Frank

	* data/static_bookmarks.xml:
	Changes for PR3 default bookmarks. Use redirects.
2001-01-19 19:46:39 +00:00
Andy Hertzfeld 6fd1c47076 fixed bugs 5189, 5190 and 5046, pattern and emblem names not translated,
fixed bugs 5189, 5190 and 5046, pattern and emblem names
	not translated, and upper-casing emblem names is bad for
	translation, by introducing a translatable display name
	specified in the browser xml file.

	* libnautilus-extensions/nautilus-customization-data.c:
	(nautilus_customization_data_new),
	(nautilus_customization_data_get_next_element_for_display),
	(nautilus_customization_data_destroy), (format_name_for_display),
	(load_name_map_hash_table):
	made it load a display name mapping from the browser xml file into
	a hash table when a nautilus customization is created; use the mapping
	to return a label with a translated name.

	* src/file-manager/fm-properties-window.c: (create_emblems_page):
	rewrote the emblem code in the properties window to use
	nautilus_customization instead of ad hoc code, so it will use
	the translated names.

	* src/nautilus-property-browser.c: (get_color_category):
	replaced custom xml code with a standard routine from xml_extensions.

	* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
	fixed a memory leak and tweaked the code a bit for translated names.

	* data/browser.xml:
	added display name mappings for patterns and emblems
2001-01-07 09:14:17 +00:00
Arlo Rose 3fa4e40a32 Deleted the Bricks.png 2000-12-23 00:07:07 +00:00
John Sullivan 19804290eb reviewed by: Darin Adler <darin@eazel.com>
Terminology change -- the window & menu item formerly known
	as "Customization" are now known as "Backgrounds and Emblems";
	the swatches of image formerly known as "backgrounds" are
	now known as "patterns".

	After 1.0 if this window acquires more varied content we will
	have to redo the menu item & window label, though we will
	continue to distinguish between "backgrounds" and "patterns",
	since "backgrounds" encompasses colors as well as images.

	Note that this change will only appear in full (and your
	"Backgrounds and Emblems" window work in full) after you've
	deleted your ~/.nautilus directory and let Nautilus make you
	a new one.

	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
	(file_opened_callback): Set vfs_handle to NULL on failure.
	(load_done): Don't try to close pixbuf loader if it's NULL.
	These two bugs were flushed out by a temporary state on my
	machine where the theme was using a non-existent file for
	its background image.

	* data/backgrounds/Makefile.am: removed this file, as well as
	all the image files in this directory.

	* data/patterns/.cvsignore:
	* data/patterns/Makefile.am: New files, copied from data/backgrounds.
	Also copied over all image files from data/backgrounds, which is now
	obsolete.

	* data/Makefile.am: Changed "backgrounds" subdir to "patterns"

	* configure.in: changed data/backgrounds/Makefile to
	data/patterns/Makefile

	* nautilus.spec.in: Changed regular expressions with "backgrounds"
	to use "patterns"

	* data/browser.xml: Changed "background" to "pattern" in the
	terminology in this file, which gets installed into ~/.nautilus.
	You have to remove your ~/.nautilus to get a fresh one of these;
	without doing so the "Backgrounds and Emblems" window will be
	confused (won't crash, will use wrong terminology and sometimes
	have blank content).

	* icons/ardmore/ardmore.xml:
	* icons/arlo/arlo.xml:
	* icons/default.xml:
	* icons/eazel/eazel.xml:
	* icons/gnome/gnome.xml:
	* icons/vector/vector.xml:
	* icons/villanova/villanova.xml: Changed "backgrounds" directory
	references to "patterns"

	* libnautilus-extensions/nautilus-customization-data.h:
	* libnautilus-extensions/nautilus-customization-data.c:
	(nautilus_customization_data_new),
	(nautilus_customization_data_get_next_element_for_display),
	(nautilus_customization_data_destroy),
	(nautilus_customization_make_pattern_chit): Change "background" to
	"pattern" in many places, including one public function name.

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_initialize),
	(nautilus_property_browser_drag_data_get), (make_drag_image),
	(make_color_drag_image), (remove_pattern), (remove_emblem),
	(nautilus_property_browser_remove_element),
	(add_pattern_to_browser), (add_new_pattern),
	(add_new_button_callback), (element_clicked_callback),
	(make_properties_from_directories), (add_reset_property),
	(nautilus_property_browser_update_contents),
	(nautilus_property_browser_set_category): Change "background" to
	"pattern" in many places. Also change window title from
	"Customization Options" to "Backgrounds and Emblems".

	* src/nautilus-shell-ui.xml: Change "Customization..." to
	"Backgrounds and Emblems...".

	* test/test-nautilus-background.c: (main):
	* test/test-nautilus-font.c: (create_named_background):
	* test/test-nautilus-label.c:
	(widget_set_nautilus_background_image): Changed test code that was
	using sample images from backgrounds directory to look in patterns
	directory instead.
2000-12-11 19:30:39 +00:00
Andy Hertzfeld 8960b5ee6e fixed problem with "command/verb separation", and added support for the
* components/text/nautilus-text-view.c:
	(nautilus_text_view_initialize), (add_one_service),
	(update_service_menu_items), (merge_bonobo_menu_items):
	fixed problem with "command/verb separation", and added support
	for the clipboard to the text view.

	* nautilus-clean.sh:
	added nautilus-text-view to nautilus-clean.sh

	* data/emblems/Makefile.am:
	* data/emblems/danger.png:
	* icons/Makefile.am:
	* icons/emblem-danger.svg:
	added danger emblem from Susan

	* icons/i-executable.png:
	* icons/i-executable-aa.png:
	fixed bug 4691, executable icon looks like KDE icon, by using
	a new icon from Susan

	* src/file-manager/fm-icon-view.c:
	(icon_container_preview_callback):
	fixed bug 4926, Nautilus tries to preview realaudio files but
	can't, by special casing the realaudio mime type.  Also, cleaned
	things up a little by removing redundant is_local call.
2000-12-07 18:33:29 +00:00
Darin Adler b2609b013b reviewed by: John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-directory-view.c:
	(display_selection_info_idle_callback),
	(update_menus_idle_callback), (display_pending_idle_callback): Add
	code to ref the BonoboControl around all three of these idle
	functions to eliminate the problem where the directory view would
	get destroyed in the middle of an idle.

	* data/browser.xml:
	* data/linksets/apps.xml:
	* data/linksets/desktop.xml:
	* data/linksets/portals.xml:
	* data/linksets/search_engines.xml:
	* data/static_bookmarks.xml:
	Used "_" prefix on all localizable fields of XML files.

	* po/POTFILES.in: Add all these XML files that need translation.

	* libnautilus-extensions/nautilus-link-set.c:
	(nautilus_link_set_install), (nautilus_link_set_is_installed),
	(nautilus_link_set_remove): Fix storage leaks, also use
	nautilus_xml_get_property_translated to get the property for the
	"name" property so it can be translated if desired.

	* libnautilus-extensions/nautilus-xml-extensions.h:
	* libnautilus-extensions/nautilus-xml-extensions.c:
	(nautilus_xml_get_property_translated): Add a version of
	xmlGetProp that looks for an untranslated version of the property
	and runs it through gettext if there is not a pre-translated
	version present.  For strings downloaded from the service, for
	example, we'll probably use a pre-translated string, but for
	things in the Nautilus source tree we can use an untranslated
	string.

	* src/nautilus-bookmark-parsing.c:
	(nautilus_bookmark_new_from_node): Use
	nautilus_xml_get_property_translated to get the bookmark name so
	that static bookmarks can have names translated with gettext. New
	versions of the static bookmarks downloaded from the service can
	use either kind of name. And user-created bookmarks are not run
	through the gettext mechanism.

	* src/nautilus-window-menus.c: (create_menu_item_from_node): Use
	nautilus_xml_get_property_translated to get the folder names
	translated just as the bookmarks themselves.

	* src/nautilus-link-set-window.c: (get_link_set_names): Added a
	FIXME. The link set names should come from inside the XML, not
	from the file names.

	* src/nautilus-property-browser.c: (get_xml_path),
	(read_browser_xml), (write_browser_xml), (get_color_category):
	(remove_color), (add_color_to_file): Factor out some shared code.
	(add_reset_property): Make hard-wired font size with FIXME.
	(make_properties_from_xml_node): Fix storage leaks and get the
	name of the color using nautilus_xml_get_property_translated so
	the names can be translated.
	(set_up_category_width): Fix storage leaks
	(nautilus_property_browser_update_contents): Fix storage leaks and
	get the display name and description with
	nautilus_xml_get_property_translated so they can be translated.

	* check-THANKS.pl: Got rid of extra blank line at end.

	* libnautilus-extensions/nautilus-customization-data.c:
	(format_name_for_display): Add FIXME to bad-for-localization
	function that turns "_" into " " and capitalizes the first letter
	after each " ".
2000-11-14 19:20:55 +00:00
Brian Frank ddd5a8fa3d data/static_bookmarks.xml Fixed capitalization problem of VMware name in
2000-10-31  Brian Frank  <bfrank@eazel.com>

	* data/static_bookmarks.xml
	Fixed capitalization problem of VMware name in bookmark list
2000-10-31 20:07:27 +00:00
Brian Frank f0c3609649 data/static_bookmarks.xml Updated bookmarks list to current links
* data/static_bookmarks.xml
	Updated bookmarks list to current links
2000-10-24 21:05:38 +00:00
Andy Hertzfeld 1784159c8f added new certified emblem from Susan
added new certified emblem from Susan
2000-10-24 08:04:54 +00:00
Ramiro Estrugo 5d418bbf0f Added missing font metrics. Also update to latest urw fonts.
* data/fonts/urw/Makefile.am:
	* data/fonts/urw/fonts.dir:
	* data/fonts/urw/n019003l.afm:
	* data/fonts/urw/n019004l.afm:
	* data/fonts/urw/n019023l.afm:
	* data/fonts/urw/n019024l.afm:
	Added missing font metrics.
	Also update to latest urw fonts.
2000-10-20 08:56:54 +00:00
Andy Hertzfeld c05bcb4e61 removed
* data/emblems/Makefile.am:
	* data/emblems/confidential.gif: removed
	* data/emblems/cool.png:
	* data/emblems/secret.png:
	added new emblems from Susan, and deleted confidential

	* icons/Makefile.am:
	* icons/emblem-confidential.gif: removed
	* icons/emblem-cool.svg:
	* icons/emblem-distinguished.svg:
	* icons/emblem-new.svg:
	* icons/emblem-noread.svg:
	* icons/emblem-nowrite.svg:
	* icons/emblem-secret.svg:
	added and updated emblems from Susan, and deleted the
	confidential emblem (replace by "secret").
2000-10-13 08:29:59 +00:00
Robin * Slomkowski 6ec340ffbb added placeholder files a mostly empty file so rpm will produce a package
2000-10-10  Robin * Slomkowski  <rslomkow@eazel.com>

	* data/Makefile.am: added placeholder files
	* data/nautilus-extras.placeholder: a mostly empty file so rpm will produce a package
	* data/nautilus-suggested.placeholder: a mostly empty file so rpm will produce a package
	* nautilus.spec.in: moved login-view to trilbite component, also added placeholder files
2000-10-11 06:57:06 +00:00
John Sullivan 038e803b91 Fixed typo in built-in bookmark ("freshmean.net")
* data/static_bookmarks.xml:
2000-10-06 19:03:32 +00:00
Andy Hertzfeld 85fedef727 made it use nautilus_image instead of gtk_pixmap so nice anti-aliased
made it use nautilus_image instead of gtk_pixmap so nice
	anti-aliased emblems can be displayed, plus new or updated
	emblems from Susan.
2000-10-06 00:07:46 +00:00
Andy Hertzfeld 72ac788639 fixed bug 3412, about.html in novice home directory misaligned with
fixed bug 3412, about.html in novice home directory misaligned
	with audience, by deleting it

	improved property browser item layout by making the labels
	line up in the table.
2000-10-05 08:03:17 +00:00
Arlo Rose c8a7295548 Fixed dumb typo.
* data/browser.xml:
        Fixed dumb typo.
2000-09-27 00:15:56 +00:00
Arlo Rose 9f7e18eadf Added new colors, and names to match. These are less jarring, and make for
* data/browser.xml:
        Added new colors, and names to match. These are less jarring, and
        make for good backgrounds.
        Fixes Bug 3204.
2000-09-26 23:42:57 +00:00
Arlo Rose 62e47b07aa Added names to our colors, but will replace the colors later.
* data/browser.xml:
        Added names to our colors, but will replace the colors later.
2000-09-22 01:44:57 +00:00
Andy Hertzfeld 7c7c5b51fa fixed bug 3169, emblems should come last in property browser, by changing
fixed bug 3169, emblems should come last in property browser,
	by changing the order in the xml definition file.
2000-09-21 08:18:38 +00:00
John Sullivan 325450ebda Fixed bug 2875 (update set of built-in bookmarks)
* data/static_bookmarks.xml:

	Fixed bug 2872 (Complaint about bookmark location mismatch
	when visiting new folder)

	* libnautilus-extensions/nautilus-file-utilities.h:
	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_uris_match): New function, compares two uris
	after canonicalizing each.

	* src/nautilus-window-manage-views.c:
	(check_last_bookmark_location_matches_window):
	Use nautilus_uris_match to compare bookmark's uri with
	window's uri.
2000-09-07 21:57:42 +00:00
Ramiro Estrugo 4bac44af5f Work on task 1588.
* configure.in:
	* data/Makefile.am:
	* data/fonts/.cvsignore:
	* data/fonts/Makefile.am:
	* data/fonts/urw/.cvsignore:
	* data/fonts/urw/Makefile.am:
	* data/fonts/urw/README:
	* data/fonts/urw/fonts.dir:
	Add a fallback font in case no Type1 fonts are found in the
	system.  This font was plucked from the ghostscript-fonts-5.10a
	package. See data/fonts/urw/README for more info.
2000-09-05 04:04:00 +00:00
Arlo Rose e7beb337f1 Fixed all outstanding cHRM white point problems.
Fixed all outstanding cHRM white point problems.

        * data/emblems/OK.png
        * data/emblems/draft.png
        * data/emblems/erase.png
        * data/emblems/favorite.png
        * data/emblems/important.png
        * data/emblems/new.png
        * data/emblems/ohno.png
        * data/emblems/personal.png
        * data/emblems/urgent.png
        * icons/backgrounds.png
        * icons/colors.png
        * icons/emblems.png
        * icons/knob.png
        * icons/nautilus-logo.png
        * icons/search.png
        * icons/eazel/i-directory-aa.png
        * icons/eazel/i-directory-accept-72.png
2000-08-30 00:43:17 +00:00
Andy Hertzfeld bdb1a8e742 implemented task 2078, we need a better drag and drop based way to delete
implemented task 2078, we need a better drag and drop based way
	to delete emblems, by adding a special "erase" emblem and adding
	code to special-case it to delete the emblems.
2000-08-17 23:22:48 +00:00
Andy Hertzfeld fa39263c90 added a separate theme selection window and removed theme selection from
added a separate theme selection window and removed theme
	selection from the property browser
2000-08-14 04:17:20 +00:00
Andy Hertzfeld 38a07aeed0 added a new set of built-in bookmarks from Brian Frank.
added a new set of built-in bookmarks from Brian Frank.
2000-08-10 01:51:52 +00:00
Andy Hertzfeld 1a797620f9 added more new emblems from Susan and updated some existing ones
added more new emblems from Susan and updated some existing ones
2000-08-04 00:21:53 +00:00
Andy Hertzfeld c59cc9544e draw the embedded icon text in a sans-serif font. Also, added a bunch of
draw the embedded icon text in a sans-serif font.  Also, added
	a bunch of new emblems from Susan.
2000-08-03 03:50:58 +00:00
Darin Adler af9e74dc92 Mostly some tweaking on the recent link file work.
* data/top/Makefile.am: Install the new ".link" files.
	* data/top/Computer: Renamed from Computer.link and added the new stuff
	needed for the MIME magic.
	* data/top/Computer.link: [deleted]
	* data/top/Services: Renamed from Services.link and added the new stuff
	needed for the MIME magic.
	* data/top/Services.link: [deleted]

	* components/tree/nautilus-tree-view.c: (queue_pending_files):
	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_get_string_attribute):
	Get rid of all use of nautilus_link_get_display_name since
	links all have plain names now.

	* libnautilus-extensions/nautilus-directory-async.c:
	(set_up_request_by_file_attributes): Fix bug that was causing the
	program to get the activation URI for every single icon.  Lots of
	extra I/O! Also changed it to get the file info first since the
	activation URI is now based on MIME type.
	(lacks_activation_uri): Don't try to get the activation URI until
	after the file info is there.
	(activation_uri_done),
	(activation_uri_read_done),
	(activation_uri_nautilus_link_read_callback),
	(activation_uri_gmc_link_read_callback),
	(start_getting_activation_uris):
	Changed the code to read the activation URI to use MIME type,
	so now it doesn't have to open every file just to find out if it's
	a GMC link.

	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_get_desktop_directory): Get rid of a tiny bit of dead code.

	* libnautilus-extensions/nautilus-file.h:
	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_contains_text): No need to special-case the link
	file any more because its MIME type will now make it clear it's
	not a text file.  Also removed nautilus_file_activate_custom since
	it's not needed any more and moved the logic into
	fm-directory-view.c.

	* libnautilus-extensions/nautilus-icon-factory.c:
	(nautilus_icon_factory_get_icon_for_file): Added FIXMEs.

	* libnautilus-extensions/nautilus-link-set.c:
	(nautilus_link_set_install): Changed comments to not call link files
	".link" files.

	* libnautilus-extensions/nautilus-global-preferences.h:
	* libnautilus-extensions/nautilus-global-preferences.c:
	(global_preferences_register_for_ui): Removed the
	NAUTILUS_PREFERENCES_SHOW_REAL_FILE_NAME preference since we no
	longer have to lie about file names to make ".link" files
	palatable.

	* libnautilus-extensions/nautilus-link.h:
	* libnautilus-extensions/nautilus-link.c: (nautilus_link_create):
	Added code that notifies the NautilusFile framework that a new file
	has been created, so callers don't have to worry about that.
	(nautilus_link_is_link_file): Simplified the code -- turned it into
	a one-liner.
	(nautilus_link_set_icon): The old code had half NautilusFile calls
	and half sync. I/O. Got rid of the NautilusFile stuff. Also put the
	code in to notify the NautilusFile framework about the change to
	the file.
	(nautilus_link_get_root_property): Added FIXME.
	(nautilus_link_get_additional_text): Added FIXME.
	(nautilus_link_get_link_uri): Added FIXME.
	Removed nautilus_link_get_display_name since it's not needed.

	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
	Fixed GnomeVFSURI leak and turned a GnomeVFSURI into a text URI
	with gnome_vfs_uri_to_string, rather than gnome_vfs_uri_get_path
	which will not do anything useful.

	* src/file-manager/fm-desktop-icon-view.c:
	(mount_device_mount), (place_home_directory): Use
	nautilus_get_uri_from_local_path instead of just sticking a
	"file://" prefix on. Simplified by putting code to notify about
	the link file into the link file create function. Some other
	code cleanups and fixes of path/URI confusion.
	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_initialize): Use NAUTILUS_N_ELEMENTS.
	(fm_directory_view_display_selection_info), (queue_pending_files):
	Get rid of use of nautilus_link_get_display_name.
	(activate_callback): Added code to handle "command:" URIs, which
	used to be in nautilus_file_activate_custom.
	(fm_directory_view_activate_file): Get rid of call to the
	nautilus_file_activate_custom function.
	(set_trash_empty): Rewrote to simplify and fix some path/URI
	confusion.
	* src/file-manager/fm-icon-view.c: (get_icon_text_callback):
	Get rid of use of nautilus_link_get_display_name.

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_drag_data_get), (remove_background),
	(remove_emblem), (emblem_image_file_changed),
	(add_background_to_browser), (emblem_dialog_clicked),
	(make_properties_from_directory): Use
	nautilus_get_uri_from_local_path instead of just sticking a
	"file://" prefix on.
	(get_xml_path): Use nautilus_make_path instead of just sticking
	a "/" between the two pieces.
2000-07-31 17:26:31 +00:00
Andy Hertzfeld e98e96450e fixed breakage in the novice home directory by adding the mime-magic
fixed breakage in the novice home directory by adding the mime-magic
	string "NAUTILUS_LINK" to the built-in links so they are recognized
	as such.  Also, some cleanup in nautilus-link.
2000-07-31 05:36:48 +00:00
John Sullivan 0430cc6d73 Finished task 1793 (Display hierarchical pre-canned set of bookmarks)
There's now a "static_bookmarks.xml" file that gets installed into
	the Nautilus data directory. Its contents are parsed into menu items
	that appear above the user's dynamic items. The static items can
	include hierarchy and separators. I put in silly content; someone
	else will have to figure out what content we want to ship.

	* data/static_bookmarks.xml: New file, tree of bookmarks to display.
	* data/Makefile.am: Install the bookmarks file into data directory.

	* src/nautilus-bookmark-parsing.h,
	* src/nautilus-bookmark-parsing.c: New files, contain xml-bookmark-
	parsing code that's used by both the static and dynamic bookmarks.
	* src/Makefile.am: tell build about new files.

	* src/nautilus-bookmark-list.c:
	(make_bookmark_from_node): Moved and renamed this into new file.
	(nautilus_bookmark_list_load_file): Call renamed function.

	* src/nautilus-window-menus.c:
	Renamed BookmarkHolder "in_bookmarks_menu" field to "prompt_for_removal"
	to clarify its use.
	(bookmark_holder_new), (show_bogus_bookmark_window): Accounted for
	name changes.
	(append_separator): Just moved this function.
	(get_static_bookmarks_file_path): New function, returns path for
	static bookmarks file if found.
	(create_menu_item_from_node): New function, creates a menu item
	from an xml node, recursing into folders.
	(append_static_bookmarks): New function, reads xml document and
	starts the menu-item-creation recursion.
	(nautilus_window_initialize_bookmarks_menu): Now calls
	append_static_bookmarks before handling the dynamic ones.

	* src/nautilus-window-private.h: New last_static_bookmark_path field
	in Details struct.
	* src/nautilus-window.c: (nautilus_window_destroy): free
	last_static_bookmark_path field.
2000-07-28 18:34:13 +00:00
Arlo Rose 971ee790a6 data/backgrounds/*.png icons/eazel/*.png I fixed all the png files in
2000-07-27  Arlo Rose  <arlo@eazel.com>

        * data/backgrounds/*.png
        * icons/eazel/*.png
        I fixed all the png files in these directories that
        contained the bad white point.
2000-07-27 22:08:31 +00:00
Andy Hertzfeld 15488b5887 made it so that different categories in the property browser could have a
made it so that different categories in the property browser
	could have a different number of colummns, as specified in
	the browser.xml file.
2000-07-26 19:58:12 +00:00
Andy Hertzfeld 4838c0b49f added new backgrounds from Susan
added new backgrounds from Susan
2000-07-14 02:13:45 +00:00
Andy Hertzfeld 5adea211fb added the capability to have optimized icons for the anti-aliased mode,
added the capability to have optimized icons for the anti-aliased
	mode, and added a bunch of aa-optimized icons to the eazel theme.
2000-07-13 21:57:32 +00:00
Andy Hertzfeld f02ff1ac15 more tweaks to the property browser
more tweaks to the property browser
2000-07-12 02:16:59 +00:00
Andy Hertzfeld 897e22a4a4 removed intrinsic property emblem images from browser; added Susan's new
removed intrinsic property emblem images from browser; added
	Susan's new user level images, used new sidebar tab edge piece
	in the arlo theme, and made web search force local search off.
2000-07-11 20:11:46 +00:00
Andy Hertzfeld b71c95b096 fixed recently introduced problem in browser.xml by reverting back to
fixed recently introduced problem in browser.xml by reverting
	back to lower-case.  Also, removed the theme selector from the
	appearance panel.
2000-07-11 06:23:42 +00:00
Andy Hertzfeld ea17634557 added a "web search" button to the toolbar. To do this, I also had to
added a "web search" button to the toolbar.  To do this, I also
	had to create a new toolbar subclass to overcome the problem
	of using the maximum width for all the buttons.
2000-07-11 02:59:49 +00:00
Andy Hertzfeld 84cdcd49ef made the property browser update when the theme changes; fixed bug in
made the property browser update when the theme changes; fixed
	bug in making theme selectors, and added emblems that I forgot
	to add on Friday.
2000-07-10 18:14:47 +00:00
Andy Hertzfeld 33d57594f3 improved the property browser. Added a line of descriptive text. Added a
improved the property browser. Added a line of descriptive text.
	Added a new "theme" section.
2000-07-10 08:18:07 +00:00
Andy Hertzfeld cfd8731889 made the text color in the sidebar label and tabs automatically choose
made the text color in the sidebar label and tabs automatically
	choose light or dark depending on the background and tab color.
	Also, made the property browser generally stay open and be
	resizable.
2000-07-09 08:22:52 +00:00
Eskil Heyn Olsen 830d17851e Represents the july 5th milestone.
* components/services/install/command-line/genpkg_list.example:
	Represents the july 5th milestone.

	(create_default_metadata):
	* components/services/install/lib/eazel-install-rpm-glue.c:
	(rpm_show_progress), (do_rpm_install),
	(eazel_install_fetch_rpm_dependencies):
	Added some FIXME's. Fixed a horrible mem bug. It now leaks, but
	rpm install works.

	* components/services/install/lib/eazel-install-xml-package-list.c:
	(parse_package):
	Added a check so the strtol isn't a risk anymore

	* components/services/trilobite/idl/trilobite-service.idl:
	Added the interface for the password query hell.

	* components/services/trilobite/libtrilobite/Makefile.am:
	*
	components/services/trilobite/libtrilobite/trilobite-service-passwo
	rdquery-private.h:
	*
	components/services/trilobite/libtrilobite/trilobite-service-passwo
	rdquery-public.h:
	*
	components/services/trilobite/libtrilobite/trilobite-service-passwo
	rdquery.c: (trilobite_passwordquery_get_epv),
	(trilobite_passwordquery_destroy),
	(trilobite_passwordquery_set_arg),
	(trilobite_passwordquery_class_initialize),
	(trilobite_passwordquery_construct),
	(trilobite_passwordquery_create_corba_object),
	(trilobite_passwordquery_initialize),
	(trilobite_passwordquery_get_type), (trilobite_passwordquery_new):
	Did the initial passwordquery corba object by cp & s/x/y/ on
	trilobite-service*[ch].

	* data/emblems/Makefile.am:
	removed personal.png from _DATA, as it does not exists

	* icons/Makefile.am:
	removed emblem-personal.svg

	* icons/vector/Makefile.am:
	icons/Makefile.am

	* nautilus-installer/src/Makefile:
	* nautilus-installer/src/installer.c: (eazel_install_progress),
	(make_dirs), (installer):
	Now creates the /var/eazel/services dir. Sets the proper flags for
	the install object and again prints the package name during
	progress display.

	* nautilus-installer/src/interface.c: (create_window):
	Fiddled with the layout, everything doesn't jump around anymore,
	just a few things.

	* nautilus-installer/src/prescript:
	Inc'ed the version to 0.1d
2000-07-08 03:08:03 +00:00
Andy Hertzfeld 61eba534c5 added, removed and changed some emblems, as first step of ongoing emblem
added, removed and changed some emblems, as first step of ongoing
	emblem clean-up.
2000-07-08 01:45:48 +00:00
Andy Hertzfeld 109d5ae04a made sidebar tabs themable, and implemented Arlo style tabs, which are
made sidebar tabs themable, and implemented Arlo style tabs, which
	are finished yet.
2000-07-03 05:00:29 +00:00
Andy Hertzfeld b607318a3c added a new theme for Arlo; added a "combine mode to nautilus background
added a new theme for Arlo;
	added a "combine mode to nautilus background that composites an
	image background onto the colored one.
2000-06-30 08:11:38 +00:00
Andy Hertzfeld 435a46e6eb added a context menu to the sidebar with a reset background item, and also
added a context menu to the sidebar with a reset background item,
	and also added a drag-and-drop way to reset background using a
	special image.
2000-06-22 02:10:34 +00:00
Andy Hertzfeld 4c62c6fe27 added new background images from Susan, and removed some of the older
added new background images from Susan, and removed some of the
	older ones.  Also, replaced the "cant write" emblem with a new
	one from Susan.
2000-06-21 00:38:13 +00:00
Andy Hertzfeld 0e3e6589d8 made link set install and remove really work, and added a link set
made link set install and remove really work, and added a link set
       configuration window for adding and removing link sets
2000-06-12 07:34:26 +00:00
Andy Hertzfeld f0e522785c fixed a bug I introduced earlier today where custom icons wouldn't scale
fixed a bug I introduced earlier today where custom icons wouldn't
	scale properly by using a different test for the vector icon
	case
2000-06-10 07:35:10 +00:00
Andy Hertzfeld e7d660625e added some web linksets and made nautilus-link support remote images by
added some web linksets and made nautilus-link support remote images by
       fetching them through http and caching them locally.
2000-06-05 08:21:16 +00:00
Darin Adler b583918e4c [removed] Changed to use the new trash icon Arlo checked in and removed
* data/linksets/desktop.xml:
	* icons/Makefile.am:
	* icons/trash.png: [removed]
	Changed to use the new trash icon Arlo checked in and removed
	the old one.
2000-06-03 00:08:59 +00:00
Darin Adler a51a8ee58c Ignore some Makefile and Makefile.in files.
* components/services/install/idl/.cvsignore:
	* components/services/time/idl/.cvsignore:
	Ignore some Makefile and Makefile.in files.

	* data/linksets/Makefile.am:
	* data/linksets/desktop.xml:
	Added a link set for the trash on the desktop.

	* icons/Makefile.am:
	Added a trash icon (actually a copy of the Nautilus icon right
	now :-).

	* libnautilus-extensions/nautilus-link-set.h:
	* libnautilus-extensions/nautilus-link-set.c: (create_new_link),
	(nautilus_link_set_install), (nautilus_link_set_remove):
	Fixed some URI-related issues and added a special case for the ~
	character so we can have link sets that are for the home directory.

	* libnautilus-extensions/nautilus-string.c:
	(nautilus_str_capitalize): Got rid of the unneeded call to strlen.
	strlen == 0 is the slowest way I know to check for an empty string.
	Also check islower before calling toupper for paranoia like the
	calls in glib do (internally).

	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
	Install the desktop link set when we are created. For now this
	installs the trash (in a fairly lame way).

	* src/nautilus-property-browser.c: (remove_color),
	(add_color_to_file), (make_properties_from_xml_node),
	(nautilus_property_browser_update_contents):
	Changed code to not reference "childs" directly so it's easy to
	switch to a new version of gnome-xml.

	* test/.cvsignore: Ignore test-nautilus-mime-actions-set.
2000-06-02 17:25:00 +00:00
Andy Hertzfeld f30271afae made linksets actually work. fixed audio previewing for filename with
made linksets actually work.
	fixed audio previewing for filename with special characters
	made links work for filenames with special characters
	added some icons for the default link set
2000-06-02 07:06:54 +00:00
Andy Hertzfeld a8cb20a8b6 fixed problem where sounds with special characters in their filename
fixed problem where sounds with special characters in their filename
	wouldn't preview properly; also, replace the computer link icon with
	a more generic, vector-based one and upgraded the open folder to
	one with gradients
2000-06-02 01:51:28 +00:00
Andy Hertzfeld c0f797d9dc first checkin for link sets, which are incomplete and not hooked up yet.
first checkin for link sets, which are incomplete and not hooked
	 up yet.  Also, added a title to the property browser and improved
	 the default color choices to one's specified by Susan.
2000-06-01 01:24:21 +00:00
Andy Hertzfeld 21d793f893 implemented adding and removing colors and backgrounds to the property
implemented adding and removing colors and backgrounds to the
	 property browser.
2000-05-08 08:40:16 +00:00
Andy Hertzfeld a151b66b83 added colors category image and another background
added colors category image and another background
2000-05-06 01:00:35 +00:00
Andy Hertzfeld f0c8ba7f53 added colors to the property browser. Still needs work, which I'll finish
added colors to the property browser. Still needs work, which
	I'll finish tomorrow
2000-05-05 08:03:02 +00:00
Andy Hertzfeld 41b7f28c0d added the ability to drop emblems from the property browser onto icons in
added the ability to drop emblems from the property browser onto
       icons in the icon view; also, added a new background tile
2000-05-05 01:02:37 +00:00
Andy Hertzfeld d2b30c891d made the index panel display emblems. Made dropping emblems on the index
made the index panel display emblems.  Made dropping emblems on the
	index panel work. Also, added new background image
2000-05-03 08:36:13 +00:00
Andy Hertzfeld f81dc0d45c 1st cut at the property browser for drag and drop customization
1st cut at the property browser for drag and drop customization
2000-05-03 01:11:00 +00:00
John Sullivan 225e67f12b data/mime/.cvsignore, , Removed files. Nautilus doesn't need to install
* data/mime/.cvsignore,
	* data/mime/Makefile.am:,
	* data/mime/nautilus.keys: Removed files. Nautilus
	doesn't need to install the human-readable MIME
	descriptions any more because gnome-vfs does it.

	* configure.in,
	* data/Makefile.am: Removed build system fu that
	was installing nautilus.keys.
2000-05-02 17:47:44 +00:00
John Sullivan 6b1364e60f Fixed bug 575 (Make Nautilus use gnome-vfs-mime)
Converted all the (few) places where Nautilus code was
	using the old gnome-libs MIME API to use the new gnome-vfs
	MIME API.

	* components/help/help-method.c (convert_file_to_uri):
	Use gnome_vfs_mime_type_of_file. This function should
	probably use NautilusFile rather than calling the MIME
	stuff directly, but I just couldn't get distracted into
	trying to improve it.

	* libnautilus-extensions/nautilus-file.c
	(nautilus_file_get_type_as_string):
	Use gnome_vfs_mime_description.
	* libnautilus-extensions/nautilus-icon-factory.c
	(nautilus_icon_factory_get_icon_name_for_regular_file):
	Use gnome_vfs_mime_get_value.


	* data/mime/nautilus.keys: Added a translation for
	"special/symlink" because it now starts showing up when
	using ftp:// locations. Perhaps we need to fix something
	in ftp also.
2000-05-01 23:36:57 +00:00
Andy Hertzfeld 550ad27236 added a HTML based "About Nautilus" to the novice home directory
added a HTML based "About Nautilus" to the novice home directory
2000-04-27 07:16:49 +00:00
John Sullivan 86e64a0269 Added one more missing MIME type (application/x-dia-diagram) reported by user. 2000-04-26 00:59:04 +00:00
John Sullivan 1a80b273d6 data/mime/nautilus.keys
* data/mime/nautilus.keys

	Removed [en_US] from file-type human-readable descriptions.
	Added text explaining how to add a localized description.
	This fixes problem where if your language variable isn't
	set you get raw MIME types instead of human-readable descriptions.
2000-04-26 00:57:10 +00:00
Andy Hertzfeld f06f9edff4 added new hardware view component, plus renamed link files
added new hardware view component, plus renamed link files
2000-04-24 09:05:21 +00:00
Andy Hertzfeld 638912544a made nautilus link files control the additional text displayed under their
made nautilus link files control the additional text displayed
       under their name.
2000-04-19 06:39:19 +00:00
Andy Hertzfeld 9f1eccb99b better abstraction for new, xml-based link files, plus added some objects
better abstraction for new, xml-based link files, plus added
       some objects for the novice home directory
2000-04-18 20:53:19 +00:00
Andy Hertzfeld 58617d69be made clicking on gmc-style URL files redirect to the URL they reference.
made clicking on gmc-style URL files redirect to the URL they reference.
	Also, removed absolute paths to icon references in
	data/mime/nautilus.keys.
2000-04-17 22:21:10 +00:00
John Sullivan c4002e6e15 Fixed bugs, mostly related to editable text fields.
* README: Made the contents of this file slightly helpful.

	* data/mime/nautilus.keys: Added an obscure MIME type that
	someone reported running into.

	* libnautilus-extensions/nautilus-entry.h,
	* libnautilus-extensions/nautilus-entry.c: New files. Define a
	subclass of GtkEntry (one-line text editing field) that fixes
	bugs and adds convenience functions.
	(nautilus_entry_key_press): Override key_press handler to treat
	the keypad Enter key the same as the other Enter key (in GtkEntry
	it inserts a "/r" into the text).
	(nautilus_entry_select_all): Select all text, and move the text
	cursor position to the end.
	(nautilus_entry_select_all_at_idle): Same, but do it at the next
	idle opportunity. Useful since nautilus_entry_select_all won't
	work right if called in a key_press signal handler.
	* libnautilus-extensions/Makefile.am: Build these two new files.

	* src/file-manager/fm-properties-window.c:
	(name_field_activate): New function, updates file name and
	selects all text.
	(create_properties_window): Make name_field be a NautilusEntry.
	This fixes half of bug 433 (Enter keys don't work properly in
	properties window). Also attach to "activate" signal and update
	name change then. This fixes other half of bug 433. Also start
	with name field selected & focused. This fixes bug 432 (properties
	window should appear with name text selected).
	(name_field_update_to_match_file): Only update the displayed text
	if the new name coming in is different. This was needed to make
	select-all-on-activate work.
	(name_field_done_editing): Don't accept empty string as name;
	silently revert back to original name.

	* src/nautilus-bookmarks-window.c:
	(create_bookmarks_window): Change name & uri text fields to
	NautilusEntry; this causes keypad Enter key to behave like other
	Enter key. Also connect to focus_in and activate signals.
	(update_bookmark_from_text): New function, extracted from
	on_text_field_focus_out_event.
	(on_text_field_focus_out_event): Deselect all text after updating
	bookmark.
	(on_text_field_focus_in_event): New function, select all text.
	(name_or_uri_field_activate): New function, update bookmark and
	select all text.

	* src/nautilus-location-bar.c:
	(nautilus_location_bar_initialize): Use NautilusEntry instead of
	GtkEntry. This makes keypad Enter act like other Enter in uri-entry
	field.

	* src/ntl-window-msgs.c:
	(nautilus_window_end_location_change_callback): Make "Nautilus can't
	handle this type of file" message mention (human-readable version of)
	file type.
2000-04-17 18:25:56 +00:00
Andy Hertzfeld 1ca4a4ba41 installed some icons for common file types
installed some icons for common file types
2000-04-16 04:38:51 +00:00
John Sullivan aa8fdf8b69 Prefixed all the MIME type descriptions with [en_US], so they can be localized. 2000-04-12 21:18:15 +00:00
John Sullivan e8013d5c0b Added a bunch more MIME type descriptions. 2000-04-12 21:08:23 +00:00
Darin Adler d140e4fc8d Ignore the Makefile and Makefile.in generated files. 2000-04-12 16:15:08 +00:00
John Sullivan f96591d2e3 Addressed most of task 148 (Better type-as-string for
directory views). Added new directory to CVS, so make
	sure you do a "cvs update -d" and not just "cvs update".

	"make install" now installs a file of mime-type-to-English
	descriptions in the gnome-mime directory.

	* data/mime/nautilus.keys: The actual mapping between
	MIME types and English descriptions. Read these and send
	me your abuse.
	* data/mime/Makefile.am: New file, copies nautilus.keys to
	gnome-mime directory.
	* data/Makefile.am: includes "mime" subdirectory
	* configure.in: configures "data/mime" directory

	* libnautilus/nautilus-file.c:
	(nautilus_file_get_mime_type_as_string_attribute):
	New function, returns the raw MIME type as a string,
	and handles the no-MIME-type case.
	(nautilus_file_get_string_attribute): handle attribute
	"mime_type", distinct from "type" which is now the
	human-language one.
	(nautilus_file_get_type_as_string): Use gnome-mime
	to get human-language descriptions based on the MIME
	type.
	(nautilus_file_is_executable): Fixed this function which
	was reading info->flags instead of info->permissions. Now
	the special executable icon appears much more often (though
	we still don't know what it's supposed to be).
	* src/file-manager/fm-error-reporting.c:
	(fm_report_error_renaming_file): Use "directory" instead of
	"folder" to match our terminology elsewhere.
	* src/file-manager/fm-icon-text-window.c:
	add "mime type" to list of choices of text that can appear
	beneath icons (in addition to just plain "type", which is
	the human-language one).
2000-04-12 00:05:23 +00:00
Ramiro Estrugo 636bcb29bc Add a data directory to the tree. This is the default per-user data that
* data/.cvsignore,
data/Makefile.am:
Add a data directory to the tree.  This is the default per-user
data that nautilus installs the first time it runs.

*data/top/.cvsignore,
data/top/Makefile.am,
data/top/Welcome:
Add a top directory to the tree.  The top directory is an
alternative home place for novice users.

*configure.in,
Makefile.am:
Grok the above.
2000-03-12 17:06:37 +00:00