diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-02-06 22:32:59 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-02-06 22:32:59 +0800 |
commit | 9de30c8784509df5ea9e80ed3eb093b3f5e35a95 (patch) | |
tree | 980e87e158fd2c48f1e438063e3f4577dce3ba41 /src/ephy-toolbar.c | |
parent | deecc2b60894f1bdd55f9818dd75845e4a6a956b (diff) | |
download | gsoc2013-epiphany-9de30c8784509df5ea9e80ed3eb093b3f5e35a95.tar gsoc2013-epiphany-9de30c8784509df5ea9e80ed3eb093b3f5e35a95.tar.gz gsoc2013-epiphany-9de30c8784509df5ea9e80ed3eb093b3f5e35a95.tar.bz2 gsoc2013-epiphany-9de30c8784509df5ea9e80ed3eb093b3f5e35a95.tar.lz gsoc2013-epiphany-9de30c8784509df5ea9e80ed3eb093b3f5e35a95.tar.xz gsoc2013-epiphany-9de30c8784509df5ea9e80ed3eb093b3f5e35a95.tar.zst gsoc2013-epiphany-9de30c8784509df5ea9e80ed3eb093b3f5e35a95.zip |
Don't set the lock icon as drag source. Actually emit the lock-clicked
2005-02-06 Christian Persch <chpe@cvs.gnome.org>
* 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.
Diffstat (limited to 'src/ephy-toolbar.c')
-rwxr-xr-x | src/ephy-toolbar.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c index abb2cf8c6..41368a6c4 100755 --- a/src/ephy-toolbar.c +++ b/src/ephy-toolbar.c @@ -253,6 +253,13 @@ sync_user_input_cb (EphyLocationAction *action, } static void +lock_clicked_cb (EphyLocationAction *action, + EphyToolbar *toolbar) +{ + g_signal_emit (toolbar, signals[LOCK_CLICKED], 0); +} + +static void zoom_to_level_cb (GtkAction *action, float zoom, EphyToolbar *toolbar) @@ -357,6 +364,8 @@ ephy_toolbar_set_window (EphyToolbar *toolbar, G_CALLBACK (ephy_link_open), toolbar); g_signal_connect (action, "notify::address", G_CALLBACK (sync_user_input_cb), toolbar); + g_signal_connect (action, "lock-clicked", + G_CALLBACK (lock_clicked_cb), toolbar); gtk_action_group_add_action (priv->action_group, action); update_location_editable (toolbar); g_object_unref (action); |