diff options
Diffstat (limited to 'embed/ephy-command-manager.c')
-rw-r--r-- | embed/ephy-command-manager.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/embed/ephy-command-manager.c b/embed/ephy-command-manager.c index ab4ccdace..08654fee5 100644 --- a/embed/ephy-command-manager.c +++ b/embed/ephy-command-manager.c @@ -88,17 +88,10 @@ ephy_command_manager_do_command (EphyCommandManager *manager, } gresult -ephy_command_manager_can_do_command (EphyCommandManager *manager, - const char *command) +ephy_command_manager_get_command_state (EphyCommandManager *manager, + const char *command, + gboolean *enabled) { EphyCommandManagerClass *klass = EPHY_COMMAND_MANAGER_GET_CLASS (manager); - return klass->can_do_command (manager, command); -} - -gresult -ephy_command_manager_observe_command (EphyCommandManager *manager, - const char *command) -{ - EphyCommandManagerClass *klass = EPHY_COMMAND_MANAGER_GET_CLASS (manager); - return klass->observe_command (manager, command); + return klass->get_command_state (manager, command, enabled); } |