diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-02-01 23:49:48 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-02-01 23:49:48 -0500 |
commit | ecc83036c1522a024e1f5a1efc6fe533b907daf1 (patch) | |
tree | ceb75059aec90e01a314e59851beefffa733cdb0 /src/windows | |
parent | 5a6f8cac09770d315fe4a3258fa6116e65750f24 (diff) | |
parent | 3ed51eb155444859c3aa00119857b602066c9c10 (diff) | |
download | abaddon-portaudio-ecc83036c1522a024e1f5a1efc6fe533b907daf1.tar.gz abaddon-portaudio-ecc83036c1522a024e1f5a1efc6fe533b907daf1.zip |
Merge branch 'master' into pch
Diffstat (limited to 'src/windows')
-rw-r--r-- | src/windows/mainwindow.cpp | 6 | ||||
-rw-r--r-- | src/windows/mainwindow.hpp | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/windows/mainwindow.cpp b/src/windows/mainwindow.cpp index 2c61a98..e43a297 100644 --- a/src/windows/mainwindow.cpp +++ b/src/windows/mainwindow.cpp @@ -254,8 +254,10 @@ void MainWindow::SetupMenu() { m_menu_file.set_submenu(m_menu_file_sub); m_menu_file_reload_css.set_label("Reload CSS"); m_menu_file_clear_cache.set_label("Clear file cache"); + m_menu_file_dump_ready.set_label("Dump ready message"); m_menu_file_sub.append(m_menu_file_reload_css); m_menu_file_sub.append(m_menu_file_clear_cache); + m_menu_file_sub.append(m_menu_file_dump_ready); m_menu_view.set_label("View"); m_menu_view.set_submenu(m_menu_view_sub); @@ -334,6 +336,10 @@ void MainWindow::SetupMenu() { Abaddon::Get().GetImageManager().ClearCache(); }); + m_menu_file_dump_ready.signal_toggled().connect([this]() { + Abaddon::Get().GetDiscordClient().SetDumpReady(m_menu_file_dump_ready.get_active()); + }); + m_menu_discord_add_recipient.signal_activate().connect([this] { m_signal_action_add_recipient.emit(GetChatActiveChannel()); }); diff --git a/src/windows/mainwindow.hpp b/src/windows/mainwindow.hpp index a12dd7c..6183779 100644 --- a/src/windows/mainwindow.hpp +++ b/src/windows/mainwindow.hpp @@ -71,6 +71,7 @@ private: Gtk::Menu m_menu_file_sub; Gtk::MenuItem m_menu_file_reload_css; Gtk::MenuItem m_menu_file_clear_cache; + Gtk::CheckMenuItem m_menu_file_dump_ready; Gtk::MenuItem m_menu_view; Gtk::Menu m_menu_view_sub; |