Clean ups, abstract the widgets a bit, and don't segfault when not finding an unsuitable write mode.
This commit is contained in:
@ -215,7 +215,7 @@ group {
|
||||
}
|
||||
|
||||
part {
|
||||
name: "label";
|
||||
name: "ecdb.label";
|
||||
type: TEXT;
|
||||
mouse_events: 1;
|
||||
|
||||
@ -226,16 +226,16 @@ group {
|
||||
fixed: 1 1;
|
||||
|
||||
rel1 {
|
||||
to: "icon";
|
||||
to: "ecdb.swallow.icon";
|
||||
offset: 40 0;
|
||||
}
|
||||
|
||||
rel2 {
|
||||
to: "icon";
|
||||
to: "ecdb.swallow.icon";
|
||||
}
|
||||
|
||||
text {
|
||||
text: "Burn Audio CD";
|
||||
text: "";
|
||||
font: "ecdb/default";
|
||||
min: 1 1;
|
||||
size: 11;
|
||||
@ -245,7 +245,7 @@ group {
|
||||
}
|
||||
|
||||
part {
|
||||
name: "icon";
|
||||
name: "ecdb.swallow.icon";
|
||||
type: SWALLOW;
|
||||
mouse_events: 1;
|
||||
|
||||
|
@ -151,7 +151,7 @@ group {
|
||||
}
|
||||
|
||||
part {
|
||||
name: "label";
|
||||
name: "ecdb.label";
|
||||
type: TEXT;
|
||||
|
||||
description {
|
||||
@ -171,7 +171,7 @@ group {
|
||||
}
|
||||
|
||||
text {
|
||||
text: "Change Burn Speed";
|
||||
text: "";
|
||||
font: "ecdb/default";
|
||||
min: 1 1;
|
||||
size: 11;
|
||||
@ -254,5 +254,31 @@ group {
|
||||
set_state(PART:"check", "default", 0.0);
|
||||
}
|
||||
}
|
||||
|
||||
program {
|
||||
name: "check_off";
|
||||
signal: "ecdb,check,off";
|
||||
source: "ecdb";
|
||||
|
||||
script {
|
||||
set_int(s, 0);
|
||||
}
|
||||
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "check";
|
||||
}
|
||||
|
||||
program {
|
||||
name: "check_on";
|
||||
signal: "ecdb,check,on";
|
||||
source: "ecdb";
|
||||
|
||||
script {
|
||||
set_int(s, 1);
|
||||
}
|
||||
|
||||
action: STATE_SET "active" 0.0;
|
||||
target: "check";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -60,13 +60,14 @@ group {
|
||||
}
|
||||
|
||||
part {
|
||||
name: "label";
|
||||
name: "ecdb.text";
|
||||
type: TEXTBLOCK;
|
||||
mouse_events: 1;
|
||||
entry_mode: EDITABLE;
|
||||
multiline: 0;
|
||||
source2: "entry/selection/default";
|
||||
source3: "entry/cursor/default";
|
||||
//source3: "entry/cursor/default";
|
||||
source3: "entry/selection/default";
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
@ -92,7 +93,7 @@ group {
|
||||
program {
|
||||
name: "focus_set";
|
||||
action: FOCUS_SET;
|
||||
target: "label";
|
||||
target: "ecdb.text";
|
||||
}
|
||||
|
||||
program {
|
||||
@ -142,6 +143,7 @@ group {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
group {
|
||||
name: "entry/cursor/default";
|
||||
|
||||
@ -169,6 +171,7 @@ group {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
group {
|
||||
name: "entry/selection/default";
|
||||
|
Reference in New Issue
Block a user