aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.h
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.h
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.h')
-rw-r--r--embed/ephy-embed.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h
index 811fa91e6..66678e404 100644
--- a/embed/ephy-embed.h
+++ b/embed/ephy-embed.h
@@ -231,13 +231,6 @@ struct EphyEmbedClass
gboolean reflow);
gresult (* zoom_get) (EphyEmbed *embed,
float *zoom);
- gresult (* selection_can_cut) (EphyEmbed *embed);
- gresult (* selection_can_copy) (EphyEmbed *embed);
- gresult (* can_paste) (EphyEmbed *embed);
- gresult (* selection_cut) (EphyEmbed *embed);
- gresult (* selection_copy) (EphyEmbed *embed);
- gresult (* paste) (EphyEmbed *embed);
- gresult (* select_all) (EphyEmbed *embed);
gresult (* shistory_count) (EphyEmbed *embed,
int *count);
gresult (* shistory_get_nth) (EphyEmbed *embed,
@@ -342,21 +335,6 @@ gresult ephy_embed_zoom_set (EphyEmbed *embed,
gresult ephy_embed_zoom_get (EphyEmbed *embed,
float *zoom);
-/* Clipboard */
-gresult ephy_embed_selection_can_cut (EphyEmbed *embed);
-
-gresult ephy_embed_selection_can_copy (EphyEmbed *embed);
-
-gresult ephy_embed_can_paste (EphyEmbed *embed);
-
-gresult ephy_embed_selection_cut (EphyEmbed *embed);
-
-gresult ephy_embed_selection_copy (EphyEmbed *embed);
-
-gresult ephy_embed_paste (EphyEmbed *embed);
-
-gresult ephy_embed_select_all (EphyEmbed *embed);
-
/* Session history */
gresult ephy_embed_shistory_count (EphyEmbed *embed,
int *count);