sfx2/source/dialog/dialog.hrc | 1 + sfx2/source/dialog/versdlg.cxx | 4 ++++ sfx2/source/dialog/versdlg.src | 6 +++++- 3 files changed, 10 insertions(+), 1 deletion(-)
New commits: commit c24e9feaba790cef148b678137dec911eda08280 Author: Andras Timar <ati...@suse.com> Date: Fri Jul 6 17:52:34 2012 +0200 change dialog caption in view mode Change-Id: I9dac5dd42b485265110c91e3472206517d7b8e1c diff --git a/sfx2/source/dialog/dialog.hrc b/sfx2/source/dialog/dialog.hrc index bc8332c..22f876b 100644 --- a/sfx2/source/dialog/dialog.hrc +++ b/sfx2/source/dialog/dialog.hrc @@ -55,6 +55,7 @@ #define DLG_VERSIONS ( RC_DIALOG_BEGIN + 69 ) #define DLG_COMMENTS ( RC_DIALOG_BEGIN + 70 ) +#define STR_VIEWVERSIONCOMMENT ( RC_DIALOG_BEGIN + 71 ) #define MSG_ERROR_WRONG_CONFIRM ( RC_DIALOG_BEGIN + 76 ) diff --git a/sfx2/source/dialog/versdlg.cxx b/sfx2/source/dialog/versdlg.cxx index 9a4fa8e..fd84899 100644 --- a/sfx2/source/dialog/versdlg.cxx +++ b/sfx2/source/dialog/versdlg.cxx @@ -475,6 +475,7 @@ SfxViewVersionDialog_Impl::SfxViewVersionDialog_Impl ( Window *pParent, SfxVersi aOKButton.Hide(); aCancelButton.Hide(); aEdit.SetReadOnly( sal_True ); + SetText( SfxResId( STR_VIEWVERSIONCOMMENT ) ); } else { diff --git a/sfx2/source/dialog/versdlg.src b/sfx2/source/dialog/versdlg.src index ffe67d6..1c50b4f 100644 --- a/sfx2/source/dialog/versdlg.src +++ b/sfx2/source/dialog/versdlg.src @@ -185,3 +185,7 @@ String DLG_COMMENTS { Text [ en-US ] = "Version comment" ; }; +String STR_VIEWVERSIONCOMMENT +{ + Text [ en-US ] = "View Version Comment" ; +}; commit d50cbfe13f416eaab16159cb91038005800e2aa5 Author: Andras Timar <ati...@suse.com> Date: Fri Jul 6 17:38:29 2012 +0200 hide aDateTimeText when editing new version comment Change-Id: I644adb0292272130587f8a19777c47bf8fd2887c diff --git a/sfx2/source/dialog/versdlg.cxx b/sfx2/source/dialog/versdlg.cxx index b43c6fa..9a4fa8e 100644 --- a/sfx2/source/dialog/versdlg.cxx +++ b/sfx2/source/dialog/versdlg.cxx @@ -477,7 +477,10 @@ SfxViewVersionDialog_Impl::SfxViewVersionDialog_Impl ( Window *pParent, SfxVersi aEdit.SetReadOnly( sal_True ); } else + { + aDateTimeText.Hide(); aCloseButton.Hide(); + } } IMPL_LINK( SfxViewVersionDialog_Impl, ButtonHdl, Button*, pButton ) commit 802a671216bcc1d6ba10bd9585fd9e260a2a4d79 Author: Andras Timar <ati...@suse.com> Date: Fri Jul 6 12:30:00 2012 +0200 remove space before colon in UI text Change-Id: I1e207cc624388130bba3b1a383377a55f04872f2 diff --git a/sfx2/source/dialog/versdlg.src b/sfx2/source/dialog/versdlg.src index 14f5a3e..ffe67d6 100644 --- a/sfx2/source/dialog/versdlg.src +++ b/sfx2/source/dialog/versdlg.src @@ -136,7 +136,7 @@ ModalDialog DLG_COMMENTS { Pos = MAP_APPFONT ( 6 , 6 ) ; Size = MAP_APPFONT ( 168 , 10 ) ; - Text [ en-US ] = "Date and time : " ; + Text [ en-US ] = "Date and time: " ; }; FixedText FT_SAVEDBY { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits