diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-03 11:50:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-03 11:53:39 +0100 |
commit | c8e39299ac4ced2dc72f373526089b9574a14a8a (patch) | |
tree | 1d010afc25b556acb85ef55405b957c13387c98c /sfx2/source/dialog | |
parent | 39f306df1d5f8daa4747f1e3b26e853c001669f5 (diff) |
Resolves: tdf#89885 use a readonly GtkEntry for location
Change-Id: I324d5e0776da942eae62984b96951d9947702b49
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |