mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user