summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sfx2/dinfdlg.hxx2
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx6
-rw-r--r--sfx2/uiconfig/ui/documentinfopage.ui9
3 files changed, 7 insertions, 10 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 1e5490d8bc85..9179c69d7d90 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -185,7 +185,7 @@ private:
PushButton* m_pChangePassBtn;
SelectableFixedText* m_pShowTypeFT;
- FixedText* m_pFileValFt;
+ Edit* m_pFileValEd;
SelectableFixedText* m_pShowSizeFT;
SelectableFixedText* m_pCreateValFt;
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 1237d4c16045..4317295fd248 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -754,7 +754,7 @@ SfxDocumentPage::SfxDocumentPage(vcl::Window* pParent, const SfxItemSet& rItemSe
get(m_pChangePassBtn, "changepass");
get(m_pShowTypeFT, "showtype");
- get(m_pFileValFt, "showlocation");
+ get(m_pFileValEd, "showlocation");
get(m_pShowSizeFT, "showsize");
m_aUnknownSize = m_pShowSizeFT->GetText();
m_pShowSizeFT->SetText(OUString());
@@ -1028,10 +1028,10 @@ void SfxDocumentPage::Reset( const SfxItemSet* rSet )
// we know it's a folder -> don't need the final slash, but it's better for WB_PATHELLIPSIS
aPath.removeFinalSlash();
OUString aText( aPath.PathToFileName() ); //! (pb) MaxLen?
- m_pFileValFt->SetText( aText );
+ m_pFileValEd->SetText( aText );
}
else if ( aURL.GetProtocol() != INetProtocol::PrivSoffice )
- m_pFileValFt->SetText( aURL.GetPartBeforeLastName() );
+ m_pFileValEd->SetText( aURL.GetPartBeforeLastName() );
// handle access data
bool m_bUseUserData = rInfoItem.IsUseUserData();
diff --git a/sfx2/uiconfig/ui/documentinfopage.ui b/sfx2/uiconfig/ui/documentinfopage.ui
index 46e1c28214eb..7d75d8ad7bb2 100644
--- a/sfx2/uiconfig/ui/documentinfopage.ui
+++ b/sfx2/uiconfig/ui/documentinfopage.ui
@@ -297,13 +297,10 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="showlocation">
+ <object class="GtkEntry" id="showlocation">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hexpand">True</property>
- <property name="xalign">0</property>
- <property name="wrap">True</property>
- <property name="max_width_chars">56</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
</object>
<packing>
<property name="left_attach">1</property>