Add compile-time toggleable support for application indicators, off by default. (#815)

This tries to figure out, via wx-config, if you're using GTK2 or GTK3
and uses the associated Ayatana library.
This commit is contained in:
Unit 193 authored and GitHub committed 2021-08-16 00:54:21 +02:00
1 parent b1323cabae
commit 849cd010e8
4 files changed
+99 -1

No files matched your search

+4
View File
@@ -1754,6 +1754,10 @@ namespace VeraCrypt
}
BackgroundMode = state;
#ifdef HAVE_INDICATORS
gtk_menu_item_set_label ((GtkMenuItem*) ((MainFrame*) mMainFrame)->indicator_item_showhide, LangString[Gui->IsInBackgroundMode() ? "SHOW_TC" : "HIDE_TC"].mb_str());
#endif
}
void GraphicUserInterface::SetListCtrlColumnWidths (wxListCtrl *listCtrl, list <int> columnWidthPermilles, bool hasVerticalScrollbar) const