[nautilus] window-menus: remove dead code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window-menus: remove dead code
- Date: Tue, 24 Apr 2012 16:01:39 +0000 (UTC)
commit 8648e5da0f1a4e375dd985650558fe2ab2dc491b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Apr 24 00:48:08 2012 -0400
window-menus: remove dead code
src/nautilus-window-menus.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/nautilus-window-menus.c b/src/nautilus-window-menus.c
index 23156db..133c4f7 100644
--- a/src/nautilus-window-menus.c
+++ b/src/nautilus-window-menus.c
@@ -105,18 +105,6 @@ action_stop_callback (GtkAction *action,
nautilus_window_slot_stop_loading (slot);
}
-#ifdef TEXT_CHANGE_UNDO
-static void
-action_undo_callback (GtkAction *action,
- gpointer user_data)
-{
- NautilusApplication *app;
-
- app = nautilus_application_get_singleton ();
- nautilus_undo_manager_undo (app->undo_manager);
-}
-#endif
-
static void
action_home_callback (GtkAction *action,
gpointer user_data)
@@ -823,11 +811,6 @@ static const GtkActionEntry main_entries[] = {
N_("Prefere_nces"),
NULL, N_("Edit Nautilus 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) },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]