Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2960438d
Kaydet (Commit)
2960438d
authored
Tem 17, 2015
tarafından
Szymon Kłos
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
question if delete the service
Change-Id: I49e5a93ba1d58b898ec1c7b9a4682c9e86302bd0
üst
6246755d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
12 deletions
+23
-12
RemoteFilesDialog.cxx
fpicker/source/office/RemoteFilesDialog.cxx
+17
-12
iodlg.src
fpicker/source/office/iodlg.src
+5
-0
fpicker.hrc
include/vcl/fpicker.hrc
+1
-0
No files found.
fpicker/source/office/RemoteFilesDialog.cxx
Dosyayı görüntüle @
2960438d
...
...
@@ -581,21 +581,26 @@ IMPL_LINK_TYPED ( RemoteFilesDialog, EditServiceMenuHdl, MenuButton *, pButton,
if
(
nPos
>=
0
)
{
// TODO: Confirm dialog
m_aServices
.
erase
(
m_aServices
.
begin
()
+
nPos
);
m_pServices_lb
->
RemoveEntry
(
nSelected
);
OUString
sMsg
=
ResId
(
STR_SVT_DELETESERVICE
,
*
ResMgrHolder
::
getOrCreate
()
);
sMsg
=
sMsg
.
replaceFirst
(
"$servicename$"
,
m_pServices_lb
->
GetSelectEntry
()
);
ScopedVclPtrInstance
<
MessageDialog
>
aBox
(
this
,
sMsg
,
VCL_MESSAGE_QUESTION
,
VCL_BUTTONS_YES_NO
);
if
(
m_pServices_lb
->
GetEntryCount
()
>
0
)
if
(
aBox
->
Execute
()
==
RET_YES
)
{
m_pServices_lb
->
SelectEntryPos
(
0
);
}
else
{
m_pServices_lb
->
SetNoSelection
();
}
m_aServices
.
erase
(
m_aServices
.
begin
()
+
nPos
);
m_pServices_lb
->
RemoveEntry
(
nSelected
);
m_bIsUpdated
=
true
;
if
(
m_pServices_lb
->
GetEntryCount
()
>
0
)
{
m_pServices_lb
->
SelectEntryPos
(
0
);
}
else
{
m_pServices_lb
->
SetNoSelection
();
}
m_bIsUpdated
=
true
;
}
}
}
...
...
fpicker/source/office/iodlg.src
Dosyayı görüntüle @
2960438d
...
...
@@ -105,6 +105,11 @@ String STR_SVT_ALREADYEXISTOVERWRITE
Text [ en-US ] = "A file named \"$filename$\" already exists.\n\nDo you want to replace it?" ;
};
String STR_SVT_DELETESERVICE
{
Text [ en-US ] = "Are you sure you want to delete the service?\n\"$servicename$\"" ;
};
String STR_SVT_NEW_FOLDER
{
Text [ en-US ] = "Folder" ;
...
...
include/vcl/fpicker.hrc
Dosyayı görüntüle @
2960438d
...
...
@@ -27,6 +27,7 @@
#define STR_SVT_FOLDERPICKER_DEFAULT_TITLE (STR_SVT_FILEPICKER_START+12)
#define STR_SVT_FOLDERPICKER_DEFAULT_DESCRIPTION (STR_SVT_FILEPICKER_START+13)
#define STR_SVT_ALREADYEXISTOVERWRITE (STR_SVT_FILEPICKER_START+14)
#define STR_SVT_DELETESERVICE (STR_SVT_FILEPICKER_START+15)
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment