forked from enlightenment/enlightenment
Desktop->Shelves menu now shows shelf names instead of orientations
ticket #2105 SVN revision: 82408
This commit is contained in:
parent
61c21f3629
commit
bede9e08bf
|
@ -9,6 +9,7 @@
|
||||||
* Fixed bug where disabled slider widgets could be changed with mouse wheel
|
* Fixed bug where disabled slider widgets could be changed with mouse wheel
|
||||||
* Fixed bug where fileman config slider widgets were not properly disabled
|
* Fixed bug where fileman config slider widgets were not properly disabled
|
||||||
* Tasks gadgets now apply the selected style
|
* Tasks gadgets now apply the selected style
|
||||||
|
* Desktop->Shelves menu now shows shelf names
|
||||||
* Added elm win trap callback for base size setting, calling this causes ICCCM hints to be applied
|
* Added elm win trap callback for base size setting, calling this causes ICCCM hints to be applied
|
||||||
|
|
||||||
2013-01-07 Tom "TAsn" Hacohen
|
2013-01-07 Tom "TAsn" Hacohen
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -44,6 +44,7 @@ Improvements:
|
||||||
* Backlight fade time only applies to dimming - undimming is fixed 0.5 .
|
* Backlight fade time only applies to dimming - undimming is fixed 0.5 .
|
||||||
* Added elm win trap callback for base size setting, calling this causes ICCCM hints to be applied
|
* Added elm win trap callback for base size setting, calling this causes ICCCM hints to be applied
|
||||||
* "System Default" language in wizard now displays which language it is and no longer removes language from list
|
* "System Default" language in wizard now displays which language it is and no longer removes language from list
|
||||||
|
* Desktop->Shelves menu now shows shelf names
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* Force check changed upon confirmation dialog closure for engine settings.
|
* Force check changed upon confirmation dialog closure for engine settings.
|
||||||
|
|
|
@ -1613,16 +1613,22 @@ _e_int_menus_shelves_pre_cb(void *data __UNUSED__, E_Menu *m)
|
||||||
EINA_LIST_FOREACH(shelves, l, es)
|
EINA_LIST_FOREACH(shelves, l, es)
|
||||||
{
|
{
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
|
const char *name;
|
||||||
|
|
||||||
if (!es) continue;
|
if (!es) continue;
|
||||||
if (es->zone->num != zone->num) continue;
|
if (es->zone->num != zone->num) continue;
|
||||||
if (es->cfg->container != (int)con->num) continue;
|
if (es->cfg->container != (int)con->num) continue;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), _("Shelf %s"),
|
if (es->name)
|
||||||
e_shelf_orient_string_get(es));
|
name = es->name;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
name = buf;
|
||||||
|
snprintf(buf, sizeof(buf), _("Shelf %s"), e_shelf_orient_string_get(es));
|
||||||
|
}
|
||||||
|
|
||||||
mi = e_menu_item_new(m);
|
mi = e_menu_item_new(m);
|
||||||
e_menu_item_label_set(mi, buf);
|
e_menu_item_label_set(mi, name);
|
||||||
e_menu_item_callback_set(mi, _e_int_menus_shelves_item_cb, es);
|
e_menu_item_callback_set(mi, _e_int_menus_shelves_item_cb, es);
|
||||||
switch (es->cfg->orient)
|
switch (es->cfg->orient)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue