summaryrefslogtreecommitdiff
path: root/src/caja-window-menus.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-06 23:34:12 +0200
committerStefano Karapetsas <[email protected]>2012-09-06 23:34:12 +0200
commit278df62878f2981dea980c5f48e791e047b9d5f1 (patch)
tree3a3bcc3a2360d9fd16adc44821b2343085247858 /src/caja-window-menus.c
parentf426641aacea9d5f7683be776536bc6301c7baef (diff)
downloadcaja-278df62878f2981dea980c5f48e791e047b9d5f1.tar.bz2
caja-278df62878f2981dea980c5f48e791e047b9d5f1.tar.xz
remove old undo code
Diffstat (limited to 'src/caja-window-menus.c')
-rw-r--r--src/caja-window-menus.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/caja-window-menus.c b/src/caja-window-menus.c
index ca37ccbb..7608ad3b 100644
--- a/src/caja-window-menus.c
+++ b/src/caja-window-menus.c
@@ -49,7 +49,6 @@
#include <libcaja-private/caja-icon-names.h>
#include <libcaja-private/caja-ui-utilities.h>
#include <libcaja-private/caja-module.h>
-#include <libcaja-private/caja-undo-manager.h>
#include <libcaja-private/caja-search-directory.h>
#include <libcaja-private/caja-search-engine.h>
#include <libcaja-private/caja-signaller.h>
@@ -272,16 +271,6 @@ action_stop_callback (GtkAction *action,
caja_window_slot_stop_loading (slot);
}
-#ifdef TEXT_CHANGE_UNDO
-static void
-action_undo_callback (GtkAction *action,
- gpointer user_data)
-{
- caja_undo_manager_undo
- (CAJA_WINDOW (user_data)->application->undo_manager);
-}
-#endif
-
static void
action_home_callback (GtkAction *action,
gpointer user_data)
@@ -852,12 +841,6 @@ static const GtkActionEntry main_entries[] =
NULL, N_("Edit Caja preferences"),
G_CALLBACK (action_preferences_callback)
},
- #ifdef TEXT_CHANGE_UNDO
- /* name, stock id, label */ { "Undo", NULL, N_("_Undo"),
- "<control>Z", N_("Undo the last text change"),
- G_CALLBACK (action_undo_callback)
- },
- #endif
/* name, stock id, label */ { "Up", GTK_STOCK_GO_UP, N_("Open _Parent"),
"<alt>Up", N_("Open the parent folder"),
G_CALLBACK (action_up_callback)