cui/source/options/optjava.cxx | 3 cui/uiconfig/ui/optadvancedpage.ui | 5 + icon-themes/galaxy/res/base128.png |binary icon-themes/galaxy/res/calc128.png |binary icon-themes/galaxy/res/draw128.png |binary icon-themes/galaxy/res/impress128.png |binary icon-themes/galaxy/res/main128.png |binary icon-themes/galaxy/res/math128.png |binary icon-themes/galaxy/res/writer128.png |binary include/sfx2/recentdocsviewitem.hxx | 3 include/sfx2/thumbnailviewitem.hxx | 3 officecfg/registry/schema/org/openoffice/Office/Common.xcs | 7 + sfx2/Library_sfx.mk | 1 sfx2/source/appl/sfx.src | 14 +-- sfx2/source/control/recentdocsview.cxx | 2 sfx2/source/control/recentdocsviewitem.cxx | 49 ++++++++++--- sfx2/source/control/templateabstractview.cxx | 30 ++----- sfx2/source/control/thumbnailview.cxx | 37 ++++++--- sfx2/source/control/thumbnailviewitem.cxx | 22 +++++ sfx2/uiconfig/ui/startcenter.ui | 32 ++++---- 20 files changed, 135 insertions(+), 73 deletions(-)
New commits: commit dd7a3f5fb873b77da326eb8339c2ef9e3bf4fbd1 Author: Jan Holesovsky <ke...@collabora.com> Date: Fri Dec 13 13:00:13 2013 +0100 startcenter: Tooltip should show the full URL. Change-Id: Ia8e071ebe00fb8c72973614077e778aef55fb1ab diff --git a/include/sfx2/recentdocsviewitem.hxx b/include/sfx2/recentdocsviewitem.hxx index 4442e32..be94b78 100644 --- a/include/sfx2/recentdocsviewitem.hxx +++ b/include/sfx2/recentdocsviewitem.hxx @@ -19,6 +19,9 @@ public: const OUString &rTitle, sal_uInt16 nId); virtual void setEditTitle (bool edit, bool bChangeFocus = true); + /// Text to be used for the tooltip. + virtual OUString getHelpText() const; + OUString maURL; }; diff --git a/include/sfx2/thumbnailviewitem.hxx b/include/sfx2/thumbnailviewitem.hxx index e36f565..eea0e45 100644 --- a/include/sfx2/thumbnailviewitem.hxx +++ b/include/sfx2/thumbnailviewitem.hxx @@ -89,6 +89,9 @@ public: void setHighlight (bool state); + /// Text to be used for the tooltip. + virtual OUString getHelpText() const; + virtual void setEditTitle (bool edit, bool bChangeFocus = true); void updateTitleEditSize (); virtual void setTitle (const OUString& rTitle); diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx index 570e782..2531da1 100644 --- a/sfx2/source/control/recentdocsviewitem.cxx +++ b/sfx2/source/control/recentdocsviewitem.cxx @@ -69,4 +69,9 @@ void RecentDocsViewItem::setEditTitle (bool edit, bool bChangeFocus) (void)bChangeFocus; } +OUString RecentDocsViewItem::getHelpText() const +{ + return maURL; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index 137aeb0..695447e 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -96,7 +96,7 @@ void ThumbnailView::MouseMove(const MouseEvent& rMEvt) if (pItem->mbVisible && !rMEvt.IsLeaveWindow() && pItem->getDrawArea().IsInside(aPoint)) { - aHelp = pItem->maTitle; + aHelp = pItem->getHelpText(); if (!pItem->isHighlighted()) bNeedsPaint = true; diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx index 6198f45..9f60f37 100644 --- a/sfx2/source/control/thumbnailviewitem.cxx +++ b/sfx2/source/control/thumbnailviewitem.cxx @@ -146,6 +146,11 @@ void ThumbnailViewItem::setHighlight (bool state) mbHover = state; } +OUString ThumbnailViewItem::getHelpText() const +{ + return maTitle; +} + void ThumbnailViewItem::setEditTitle (bool edit, bool bChangeFocus) { mbEditTitle = edit; commit f655b23d57f234c0e92255302353f2a0a3fad487 Author: Jan Holesovsky <ke...@collabora.com> Date: Fri Dec 13 11:35:57 2013 +0100 startcenter: Implement mouse over effect. Change-Id: I9beea6119dbb1c12ff053e5776f15d40a3389a8b diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index 8c6a961..137aeb0 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -83,27 +83,38 @@ ThumbnailView::~ThumbnailView() ImplDeleteItems(); } -void ThumbnailView::MouseMove( const MouseEvent& rMEvt ) +void ThumbnailView::MouseMove(const MouseEvent& rMEvt) { - if ( !mbShowTooltips ) - return; - - (void) rMEvt; // unused parameter - size_t nItemCount = mFilteredItemList.size(); - Point aPoint = GetPointerState().maPos; - OUString aHelp; + size_t nItemCount = mFilteredItemList.size(); + Point aPoint = GetPointerState().maPos; + OUString aHelp; - for ( size_t i = 0; i < nItemCount; i++ ) + for (size_t i = 0; i < nItemCount; i++) { + bool bNeedsPaint = false; ThumbnailViewItem *pItem = mFilteredItemList[i]; - if ( pItem->mbVisible && pItem->getDrawArea().IsInside(aPoint) ) + + if (pItem->mbVisible && !rMEvt.IsLeaveWindow() && pItem->getDrawArea().IsInside(aPoint)) { aHelp = pItem->maTitle; - break; + + if (!pItem->isHighlighted()) + bNeedsPaint = true; + pItem->setHighlight(true); } + else + { + if (pItem->isHighlighted()) + bNeedsPaint = true; + pItem->setHighlight(false); + } + + if (bNeedsPaint && IsReallyVisible() && IsUpdateMode()) + Invalidate(pItem->getDrawArea()); } - SetQuickHelpText(aHelp); + if (mbShowTooltips) + SetQuickHelpText(aHelp); } void ThumbnailView::AppendItem(ThumbnailViewItem *pItem) diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx index 9187515..6198f45 100644 --- a/sfx2/source/control/thumbnailviewitem.cxx +++ b/sfx2/source/control/thumbnailviewitem.cxx @@ -37,6 +37,7 @@ #include <vcl/graph.hxx> #include <vcl/svapp.hxx> #include <vcl/texteng.hxx> +#include <svtools/optionsdrawinglayer.hxx> using namespace basegfx; using namespace basegfx::tools; @@ -245,15 +246,25 @@ void ThumbnailViewItem::Paint (drawinglayer::processor2d::BaseProcessor2D *pProc { BColor aFillColor = pAttrs->aFillColor; drawinglayer::primitive2d::Primitive2DSequence aSeq(4); + double fTransparence = 0.0; // Draw background - if ( mbSelected || mbHover ) + if (mbSelected || mbHover) aFillColor = pAttrs->aHighlightColor; + if (mbHover) + { + const SvtOptionsDrawinglayer aSvtOptionsDrawinglayer; + fTransparence = aSvtOptionsDrawinglayer.GetTransparentSelectionPercent() * 0.01; + } + sal_uInt32 nPrimitive = 0; - aSeq[nPrimitive++] = drawinglayer::primitive2d::Primitive2DReference( new PolyPolygonColorPrimitive2D( + aSeq[nPrimitive++] = drawinglayer::primitive2d::Primitive2DReference( new PolyPolygonSelectionPrimitive2D( B2DPolyPolygon(Polygon(maDrawArea,5,5).getB2DPolygon()), - aFillColor)); + aFillColor, + fTransparence, + 0.0, + true)); // Draw thumbnail Point aPos = maPrev1Pos; commit b475a895c0b91a764d750146f9935e7c56ef7f42 Author: Jan Holesovsky <ke...@collabora.com> Date: Fri Dec 13 09:41:42 2013 +0100 fdo#72650: Get thumbnails only from the local documents. No point in connecting to eg. ftp to get a thumbnail ;-) Change-Id: I017c59196c294242366f2254eeacd9056455c1bc diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx index 3062da6..570e782 100644 --- a/sfx2/source/control/recentdocsviewitem.cxx +++ b/sfx2/source/control/recentdocsviewitem.cxx @@ -27,8 +27,11 @@ RecentDocsViewItem::RecentDocsViewItem(ThumbnailView &rView, const OUString &rUR if (aTitle.isEmpty()) aTitle = aURLObj.GetName(INetURLObject::DECODE_WITH_CHARSET); - BitmapEx aThumbnail = ThumbnailView::readThumbnail(rURL); - if( aThumbnail.IsEmpty() ) + BitmapEx aThumbnail; + if (aURLObj.GetProtocol() == INET_PROT_FILE) + aThumbnail = ThumbnailView::readThumbnail(rURL); + + if (aThumbnail.IsEmpty()) { // Use the default thumbnail if we have nothing else BitmapEx aExt(RecentDocsView::getDefaultThumbnail(rURL)); commit 4c8bfd06a62de467f52b088ca1c78dcd829f9b7e Author: Jan Holesovsky <ke...@collabora.com> Date: Fri Dec 13 09:32:09 2013 +0100 Small cleanup of initialization. Change-Id: I62c0479414ab6748039498e1bc2b3bc9d7c4ef05 diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx index 137193d..3062da6 100644 --- a/sfx2/source/control/recentdocsviewitem.cxx +++ b/sfx2/source/control/recentdocsviewitem.cxx @@ -16,18 +16,16 @@ RecentDocsViewItem::RecentDocsViewItem(ThumbnailView &rView, const OUString &rURL, const OUString &rTitle, sal_uInt16 nId) - : ThumbnailViewItem(rView, nId) + : ThumbnailViewItem(rView, nId), + maURL(rURL) { + OUString aTitle(rTitle); + INetURLObject aURLObj(rURL); RecentDocsView& rRecentView = dynamic_cast<RecentDocsView&>(rView); long nThumbnailSize = rRecentView.GetThumbnailSize(); - OUString aTitle = rTitle; - if( !aTitle.getLength() ) - { - // If we have no title, get filename from the URL - INetURLObject aURLObj(rURL); + if (aTitle.isEmpty()) aTitle = aURLObj.GetName(INetURLObject::DECODE_WITH_CHARSET); - } BitmapEx aThumbnail = ThumbnailView::readThumbnail(rURL); if( aThumbnail.IsEmpty() ) @@ -57,7 +55,6 @@ RecentDocsViewItem::RecentDocsViewItem(ThumbnailView &rView, const OUString &rUR &aExt); } - maURL = rURL; maTitle = aTitle; maPreview1 = TemplateAbstractView::scaleImg(aThumbnail, nThumbnailSize, nThumbnailSize); } commit 004b403d75356e7184c24c6b51f8fef04171d3a1 Author: Jan Holesovsky <ke...@collabora.com> Date: Fri Dec 13 09:15:11 2013 +0100 startcenter: Full thumbnail size (256px), upscale if necessary. Change-Id: I8ae72249853a03b1dfca0ecd10eef47e9aa7cbfe diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index 5ea8d0d..afadb04 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -41,7 +41,7 @@ using namespace com::sun::star::beans; RecentDocsView::RecentDocsView( Window* pParent ) : ThumbnailView(pParent) , mnFileTypes(TYPE_NONE) - , mnItemMaxSize(100) + , mnItemMaxSize(256) , mnTextHeight(30) , mnItemPadding(5) , mnItemMaxTextLength(30) diff --git a/sfx2/source/control/templateabstractview.cxx b/sfx2/source/control/templateabstractview.cxx index f8090843..ddaac09 100644 --- a/sfx2/source/control/templateabstractview.cxx +++ b/sfx2/source/control/templateabstractview.cxx @@ -261,9 +261,6 @@ BitmapEx TemplateAbstractView::scaleImg (const BitmapEx &rImg, long width, long // make the picture fit the given width/height constraints double nRatio = std::min(double(width)/double(aSize.Width()), double(height)/double(aSize.Height())); - // don't up-scale - nRatio = std::min(nRatio, 1.0); - aImg.Scale(Size(aSize.Width() * nRatio, aSize.Height() * nRatio)); } commit 203d1a6ca94157e84832646b447fa99625da9579 Author: Jan Holesovsky <ke...@collabora.com> Date: Fri Dec 13 09:05:29 2013 +0100 startcenter: Make the default icons appear as on a piece of paper. So that the frame around the picture is similar to the previews; otherwise looks disturbing. Change-Id: Ie7f973e15c29a34c0f368b5e0f5a152d5cead39f diff --git a/sfx2/Library_sfx.mk b/sfx2/Library_sfx.mk index 16fd84a..b6e0962 100644 --- a/sfx2/Library_sfx.mk +++ b/sfx2/Library_sfx.mk @@ -60,6 +60,7 @@ $(eval $(call gb_Library_use_libraries,sfx,\ drawinglayer \ fwe \ i18nlangtag \ + i18nutil \ sal \ sax \ sb \ diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx index 3817d0d..137193d 100644 --- a/sfx2/source/control/recentdocsviewitem.cxx +++ b/sfx2/source/control/recentdocsviewitem.cxx @@ -9,6 +9,7 @@ #include <sfx2/recentdocsviewitem.hxx> +#include <i18nutil/paper.hxx> #include <sfx2/templateabstractview.hxx> #include <sfx2/recentdocsview.hxx> #include <tools/urlobj.hxx> @@ -32,7 +33,28 @@ RecentDocsViewItem::RecentDocsViewItem(ThumbnailView &rView, const OUString &rUR if( aThumbnail.IsEmpty() ) { // Use the default thumbnail if we have nothing else - aThumbnail = RecentDocsView::getDefaultThumbnail(rURL); + BitmapEx aExt(RecentDocsView::getDefaultThumbnail(rURL)); + Size aExtSize(aExt.GetSizePixel()); + + // attempt to make it appear as if it is on a piece of paper + static PaperInfo aInfo(PaperInfo::getSystemDefaultPaper()); + double ratio = double(nThumbnailSize) / double(std::max(aInfo.getWidth(), aInfo.getHeight())); + Size aThumbnailSize(aInfo.getWidth() * ratio, aInfo.getHeight() * ratio); + + if (aExtSize.Width() > aThumbnailSize.Width() || aExtSize.Height() > aThumbnailSize.Height()) + { + aExt = TemplateAbstractView::scaleImg(aExt, aThumbnailSize.Width(), aThumbnailSize.Height()); + aExtSize = aExt.GetSizePixel(); + } + + // create empty, and copy the default thumbnail in + sal_uInt8 nAlpha = 255; + aThumbnail = BitmapEx(Bitmap(aThumbnailSize, 24), AlphaMask(aThumbnailSize, &nAlpha)); + + aThumbnail.CopyPixel( + Rectangle(Point((aThumbnailSize.Width() - aExtSize.Width()) / 2, (aThumbnailSize.Height() - aExtSize.Height()) / 2), aExtSize), + Rectangle(Point(0, 0), aExtSize), + &aExt); } maURL = rURL; commit 862eefa76b836d45cd5327d6f343b67147268152 Author: Jan Holesovsky <ke...@collabora.com> Date: Thu Dec 12 22:58:31 2013 +0100 startcenter: Bigger & nicer document icons for recent documents. Change-Id: If61aefc1d27d7bca2e8242b404db685a503bcf0e diff --git a/icon-themes/galaxy/res/base128.png b/icon-themes/galaxy/res/base128.png new file mode 100644 index 0000000..37dc8a5 Binary files /dev/null and b/icon-themes/galaxy/res/base128.png differ diff --git a/icon-themes/galaxy/res/calc128.png b/icon-themes/galaxy/res/calc128.png new file mode 100644 index 0000000..3505d8a Binary files /dev/null and b/icon-themes/galaxy/res/calc128.png differ diff --git a/icon-themes/galaxy/res/draw128.png b/icon-themes/galaxy/res/draw128.png new file mode 100644 index 0000000..52c7fcf Binary files /dev/null and b/icon-themes/galaxy/res/draw128.png differ diff --git a/icon-themes/galaxy/res/impress128.png b/icon-themes/galaxy/res/impress128.png new file mode 100644 index 0000000..dcef2a9 Binary files /dev/null and b/icon-themes/galaxy/res/impress128.png differ diff --git a/icon-themes/galaxy/res/main128.png b/icon-themes/galaxy/res/main128.png new file mode 100644 index 0000000..046970d Binary files /dev/null and b/icon-themes/galaxy/res/main128.png differ diff --git a/icon-themes/galaxy/res/math128.png b/icon-themes/galaxy/res/math128.png new file mode 100644 index 0000000..f82462c Binary files /dev/null and b/icon-themes/galaxy/res/math128.png differ diff --git a/icon-themes/galaxy/res/writer128.png b/icon-themes/galaxy/res/writer128.png new file mode 100644 index 0000000..7fa1635 Binary files /dev/null and b/icon-themes/galaxy/res/writer128.png differ diff --git a/sfx2/source/appl/sfx.src b/sfx2/source/appl/sfx.src index de2e45d..08e6f1f 100644 --- a/sfx2/source/appl/sfx.src +++ b/sfx2/source/appl/sfx.src @@ -61,37 +61,37 @@ Bitmap ( SFX_THUMBNAIL_DRAWING ) Bitmap ( SFX_FILE_THUMBNAIL_TEXT ) { - File = "odt_48_8.png"; + File = "writer128.png"; }; Bitmap ( SFX_FILE_THUMBNAIL_SHEET ) { - File = "ods_48_8.png"; + File = "calc128.png"; }; Bitmap ( SFX_FILE_THUMBNAIL_PRESENTATION ) { - File = "odp_48_8.png"; + File = "impress128.png"; }; Bitmap ( SFX_FILE_THUMBNAIL_DRAWING ) { - File = "odg_48_8.png"; + File = "draw128.png"; }; Bitmap ( SFX_FILE_THUMBNAIL_DATABASE ) { - File = "odb_48_8.png"; + File = "base128.png"; }; Bitmap ( SFX_FILE_THUMBNAIL_MATH ) { - File = "odf_48_8.png"; + File = "math128.png"; }; Bitmap ( SFX_FILE_THUMBNAIL_DEFAULT ) { - File = "mainapp_48_8.png"; + File = "main128.png"; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ commit 2cb703067b827b0ebb562845c82dae5e35161e72 Author: Jan Holesovsky <ke...@collabora.com> Date: Thu Dec 12 21:54:58 2013 +0100 template view: Simplify code. Change-Id: I48fc6fa86a9953db87e59a83714d4d7b0ff8d64a diff --git a/sfx2/source/control/templateabstractview.cxx b/sfx2/source/control/templateabstractview.cxx index 5de8a8e..f8090843 100644 --- a/sfx2/source/control/templateabstractview.cxx +++ b/sfx2/source/control/templateabstractview.cxx @@ -248,32 +248,23 @@ BitmapEx TemplateAbstractView::scaleImg (const BitmapEx &rImg, long width, long { BitmapEx aImg = rImg; - if ( !rImg.IsEmpty() ) + if (!rImg.IsEmpty()) { + Size aSize = rImg.GetSizePixel(); - const Size& aImgSize = aImg.GetSizePixel(); - double nRatio = double(aImgSize.getWidth()) / double(aImgSize.getHeight()); + if (aSize.Width() == 0) + aSize.Width() = 1; - long nDestWidth = aImgSize.getWidth(); - long nDestHeight = aImgSize.getHeight(); + if (aSize.Height() == 0) + aSize.Height() = 1; - // Which one side is the overflowing most? - long nDistW = aImgSize.getWidth() - width; - long nDistH = aImgSize.getHeight() - height; + // make the picture fit the given width/height constraints + double nRatio = std::min(double(width)/double(aSize.Width()), double(height)/double(aSize.Height())); - // Use the biggest overflow side to make it fit the destination - if ( nDistW >= nDistH && nDistW > 0 ) - { - nDestWidth = width; - nDestHeight = width / nRatio; - } - else if ( nDistW < nDistH && nDistH > 0 ) - { - nDestHeight = height; - nDestWidth = height * nRatio; - } + // don't up-scale + nRatio = std::min(nRatio, 1.0); - aImg.Scale(Size(nDestWidth,nDestHeight)); + aImg.Scale(Size(aSize.Width() * nRatio, aSize.Height() * nRatio)); } return aImg; commit f57be7e4c16556f515241f80e81ec4d6eaeb3ca2 Author: Jan Holesovsky <ke...@collabora.com> Date: Thu Dec 12 21:22:43 2013 +0100 Expert config: 6px between lines + center the button. Change-Id: I91899493479eb60c955dac3891a38913ad871376 diff --git a/cui/uiconfig/ui/optadvancedpage.ui b/cui/uiconfig/ui/optadvancedpage.ui index 4554014..7f06e78 100644 --- a/cui/uiconfig/ui/optadvancedpage.ui +++ b/cui/uiconfig/ui/optadvancedpage.ui @@ -326,6 +326,7 @@ <object class="GtkGrid" id="grid4"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="experimental"> <property name="label" translatable="yes">Enable experimental features</property> @@ -361,10 +362,12 @@ </child> <child> <object class="GtkButton" id="expertconfig"> - <property name="label" translatable="yes">Expert Config Page</property> + <property name="label" translatable="yes">Expert Configuration</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="halign">center</property> + <property name="hexpand">True</property> </object> <packing> <property name="left_attach">0</property> commit 0ef9ed2628d7c5d14fcbe91be2f8f29383d4fec7 Author: Jan Holesovsky <ke...@collabora.com> Date: Thu Dec 12 21:15:45 2013 +0100 Expert config: Introduce configuration key to disable expert config. It is /org.openoffice.Office.Common/Security/EnableExpertConfiguration with values true/false; defaults to true. Change-Id: I5a18d16182c28a13169677b11f68884f34c11c63 diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 1841c40..ce5c162 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -23,6 +23,7 @@ #include "optjava.hxx" #include <dialmgr.hxx> +#include <officecfg/Office/Common.hxx> #include <svtools/miscopt.hxx> #include <cuires.hrc> @@ -183,6 +184,8 @@ SvxJavaOptionsPage::SvxJavaOptionsPage( Window* pParent, const SfxItemSet& rSet m_aResetTimer.SetTimeout( RESET_TIMEOUT ); m_pExpertConfigBtn->SetClickHdl( LINK( this, SvxJavaOptionsPage, ExpertConfigHdl_Impl) ); + if (!officecfg::Office::Common::Security::EnableExpertConfiguration::get()) + m_pExpertConfigBtn->Disable(); xDialogListener->SetDialogClosedLink( LINK( this, SvxJavaOptionsPage, DialogClosedHdl ) ); diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index 069a128..affd280 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -2417,6 +2417,13 @@ <info> <desc>Contains security specific Office settings.</desc> </info> + <prop oor:name="EnableExpertConfiguration" oor:type="xs:boolean" oor:nillable="false"> + <info> + <desc>Determines if the user has access to the entire + configuration via the Expert Configuration button.</desc> + </info> + <value>true</value> + </prop> <group oor:name="Scripting"> <info> <desc>Contains security settings regarding Basic scripts.</desc> commit cb800415f6bedd40c34e78cc9c1d1c3c9deab795 Author: Jan Holesovsky <ke...@collabora.com> Date: Thu Dec 12 16:33:43 2013 +0100 startcenter: Smaller frame around the entire start center area (6 -> 1px). Based on Mirek's suggestion; looks better. Change-Id: I3468450ee4c8ba27cd26a40c7ed11f0b4df9c42d diff --git a/sfx2/uiconfig/ui/startcenter.ui b/sfx2/uiconfig/ui/startcenter.ui index adbad28..dd175fb 100644 --- a/sfx2/uiconfig/ui/startcenter.ui +++ b/sfx2/uiconfig/ui/startcenter.ui @@ -2,21 +2,6 @@ <interface> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> - <object class="GtkImage" id="calc_all_image"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="pixbuf">res/ods_32_8.png</property> - </object> - <object class="GtkImage" id="database_all_image"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="pixbuf">res/odb_32_8.png</property> - </object> - <object class="GtkImage" id="draw_all_image"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="pixbuf">res/odg_32_8.png</property> - </object> <object class="GtkBox" id="StartCenter"> <property name="can_focus">False</property> <child> @@ -25,7 +10,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="vexpand">True</property> - <property name="border_width">6</property> + <property name="border_width">1</property> <child> <object class="GtkBox" id="all_buttons_box"> <property name="visible">True</property> @@ -374,6 +359,21 @@ </packing> </child> </object> + <object class="GtkImage" id="calc_all_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixbuf">res/ods_32_8.png</property> + </object> + <object class="GtkImage" id="database_all_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixbuf">res/odb_32_8.png</property> + </object> + <object class="GtkImage" id="draw_all_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixbuf">res/odg_32_8.png</property> + </object> <object class="GtkImage" id="impress_all_image"> <property name="visible">True</property> <property name="can_focus">False</property> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits