mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-13 20:35:54 +01:00
0.51.1 pre snapshot. Be careful, it may be buggy. It fixes some bugs though.
This commit is contained in:
@@ -46,10 +46,10 @@ testOpenFilePanel(WMScreen *scr)
|
||||
/* get the shared Open File panel */
|
||||
panel = WMGetOpenPanel(scr);
|
||||
|
||||
WMRunModalOpenPanelForDirectory(panel, NULL, "/usr/local", NULL, NULL);
|
||||
WMRunModalFilePanelForDirectory(panel, NULL, "/usr/local", NULL, NULL);
|
||||
|
||||
/* free the panel to save some memory. Not needed otherwise. */
|
||||
WMFreeFilePanel(panel);
|
||||
WMFreeFilePanel(WMGetOpenPanel(scr));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user