use default coords when repositioning a misconfigured desktop gadget so it will be less likely to be hidden by open dialogs
SVN revision: 77506
This commit is contained in:
parent
d40acc5046
commit
3f67c25467
|
@ -932,8 +932,10 @@ _apply_widget_position(E_Gadcon_Client *gcc)
|
||||||
Evas_Object *o;
|
Evas_Object *o;
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
|
|
||||||
x = zone->w / 2, y = zone->h / 2;
|
x = DEFAULT_POS_X;
|
||||||
w = h = 64;
|
y = DEFAULT_POS_Y;
|
||||||
|
w = DEFAULT_SIZE_W;
|
||||||
|
h = DEFAULT_SIZE_H;
|
||||||
pop = e_gadcon_popup_new(gcc);
|
pop = e_gadcon_popup_new(gcc);
|
||||||
snprintf(buf, sizeof(buf), "A gadget of type '%s' was detected without any stored geometry.<br>"
|
snprintf(buf, sizeof(buf), "A gadget of type '%s' was detected without any stored geometry.<br>"
|
||||||
"It has been relocated and resized for you.", gcc->client_class->name);
|
"It has been relocated and resized for you.", gcc->client_class->name);
|
||||||
|
|
Loading…
Reference in New Issue