Commit 16ef8e0a1269d16e2b8227f4f65f85b676c56ae9

Authored by Perry Werneck
1 parent 33691a7c

Adding gtkfilechooser schema to runtime package.

Showing 1 changed file with 25 additions and 0 deletions   Show diff stats
win/makeruntime.sh.in
... ... @@ -191,6 +191,30 @@ copy_loaders() {
191 191  
192 192 }
193 193  
  194 +copy_schemes() {
  195 +
  196 + mkdir -p "${TARGET}/share/glib-2.0/schemas"
  197 +
  198 + cp -rv \
  199 + "${prefix}/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml" \
  200 + "${TARGET}/share/glib-2.0/schemas"
  201 +
  202 + if [ "$?" != "0" ]; then
  203 + exit -1
  204 + fi
  205 +
  206 + cp -rv \
  207 + "${prefix}/share/glib-2.0/schemas/gschema.dtd" \
  208 + "${TARGET}/share/glib-2.0/schemas"
  209 +
  210 + if [ "$?" != "0" ]; then
  211 + exit -1
  212 + fi
  213 +
  214 +
  215 +}
  216 +
  217 +
194 218 copy_theme() {
195 219  
196 220 mkdir -p "${TARGET}/etc"
... ... @@ -233,6 +257,7 @@ copy_theme() {
233 257 copy_dll
234 258 copy_locale
235 259 copy_loaders
  260 +copy_schemes
236 261 copy_theme "Adwaita"
237 262  
238 263 # Otimiza todos os pngs
... ...