diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2008-02-07 11:49:37 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2008-02-07 11:49:37 +0000 |
commit | d23306e12ad4a32271b14a166caef9ba4727d964 (patch) | |
tree | f7eca719ffd8c80d65eeba06e4513dbe6820a8cb /swext/mediawiki/src | |
parent | 24676eea47056c29524b98a26a7ce2f611ec89ff (diff) |
adjust the UI
Diffstat (limited to 'swext/mediawiki/src')
3 files changed, 14 insertions, 10 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java index 5edc638015b4..79200685fed2 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java +++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java @@ -4,9 +4,9 @@ * * $RCSfile: Helper.java,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: mav $ $Date: 2008-02-05 16:35:54 $ + * last change: $Author: mav $ $Date: 2008-02-07 12:49:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -122,8 +122,9 @@ public class Helper public final static int DLG_EDITSETTING_SAVEBOX = 29; public final static int CANCELSENDING_ERROR = 30; + public final static int DLG_MEDIAWIKIEXTENSION_STRING = 31; - public final static int STRINGS_NUM = 31; + public final static int STRINGS_NUM = 32; private final static String[] m_pEntryNames = { "GeneralSendError", "NoWikiFilter", @@ -155,7 +156,8 @@ public class Helper "Dlg_EditSetting_AccountLine", "Dlg_EditSetting_WikiLine", "Dlg_EditSetting_SaveBox", - "CancelSending" }; + "CancelSending", + "Dlg_MediaWiki_Extension_String" }; private static String[] m_pConfigStrings; diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java index b936021b4832..706029c9dd68 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java @@ -4,9 +4,9 @@ * * $RCSfile: WikiEditSettingDialog.java,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: mav $ $Date: 2008-02-05 18:23:34 $ + * last change: $Author: mav $ $Date: 2008-02-07 12:49:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -67,7 +67,7 @@ public class WikiEditSettingDialog extends WikiDialog setting = new Hashtable(); addMode = true; - InsertThrobber( 184, 24, 10, 10 ); + InsertThrobber( 184, 20, 10, 10 ); InitStrings( xContext ); InitSaveCheckbox( xContext ); } @@ -93,7 +93,7 @@ public class WikiEditSettingDialog extends WikiDialog addMode = false; m_bAllowURLChange = bAllowURLChange; - InsertThrobber( 184, 24, 10, 10 ); + InsertThrobber( 184, 20, 10, 10 ); InitStrings( xContext ); InitSaveCheckbox( xContext ); } diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java index 53bec0ee0a0a..764fbb97294d 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java @@ -4,9 +4,9 @@ * * $RCSfile: WikiOptionsEventHandlerImpl.java,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: mav $ $Date: 2008-02-07 09:17:30 $ + * last change: $Author: mav $ $Date: 2008-02-07 12:49:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -195,6 +195,8 @@ public final class WikiOptionsEventHandlerImpl extends WeakBase { try { + + GetPropSet( "FixedLine1" ).setPropertyValue( "Label", Helper.GetLocalizedString( m_xContext, Helper.DLG_MEDIAWIKIEXTENSION_STRING ) ); GetPropSet( "AddButton" ).setPropertyValue( "Label", Helper.GetLocalizedString( m_xContext, Helper.DLG_ADDBUTTON ) ); GetPropSet( "EditButton" ).setPropertyValue( "Label", Helper.GetLocalizedString( m_xContext, Helper.DLG_EDITBUTTON ) ); GetPropSet( "RemoveButton" ).setPropertyValue( "Label", Helper.GetLocalizedString( m_xContext, Helper.DLG_REMOVEBUTTON ) ); |