summaryrefslogtreecommitdiff
path: root/fluid/panels/settings_panel.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-07-02 12:45:00 +0200
committerMatthias Melcher <github@matthiasm.com>2025-07-02 12:45:00 +0200
commit5475f2dddd7a76e1ee939b99d1ab6f816f4a3271 (patch)
treeb88280c9f32a23e8c9411d50d9eee671d7fa1f60 /fluid/panels/settings_panel.cxx
parent66dde2646915ccf679658485e15ee33c3011087b (diff)
FLUID: Multiple fixes
- fixes new naming of i18n class - fixes use of deprecated setonly() - fixes false assumption that all children of a Window are Widgets
Diffstat (limited to 'fluid/panels/settings_panel.cxx')
-rw-r--r--fluid/panels/settings_panel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/panels/settings_panel.cxx b/fluid/panels/settings_panel.cxx
index d695c535c..0ba267c76 100644
--- a/fluid/panels/settings_panel.cxx
+++ b/fluid/panels/settings_panel.cxx
@@ -542,7 +542,7 @@ static void cb_w_layout_menu(Fl_Menu_Button*, void* v) {
for (int i=1; i<4; i++) w_layout_menu_storage[i]->activate();
w_layout_menu_delete->activate();
}
- w_layout_menu_storage[static_cast<int>(suite.storage_)]->setonly();
+ w_layout_menu_storage[static_cast<int>(suite.storage_)]->setonly(menu_w_layout_menu);
}
}
@@ -2452,6 +2452,7 @@ Fl_Double_Window* make_settings_window() {
w_settings_general_tab->image( image_general_64() );
w_settings_general_tab->image()->scale(36, 24, 0, 1);
w_settings_general_tab->labelsize(11);
+ w_settings_general_tab->hide();
{ Fl_Group* o = new Fl_Group(120, 78, 130, 25);
o->callback((Fl_Callback*)cb_);
{ scheme_choice = new Fl_Scheme_Choice(120, 78, 120, 25, "Scheme: ");
@@ -3229,7 +3230,6 @@ Fl_Double_Window* make_settings_window() {
w_settings_i18n_tab->image()->scale(36, 24, 0, 1);
w_settings_i18n_tab->labelsize(11);
w_settings_i18n_tab->callback((Fl_Callback*)cb_w_settings_i18n_tab);
- w_settings_i18n_tab->hide();
{ Fl_Group* o = new Fl_Group(100, 78, 170, 20);
o->callback((Fl_Callback*)propagate_load);
{ i18n_type_chooser = new Fl_Choice(100, 78, 160, 20, "i18n Library:");