summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndy Hertzfeld <andy@src.gnome.org>2001-02-16 02:29:46 +0000
committerAndy Hertzfeld <andy@src.gnome.org>2001-02-16 02:29:46 +0000
commit7cb5b454a83eb53e3ba5143e4f30ccd913b1cffb (patch)
tree08cfa8d96cd504366084a760ee346f5dcf408068 /data
parentf7b36dba0b07415ba29e7ca2c9b358c88a791927 (diff)
downloadnautilus-7cb5b454a83eb53e3ba5143e4f30ccd913b1cffb.tar.gz
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
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am1
-rw-r--r--data/linksets/Makefile.am1
-rw-r--r--data/linksets/home.xml5
-rw-r--r--data/top/.cvsignore2
-rw-r--r--data/top/.nautilus-metafile.xml8
-rw-r--r--data/top/Computer2
-rw-r--r--data/top/Makefile.am11
-rw-r--r--data/top/Services2
8 files changed, 6 insertions, 26 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 73347b9d8..ed2821ec6 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,5 +16,4 @@ SUBDIRS = \
fonts \
linksets \
patterns \
- top \
$(NULL)
diff --git a/data/linksets/Makefile.am b/data/linksets/Makefile.am
index 45b7b8d8f..8f72f873c 100644
--- a/data/linksets/Makefile.am
+++ b/data/linksets/Makefile.am
@@ -5,6 +5,7 @@ linkdir = $(datadir)/nautilus/linksets
link_DATA = \
apps.xml \
desktop.xml \
+ home.xml \
portals.xml \
search_engines.xml \
$(NULL)
diff --git a/data/linksets/home.xml b/data/linksets/home.xml
new file mode 100644
index 000000000..e6bd97985
--- /dev/null
+++ b/data/linksets/home.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<linkset _name="Home Directory">
+ <link _name="Computer" image="computer.svg" uri="hardware:overview"/>
+ <link _name="Services" image="hand.svg" uri="eazel:"/>
+ </linkset>
diff --git a/data/top/.cvsignore b/data/top/.cvsignore
deleted file mode 100644
index 282522db0..000000000
--- a/data/top/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/data/top/.nautilus-metafile.xml b/data/top/.nautilus-metafile.xml
deleted file mode 100644
index 9485ad19c..000000000
--- a/data/top/.nautilus-metafile.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0"?>
-<directory icons_auto_layout="false" background_color="rgb:FFFF/FFFF/FFFF-rgb:FFFF/9999/3333:h" icon_list_zoom_level="3" sidebar_buttons="button=Edit Links...;script=#linksets">
- <file name="Computer.link" icon_position="251,216"/>
- <file name="Gnumeric.link" icon_position="437,370"/>
- <file name="Netscape.link" icon_position="363,372"/>
- <file name="Services.link" icon_position="397,217"/>
- <file name="The Gimp.link" icon_position="508,368"/>
-</directory>
diff --git a/data/top/Computer b/data/top/Computer
deleted file mode 100644
index 3aa737b3f..000000000
--- a/data/top/Computer
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0"?>
-<nautilus_object nautilus_link="Nautilus Link" custom_icon="computer" link="hardware:overview"/>
diff --git a/data/top/Makefile.am b/data/top/Makefile.am
deleted file mode 100644
index 4587b716d..000000000
--- a/data/top/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-NULL=
-
-topdir = $(datadir)/nautilus/top
-
-top_DATA = \
- .nautilus-metafile.xml \
- Computer \
- Services \
- $(NULL)
-
-EXTRA_DIST = $(top_DATA)
diff --git a/data/top/Services b/data/top/Services
deleted file mode 100644
index ff4cc302e..000000000
--- a/data/top/Services
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0"?>
-<nautilus_object nautilus_link="Nautilus Link" custom_icon="hand" link="eazel:"/>