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

[tor-commits] [tor-messenger-build/master] Disable "Get more..." links in themes pane (#17409)



commit f3d6f47fe35c62430fe05f38de8b419f8b4f7a7b
Author: Sukhbir Singh <sukhbir@xxxxxxxxxxxxxx>
Date:   Fri Oct 23 11:54:02 2015 -0400

    Disable "Get more..." links in themes pane (#17409)
---
 projects/instantbird/config                    |    1 +
 projects/instantbird/themes-remove-links.patch |   21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/projects/instantbird/config b/projects/instantbird/config
index 0fa9526..6d3a090 100644
--- a/projects/instantbird/config
+++ b/projects/instantbird/config
@@ -77,6 +77,7 @@ input_files:
   - filename: log-preferences-xul.patch
   - filename: ifdef-performance-toolkit-xpt.patch
   - filename: 8ea23862252b-remove__DATE__and__TIME__.nsspatch
+  - filename: themes-remove-links.patch
   - filename: branding/blistWindow.png
   - filename: branding/blistWindow16.png
   - filename: branding/blistWindow48.png
diff --git a/projects/instantbird/themes-remove-links.patch b/projects/instantbird/themes-remove-links.patch
new file mode 100644
index 0000000..98c8259
--- /dev/null
+++ b/projects/instantbird/themes-remove-links.patch
@@ -0,0 +1,21 @@
+diff --git a/im/content/preferences/themes.xul b/im/content/preferences/themes.xul
+--- a/im/content/preferences/themes.xul
++++ b/im/content/preferences/themes.xul
+@@ -65,7 +65,7 @@
+               </menupopup>
+             </menulist>
+             <separator orient="vertical" class="thin"/>
+-            <label id="getMoreMessageStyles" class="text-link" value="&messageStyleGetMore.label;"
++            <label id="getMoreMessageStyles" class="text-link" value=""
+                    onclick="if (event.button == 0) { gThemePane.openURL(this.getAttribute('getMoreURL')); }"/>
+           </hbox>
+           <separator class="thin"/>
+@@ -116,7 +116,7 @@
+               </menupopup>
+             </menulist>
+             <separator orient="vertical" class="thin"/>
+-            <label id="getMoreEmoticons" class="text-link" value="&emoticonsGetMore.label;"
++            <label id="getMoreEmoticons" class="text-link" value=""
+                    onclick="if (event.button == 0) { gThemePane.openURL(this.getAttribute('getMoreURL')); }"/>
+           </hbox>
+           <separator class="thin"/>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits