forked from enlightenment/enlightenment
* [Ibar/Ibox] Make "o_empty" object expand so we can right-click
everywhere in the ibar/ibox to add new icons when it's empty. (TODO--) SVN revision: 25562
This commit is contained in:
parent
6fec152f32
commit
ff7fff2dad
4
TODO
4
TODO
|
@ -15,10 +15,6 @@ Some of the things (in very short form) that need to be done to E17...
|
||||||
right (maybe put stripped exe as exe and a exe_params with all %'s there.)
|
right (maybe put stripped exe as exe and a exe_params with all %'s there.)
|
||||||
* BUG: smart placement seems to screw up if a shelf is at the top of the screen
|
* BUG: smart placement seems to screw up if a shelf is at the top of the screen
|
||||||
* BUG: e17 screen res diaolg doesnt work under xephyr - why?
|
* BUG: e17 screen res diaolg doesnt work under xephyr - why?
|
||||||
* BUG: the ibar specific menu only shows when you right click on icons (and not
|
|
||||||
on the bar itself). so, if there are no icons you can't get to the config.
|
|
||||||
ibox also has this problem..related to the o_empty object not resizing when
|
|
||||||
the module does.
|
|
||||||
* 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: if app asks for borderless in properties - borderless toggle in menu
|
* BUG: if app asks for borderless in properties - borderless toggle in menu
|
||||||
doesn't have any effect.
|
doesn't have any effect.
|
||||||
|
|
|
@ -1281,15 +1281,11 @@ _e_gadcon_moveresize_handle(E_Gadcon_Client *gcc)
|
||||||
{
|
{
|
||||||
if ((gcc->aspect.w > 0) && (gcc->aspect.h > 0))
|
if ((gcc->aspect.w > 0) && (gcc->aspect.h > 0))
|
||||||
w = (h * gcc->aspect.w) / gcc->aspect.h;
|
w = (h * gcc->aspect.w) / gcc->aspect.h;
|
||||||
else
|
|
||||||
w = gcc->min.w;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ((gcc->aspect.w > 0) && (gcc->aspect.h > 0))
|
if ((gcc->aspect.w > 0) && (gcc->aspect.h > 0))
|
||||||
h = (w * gcc->aspect.h) / gcc->aspect.w;
|
h = (w * gcc->aspect.h) / gcc->aspect.w;
|
||||||
else
|
|
||||||
h = gcc->min.h;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
e_box_pack_options_set(gcc->o_base,
|
e_box_pack_options_set(gcc->o_base,
|
||||||
|
|
|
@ -210,8 +210,6 @@ _gc_orient(E_Gadcon_Client *gcc)
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (evas_list_count(inst->ibar->icons) < 1)
|
|
||||||
e_gadcon_client_aspect_set(gcc, 16, 16);
|
|
||||||
e_gadcon_client_min_size_set(gcc, 16, 16);
|
e_gadcon_client_min_size_set(gcc, 16, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -346,7 +344,7 @@ _ibar_empty_handle(IBar *b)
|
||||||
1, 1, /* expand */
|
1, 1, /* expand */
|
||||||
0.5, 0.5, /* align */
|
0.5, 0.5, /* align */
|
||||||
w, h, /* min */
|
w, h, /* min */
|
||||||
w, h /* max */
|
9999, 9999 /* max */
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -219,8 +219,6 @@ _gc_orient(E_Gadcon_Client *gcc)
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (evas_list_count(inst->ibox->icons) < 1)
|
|
||||||
e_gadcon_client_aspect_set(gcc, 16, 16);
|
|
||||||
e_gadcon_client_min_size_set(gcc, 16, 16);
|
e_gadcon_client_min_size_set(gcc, 16, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -336,7 +334,7 @@ _ibox_empty_handle(IBox *b)
|
||||||
1, 1, /* expand */
|
1, 1, /* expand */
|
||||||
0.5, 0.5, /* align */
|
0.5, 0.5, /* align */
|
||||||
w, h, /* min */
|
w, h, /* min */
|
||||||
w, h /* max */
|
9999, 9999 /* max */
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue