dtcm: Avoid to leave an unclosable window when there is no appointment in
"Appointment List...".
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user