aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-command-manager.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-04 16:56:33 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-04 16:56:33 +0800
commit78c2e1a47c7fc6074a80c8b91dbdc1f57e3ba817 (patch)
tree80cdea46a31b32a1786dcda11a21106bb63a5231 /embed/ephy-command-manager.h
parent2e01fbd1c41969e80dd599958b811867dc935a59 (diff)
downloadgsoc2013-epiphany-78c2e1a47c7fc6074a80c8b91dbdc1f57e3ba817.tar
gsoc2013-epiphany-78c2e1a47c7fc6074a80c8b91dbdc1f57e3ba817.tar.gz
gsoc2013-epiphany-78c2e1a47c7fc6074a80c8b91dbdc1f57e3ba817.tar.bz2
gsoc2013-epiphany-78c2e1a47c7fc6074a80c8b91dbdc1f57e3ba817.tar.lz
gsoc2013-epiphany-78c2e1a47c7fc6074a80c8b91dbdc1f57e3ba817.tar.xz
gsoc2013-epiphany-78c2e1a47c7fc6074a80c8b91dbdc1f57e3ba817.tar.zst
gsoc2013-epiphany-78c2e1a47c7fc6074a80c8b91dbdc1f57e3ba817.zip
Show only paste in the context menu, it's the only one that works in
2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-ui.xml: Show only paste in the context menu, it's the only one that works in mozilla. * embed/ephy-command-manager.c: (ephy_command_manager_get_command_state): * embed/ephy-command-manager.h: Rename the state api. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Implement state api. * src/ephy-window.c: (window_cmd_edit), (show_embed_popup): Update clipboard menus on activate.
Diffstat (limited to 'embed/ephy-command-manager.h')
-rw-r--r--embed/ephy-command-manager.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/embed/ephy-command-manager.h b/embed/ephy-command-manager.h
index 043d2c90d..14d7a4ca6 100644
--- a/embed/ephy-command-manager.h
+++ b/embed/ephy-command-manager.h
@@ -40,12 +40,11 @@ struct EphyCommandManagerClass
{
GTypeInterface base_iface;
- gresult (* do_command) (EphyCommandManager *manager,
- const char *command);
- gresult (* can_do_command) (EphyCommandManager *manager,
- const char *command);
- gresult (* observe_command) (EphyCommandManager *manager,
- const char *command);
+ gresult (* do_command) (EphyCommandManager *manager,
+ const char *command);
+ gresult (* get_command_state) (EphyCommandManager *manager,
+ const char *command,
+ gboolean *enabled);
/* Signals */
@@ -58,11 +57,9 @@ GType ephy_command_manager_get_type (void);
gresult ephy_command_manager_do_command (EphyCommandManager *manager,
const char *command);
-gresult ephy_command_manager_can_do_command (EphyCommandManager *manager,
- const char *command);
-
-gresult ephy_command_manager_observe_command (EphyCommandManager *manager,
- const char *command);
+gresult ephy_command_manager_get_command_state (EphyCommandManager *manager,
+ const char *command,
+ gboolean *enabled);
G_END_DECLS