summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-12-04 14:49:14 +0100
committerMatthias Melcher <github@matthiasm.com>2024-12-04 14:49:14 +0100
commitfcae10e29607408e797067b60d2821fdb3c02e10 (patch)
tree46a1f4a9c3a4bf9208106405343f345fad01fb52 /fluid
parent7d964d92aef46dab31a9d36cbeba1d5905e22430 (diff)
FLUID: Fixes default settings tab.
Diffstat (limited to 'fluid')
-rw-r--r--fluid/settings_panel.cxx2
-rw-r--r--fluid/settings_panel.fl8
-rw-r--r--fluid/widget_browser.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/fluid/settings_panel.cxx b/fluid/settings_panel.cxx
index 23a7bb388..8f9f21d3d 100644
--- a/fluid/settings_panel.cxx
+++ b/fluid/settings_panel.cxx
@@ -2446,7 +2446,6 @@ 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: ");
@@ -3008,6 +3007,7 @@ Fl_Double_Window* make_settings_window() {
w_settings_shell_tab->image()->scale(36, 24, 0, 1);
w_settings_shell_tab->labelsize(11);
w_settings_shell_tab->callback((Fl_Callback*)propagate_load);
+ w_settings_shell_tab->hide();
{ Fl_Group* o = new Fl_Group(10, 90, 320, 132);
o->callback((Fl_Callback*)propagate_load);
{ w_settings_shell_list = new Fl_Browser(100, 90, 220, 110, "Shell\ncommand\nlist:");
diff --git a/fluid/settings_panel.fl b/fluid/settings_panel.fl
index adb26234e..1db8aff18 100644
--- a/fluid/settings_panel.fl
+++ b/fluid/settings_panel.fl
@@ -196,8 +196,8 @@ Function {make_settings_window()} {open
xywh {10 10 320 530} selection_color 12 labelsize 11 labelcolor 255 resizable
} {
Fl_Group w_settings_general_tab {
- label General open
- scale_image {36 24} image {icons/general_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide resizable
+ label General open selected
+ scale_image {36 24} image {icons/general_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 resizable
} {
Fl_Group {} {
callback {propagate_load(o, v);} open
@@ -893,7 +893,7 @@ g_layout_list.update_dialogs();}
Fl_Group w_settings_shell_tab {
label Shell
callback propagate_load open
- scale_image {36 24} image {icons/shell_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11
+ scale_image {36 24} image {icons/shell_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 hide
} {
Fl_Group {} {
callback propagate_load open
@@ -927,7 +927,7 @@ list:}
}
w_settings_shell_cmd->do_callback(w_settings_shell_cmd, LOAD);
w_settings_shell_toolbox->do_callback(w_settings_shell_toolbox, LOAD);
-}} selected
+}}
xywh {100 90 220 110} type Multi labelfont 1 labelsize 11 align 4 textsize 13 resizable
}
Fl_Group w_settings_shell_toolbox {
diff --git a/fluid/widget_browser.cxx b/fluid/widget_browser.cxx
index d81c84f32..c54231263 100644
--- a/fluid/widget_browser.cxx
+++ b/fluid/widget_browser.cxx
@@ -114,7 +114,7 @@ void deselect() {
Make sure that the given item is visible in the browser by opening
all parent groups and moving the item into the visible space.
- \param[in] t show this ite
+ \param[in] t show this item
*/
void reveal_in_browser(Fl_Type *t) {
Fl_Type *p = t->parent;