mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 16:10:50 +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);
|
||||
}
|
||||
|
||||
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) {
|
||||
(void)user;
|
||||
(void)call;
|
||||
@@ -360,6 +367,7 @@ MwWidget MwFileChooser(MwWidget handle, const char* title) {
|
||||
|
||||
layout(window);
|
||||
MwAddUserHandler(window, MwNresizeHandler, resize, NULL);
|
||||
MwAddUserHandler(window, MwNcloseHandler, cancel_window, NULL);
|
||||
|
||||
path = MwDirectoryCurrent();
|
||||
scan(window, path);
|
||||
|
||||
Reference in New Issue
Block a user