forked from enlightenment/enlightenment
Fix bug: overlap in deskpreview with a single desktop
move color well default min size from theme into the widget itself (may still need to be tweaked a bit -- but can always be overridden when using the widget) SVN revision: 26565
This commit is contained in:
parent
0973d242c0
commit
9d58b52c0b
1
TODO
1
TODO
|
@ -16,7 +16,6 @@ Some of the things (in very short form) that need to be done to E17...
|
||||||
* BUG: "match this window only" doesnt fall back to other unused remembers
|
* BUG: "match this window only" doesnt fall back to other unused remembers
|
||||||
* BUG: xdaliclock -transparent doesnt use shaped border (not handling shape
|
* BUG: xdaliclock -transparent doesnt use shaped border (not handling shape
|
||||||
change later)
|
change later)
|
||||||
* BUG: Virtual desks preview widget overlaps the sliders when desk counts are 1
|
|
||||||
]]]
|
]]]
|
||||||
|
|
||||||
[[[
|
[[[
|
||||||
|
|
|
@ -11,7 +11,6 @@ group {
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
description {
|
description {
|
||||||
state: "default" 0.0;
|
state: "default" 0.0;
|
||||||
min: 50 50;
|
|
||||||
rel1 {
|
rel1 {
|
||||||
to: "overlay";
|
to: "overlay";
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ group {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part {
|
part {
|
||||||
name: "e.swallow.desk";
|
name: "e.swallow.content";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
type: SWALLOW;
|
type: SWALLOW;
|
||||||
clip_to: "clip";
|
clip_to: "clip";
|
||||||
|
|
|
@ -139,8 +139,7 @@ e_widget_color_well_add(Evas *evas, E_Color *color, int show_color_dialog)
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
wd->o_edje = o;
|
wd->o_edje = o;
|
||||||
|
|
||||||
edje_object_size_min_calc(o, &mw, &mh);
|
e_widget_min_size_set(obj, 50, 50);
|
||||||
e_widget_min_size_set(obj, mw, mh);
|
|
||||||
|
|
||||||
o = evas_object_rectangle_add(evas);
|
o = evas_object_rectangle_add(evas);
|
||||||
e_widget_sub_object_add(obj, o);
|
e_widget_sub_object_add(obj, o);
|
||||||
|
|
|
@ -92,7 +92,7 @@ e_widget_desk_preview_num_desks_set(Evas_Object *obj, int nx, int ny)
|
||||||
e_widget_aspect_child_set(wd->aspect, o);
|
e_widget_aspect_child_set(wd->aspect, o);
|
||||||
wd->table = o;
|
wd->table = o;
|
||||||
|
|
||||||
evas_object_geometry_get(wd->aspect, NULL, NULL, &aw, &ah);
|
evas_object_geometry_get(wd->table, NULL, NULL, &aw, &ah);
|
||||||
|
|
||||||
if (ny > nx)
|
if (ny > nx)
|
||||||
{
|
{
|
||||||
|
@ -150,7 +150,7 @@ e_widget_desk_preview_num_desks_set(Evas_Object *obj, int nx, int ny)
|
||||||
e_icon_fill_inside_set(o, 0);
|
e_icon_fill_inside_set(o, 0);
|
||||||
e_thumb_icon_file_set(o, bgfile, "e/desktop/background");
|
e_thumb_icon_file_set(o, bgfile, "e/desktop/background");
|
||||||
e_thumb_icon_size_set(o, tw, th);
|
e_thumb_icon_size_set(o, tw, th);
|
||||||
edje_object_part_swallow(overlay, "e.swallow.desk", o);
|
edje_object_part_swallow(overlay, "e.swallow.content", o);
|
||||||
e_thumb_icon_begin(o);
|
e_thumb_icon_begin(o);
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
e_widget_sub_object_add(dw, o);
|
e_widget_sub_object_add(dw, o);
|
||||||
|
|
Loading…
Reference in New Issue