Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

sysconfig: better layout

  • Loading branch information...
commit 007009f2ee36da00cfdebae9372ae883fe3f2799 1 parent 8ddcd84
Sébastien Bourdeauducq authored June 08, 2011

Showing 1 changed file with 15 additions and 16 deletions. Show diff stats Hide diff stats

  1. 31  src/sysettings.c
31  src/sysettings.c
@@ -252,26 +252,26 @@ void init_sysettings()
252 252
 		"g_autostart1 = new Grid()",
253 253
 		"l_asmode = new Label(-text \"Mode:\")",
254 254
 		"b_asmode_none = new Button(-text \"None\")",
255  
-		"b_asmode_simple = new Button(-text \"Simple\")",
256  
-		"b_asmode_file = new Button(-text \"File\")",
257  
-		"b_asmode_separator = new Separator(-vertical yes)",
258  
-		"b_asmode_dt = new Button(-text \"Display titles\")",
259  
-		"b_asmode_as = new Button(-text \"Auto switch\")",
  255
+		"b_asmode_simple = new Button(-text \"Simple:\")",
  256
+		"b_asmode_file = new Button(-text \"Configured:\")",
260 257
 		"g_autostart1.place(l_asmode, -column 1 -row 1)",
261 258
 		"g_autostart1.place(b_asmode_none, -column 2 -row 1)",
262  
-		"g_autostart1.place(b_asmode_simple, -column 3 -row 1)",
263  
-		"g_autostart1.place(b_asmode_file, -column 4 -row 1)",
264  
-		"g_autostart1.place(b_asmode_separator, -column 5 -row 1)",
265  
-		"g_autostart1.place(b_asmode_dt, -column 6 -row 1)",
266  
-		"g_autostart1.place(b_asmode_as, -column 7 -row 1)",
  259
+		"g_autostart1.place(b_asmode_simple, -column 2 -row 2)",
  260
+		"g_autostart1.place(b_asmode_file, -column 2 -row 3)",
267 261
 		"g_autostart2 = new Grid()",
268  
-		"l_autostart = new Label(-text \"File:\")",
  262
+		"b_asmode_dt = new Button(-text \"Display titles\")",
  263
+		"b_asmode_as = new Button(-text \"Auto switch\")",
  264
+		"g_autostart2.place(b_asmode_dt, -column 1 -row 1)",
  265
+		"g_autostart2.place(b_asmode_as, -column 2 -row 1)",
  266
+		"g_autostart1.place(g_autostart2, -column 3 -row 2)",
  267
+		"g_autostart3 = new Grid()",
269 268
 		"e_autostart = new Entry()",
270 269
 		"b_autostart = new Button(-text \"Browse\")",
271  
-		"g_autostart2.place(l_autostart, -column 1 -row 1)",
272  
-		"g_autostart2.place(e_autostart, -column 2 -row 1)",
273  
-		"g_autostart2.place(b_autostart, -column 3 -row 1)",
274  
-		"g_autostart2.columnconfig(3, -size 0)",
  270
+		"g_autostart3.place(e_autostart, -column 1 -row 1)",
  271
+		"g_autostart3.place(b_autostart, -column 2 -row 1)",
  272
+		"g_autostart3.columnconfig(1, -size 220)",
  273
+		"g_autostart3.columnconfig(2, -size 0)",
  274
+		"g_autostart1.place(g_autostart3, -column 3 -row 3)",
275 275
 
276 276
 		"g_btn = new Grid()",
277 277
 		"b_ok = new Button(-text \"OK\")",
@@ -292,7 +292,6 @@ void init_sysettings()
292 292
 		"g.place(g_remote1, -column 1 -row 10)",
293 293
 		"g.place(g_autostart0, -column 1 -row 11)",
294 294
 		"g.place(g_autostart1, -column 1 -row 12)",
295  
-		"g.place(g_autostart2, -column 1 -row 13)",
296 295
 		"g.place(g_btn, -column 1 -row 14)",
297 296
 
298 297
 		"w = new Window(-content g -title \"System settings\" -y 0)",

0 notes on commit 007009f

Please sign in to comment.
Something went wrong with that request. Please try again.