forked from enlightenment/enlightenment
make multiple selection work in thumb mode.
trying thumb mode as default for aggregator SVN revision: 48799
This commit is contained in:
parent
96967e37a8
commit
eab4f7cfef
|
@ -33939,16 +33939,7 @@ collections {
|
||||||
name: "e/modules/everything/thumbview/main/window";
|
name: "e/modules/everything/thumbview/main/window";
|
||||||
images {
|
images {
|
||||||
image: "vgrad_dark.png" COMP;
|
image: "vgrad_dark.png" COMP;
|
||||||
image: "dia_topshad.png" COMP;
|
|
||||||
image: "dia_botshad.png" COMP;
|
image: "dia_botshad.png" COMP;
|
||||||
image: "dia_botshad.png" COMP;
|
|
||||||
image: "topsh.png" COMP;
|
|
||||||
image: "wp-bot1.png" COMP;
|
|
||||||
image: "wp-bot2.png" COMP;
|
|
||||||
image: "wp-tb1.png" COMP;
|
|
||||||
image: "wp-tb2.png" COMP;
|
|
||||||
image: "wp-tb3.png" COMP;
|
|
||||||
image: "wp-tbs.png" COMP;
|
|
||||||
image: "big_arrow_up.png" COMP;
|
image: "big_arrow_up.png" COMP;
|
||||||
image: "busy-1.png" COMP;
|
image: "busy-1.png" COMP;
|
||||||
image: "busy-2.png" COMP;
|
image: "busy-2.png" COMP;
|
||||||
|
@ -34152,6 +34143,33 @@ collections {
|
||||||
color: 255 255 255 128;
|
color: 255 255 255 128;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
part {
|
||||||
|
name: "bg_mark";
|
||||||
|
mouse_events: 0;
|
||||||
|
description {
|
||||||
|
state: "default" 0.0;
|
||||||
|
visible: 0;
|
||||||
|
rel1 {
|
||||||
|
to: "base";
|
||||||
|
offset: -1 -3;
|
||||||
|
}
|
||||||
|
rel2 {
|
||||||
|
to: "base";
|
||||||
|
offset: -2 2;
|
||||||
|
}
|
||||||
|
fill.smooth: 0;
|
||||||
|
image {
|
||||||
|
normal: "everything_item_bg.png";
|
||||||
|
border: 5 5 5 5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
description {
|
||||||
|
state: "marked" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
visible: 1;
|
||||||
|
color: 255 255 255 48;
|
||||||
|
}
|
||||||
|
}
|
||||||
part {
|
part {
|
||||||
name: "base";
|
name: "base";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
|
@ -34260,9 +34278,7 @@ collections {
|
||||||
signal: "e,state,selected";
|
signal: "e,state,selected";
|
||||||
source: "e";
|
source: "e";
|
||||||
action: STATE_SET "selected" 0.0;
|
action: STATE_SET "selected" 0.0;
|
||||||
/* transition: DECELERATE 0.; */
|
|
||||||
target: "bg";
|
target: "bg";
|
||||||
/* target: "clip"; */
|
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
name: "unsel";
|
name: "unsel";
|
||||||
|
@ -34271,7 +34287,22 @@ collections {
|
||||||
action: STATE_SET "default" 0.0;
|
action: STATE_SET "default" 0.0;
|
||||||
transition: SINUSOIDAL 0.1;
|
transition: SINUSOIDAL 0.1;
|
||||||
target: "bg";
|
target: "bg";
|
||||||
/* target: "clip"; */
|
}
|
||||||
|
program {
|
||||||
|
name: "mark";
|
||||||
|
signal: "e,state,marked";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "marked" 0.0;
|
||||||
|
target: "bg_mark";
|
||||||
|
transition: ACCELERATE 0.15;
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
name: "unmark";
|
||||||
|
signal: "e,state,unmarked";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
transition: LINEAR 0.2;
|
||||||
|
target: "bg_mark";
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
name: "thumb_gen";
|
name: "thumb_gen";
|
||||||
|
@ -34373,7 +34404,7 @@ collections {
|
||||||
state: "marked" 0.0;
|
state: "marked" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
visible: 1;
|
visible: 1;
|
||||||
color: 255 255 255 48;
|
color: 255 255 255 148;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part {
|
part {
|
||||||
|
@ -34480,9 +34511,6 @@ collections {
|
||||||
state: "visible" 0.0;
|
state: "visible" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
visible: 1;
|
visible: 1;
|
||||||
/* min: 12 12;
|
|
||||||
* max: 12 12; */
|
|
||||||
|
|
||||||
rel1 {
|
rel1 {
|
||||||
to: "base";
|
to: "base";
|
||||||
relative: 1.0 0.0;
|
relative: 1.0 0.0;
|
||||||
|
@ -34593,7 +34621,6 @@ collections {
|
||||||
action: STATE_SET "selected" 0.0;
|
action: STATE_SET "selected" 0.0;
|
||||||
target: "bg";
|
target: "bg";
|
||||||
transition: ACCELERATE 0.15;
|
transition: ACCELERATE 0.15;
|
||||||
/* target: "clip"; */
|
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
name: "unsel";
|
name: "unsel";
|
||||||
|
@ -34602,7 +34629,6 @@ collections {
|
||||||
action: STATE_SET "default" 0.0;
|
action: STATE_SET "default" 0.0;
|
||||||
transition: LINEAR 0.2;
|
transition: LINEAR 0.2;
|
||||||
target: "bg";
|
target: "bg";
|
||||||
/* target: "clip"; */
|
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
name: "mark";
|
name: "mark";
|
||||||
|
@ -34611,7 +34637,6 @@ collections {
|
||||||
action: STATE_SET "marked" 0.0;
|
action: STATE_SET "marked" 0.0;
|
||||||
target: "bg_mark";
|
target: "bg_mark";
|
||||||
transition: ACCELERATE 0.15;
|
transition: ACCELERATE 0.15;
|
||||||
/* target: "clip"; */
|
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
name: "unmark";
|
name: "unmark";
|
||||||
|
@ -34620,14 +34645,12 @@ collections {
|
||||||
action: STATE_SET "default" 0.0;
|
action: STATE_SET "default" 0.0;
|
||||||
transition: LINEAR 0.2;
|
transition: LINEAR 0.2;
|
||||||
target: "bg_mark";
|
target: "bg_mark";
|
||||||
/* target: "clip"; */
|
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
name: "arrow_show";
|
name: "arrow_show";
|
||||||
signal: "e,state,browseable";
|
signal: "e,state,browseable";
|
||||||
source: "e";
|
source: "e";
|
||||||
action: STATE_SET "visible" 0.0;
|
action: STATE_SET "visible" 0.0;
|
||||||
/* transition: SINUSOIDAL 0.1; */
|
|
||||||
target: "arrow";
|
target: "arrow";
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
|
@ -34644,7 +34667,6 @@ collections {
|
||||||
signal: "e,action,thumb,ungen";
|
signal: "e,action,thumb,ungen";
|
||||||
source: "e";
|
source: "e";
|
||||||
action: STATE_SET "visible" 0.0;
|
action: STATE_SET "visible" 0.0;
|
||||||
/* transition: SINUSOIDAL 0.15; */
|
|
||||||
target: "base";
|
target: "base";
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
|
@ -34658,7 +34680,6 @@ collections {
|
||||||
program {
|
program {
|
||||||
name: "thumb_show_delayed2";
|
name: "thumb_show_delayed2";
|
||||||
action: STATE_SET "visible" 0.0;
|
action: STATE_SET "visible" 0.0;
|
||||||
/* transition: SINUSOIDAL 0.3; */
|
|
||||||
target: "base";
|
target: "base";
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
|
@ -34666,7 +34687,6 @@ collections {
|
||||||
signal: "e,action,thumb,show";
|
signal: "e,action,thumb,show";
|
||||||
source: "e";
|
source: "e";
|
||||||
action: STATE_SET "visible" 0.0;
|
action: STATE_SET "visible" 0.0;
|
||||||
/* transition: SINUSOIDAL 0.1; */
|
|
||||||
target: "base";
|
target: "base";
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
|
|
|
@ -368,7 +368,7 @@ _config_init()
|
||||||
evry_conf->quick_nav = 1;
|
evry_conf->quick_nav = 1;
|
||||||
evry_conf->view_mode = VIEW_MODE_DETAIL;
|
evry_conf->view_mode = VIEW_MODE_DETAIL;
|
||||||
evry_conf->view_zoom = 0;
|
evry_conf->view_zoom = 0;
|
||||||
evry_conf->cycle_mode = 0;
|
evry_conf->cycle_mode = 1;
|
||||||
evry_conf->history_sort_mode = 0;
|
evry_conf->history_sort_mode = 0;
|
||||||
evry_conf->first_run = EINA_TRUE;
|
evry_conf->first_run = EINA_TRUE;
|
||||||
IFMODCFGEND;
|
IFMODCFGEND;
|
||||||
|
|
|
@ -254,7 +254,10 @@ evry_plug_aggregator_new(Evry_Selector *sel, int type)
|
||||||
|
|
||||||
p = EVRY_PLUGIN_NEW(Plugin, N_("All"), NULL, 0, NULL, _finish, _fetch, _free);
|
p = EVRY_PLUGIN_NEW(Plugin, N_("All"), NULL, 0, NULL, _finish, _fetch, _free);
|
||||||
p->history = EINA_FALSE;
|
p->history = EINA_FALSE;
|
||||||
evry_plugin_register(p, type, -1);
|
if (evry_plugin_register(p, type, -1))
|
||||||
|
{
|
||||||
|
p->config->view_mode = VIEW_MODE_THUMB;
|
||||||
|
}
|
||||||
|
|
||||||
GET_PLUGIN(pa, p);
|
GET_PLUGIN(pa, p);
|
||||||
pa->selector = sel;
|
pa->selector = sel;
|
||||||
|
|
|
@ -690,9 +690,8 @@ _pan_item_select(Evas_Object *obj, Item *it, int scroll)
|
||||||
{
|
{
|
||||||
prev = sd->cur_item->y / sd->cur_item->h;
|
prev = sd->cur_item->y / sd->cur_item->h;
|
||||||
sd->cur_item->selected = EINA_FALSE;
|
sd->cur_item->selected = EINA_FALSE;
|
||||||
if (!sd->cur_item->item->marked)
|
edje_object_signal_emit(sd->cur_item->frame,
|
||||||
edje_object_signal_emit(sd->cur_item->frame,
|
"e,state,unselected", "e");
|
||||||
"e,state,unselected", "e");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sd->cur_item = NULL;
|
sd->cur_item = NULL;
|
||||||
|
|
Loading…
Reference in New Issue