mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
This reverts commit a0305a3a12.
This commit is contained in:
@@ -562,13 +562,12 @@ void Application::Impl::on_startup()
|
||||
|
||||
/* init the ui manager */
|
||||
ui_builder_ = Gtk::Builder::create_from_resource(gtr_get_full_resource_path("transmission-ui.xml"s));
|
||||
auto const actions_window = gtr_actions_init_window(ui_builder_, this);
|
||||
auto const actions_torrent = gtr_actions_init_torrent(this);
|
||||
auto const actions = gtr_actions_init(ui_builder_, this);
|
||||
|
||||
app_.set_menubar(gtr_action_get_object<Gio::Menu>("main-window-menu"));
|
||||
|
||||
/* create main window now to be a parent to any error dialogs */
|
||||
wind_ = MainWindow::create(app_, actions_window, actions_torrent, core_);
|
||||
wind_ = MainWindow::create(app_, actions, core_);
|
||||
wind_->signal_size_allocate().connect(sigc::mem_fun(*this, &Impl::on_main_window_size_allocated));
|
||||
app_.hold();
|
||||
app_setup();
|
||||
|
||||
Reference in New Issue
Block a user