aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 60eaf8c3b..a4793df79 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -22,6 +22,7 @@
#include "ephy-shell.h"
#include "ephy-debug.h"
+#include "ephy-command-manager.h"
#include "window-commands.h"
#include "print-dialog.h"
#include "eel-gconf-extensions.h"
@@ -416,7 +417,8 @@ window_cmd_edit_cut (GtkAction *action,
embed = ephy_window_get_active_embed (window);
g_return_if_fail (embed != NULL);
- ephy_embed_selection_cut (embed);
+ ephy_command_manager_do_command (EPHY_COMMAND_MANAGER (embed),
+ "cmd_cut");
}
}
@@ -437,7 +439,8 @@ window_cmd_edit_copy (GtkAction *action,
embed = ephy_window_get_active_embed (window);
g_return_if_fail (embed != NULL);
- ephy_embed_selection_copy (embed);
+ ephy_command_manager_do_command (EPHY_COMMAND_MANAGER (embed),
+ "cmd_copy");
}
}
@@ -458,7 +461,8 @@ window_cmd_edit_paste (GtkAction *action,
embed = ephy_window_get_active_embed (window);
g_return_if_fail (embed != NULL);
- ephy_embed_paste (embed);
+ ephy_command_manager_do_command (EPHY_COMMAND_MANAGER (embed),
+ "cmd_paste");
}
}
@@ -479,7 +483,8 @@ window_cmd_edit_select_all (GtkAction *action,
embed = ephy_window_get_active_embed (window);
g_return_if_fail (embed != NULL);
- ephy_embed_select_all (embed);
+ ephy_command_manager_do_command (EPHY_COMMAND_MANAGER (embed),
+ "cmd_selectAll");
}
}