summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-21 10:21:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-21 11:31:26 +0000
commit4b2daa1cd57ae022a728296882a91407a3746309 (patch)
treee3597b30859149298821e5dbdc6a2baacaea783d
parenteeccf1be6a5752b2288086d1f52c1b1e3e5c4137 (diff)
Resolves: fdo#88562 convert filename widget from ro-edit to selectable-label
Change-Id: I56205bf5c28b6196aae10ecfa658111768f0e433
-rw-r--r--include/sfx2/dinfdlg.hxx2
-rw-r--r--sfx2/uiconfig/ui/documentinfopage.ui11
2 files changed, 7 insertions, 6 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index ecf71c43adfe..027f6bcfb085 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -180,7 +180,7 @@ class SfxDocumentPage : public SfxTabPage
{
private:
FixedImage* m_pBmp;
- Edit* m_pNameED;
+ SelectableFixedText* m_pNameED;
PushButton* m_pChangePassBtn;
SelectableFixedText* m_pShowTypeFT;
diff --git a/sfx2/uiconfig/ui/documentinfopage.ui b/sfx2/uiconfig/ui/documentinfopage.ui
index 84d684f7a3e6..494e20fb120a 100644
--- a/sfx2/uiconfig/ui/documentinfopage.ui
+++ b/sfx2/uiconfig/ui/documentinfopage.ui
@@ -412,13 +412,14 @@
</packing>
</child>
<child>
- <object class="GtkEntry" id="nameed">
+ <object class="GtkLabel" id="nameed">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="valign">center</property>
+ <property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="editable">False</property>
- <property name="invisible_char">•</property>
+ <property name="xalign">0</property>
+ <property name="selectable">True</property>
+ <property name="single_line_mode">True</property>
+ <property name="max_width_chars">56</property>
</object>
<packing>
<property name="left_attach">1</property>