1
0
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:
Unit 193
2021-08-15 18:54:21 -04:00
committed by GitHub
parent b1323cabae
commit 849cd010e8
4 changed files with 99 additions and 1 deletions

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