[gitg] Compression and stripping of resources



commit 0481bd3c583a2276e21ddfddb4dec214a4e97f35
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Oct 23 13:28:47 2012 +0200

    Compression and stripping of resources

 gitg/resources/gitg-resources.xml       |    8 ++++----
 libgitg-gtk/resources/resources.xml     |    8 ++++----
 plugins/dash/resources/resources.xml    |    6 +++---
 plugins/files/resources/resources.xml   |    2 +-
 plugins/history/resources/resources.xml |    4 ++--
 5 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/gitg/resources/gitg-resources.xml b/gitg/resources/gitg-resources.xml
index 49f1f10..168e75d 100644
--- a/gitg/resources/gitg-resources.xml
+++ b/gitg/resources/gitg-resources.xml
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
   <gresource prefix="/org/gnome/gitg">
-    <file>ui/gitg-window.ui</file>
-    <file>ui/gitg-menus.ui</file>
-    <file>ui/style.css</file>
-    <file>ui/gitg-preferences.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">ui/gitg-window.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">ui/gitg-menus.ui</file>
+    <file compressed="true">ui/style.css</file>
+    <file compressed="true" preprocess="xml-stripblanks">ui/gitg-preferences.ui</file>
     <file alias="icons/gitg.svg" compressed="true" preprocess="xml-stripblanks">../../data/icons/gitg.svg</file>
     <file alias="icons/gitg128x128.png">../../data/icons/gitg128x128.png</file>
   </gresource>
diff --git a/libgitg-gtk/resources/resources.xml b/libgitg-gtk/resources/resources.xml
index f0e3b93..c996367 100644
--- a/libgitg-gtk/resources/resources.xml
+++ b/libgitg-gtk/resources/resources.xml
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
   <gresource prefix="/org/gnome/gitg/gtk/diff-view">
-    <file>base.html</file>
-    <file>base.js</file>
-    <file>base.css</file>
-    <file>jquery-1.7.2.min.js</file>
+    <file compressed="true">base.html</file>
+    <file compressed="true">base.js</file>
+    <file compressed="true">base.css</file>
+    <file compressed="true">jquery-1.7.2.min.js</file>
   </gresource>
 </gresources>
 
diff --git a/plugins/dash/resources/resources.xml b/plugins/dash/resources/resources.xml
index 6139db8..3b12f7e 100644
--- a/plugins/dash/resources/resources.xml
+++ b/plugins/dash/resources/resources.xml
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
   <gresource prefix="/org/gnome/gitg/dash">
-    <file>view-open.ui</file>
-    <file>view-create.ui</file>
-    <file>view-recent.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">view-open.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">view-create.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">view-recent.ui</file>
   </gresource>
 </gresources>
 
diff --git a/plugins/files/resources/resources.xml b/plugins/files/resources/resources.xml
index c1ff33e..3184829 100644
--- a/plugins/files/resources/resources.xml
+++ b/plugins/files/resources/resources.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
   <gresource prefix="/org/gnome/gitg/files">
-    <file>view-files.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">view-files.ui</file>
   </gresource>
 </gresources>
 
diff --git a/plugins/history/resources/resources.xml b/plugins/history/resources/resources.xml
index 8405edb..6293165 100644
--- a/plugins/history/resources/resources.xml
+++ b/plugins/history/resources/resources.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
   <gresource prefix="/org/gnome/gitg/history">
-    <file>view-history.ui</file>
-    <file>preferences.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">view-history.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">preferences.ui</file>
   </gresource>
 </gresources>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]