forked from enlightenment/enlightenment
Few fix ups for border config dialog.
-Set an icon if used from the border menu. -Set a different window_class if called from border menu. -Add the check to list object, not the framelist object. SVN revision: 27281
This commit is contained in:
parent
8b527939a6
commit
a5f127fe21
|
@ -41,8 +41,8 @@ e_int_config_borders_border(E_Border *bd)
|
||||||
if (!v) return NULL;
|
if (!v) return NULL;
|
||||||
cfd = e_config_dialog_new(bd->zone->container,
|
cfd = e_config_dialog_new(bd->zone->container,
|
||||||
_("Window Border Selection"),
|
_("Window Border Selection"),
|
||||||
"E", "_config_border_style_dialog",
|
"E", "_config_border_border_style_dialog",
|
||||||
NULL, 0, v, bd);
|
"enlightenment/windows", 0, v, bd);
|
||||||
bd->border_border_dialog = cfd;
|
bd->border_border_dialog = cfd;
|
||||||
return cfd;
|
return cfd;
|
||||||
}
|
}
|
||||||
|
@ -216,13 +216,13 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
evas_event_thaw(evas_object_evas_get(ol));
|
evas_event_thaw(evas_object_evas_get(ol));
|
||||||
|
|
||||||
e_widget_framelist_object_append(of, ol);
|
e_widget_framelist_object_append(of, ol);
|
||||||
|
e_widget_list_object_append(o, of, 1, 1, 0.0);
|
||||||
|
|
||||||
if (cfdata->border)
|
if (cfdata->border)
|
||||||
{
|
{
|
||||||
ob = e_widget_check_add(evas, _("Remember this Border for this window next time it appears"), &(cfdata->remember_border));
|
ob = e_widget_check_add(evas, _("Remember this Border for this window next time it appears"), &(cfdata->remember_border));
|
||||||
e_widget_list_object_append(o, ob, 0, 0, 1.0);
|
e_widget_list_object_append(o, ob, 1, 1, 1.0);
|
||||||
e_widget_framelist_object_append(of, ob);
|
|
||||||
}
|
}
|
||||||
e_widget_list_object_append(o, of, 1, 1, 0.5);
|
|
||||||
|
|
||||||
E_FREE(tmp);
|
E_FREE(tmp);
|
||||||
return o;
|
return o;
|
||||||
|
|
Loading…
Reference in New Issue