diff options
author | David Bordoley <bordoley@msu.edu> | 2003-04-26 00:31:05 +0800 |
---|---|---|
committer | Dave Bordoley <Bordoley@src.gnome.org> | 2003-04-26 00:31:05 +0800 |
commit | e22d66b927f60c384f96c47aa5d4519ceb4f9c47 (patch) | |
tree | 0390a6dcd3e6e35385c310f2bf9058c40894f113 /src/bookmarks/ephy-new-bookmark.h | |
parent | 98f768009939e3b06f2777ccb4307245f0637f36 (diff) | |
download | gsoc2013-epiphany-e22d66b927f60c384f96c47aa5d4519ceb4f9c47.tar gsoc2013-epiphany-e22d66b927f60c384f96c47aa5d4519ceb4f9c47.tar.gz gsoc2013-epiphany-e22d66b927f60c384f96c47aa5d4519ceb4f9c47.tar.bz2 gsoc2013-epiphany-e22d66b927f60c384f96c47aa5d4519ceb4f9c47.tar.lz gsoc2013-epiphany-e22d66b927f60c384f96c47aa5d4519ceb4f9c47.tar.xz gsoc2013-epiphany-e22d66b927f60c384f96c47aa5d4519ceb4f9c47.tar.zst gsoc2013-epiphany-e22d66b927f60c384f96c47aa5d4519ceb4f9c47.zip |
Hookup to the response signal instead of using gtk_dialog_run. Prevents us
2003-04-25 David Bordoley <bordoley@msu.edu>
* src/ephy-history-window.c: (cmd_bookmark_page):
* src/popup-commands.c: (popup_cmd_bookmark_link):
* src/window-commands.c: (window_cmd_file_bookmark_page):
Hookup to the response signal instead of using gtk_dialog_run.
Prevents us from going modal.
* src/bookmarks/ephy-new-bookmark.c: (response_cb),
(ephy_new_bookmark_response_cb):
* src/bookmarks/ephy-new-bookmark.h
Add a convenience callback function, that callers can
use to destroy the dialog after a response.
* src/ephy-shell.c: (ephy_shell_command_cb):
Use a callback to the gtk_widget_destroy on the "response"
signal instead of using gtk_dialog_run. eg. don't go modal.
Some code cleanups too.
Diffstat (limited to 'src/bookmarks/ephy-new-bookmark.h')
-rw-r--r-- | src/bookmarks/ephy-new-bookmark.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-new-bookmark.h b/src/bookmarks/ephy-new-bookmark.h index 7e351dc55..39c1f2f4a 100644 --- a/src/bookmarks/ephy-new-bookmark.h +++ b/src/bookmarks/ephy-new-bookmark.h @@ -65,6 +65,12 @@ void ephy_new_bookmark_set_smarturl (EphyNewBookmark *bookmark, gulong ephy_new_bookmark_get_id (EphyNewBookmark *bookmark); +/* Convenience function for callers */ + +void ephy_new_bookmark_response_cb (EphyNewBookmark *bookmark, + int response_id, + gpointer user_data); + G_END_DECLS |