aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2003-10-25 23:16:28 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-25 23:16:28 +0800
commitd555b0575063b4faba13f828b4dd3f44abf40df8 (patch)
treef9e32003a1315ccaeefa0b5321abe6302b9ef8b1 /src/window-commands.c
parent38956a20d942387e3d5b839c4b962713bd60cdf0 (diff)
downloadgsoc2013-epiphany-d555b0575063b4faba13f828b4dd3f44abf40df8.tar
gsoc2013-epiphany-d555b0575063b4faba13f828b4dd3f44abf40df8.tar.gz
gsoc2013-epiphany-d555b0575063b4faba13f828b4dd3f44abf40df8.tar.bz2
gsoc2013-epiphany-d555b0575063b4faba13f828b4dd3f44abf40df8.tar.lz
gsoc2013-epiphany-d555b0575063b4faba13f828b4dd3f44abf40df8.tar.xz
gsoc2013-epiphany-d555b0575063b4faba13f828b4dd3f44abf40df8.tar.zst
gsoc2013-epiphany-d555b0575063b4faba13f828b4dd3f44abf40df8.zip
*** empty log message ***
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");
}
}