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
fd468f7c
Kaydet (Commit)
fd468f7c
authored
Mar 09, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add an explicit Cancel handler
üst
809e3017
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
about.cxx
cui/source/dialogs/about.cxx
+9
-0
about.hxx
cui/source/inc/about.hxx
+2
-1
No files found.
cui/source/dialogs/about.cxx
Dosyayı görüntüle @
fd468f7c
...
...
@@ -163,6 +163,8 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId) :
aFeaturesLink
.
SetBackground
();
aFeaturesLink
.
SetClickHdl
(
LINK
(
this
,
AboutDialog
,
HandleHyperlink
)
);
aCancelButton
.
SetClickHdl
(
LINK
(
this
,
AboutDialog
,
CancelHdl
)
);
Color
aTextColor
(
rSettings
.
GetWindowTextColor
()
);
aVersionText
.
SetControlForeground
(
aTextColor
);
aCopyrightText
.
SetControlForeground
(
aTextColor
);
...
...
@@ -288,6 +290,13 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId) :
SetHelpId
(
CMD_SID_ABOUT
);
}
//-----------------------------------------------------------------------
IMPL_LINK_NOARG
(
AboutDialog
,
CancelHdl
)
{
Close
();
return
0
;
}
// -----------------------------------------------------------------------
IMPL_LINK
(
AboutDialog
,
HandleHyperlink
,
svt
::
FixedHyperlink
*
,
pHyperlink
)
...
...
cui/source/inc/about.hxx
Dosyayı görüntüle @
fd468f7c
...
...
@@ -72,7 +72,8 @@ protected:
public
:
AboutDialog
(
Window
*
pParent
,
const
ResId
&
rId
);
DECL_LINK
(
HandleHyperlink
,
svt
::
FixedHyperlink
*
);
DECL_LINK
(
CancelHdl
,
void
*
);
DECL_LINK
(
HandleHyperlink
,
svt
::
FixedHyperlink
*
);
};
#endif // #ifndef _ABOUT_HXX
...
...
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