I've created a couple patches that remove the zoom button from the
standard bar by default. (That is, they are still present, so if a
user so chooses to, he can add them, but they're not shown by
default.)
One patch applies to Calc, and the other to Writer. To apply them, you
have to cd into their respective directories.
Any contributions I've made (if you can call them that), are licensed
under the MPL/LGPLv3+.
Thanks!
Samuel Cantrell
From 5ca2a472b5aa271c25d417bf8c91701582a7f028 Mon Sep 17 00:00:00 2001
From: Samuel Cantrell <samuelcantrell@gmail.com>
Date: Fri, 10 Jun 2011 20:21:15 -0700
Subject: [PATCH] Removes zoom button from Writer
This patch removes the zoom button from the standard toolbar
by default in Writer. As the "Default UI Improvements" wiki page
notes, we now have a much better method for changing the zoom
level.
---
sw/uiconfig/sglobal/toolbar/standardbar.xml | 2 +-
sw/uiconfig/sweb/toolbar/standardbar.xml | 2 +-
sw/uiconfig/swform/toolbar/standardbar.xml | 2 +-
sw/uiconfig/swreport/toolbar/standardbar.xml | 2 +-
sw/uiconfig/swriter/toolbar/standardbar.xml | 2 +-
sw/uiconfig/swxform/toolbar/standardbar.xml | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sw/uiconfig/sglobal/toolbar/standardbar.xml
b/sw/uiconfig/sglobal/toolbar/standardbar.xml
index 33792ed..9132ae9 100644
--- a/sw/uiconfig/sglobal/toolbar/standardbar.xml
+++ b/sw/uiconfig/sglobal/toolbar/standardbar.xml
@@ -35,7 +35,7 @@
<toolbar:toolbaritem xlink:href=".uno:Gallery" toolbar:helpid="5960"/>
<toolbar:toolbaritem xlink:href=".uno:ViewDataSourceBrowser" toolbar:helpid="6660"/>
<toolbar:toolbaritem xlink:href=".uno:ControlCodes" toolbar:helpid="20224"/>
- <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000"/>
+ <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000" toolbar:visible="false"/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem xlink:href=".uno:HelpIndex"/>
<toolbar:toolbaritem xlink:href=".uno:ExtendedHelp" toolbar:visible="false"
toolbar:helpid="5402"/>
diff --git a/sw/uiconfig/sweb/toolbar/standardbar.xml b/sw/uiconfig/sweb/toolbar/standardbar.xml
index 109f6e5..cb803fa 100644
--- a/sw/uiconfig/sweb/toolbar/standardbar.xml
+++ b/sw/uiconfig/sweb/toolbar/standardbar.xml
@@ -38,7 +38,7 @@
<toolbar:toolbaritem xlink:href=".uno:Gallery" toolbar:helpid="5960"/>
<toolbar:toolbaritem xlink:href=".uno:ViewDataSourceBrowser" toolbar:helpid="6660"/>
<toolbar:toolbaritem xlink:href=".uno:ControlCodes" toolbar:helpid="20224"/>
- <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000"/>
+ <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000" toolbar:visible="false"/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem xlink:href=".uno:HelpIndex"/>
<toolbar:toolbaritem xlink:href=".uno:ExtendedHelp" toolbar:visible="false"
toolbar:helpid="5402"/>
diff --git a/sw/uiconfig/swform/toolbar/standardbar.xml b/sw/uiconfig/swform/toolbar/standardbar.xml
index 33792ed..9132ae9 100644
--- a/sw/uiconfig/swform/toolbar/standardbar.xml
+++ b/sw/uiconfig/swform/toolbar/standardbar.xml
@@ -35,7 +35,7 @@
<toolbar:toolbaritem xlink:href=".uno:Gallery" toolbar:helpid="5960"/>
<toolbar:toolbaritem xlink:href=".uno:ViewDataSourceBrowser" toolbar:helpid="6660"/>
<toolbar:toolbaritem xlink:href=".uno:ControlCodes" toolbar:helpid="20224"/>
- <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000"/>
+ <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000" toolbar:visible="false"/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem xlink:href=".uno:HelpIndex"/>
<toolbar:toolbaritem xlink:href=".uno:ExtendedHelp" toolbar:visible="false"
toolbar:helpid="5402"/>
diff --git a/sw/uiconfig/swreport/toolbar/standardbar.xml
b/sw/uiconfig/swreport/toolbar/standardbar.xml
index 33792ed..9132ae9 100644
--- a/sw/uiconfig/swreport/toolbar/standardbar.xml
+++ b/sw/uiconfig/swreport/toolbar/standardbar.xml
@@ -35,7 +35,7 @@
<toolbar:toolbaritem xlink:href=".uno:Gallery" toolbar:helpid="5960"/>
<toolbar:toolbaritem xlink:href=".uno:ViewDataSourceBrowser" toolbar:helpid="6660"/>
<toolbar:toolbaritem xlink:href=".uno:ControlCodes" toolbar:helpid="20224"/>
- <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000"/>
+ <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000" toolbar:visible="false"/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem xlink:href=".uno:HelpIndex"/>
<toolbar:toolbaritem xlink:href=".uno:ExtendedHelp" toolbar:visible="false"
toolbar:helpid="5402"/>
diff --git a/sw/uiconfig/swriter/toolbar/standardbar.xml
b/sw/uiconfig/swriter/toolbar/standardbar.xml
index 33792ed..9132ae9 100644
--- a/sw/uiconfig/swriter/toolbar/standardbar.xml
+++ b/sw/uiconfig/swriter/toolbar/standardbar.xml
@@ -35,7 +35,7 @@
<toolbar:toolbaritem xlink:href=".uno:Gallery" toolbar:helpid="5960"/>
<toolbar:toolbaritem xlink:href=".uno:ViewDataSourceBrowser" toolbar:helpid="6660"/>
<toolbar:toolbaritem xlink:href=".uno:ControlCodes" toolbar:helpid="20224"/>
- <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000"/>
+ <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000" toolbar:visible="false"/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem xlink:href=".uno:HelpIndex"/>
<toolbar:toolbaritem xlink:href=".uno:ExtendedHelp" toolbar:visible="false"
toolbar:helpid="5402"/>
diff --git a/sw/uiconfig/swxform/toolbar/standardbar.xml
b/sw/uiconfig/swxform/toolbar/standardbar.xml
index 935aff9..0e24e93 100644
--- a/sw/uiconfig/swxform/toolbar/standardbar.xml
+++ b/sw/uiconfig/swxform/toolbar/standardbar.xml
@@ -35,7 +35,7 @@
<toolbar:toolbaritem xlink:href=".uno:Gallery" toolbar:helpid="5960"/>
<toolbar:toolbaritem xlink:href=".uno:ViewDataSourceBrowser" toolbar:helpid="6660"/>
<toolbar:toolbaritem xlink:href=".uno:ControlCodes" toolbar:helpid="20224"/>
- <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000"/>
+ <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="10000" toolbar:visible="false"/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem xlink:href=".uno:HelpIndex"/>
<toolbar:toolbaritem xlink:href=".uno:ExtendedHelp" toolbar:visible="false"
toolbar:helpid="5402"/>
--
1.7.5.2
From fad3f2a1973d1de7428cab2d64717bd09b66bdc1 Mon Sep 17 00:00:00 2001
From: Samuel Cantrell <samuelcantrell@gmail.com>
Date: Fri, 10 Jun 2011 20:19:58 -0700
Subject: [PATCH] Removes zoom button from Calc
This patch removes the zoom button from the standard toolbar by
default in Calc. As the "Default UI Improvements" wiki page notes,
we now have a much better method of zooming than this stupid
button.
---
sc/uiconfig/scalc/toolbar/standardbar.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sc/uiconfig/scalc/toolbar/standardbar.xml b/sc/uiconfig/scalc/toolbar/standardbar.xml
index a52ed00..7367971 100644
--- a/sc/uiconfig/scalc/toolbar/standardbar.xml
+++ b/sc/uiconfig/scalc/toolbar/standardbar.xml
@@ -37,7 +37,7 @@
<toolbar:toolbaritem xlink:href=".uno:Navigator" toolbar:helpid="helpid:10366"/>
<toolbar:toolbaritem xlink:href=".uno:Gallery" toolbar:helpid="helpid:5960"/>
<toolbar:toolbaritem xlink:href=".uno:ViewDataSourceBrowser" toolbar:helpid="helpid:6660"/>
- <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="helpid:10000"/>
+ <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:helpid="helpid:10000"
toolbar:visible="false"/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem xlink:href=".uno:HelpIndex"/>
<toolbar:toolbaritem xlink:href=".uno:ExtendedHelp" toolbar:visible="false"/>
--
1.7.5.2
Context
- [Libreoffice] [PATCH] Removes zoom button from default standard toolbar · Samuel Cantrell
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.