Make use of the new gnome-package icon

This commit is contained in:
Miguel de Icaza 1999-02-08 17:39:31 +00:00
parent a8fb0e3e22
commit e0c156f31f
6 changed files with 76 additions and 66 deletions

View File

@ -84,8 +84,10 @@ int my_system_get_child_pid (int flags, const char *shell, const char *command,
_exit (127); /* Exec error */ _exit (127); /* Exec error */
} else { } else {
int status; int status;
if (flags & (EXECUTE_WAIT|EXECUTE_TEMPFILE))
waitpid (*pid, &status, 0);
waitpid (*pid, &status, 0);
if (flags & EXECUTE_TEMPFILE) if (flags & EXECUTE_TEMPFILE)
unlink (command); unlink (command);
} }

View File

@ -11,6 +11,12 @@ text/C++:
application/x-compressed-tar application/x-compressed-tar
fm-open=%cd %p#utar fm-open=%cd %p#utar
fm-view=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf - fm-view=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
icon-filename=@icondir@/gnome-package.png
application/x-bzip-compressed-tar
fm-open=%cd %p#utar
fm-view=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
icon-filename=@icondir@/gnome-package.png
application/x-bzip: application/x-bzip:
icon-filename=@icondir@/compressed.xpm icon-filename=@icondir@/compressed.xpm
@ -21,6 +27,7 @@ application/x-tar:
fm-open=%cd %p#utar fm-open=%cd %p#utar
fm-view=%view{ascii} tar tvvf %f fm-view=%view{ascii} tar tvvf %f
open.extract.Extract=tar xf %f open.extract.Extract=tar xf %f
icon-filename=@icondir@/gnome-package.png
application/x-rpm: application/x-rpm:
fm-open=%cd %p#rpm fm-open=%cd %p#rpm
@ -34,7 +41,7 @@ application/x-deb:
icon-filename=@icondir@/gnome-pack-deb.png icon-filename=@icondir@/gnome-pack-deb.png
application/zip: application/zip:
icon-filename=@icondir@/zip.xpm icon-filename=@icondir@/gnome-package.png
fm-open=%cd %p#uzip fm-open=%cd %p#uzip
fm-view=%view{ascii} unzip -v %f fm-view=%view{ascii} unzip -v %f
open.extract.Extract=unzip %f open.extract.Extract=unzip %f
@ -44,18 +51,21 @@ application/x-zoo:
fm-open=%cd %p#uzoo fm-open=%cd %p#uzoo
fm-view=%view{ascii} zoo l %f fm-view=%view{ascii} zoo l %f
open.extract.Extract=zoo x %f '*' open.extract.Extract=zoo x %f '*'
icon-filename=@icondir@/gnome-package.png
application/x-lha: application/x-lha:
fm-open=%cd %p#ulha fm-open=%cd %p#ulha
fm-view=%view{ascii} lharc l %f fm-view=%view{ascii} lharc l %f
open.extract.Extract=lharc x %f '*' open.extract.Extract=lharc x %f '*'
open.extractf.Extract (with flags)=I=%{Enter any LHarc flags:}; if test -n "$I"; then lharc x $I %f; fi open.extractf.Extract (with flags)=I=%{Enter any LHarc flags:}; if test -n "$I"; then lharc x $I %f; fi
icon-filename=@icondir@/gnome-package.png
application/x-arj: application/x-arj:
fm-open=%cd %p#uarj fm-open=%cd %p#uarj
fm-view=%view{ascii} unarj l %f fm-view=%view{ascii} unarj l %f
open.extract.Extract=unarj x %f '*' open.extract.Extract=unarj x %f '*'
open.extractf.Extract (with flags)=I=%{Enter any Unarj flags:}; if test -n "$I"; then unarj x $I %f; fi open.extractf.Extract (with flags)=I=%{Enter any Unarj flags:}; if test -n "$I"; then unarj x $I %f; fi
icon-filename=@icondir@/gnome-package.png
application/x-unix-archive: application/x-unix-archive:
fm-open=%cd %p#uar fm-open=%cd %p#uar

View File

@ -35,7 +35,7 @@ ALLICONS = a.xpm application.xpm binary.xpm bitmap.xpm blackhole.xpm \
# #
DECENTICONS = \ DECENTICONS = \
c.xpm h.xpm calendar.xpm compressed.xpm html.xpm o.xpm \ c.xpm h.xpm calendar.xpm compressed.xpm html.xpm o.xpm \
sound.xpm makefile.xpm word.xpm zip.xpm tex.xpm cc.xpm man.xpm \ sound.xpm makefile.xpm word.xpm tex.xpm cc.xpm man.xpm \
postscript.xpm tex.xpm text.xpm trash.xpm postscript.xpm tex.xpm text.xpm trash.xpm
all: all:

View File

@ -42,6 +42,7 @@ ALLICONS = \
gnome-application-x-c-header.png \ gnome-application-x-c-header.png \
gnome-application-x-c-source.png \ gnome-application-x-c-source.png \
gnome-application-x-cc-source.png \ gnome-application-x-cc-source.png \
gnome-package.png \
gnome-core.png gnome-core.png
all: all:

BIN
new_icons/gnome-package.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

123
po/mc.pot
View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 1999-02-05 17:17-0600\n" "POT-Creation-Date: 1999-02-07 09:36-0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -148,20 +148,20 @@ msgstr ""
msgid "Command: " msgid "Command: "
msgstr "" msgstr ""
#: gnome/gcmd.c:557 #: gnome/gcmd.c:574
msgid "Set Filter" msgid "Set Filter"
msgstr "" msgstr ""
#: gnome/gcmd.c:562 gnome/gcmd.c:603 gnome/gcmd.c:608 gnome/gcmd.c:612 #: gnome/gcmd.c:579 gnome/gcmd.c:620 gnome/gcmd.c:625 gnome/gcmd.c:629
#: gnome/gscreen.c:2489 #: gnome/gscreen.c:2484
msgid "Show all files" msgid "Show all files"
msgstr "" msgstr ""
#: gnome/gcmd.c:569 #: gnome/gcmd.c:586
msgid "." msgid "."
msgstr "" msgstr ""
#: gnome/gcmd.c:585 #: gnome/gcmd.c:602
msgid "" msgid ""
"Enter a filter here for files in the panel view.\n" "Enter a filter here for files in the panel view.\n"
"\n" "\n"
@ -169,37 +169,37 @@ msgid ""
"*.gif will show just gif images" "*.gif will show just gif images"
msgstr "" msgstr ""
#: gnome/gcmd.c:587 #: gnome/gcmd.c:604
msgid "Enter a Regular Expression to filter files in the panel view." msgid "Enter a Regular Expression to filter files in the panel view."
msgstr "" msgstr ""
#: gnome/gcmd.c:644 gnome/gpopup.c:49 #: gnome/gcmd.c:661 gnome/gpopup.c:49
msgid " Open with..." msgid " Open with..."
msgstr "" msgstr ""
#: gnome/gcmd.c:645 gnome/gpopup.c:50 #: gnome/gcmd.c:662 gnome/gpopup.c:50
msgid "Enter extra arguments:" msgid "Enter extra arguments:"
msgstr "" msgstr ""
#: gnome/gdesktop.c:347 gnome/gdesktop.c:1500 #: gnome/gdesktop.c:350 gnome/gdesktop.c:1553
msgid "Warning" msgid "Warning"
msgstr "" msgstr ""
#: gnome/gdesktop.c:348 #: gnome/gdesktop.c:351
#, c-format #, c-format
msgid "Could not open %s; will not have desktop icons" msgid "Could not open %s; will not have desktop icons"
msgstr "" msgstr ""
#: gnome/gdesktop.c:1466 #: gnome/gdesktop.c:1519
msgid "Trashcan" msgid "Trashcan"
msgstr "" msgstr ""
#. Create the link to the user's home directory so that he will have an icon #. Create the link to the user's home directory so that he will have an icon
#: gnome/gdesktop.c:1496 #: gnome/gdesktop.c:1549
msgid "Home directory" msgid "Home directory"
msgstr "" msgstr ""
#: gnome/gdesktop.c:1501 #: gnome/gdesktop.c:1554
#, c-format #, c-format
msgid "Could not symlink %s to %s; will not have initial desktop icons." msgid "Could not symlink %s to %s; will not have initial desktop icons."
msgstr "" msgstr ""
@ -342,35 +342,35 @@ msgstr ""
msgid " Done." msgid " Done."
msgstr "" msgstr ""
#: gnome/gdnd.c:50 #: gnome/gdnd.c:51
msgid "_Move here" msgid "_Move here"
msgstr "" msgstr ""
#: gnome/gdnd.c:51 #: gnome/gdnd.c:52
msgid "_Copy here" msgid "_Copy here"
msgstr "" msgstr ""
#: gnome/gdnd.c:52 #: gnome/gdnd.c:53
msgid "_Link here" msgid "_Link here"
msgstr "" msgstr ""
#: gnome/gdnd.c:54 #: gnome/gdnd.c:55
msgid "Cancel drag" msgid "Cancel drag"
msgstr "" msgstr ""
#. FIXME: this error message sucks #. FIXME: this error message sucks
#: gnome/gdnd.c:190 #: gnome/gdnd.c:191
#, c-format #, c-format
msgid "" msgid ""
"Could not stat %s\n" "Could not stat %s\n"
"%s" "%s"
msgstr "" msgstr ""
#: gnome/gicon.c:86 gnome/gtools.c:50 #: gnome/gicon.c:83 gnome/gtools.c:50
msgid "Error" msgid "Error"
msgstr "" msgstr ""
#: gnome/gicon.c:86 #: gnome/gicon.c:83
msgid "Default set of icons not found, check your installation" msgid "Default set of icons not found, check your installation"
msgstr "" msgstr ""
@ -594,52 +594,52 @@ msgstr ""
msgid "File/New/Directory..." msgid "File/New/Directory..."
msgstr "" msgstr ""
#: gnome/gpopup.c:215 gnome/gpopup.c:216 #: gnome/gpopup.c:222 gnome/gpopup.c:223
msgid "Properties" msgid "Properties"
msgstr "" msgstr ""
#: gnome/gpopup.c:218 gnome/gpopup.c:219 #: gnome/gpopup.c:225 gnome/gpopup.c:226
msgid "Open" msgid "Open"
msgstr "" msgstr ""
#: gnome/gpopup.c:220 #: gnome/gpopup.c:227
msgid "Open with" msgid "Open with"
msgstr "" msgstr ""
#: gnome/gpopup.c:221 src/screen.c:2286 src/screen.c:2316 #: gnome/gpopup.c:228 src/screen.c:2286 src/screen.c:2316
msgid "View" msgid "View"
msgstr "" msgstr ""
#: gnome/gpopup.c:222 #: gnome/gpopup.c:229
msgid "View unfiltered" msgid "View unfiltered"
msgstr "" msgstr ""
#: gnome/gpopup.c:223 gtkedit/gtkedit.c:1366 src/screen.c:2287 #: gnome/gpopup.c:230 gtkedit/gtkedit.c:1366 src/screen.c:2287
#: src/screen.c:2317 src/view.c:1968 #: src/screen.c:2317 src/view.c:1968
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: gnome/gpopup.c:225 #: gnome/gpopup.c:232
msgid "Link..." msgid "Link..."
msgstr "" msgstr ""
#: gnome/gpopup.c:226 #: gnome/gpopup.c:233
msgid "Symlink..." msgid "Symlink..."
msgstr "" msgstr ""
#: gnome/gpopup.c:227 #: gnome/gpopup.c:234
msgid "Edit symlink..." msgid "Edit symlink..."
msgstr "" msgstr ""
#: gnome/gpopup.c:234 gnome/gpopup.c:245 #: gnome/gpopup.c:241 gnome/gpopup.c:252
msgid "Move/rename..." msgid "Move/rename..."
msgstr "" msgstr ""
#: gnome/gpopup.c:235 gnome/gpopup.c:246 #: gnome/gpopup.c:242 gnome/gpopup.c:253
msgid "Copy..." msgid "Copy..."
msgstr "" msgstr ""
#: gnome/gpopup.c:236 gnome/gpopup.c:248 gtkedit/editwidget.c:1067 #: gnome/gpopup.c:243 gnome/gpopup.c:255 gtkedit/editwidget.c:1067
#: src/screen.c:2291 src/screen.c:2321 #: src/screen.c:2291 src/screen.c:2321
msgid "Delete" msgid "Delete"
msgstr "" msgstr ""
@ -972,7 +972,7 @@ msgstr ""
msgid "Go to your home directory" msgid "Go to your home directory"
msgstr "" msgstr ""
#: gnome/gscreen.c:2438 #: gnome/gscreen.c:2429
msgid "Location:" msgid "Location:"
msgstr "" msgstr ""
@ -2572,115 +2572,112 @@ msgid ""
msgstr "" msgstr ""
#: src/cmd.c:967 #: src/cmd.c:967
msgid "" msgid "Type `exit' to return to the Midnight Commander"
"Type `exit' to return to the Midnight Commander\n"
"\r\n"
"\r"
msgstr "" msgstr ""
#: src/cmd.c:1020 #: src/cmd.c:1022
#, c-format #, c-format
msgid "" msgid ""
" Couldn't stat %s \n" " Couldn't stat %s \n"
" %s " " %s "
msgstr "" msgstr ""
#: src/cmd.c:1029 src/cmd.c:1031 #: src/cmd.c:1031 src/cmd.c:1033
msgid " Link " msgid " Link "
msgstr "" msgstr ""
#: src/cmd.c:1030 src/cmd.c:1135 src/file.c:1621 #: src/cmd.c:1032 src/cmd.c:1137 src/file.c:1621
msgid " to:" msgid " to:"
msgstr "" msgstr ""
#: src/cmd.c:1041 #: src/cmd.c:1043
#, c-format #, c-format
msgid " link: %s " msgid " link: %s "
msgstr "" msgstr ""
#: src/cmd.c:1074 #: src/cmd.c:1076
#, c-format #, c-format
msgid " symlink: %s " msgid " symlink: %s "
msgstr "" msgstr ""
#: src/cmd.c:1100 #: src/cmd.c:1102
msgid " Symlink " msgid " Symlink "
msgstr "" msgstr ""
#: src/cmd.c:1100 #: src/cmd.c:1102
msgid " points to:" msgid " points to:"
msgstr "" msgstr ""
#: src/cmd.c:1105 #: src/cmd.c:1107
msgid " Edit symlink " msgid " Edit symlink "
msgstr "" msgstr ""
#: src/cmd.c:1111 #: src/cmd.c:1113
#, c-format #, c-format
msgid " edit symlink: %s " msgid " edit symlink: %s "
msgstr "" msgstr ""
#: src/cmd.c:1135 #: src/cmd.c:1137
msgid " Link symbolically " msgid " Link symbolically "
msgstr "" msgstr ""
#: src/cmd.c:1136 #: src/cmd.c:1138
msgid " Relative symlink " msgid " Relative symlink "
msgstr "" msgstr ""
#: src/cmd.c:1147 #: src/cmd.c:1149
#, c-format #, c-format
msgid " relative symlink: %s " msgid " relative symlink: %s "
msgstr "" msgstr ""
#: src/cmd.c:1250 #: src/cmd.c:1252
msgid " Enter machine name (F1 for details): " msgid " Enter machine name (F1 for details): "
msgstr "" msgstr ""
#: src/cmd.c:1274 #: src/cmd.c:1276
#, c-format #, c-format
msgid " Could not chdir to %s " msgid " Could not chdir to %s "
msgstr "" msgstr ""
#: src/cmd.c:1281 #: src/cmd.c:1283
msgid " Link to a remote machine " msgid " Link to a remote machine "
msgstr "" msgstr ""
#: src/cmd.c:1287 #: src/cmd.c:1289
msgid " FTP to machine " msgid " FTP to machine "
msgstr "" msgstr ""
#: src/cmd.c:1297 #: src/cmd.c:1299
msgid " Socket source routing setup " msgid " Socket source routing setup "
msgstr "" msgstr ""
#: src/cmd.c:1298 #: src/cmd.c:1300
msgid " Enter host name to use as a source routing hop: " msgid " Enter host name to use as a source routing hop: "
msgstr "" msgstr ""
#: src/cmd.c:1305 #: src/cmd.c:1307
msgid " Host name " msgid " Host name "
msgstr "" msgstr ""
#: src/cmd.c:1305 #: src/cmd.c:1307
msgid " Error while looking up IP address " msgid " Error while looking up IP address "
msgstr "" msgstr ""
#: src/cmd.c:1316 #: src/cmd.c:1318
msgid " Undelete files on an ext2 file system " msgid " Undelete files on an ext2 file system "
msgstr "" msgstr ""
#: src/cmd.c:1317 #: src/cmd.c:1319
msgid "" msgid ""
" Enter device (without /dev/) to undelete\n" " Enter device (without /dev/) to undelete\n"
" files on: (F1 for details)" " files on: (F1 for details)"
msgstr "" msgstr ""
#: src/cmd.c:1367 #: src/cmd.c:1369
msgid " Setup saved to ~/" msgid " Setup saved to ~/"
msgstr "" msgstr ""
#: src/cmd.c:1372 #: src/cmd.c:1374
msgid " Setup " msgid " Setup "
msgstr "" msgstr ""
@ -4999,7 +4996,7 @@ msgstr ""
msgid "Inconsistent tar archive" msgid "Inconsistent tar archive"
msgstr "" msgstr ""
#: vfs/tar.c:412 #: vfs/tar.c:411
#, c-format #, c-format
msgid "" msgid ""
"Hmm,...\n" "Hmm,...\n"