Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

sysconfig: better layout

  • Loading branch information...
commit 007009f2ee36da00cfdebae9372ae883fe3f2799 1 parent 8ddcd84
Sébastien Bourdeauducq sbourdeauducq authored
Showing with 15 additions and 16 deletions.
  1. +15 −16 src/sysettings.c
31 src/sysettings.c
View
@@ -252,26 +252,26 @@ void init_sysettings()
"g_autostart1 = new Grid()",
"l_asmode = new Label(-text \"Mode:\")",
"b_asmode_none = new Button(-text \"None\")",
- "b_asmode_simple = new Button(-text \"Simple\")",
- "b_asmode_file = new Button(-text \"File\")",
- "b_asmode_separator = new Separator(-vertical yes)",
- "b_asmode_dt = new Button(-text \"Display titles\")",
- "b_asmode_as = new Button(-text \"Auto switch\")",
+ "b_asmode_simple = new Button(-text \"Simple:\")",
+ "b_asmode_file = new Button(-text \"Configured:\")",
"g_autostart1.place(l_asmode, -column 1 -row 1)",
"g_autostart1.place(b_asmode_none, -column 2 -row 1)",
- "g_autostart1.place(b_asmode_simple, -column 3 -row 1)",
- "g_autostart1.place(b_asmode_file, -column 4 -row 1)",
- "g_autostart1.place(b_asmode_separator, -column 5 -row 1)",
- "g_autostart1.place(b_asmode_dt, -column 6 -row 1)",
- "g_autostart1.place(b_asmode_as, -column 7 -row 1)",
+ "g_autostart1.place(b_asmode_simple, -column 2 -row 2)",
+ "g_autostart1.place(b_asmode_file, -column 2 -row 3)",
"g_autostart2 = new Grid()",
- "l_autostart = new Label(-text \"File:\")",
+ "b_asmode_dt = new Button(-text \"Display titles\")",
+ "b_asmode_as = new Button(-text \"Auto switch\")",
+ "g_autostart2.place(b_asmode_dt, -column 1 -row 1)",
+ "g_autostart2.place(b_asmode_as, -column 2 -row 1)",
+ "g_autostart1.place(g_autostart2, -column 3 -row 2)",
+ "g_autostart3 = new Grid()",
"e_autostart = new Entry()",
"b_autostart = new Button(-text \"Browse\")",
- "g_autostart2.place(l_autostart, -column 1 -row 1)",
- "g_autostart2.place(e_autostart, -column 2 -row 1)",
- "g_autostart2.place(b_autostart, -column 3 -row 1)",
- "g_autostart2.columnconfig(3, -size 0)",
+ "g_autostart3.place(e_autostart, -column 1 -row 1)",
+ "g_autostart3.place(b_autostart, -column 2 -row 1)",
+ "g_autostart3.columnconfig(1, -size 220)",
+ "g_autostart3.columnconfig(2, -size 0)",
+ "g_autostart1.place(g_autostart3, -column 3 -row 3)",
"g_btn = new Grid()",
"b_ok = new Button(-text \"OK\")",
@@ -292,7 +292,6 @@ void init_sysettings()
"g.place(g_remote1, -column 1 -row 10)",
"g.place(g_autostart0, -column 1 -row 11)",
"g.place(g_autostart1, -column 1 -row 12)",
- "g.place(g_autostart2, -column 1 -row 13)",
"g.place(g_btn, -column 1 -row 14)",
"w = new Window(-content g -title \"System settings\" -y 0)",
Please sign in to comment.
Something went wrong with that request. Please try again.