From 9de30c8784509df5ea9e80ed3eb093b3f5e35a95 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 6 Feb 2005 14:32:59 +0000 Subject: Don't set the lock icon as drag source. Actually emit the lock-clicked 2005-02-06 Christian Persch * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (lock_button_press_event_cb), (ephy_location_entry_construct_contents): Don't set the lock icon as drag source. Actually emit the lock-clicked signal when pressed. * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (lock_clicked_cb), (connect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-toolbar.c: (lock_clicked_cb), (ephy_toolbar_set_window): Actually forward the lock-clicked signal to the toolbar. --- src/ephy-location-action.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ephy-location-action.h') diff --git a/src/ephy-location-action.h b/src/ephy-location-action.h index 78053b27c..15ad6f123 100644 --- a/src/ephy-location-action.h +++ b/src/ephy-location-action.h @@ -47,6 +47,9 @@ struct _EphyLocationAction struct _EphyLocationActionClass { EphyLinkActionClass parent_class; + + /* Signals */ + void (* lock_clicked) (EphyLocationAction *action); }; GType ephy_location_action_get_type (void); -- cgit v1.2.3