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. --- lib/widgets/ephy-location-entry.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/widgets/ephy-location-entry.h') diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h index 5718a0b57..2c72590a8 100644 --- a/lib/widgets/ephy-location-entry.h +++ b/lib/widgets/ephy-location-entry.h @@ -48,6 +48,7 @@ struct _EphyLocationEntryClass /* Signals */ void (*user_changed) (EphyLocationEntry *entry); + void (* lock_clicked) (EphyLocationEntry *entry); /* for getting the drag data */ char * (* get_location) (EphyLocationEntry *entry); char * (* get_title) (EphyLocationEntry *entry); -- cgit v1.2.3