aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-25 23:15:35 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-25 23:15:35 +0800
commit38956a20d942387e3d5b839c4b962713bd60cdf0 (patch)
tree6ac41837526e3b5aab171741e0803ff87492a2ea /embed/ephy-embed.c
parent20602830fa6d28dd28cab60de0698ec523b1c6b9 (diff)
downloadgsoc2013-epiphany-38956a20d942387e3d5b839c4b962713bd60cdf0.tar
gsoc2013-epiphany-38956a20d942387e3d5b839c4b962713bd60cdf0.tar.gz
gsoc2013-epiphany-38956a20d942387e3d5b839c4b962713bd60cdf0.tar.bz2
gsoc2013-epiphany-38956a20d942387e3d5b839c4b962713bd60cdf0.tar.lz
gsoc2013-epiphany-38956a20d942387e3d5b839c4b962713bd60cdf0.tar.xz
gsoc2013-epiphany-38956a20d942387e3d5b839c4b962713bd60cdf0.tar.zst
gsoc2013-epiphany-38956a20d942387e3d5b839c4b962713bd60cdf0.zip
Interface for commands. Useful for undo. (cmd_undo works).
2003-10-25 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command), (ephy_command_manager_observe_command): * embed/ephy-command-manager.h: Interface for commands. Useful for undo. (cmd_undo works). * embed/ephy-embed.c: * embed/ephy-embed.h: Remove all clipboard calls. * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Implement part of the commands interface. No regressions. * src/window-commands.c: (window_cmd_edit_cut), (window_cmd_edit_copy), (window_cmd_edit_paste), (window_cmd_edit_select_all): Implement clipboard using commands.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 4bc9de42e..c40ec74c4 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -441,55 +441,6 @@ ephy_embed_zoom_get (EphyEmbed *embed,
}
gresult
-ephy_embed_selection_can_cut (EphyEmbed *embed)
-{
- EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
- return klass->selection_can_cut (embed);
-}
-
-gresult
-ephy_embed_selection_can_copy (EphyEmbed *embed)
-{
- EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
- return klass->selection_can_copy (embed);
-}
-
-gresult
-ephy_embed_can_paste (EphyEmbed *embed)
-{
- EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
- return klass->can_paste (embed);
-}
-
-gresult
-ephy_embed_select_all (EphyEmbed *embed)
-{
- EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
- return klass->select_all (embed);
-}
-
-gresult
-ephy_embed_selection_cut (EphyEmbed *embed)
-{
- EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
- return klass->selection_cut (embed);
-}
-
-gresult
-ephy_embed_selection_copy (EphyEmbed *embed)
-{
- EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
- return klass->selection_copy (embed);
-}
-
-gresult
-ephy_embed_paste (EphyEmbed *embed)
-{
- EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
- return klass->paste (embed);
-}
-
-gresult
ephy_embed_shistory_count (EphyEmbed *embed,
int *count)
{