mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-07 01:49:47 +00:00
yeah
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@399 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -43,6 +43,13 @@ static void cancel(MwWidget handle, void* user, void* call) {
|
|||||||
destroy(handle->parent);
|
destroy(handle->parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void cancel_window(MwWidget handle, void* user, void* call){
|
||||||
|
(void)user;
|
||||||
|
(void)call;
|
||||||
|
|
||||||
|
destroy(handle);
|
||||||
|
}
|
||||||
|
|
||||||
static void okay(MwWidget handle, void* user, void* call) {
|
static void okay(MwWidget handle, void* user, void* call) {
|
||||||
(void)user;
|
(void)user;
|
||||||
(void)call;
|
(void)call;
|
||||||
@@ -360,6 +367,7 @@ MwWidget MwFileChooser(MwWidget handle, const char* title) {
|
|||||||
|
|
||||||
layout(window);
|
layout(window);
|
||||||
MwAddUserHandler(window, MwNresizeHandler, resize, NULL);
|
MwAddUserHandler(window, MwNresizeHandler, resize, NULL);
|
||||||
|
MwAddUserHandler(window, MwNcloseHandler, cancel_window, NULL);
|
||||||
|
|
||||||
path = MwDirectoryCurrent();
|
path = MwDirectoryCurrent();
|
||||||
scan(window, path);
|
scan(window, path);
|
||||||
|
|||||||
Reference in New Issue
Block a user