Add actions and types from Antonis Tsolomitis' desktop_approots contribution
[oweals/cde.git] / cde / programs / localized / C / types / firefox.dt
1 ######################################################################
2 #
3 #    Common Desktop Environment (CDE)
4 #
5 #    Action and DataType Definition File
6 #
7 #      Generated by the CreateAction tool
8 #
9 #      $Revision: 1.0
10 #
11 #      $KEY: 4747  
12 #
13 ######################################################################
14 #
15 #    WARNING:
16 #
17 #    This file was generated by the CDE CreateAction tool.
18 #    If this file is modified by some other tool, such as vi,
19 #    the CreateAction tool will no longer be able to load and
20 #    update this file.  For this reason, changes to this file
21 #    should be handled through CreateAction whenever possible.
22 #
23 ######################################################################
24
25 ACTION firefox
26 {
27      LABEL         Firefox
28      TYPE          COMMAND
29      EXEC_STRING   firefox %Arg_1%
30      ICON          firefox
31      WINDOW_TYPE   NO_STDIO
32      DESCRIPTION   The firefox Web Browser.
33 }
34
35 DATA_ATTRIBUTES firefox_FILE_1
36 {
37      ACTIONS       Open
38      ICON          SDthtml
39      DESCRIPTION   html files open with firefox Web Browser.
40 }
41
42 DATA_CRITERIA firefox_FILE_1A
43 {
44      DATA_ATTRIBUTES_NAME firefox_FILE_1
45      MODE          !d
46      PATH_PATTERN  *.html
47 }
48
49 ACTION Open
50 {
51      ARG_TYPE      firefox_FILE_1
52      TYPE          MAP
53      MAP_ACTION    firefox
54      LABEL         Open
55 }
56
57 ACTION firefox_FILE_1_PRINT
58 {
59      TYPE          COMMAND
60      EXEC_STRING   firefox -print %Arg_1%
61      WINDOW_TYPE   NO_STDIO
62      DESCRIPTION   Printing for firefox by droping and html file on the \
63                    penel's printer needs an add-on. Search \
64                    the Internet to find a command-line printing add-on for \
65                    firefox accordingly the print command in the file firefox.dt
66 }
67
68 ACTION Print
69 {
70      ARG_TYPE      firefox_FILE_1
71      TYPE          MAP
72      MAP_ACTION    firefox_FILE_1_PRINT
73      LABEL         Print
74 }
75
76
77
78 DATA_ATTRIBUTES firefox_FILE_3
79 {
80      ACTIONS       Open
81      ICON          SDthtml
82      DESCRIPTION   htm files open with firefox Web Browser.
83 }
84
85 DATA_CRITERIA firefox_FILE_3A
86 {
87      DATA_ATTRIBUTES_NAME firefox_FILE_3
88      MODE          !d
89      PATH_PATTERN  *.htm
90 }
91
92 ACTION Open
93 {
94      ARG_TYPE      firefox_FILE_3
95      TYPE          MAP
96      MAP_ACTION    firefox
97      LABEL         Open
98 }
99
100 ACTION firefox_FILE_3_PRINT
101 {
102      TYPE          COMMAND
103      EXEC_STRING   firefox -print %Arg_1%
104      WINDOW_TYPE   NO_STDIO
105      DESCRIPTION   Printing for firefox by droping and htm file on the \
106                    penel's printer needs an add-on. Search \
107                    the Internet to find a command-line printing add-on for \
108                    firefox accordingly the print command in the file firefox.dt
109 }
110
111 ACTION Print
112 {
113      ARG_TYPE      firefox_FILE_3
114      TYPE          MAP
115      MAP_ACTION    firefox_FILE_3_PRINT
116      LABEL         Print
117 }
118
119
120
121 DATA_ATTRIBUTES firefox_FILE_5
122 {
123      ACTIONS       Open
124      ICON          SDturlweb
125      DESCRIPTION   url files open with firefox Web Browser.
126 }
127
128
129 DATA_CRITERIA firefox_FILE_5A
130 {
131      DATA_ATTRIBUTES_NAME firefox_FILE_5
132      MODE          !d
133      PATH_PATTERN  *.url
134 }
135
136 ACTION Open
137 {
138      ARG_TYPE      firefox_FILE_5
139      TYPE          MAP
140      MAP_ACTION    firefox
141      LABEL         Open
142 }
143