1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/x11-fm/xfe/files/patch-src_DirPanel.cc
Roman Bogorodskiy 11023e6773 Update to 0.80 and mark unbroken.
PR:		80415
Submitted by:	Johan van Selst <johans@stack.nl>
2005-04-28 06:30:53 +00:00

30 lines
1.1 KiB
C++

--- src/DirPanel.cc.orig Wed Apr 27 20:08:40 2005
+++ src/DirPanel.cc Wed Apr 27 20:02:33 2005
@@ -76,8 +76,10 @@ FXDEFMAP(DirPanel) DirPanelMap[]={
FXMAPFUNC(SEL_COMMAND,DirPanel::ID_TOGGLE_HIDDEN,DirPanel::onCmdToggleHidden),
FXMAPFUNC(SEL_COMMAND,DirPanel::ID_TOGGLE_TREE,DirPanel::onCmdToggleTree),
FXMAPFUNC(SEL_UPDATE,DirPanel::ID_TOGGLE_TREE,DirPanel::onUpdToggleTree),
+#if defined(linux)
FXMAPFUNC(SEL_UPDATE,DirPanel::ID_MOUNT,DirPanel::onUpdMount),
FXMAPFUNC(SEL_UPDATE,DirPanel::ID_UMOUNT,DirPanel::onUpdUnmount),
+#endif
FXMAPFUNC(SEL_UPDATE,DirPanel::ID_STATUS,DirPanel::onUpdStatus),
};
@@ -798,7 +800,6 @@ long DirPanel::onCmdMount(FXObject*,FXSe
return 1;
}
-#endif
// Update the Mount menu item
long DirPanel::onUpdMount(FXObject* o,FXSelector sel,void*)
@@ -838,6 +839,7 @@ long DirPanel::onUpdUnmount(FXObject* o,
return 1;
}
+#endif
// Update the paste button and menus