mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-24 07:02:30 +01:00
0.51.1 pre snapshot. Be careful, it may be buggy. It fixes some bugs though.
This commit is contained in:
@@ -245,9 +245,8 @@ buttonCallback(WMWidget *self, void *data)
|
||||
/* Pixmap Panel Buttons */
|
||||
|
||||
} else if (self == panel->pbrowB) {
|
||||
|
||||
op = WMGetOpenPanel(WMWidgetScreen(panel->pbrowB));
|
||||
if (WMRunModalOpenPanelForDirectory(op, NULL, "/usr/local", NULL, NULL)) {
|
||||
op = WMGetOpenPanel(WMWidgetScreen(panel->pbrowB));
|
||||
if (WMRunModalFilePanelForDirectory(op, NULL, "/usr/local", NULL, NULL)) {
|
||||
char *path;
|
||||
path = WMGetFilePanelFileName(op);
|
||||
WMSetTextFieldText(panel->pimagT, path);
|
||||
|
||||
Reference in New Issue
Block a user