mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Avoid to leave an unclosable window when there is no appointment in
"Appointment List...".
This commit is contained in:
parent
f171814fa4
commit
49b92e63a7
1 changed files with 2 additions and 4 deletions
|
@ -1952,15 +1952,13 @@ show_editor_view(Calendar *c, Glance glance) {
|
||||||
XtFree(ident1);
|
XtFree(ident1);
|
||||||
XtFree(text);
|
XtFree(text);
|
||||||
XtFree(title);
|
XtFree(title);
|
||||||
XtUnmanageChild(e->view_form);
|
|
||||||
e->editor_view_is_up = False;
|
|
||||||
} else {
|
} else {
|
||||||
if (!editor_view_showing(e))
|
if (!editor_view_showing(e))
|
||||||
ds_position_popup(c->frame, e->view_frame,
|
ds_position_popup(c->frame, e->view_frame,
|
||||||
DS_POPUP_LOR);
|
DS_POPUP_LOR);
|
||||||
XtManageChild(e->view_form);
|
|
||||||
e->editor_view_is_up = True;
|
|
||||||
}
|
}
|
||||||
|
XtManageChild(e->view_form);
|
||||||
|
e->editor_view_is_up = True;
|
||||||
/* if (e->frame) XtPopup(e->frame, XtGrabNone); */
|
/* if (e->frame) XtPopup(e->frame, XtGrabNone); */
|
||||||
if (e->view_frame) XtPopup(e->view_frame, XtGrabNone);
|
if (e->view_frame) XtPopup(e->view_frame, XtGrabNone);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue