mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-25 00:46:56 +01:00
WPrefs appearance stuff update (shows preview)
This commit is contained in:
1 parent
6d7e5a338d
commit
5298849122
9 files changed
+270
-76
No files matched your search
+3
-4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user