Unverified Commit 110dca7d authored by Murray Cumming's avatar Murray Cumming
Browse files

gtkmm4: Remove calls to show_all().

This has been removed from gtkmm4. Apparently child widgets are now
visible by default.
parent 655dc4e5
......@@ -228,7 +228,6 @@ bool AppWindow::init_with_document(const Glib::ustring& document_uri, bool resto
}
return true;
//show_all();
}
bool AppWindow::get_show_sql_debug() const
......
......@@ -141,7 +141,6 @@ Frame_Glom::Frame_Glom(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>
*Gtk::manage(new Gtk::Label(_("Found:"))), Gtk::PACK_SHRINK);
m_box_records_count.pack_start(m_label_found_count, Gtk::PACK_SHRINK);
m_box_records_count.pack_start(m_button_find_all, Gtk::PACK_SHRINK);
m_box_records_count.show_all();
m_notebook_data.set_action_widget(&m_box_records_count, Gtk::PACK_END);
m_button_find_all.signal_clicked().connect(
sigc::mem_fun(*this, &Frame_Glom::on_button_find_all) );
......@@ -431,8 +430,6 @@ void Frame_Glom::show_table_allow_empty(const Glib::ustring& table_name, const G
pApp->fill_menu_reports(table_name);
pApp->fill_menu_print_layouts(table_name);
}
//show_all();
}
void Frame_Glom::show_table(const Glib::ustring& table_name, const Gnome::Gda::Value& primary_key_value_for_details)
......@@ -1104,7 +1101,6 @@ void Frame_Glom::do_menu_Navigate_Table(bool open_default)
m_dialog_tables->set_transient_for(*pWindow);
m_dialog_tables->set_default_size(300, 400);
m_box_tables->show_all();
add_view(m_box_tables);
//Connect signals:
......@@ -1584,7 +1580,6 @@ void Frame_Glom::on_menu_developer_reports()
m_dialog_layout_report->signal_hide().connect( sigc::mem_fun(*this, &Frame_Glom::on_dialog_layout_report_hide) );
m_dialog_reports->set_default_size(300, 400);
m_box_reports->show_all();
m_box_reports->signal_selected.connect(sigc::mem_fun(*this, &Frame_Glom::on_box_reports_selected));
add_view(m_box_reports);
......@@ -1616,7 +1611,6 @@ void Frame_Glom::on_menu_developer_print_layouts()
m_dialog_print_layouts->set_transient_for(*get_app_window());
m_dialog_print_layouts->set_title(_("Print Layouts"));
m_dialog_print_layouts->set_default_size(300, 400);
m_box_print_layouts->show_all();
add_view(m_box_print_layouts);
m_box_print_layouts->signal_selected.connect(sigc::mem_fun(*this, &Frame_Glom::on_box_print_layouts_selected));
......
......@@ -172,8 +172,6 @@ DataWidget::DataWidget(const std::shared_ptr<LayoutItem_Field>& field, const Gli
m_child = dynamic_cast<Gtk::Widget*>(pFieldWidget);
set_child_size_by_field(field);
m_child->show_all();
}
if(m_child)
......
......@@ -458,7 +458,6 @@ void FlowTableWithFields::add_field(const std::shared_ptr<LayoutItem_Field>& lay
add_view(pDataWidget); //So it can get the document.
info.m_second = pDataWidget;
info.m_second->show_all();
//Add a label, if one is necessary:
//We put it inside a box so that halign works as we want.
......@@ -503,7 +502,6 @@ void FlowTableWithFields::add_field(const std::shared_ptr<LayoutItem_Field>& lay
info.m_first_eventbox = eventbox; //Remember it so we can retrieve the column number later from FlowTable.
eventbox->set_visible_window(false);
eventbox->set_events(Gdk::ALL_EVENTS_MASK);
eventbox->show_all();
add_widgets(*eventbox, *(info.m_second), true);
......
......@@ -144,7 +144,6 @@ Window_PrintLayout_Edit::Window_PrintLayout_Edit(BaseObjectType* cobject, const
m_scrolled_window.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
m_scrolled_window.add(m_canvas);
m_scrolled_window.show_all();
m_box_canvas->pack_start(m_scrolled_window);
m_canvas.show();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment