1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-04-24 09:31:27 +02:00

WPrefs appearance stuff update (shows preview)

This commit is contained in:
kojima
1999-03-16 11:27:01 +00:00
parent 6d7e5a338d
commit 5298849122
9 changed files with 270 additions and 76 deletions
+3 -4
View File
@@ -344,15 +344,14 @@ WMRunModalFilePanelForDirectory(WMFilePanel *panel, WMWindow *owner,
break;
}
WMSetWindowUPosition(panel->win,
(scr->rootView->size.width - WMWidgetWidth(panel->win))/2,
(scr->rootView->size.height - WMWidgetHeight(panel->win))/2);
WMSetLabelText(panel->titleLabel, name);
scr->modalView = W_VIEW(panel->win);
WMMapWidget(panel->win);
WMMoveWidget(panel->win,
(scr->rootView->size.width - WMWidgetWidth(panel->win))/2,
(scr->rootView->size.height - WMWidgetHeight(panel->win))/2);
scr->modal = 1;
while (!panel->flags.done) {
WMNextEvent(scr->display, &event);