forked from enlightenment/enlightenment
Simple notification when a file operation needs attention
SVN revision: 39684
This commit is contained in:
parent
9d6e1a6542
commit
355be05673
|
@ -11270,7 +11270,12 @@ collections { /* begin the collection of edje groups that are in this file */
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
rel1.offset: 3 3;
|
rel1.offset: 3 3;
|
||||||
rel2.offset: -4 -4;
|
rel2.offset: -4 -4;
|
||||||
color: 255 0 0 200;
|
color: 100 100 100 200;
|
||||||
|
}
|
||||||
|
description { state: "need_attention" 0.0;
|
||||||
|
rel1.offset: 3 3;
|
||||||
|
rel2.offset: -4 -4;
|
||||||
|
color: 150 0 0 200;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "gauge_bg";
|
part { name: "gauge_bg";
|
||||||
|
@ -11408,6 +11413,20 @@ collections { /* begin the collection of edje groups that are in this file */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
programs {
|
||||||
|
program { name: "set_need_attention";
|
||||||
|
signal: "e,action,set,need_attention";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "need_attention" 0.0;
|
||||||
|
target: "bg";
|
||||||
|
}
|
||||||
|
program { name: "set_normal";
|
||||||
|
signal: "e,action,set,normal";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
target: "bg";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
group { name: "e/fileman/default/scrollframe";
|
group { name: "e/fileman/default/scrollframe";
|
||||||
images {
|
images {
|
||||||
|
|
|
@ -350,6 +350,11 @@ _e_fwin_op_registry_listener_cb(void *data, const E_Fm2_Op_Registry_Entry *ere)
|
||||||
//~ edje_object_part_text_set(o, "e.text.label5", dir);
|
//~ edje_object_part_text_set(o, "e.text.label5", dir);
|
||||||
//~ E_FREE(dir);
|
//~ E_FREE(dir);
|
||||||
|
|
||||||
|
if (ere->needs_attention)
|
||||||
|
edje_object_signal_emit(o, "e,action,set,need_attention", "e");
|
||||||
|
else
|
||||||
|
edje_object_signal_emit(o, "e,action,set,normal", "e");
|
||||||
|
|
||||||
//evas_object_raise(fwin->box_obj); //TODO use layer??
|
//evas_object_raise(fwin->box_obj); //TODO use layer??
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue