Add some symlinks to the builtin icon theme

svn path=/trunk/; revision=20399
This commit is contained in:
Matthias Clasen 2008-06-16 13:38:58 +00:00
parent effd6886f6
commit eea4913dd7
2 changed files with 21 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-06-16 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am: Make folder, user-home and user-desktop links
to gtk-directory in the builtin icon theme, so that we can
use these icon names without risk of ending up without an icon.
2008-06-16 Tor Lillqvist <tml@novell.com>
Bug 538362 - Get Win32 icons back in the file chooser

View File

@ -1158,6 +1158,9 @@ GENERATED_ICONS = \
stock-icons/16/gtk-media-previous-rtl.png \
stock-icons/16/gtk-media-rewind-rtl.png \
stock-icons/16/gtk-save.png \
stock-icons/16/folder.png \
stock-icons/16/user-home.png \
stock-icons/16/user-desktop.png \
stock-icons/24/gtk-go-back-rtl.png \
stock-icons/24/gtk-go-forward-rtl.png \
stock-icons/24/gtk-goto-first-rtl.png \
@ -1166,7 +1169,10 @@ GENERATED_ICONS = \
stock-icons/24/gtk-media-next-rtl.png \
stock-icons/24/gtk-media-previous-rtl.png \
stock-icons/24/gtk-media-rewind-rtl.png \
stock-icons/24/gtk-save.png
stock-icons/24/gtk-save.png \
stock-icons/24/folder.png \
stock-icons/24/user-home.png \
stock-icons/24/user-desktop.png
# need to copy the icons so that we can replace the generated ones with
# symlinks, even in the readonly srcdir case
@ -1199,8 +1205,14 @@ stamp-icons: $(STOCK_ICONS)
&& $(RM) gtk-media-rewind-rtl.png \
&& $(LN_S) gtk-media-forward-ltr.png gtk-media-rewind-rtl.png\
&& $(RM) gtk-save.png \
&& $(LN_S) gtk-floppy.png gtk-save.png) \
done \
&& $(LN_S) gtk-floppy.png gtk-save.png \
&& $(RM) folder.png \
&& $(LN_S) gtk-directory.png folder.png \
&& $(RM) user-home.png \
&& $(LN_S) gtk-directory.png user-home.png \
&& $(RM) user-desktop.png \
&& $(LN_S) gtk-directory.png user-desktop.png \
) done \
&& touch stamp-icons
if CROSS_COMPILING