[Libreoffice-commits] core.git: 2 commits - chart2/uiconfig cui/inc cui/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Nov 27 11:30:18 UTC 2018
chart2/uiconfig/ui/tp_ChartType.ui | 1 +
cui/inc/strings.hrc | 3 +++
cui/source/dialogs/insdlg.cxx | 5 +----
3 files changed, 5 insertions(+), 4 deletions(-)
New commits:
commit 3f2ac501e6593ef5095b308b887c48349e00c0a3
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Nov 26 21:29:37 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Nov 27 12:30:03 2018 +0100
tdf#121713 give filter a name
Change-Id: Ia1a45e7292a61efd21c4a7351af1a681b92e886e
Reviewed-on: https://gerrit.libreoffice.org/64077
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/cui/inc/strings.hrc b/cui/inc/strings.hrc
index 743c974caef4..149dfa658519 100644
--- a/cui/inc/strings.hrc
+++ b/cui/inc/strings.hrc
@@ -391,6 +391,9 @@
#define RID_SVXSTR_SHADOW_STYLE_TOPLEFT NC_("RID_SVXSTR_SHADOW_STYLE_TOPLEFT", "Cast Shadow to Top Left")
#define RID_SVXSTR_SIGNATURELINE_SIGNED_BY NC_("RID_SVXSTR_SIGNATURELINE_SIGNED_BY", "Signed by: %1")
#define RID_SVXSTR_OPENCL_RESTART NC_("RID_SVXSTR_OPENCL_RESTART", "For the OpenCL changes to take effect, %PRODUCTNAME must be restarted.")
+
+#define RID_SVXSTR_FILTER_ALL NC_("RID_SVXSTR_FILTER_ALL", "All files")
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index 243e21dd117d..cbf7c0e4eeba 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -98,10 +98,7 @@ IMPL_LINK_NOARG(SvInsertOleDlg, BrowseHdl, weld::Button&, void)
// add filter
try
{
- xFilePicker->appendFilter(
- OUString(),
- "*.*"
- );
+ xFilePicker->appendFilter(CuiResId(RID_SVXSTR_FILTER_ALL), "*.*");
}
catch( const IllegalArgumentException& )
{
commit b4111e9ba3099d299cd3ee861d17eec2742cac01
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Nov 26 20:43:38 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Nov 27 12:29:51 2018 +0100
improve chart type dialog treeview width
Change-Id: I41a053f63db6bced24dd6586e2c347d286339c29
Reviewed-on: https://gerrit.libreoffice.org/64071
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/chart2/uiconfig/ui/tp_ChartType.ui b/chart2/uiconfig/ui/tp_ChartType.ui
index c31abe35b41e..7955f0247896 100644
--- a/chart2/uiconfig/ui/tp_ChartType.ui
+++ b/chart2/uiconfig/ui/tp_ChartType.ui
@@ -406,6 +406,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="vexpand">True</property>
+ <property name="hscrollbar_policy">never</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkTreeView" id="charttype">
More information about the Libreoffice-commits
mailing list