Line 0
Link Here
|
|
|
1 |
--- src/DirPanel.cc.orig Wed Apr 27 20:08:40 2005 |
2 |
+++ src/DirPanel.cc Wed Apr 27 20:02:33 2005 |
3 |
@@ -76,8 +76,10 @@ FXDEFMAP(DirPanel) DirPanelMap[]={ |
4 |
FXMAPFUNC(SEL_COMMAND,DirPanel::ID_TOGGLE_HIDDEN,DirPanel::onCmdToggleHidden), |
5 |
FXMAPFUNC(SEL_COMMAND,DirPanel::ID_TOGGLE_TREE,DirPanel::onCmdToggleTree), |
6 |
FXMAPFUNC(SEL_UPDATE,DirPanel::ID_TOGGLE_TREE,DirPanel::onUpdToggleTree), |
7 |
+#if defined(linux) |
8 |
FXMAPFUNC(SEL_UPDATE,DirPanel::ID_MOUNT,DirPanel::onUpdMount), |
9 |
FXMAPFUNC(SEL_UPDATE,DirPanel::ID_UMOUNT,DirPanel::onUpdUnmount), |
10 |
+#endif |
11 |
FXMAPFUNC(SEL_UPDATE,DirPanel::ID_STATUS,DirPanel::onUpdStatus), |
12 |
}; |
13 |
|
14 |
@@ -798,7 +800,6 @@ long DirPanel::onCmdMount(FXObject*,FXSe |
15 |
|
16 |
return 1; |
17 |
} |
18 |
-#endif |
19 |
|
20 |
// Update the Mount menu item |
21 |
long DirPanel::onUpdMount(FXObject* o,FXSelector sel,void*) |
22 |
@@ -838,6 +839,7 @@ long DirPanel::onUpdUnmount(FXObject* o, |
23 |
|
24 |
return 1; |
25 |
} |
26 |
+#endif |
27 |
|
28 |
|
29 |
// Update the paste button and menus |