feat(modulo): improve welcome screen on macOS
This commit is contained in:
parent
612c8ba8e4
commit
40ea11ef94
|
@ -213,6 +213,8 @@ fn build_native() {
|
||||||
.file("src/sys/search/search.cpp")
|
.file("src/sys/search/search.cpp")
|
||||||
.file("src/sys/wizard/wizard.cpp")
|
.file("src/sys/wizard/wizard.cpp")
|
||||||
.file("src/sys/wizard/wizard_gui.cpp")
|
.file("src/sys/wizard/wizard_gui.cpp")
|
||||||
|
.file("src/sys/welcome/welcome.cpp")
|
||||||
|
.file("src/sys/welcome/welcome_gui.cpp")
|
||||||
.file("src/sys/common/mac.mm");
|
.file("src/sys/common/mac.mm");
|
||||||
build.flag("-std=c++17");
|
build.flag("-std=c++17");
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,9 @@ DerivedWelcomeFrame::DerivedWelcomeFrame(wxWindow *parent)
|
||||||
{
|
{
|
||||||
wxBitmap trayBitmap = wxBitmap(metadata->tray_image_path, wxBITMAP_TYPE_PNG);
|
wxBitmap trayBitmap = wxBitmap(metadata->tray_image_path, wxBITMAP_TYPE_PNG);
|
||||||
this->tray_bitmap->SetBitmap(trayBitmap);
|
this->tray_bitmap->SetBitmap(trayBitmap);
|
||||||
|
#ifdef __WXOSX__
|
||||||
|
this->tray_info_label->SetLabel("You should see the espanso icon on the status bar:");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user