aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
Commit message (Collapse)AuthorAgeFilesLines
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-1/+1
|
* Complete gtk 2.3 port. It doesnt run here but it could be my env.Marco Pesenti Gritti2003-08-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-30 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-encoding-menu.c: (ephy_encoding_menu_verb_cb): * src/ephy-favicon-action.c: (create_tool_item): * src/ephy-favicon-action.h: * src/ephy-favorites-menu.c: (ephy_favorites_menu_clean): * src/ephy-go-action.c: (create_tool_item), (create_menu_proxy_cb): * src/ephy-go-action.h: * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-location-action.c: (ephy_location_action_get_widget): * src/ephy-location-action.h: * src/ephy-navigation-action.c: * src/ephy-navigation-action.h: * src/ephy-spinner-action.c: (create_tool_item), (item_parent_set_cb): * src/ephy-spinner-action.h: * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_clean), (tab_set_action_accelerator), (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_state_event_cb), (setup_window), (update_layout_toggles): * src/popup-commands.c: * src/ppview-toolbar.c: (ppview_toolbar_set_window), (ppview_toolbar_init): * src/toolbar.c: (toolbar_activate_location): * src/window-commands.c: (window_cmd_view_bookmarks_bar), (window_cmd_view_toolbar), (window_cmd_view_statusbar), (window_cmd_view_fullscreen): Complete gtk 2.3 port. It doesnt run here but it could be my env.
* Part of gtk 2.3 port, changelog too long to paste itMarco Pesenti Gritti2003-08-301-17/+17
|
* Use link text as bookmark title when no title is specified.Marco Pesenti Gritti2003-08-051-4/+12
| | | | | | | | | | | 2003-08-05 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * src/popup-commands.c: (popup_cmd_bookmark_link): Use link text as bookmark title when no title is specified.
* UpdateMarco Pesenti Gritti2003-07-141-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-14 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/eggtreemultidnd.c: (egg_tree_multi_drag_button_press_event): Update * embed/ephy-embed-popup-control.c: (save_property_url), (embed_popup_download_link_cmd), (embed_popup_save_image_as_cmd), (save_url), (embed_popup_save_page_as_cmd), (embed_popup_save_background_as_cmd): * src/popup-commands.c: (save_property_url), (popup_cmd_download_link), (popup_cmd_save_image_as), (popup_cmd_save_background_as): * src/window-commands.c: (window_cmd_file_open), (window_cmd_file_save_as): Higgy titles for file pickers. * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: Allow to pass a title to _save. Show an error message when saving doesnt succeed.
* Fix add bookmark from linkMarco Pesenti Gritti2003-06-231-1/+1
| | | | | | | | 2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * src/popup-commands.c: (popup_cmd_bookmark_link): Fix add bookmark from link
* Rewrite the url typed by user overwrite logic to fix bugs.Marco Pesenti Gritti2003-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EphyWrapper.cpp: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_init), (insert_text_cb), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_autocompletion_window_url_selected_cb), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_editable_changed_cb): * lib/widgets/ephy-location-entry.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_link_message), (ephy_tab_set_window), (ephy_tab_address_cb), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location): * src/ephy-tab.h: * src/ephy-window.c: (ephy_window_notebook_switch_page_cb): * src/popup-commands.c: (get_event_info), (popup_cmd_copy_link_address): * src/toolbar.c: (get_location_entry), (location_user_changed_cb), (toolbar_set_window), (toolbar_activate_location), (toolbar_set_location), (toolbar_get_location), (toolbar_clear_location_history): * src/toolbar.h: Rewrite the url typed by user overwrite logic to fix bugs.
* Get rid of get/set _event, reformat the header.Marco Pesenti Gritti2003-06-201-5/+1
| | | | | | | | | | | | | | | | | | 2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-tab.c: (ephy_tab_finalize), (ephy_tab_init): * src/ephy-tab.h: Get rid of get/set _event, reformat the header. * src/pdm-dialog.c: Fix compilation warning. * src/ephy-window.c: (popup_destroy_cb), (show_embed_popup): * src/popup-commands.c: (get_event_info): Less invasive way to access the event info from the callbacks.
* Unify the "Copy Email Address" and "Copy Link Address" context menuChristian Persch2003-06-181-29/+18
| | | | | | | | | | | | | 2003-06-18 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml.in: * src/ephy-window.c: * src/popup-commands.h: * src/popup-commands.c: (popup_cmd_copy_email), (popup_cmd_copy_link_location), (popup_cmd_copy_link_address): Unify the "Copy Email Address" and "Copy Link Address" context menu entries. Fixes bug #115377.
* Sigh. Fix some more mem leaks.Christian Persch2003-06-131-0/+2
| | | | | | | | | | | | | 2003-06-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-popup.c: (embed_popup_open_frame_cmd): * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/mozilla/mozilla-embed.cpp: (impl_go_up): * src/ephy-nautilus-view.c: (gnv_popup_cmd_frame_in_new_window): * src/ephy-shell.c: (ephy_shell_new_tab): * src/popup-commands.c: (popup_cmd_open_frame): Sigh. Fix some more mem leaks.
* Get rid of starthere: and default to google, as discussed with Seth. Add aMarco Pesenti Gritti2003-06-091-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-09 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/ui/epiphany-bookmark-editor-ui.xml.in: * embed/ephy-embed-shell.c: (ephy_embed_shell_class_init): * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * lib/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_smart_url), (entry_activated_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_set_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (sync_bookmark_properties), (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (location_entry_changed_cb): * src/bookmarks/ephy-bookmarks-editor.c: (show_properties_dialog), (add_bookmarks_source_menu), (import_dialog_response_cb), (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import), (mozilla_parse_bookmarks), (xbel_parse_folder), (xbel_parse_bookmarks), (ephy_bookmarks_import_xbel): * src/bookmarks/ephy-bookmarks-import.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_autocompletion_source_foreach), (ephy_bookmarks_init_defaults), (update_topics_list), (update_has_smart_address), (ephy_bookmarks_add), (ephy_bookmarks_set_address): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_finalize), (ephy_new_bookmark_add), (ephy_new_bookmark_init), (ephy_new_bookmark_set_title): * src/bookmarks/ephy-new-bookmark.h: * src/ephy-shell.c: (ephy_shell_init): * src/popup-commands.c: (popup_cmd_bookmark_link): Get rid of starthere: and default to google, as discussed with Seth. Add a way to import bookmarks from the editor. (you still cant specificy a file, that's sort of low priority for me, but we have a plan on how to do it). Allow to edit smart bookmarks in the user interface. The address field is used and when there is a %s, it's considered a smart url. (like mozilla does it).
* Actually add the ask for dest pref, it was using the wrong key.Marco Pesenti Gritti2003-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | 2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * embed/ephy-embed-popup.c: (embed_popup_download_link_cmd): * embed/ephy-embed-utils.c: (ephy_embed_utils_save): Actually add the ask for dest pref, it was using the wrong key. * embed/mozilla/FilePicker.cpp: * embed/mozilla/mozilla-embed-single.cpp: Return directory also on cancel. * lib/ephy-prefs.h: * src/popup-commands.c: (popup_cmd_download_link): Persist directory also on cancel.
* Cleanup new tab logic, and ever use window for new instances.Marco Pesenti Gritti2003-05-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | 2003-05-21 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_open_bookmarks_in_tabs), (ephy_bookmarks_editor_node_activated_cb): * src/ephy-automation.c: (impl_ephy_automation_loadurl): * src/ephy-history-window.c: (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser): * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-shell.h: * src/popup-commands.c: (popup_cmd_link_in_new_window), (popup_cmd_link_in_new_tab), (popup_cmd_image_in_new_tab), (popup_cmd_image_in_new_window), (popup_cmd_frame_in_new_tab), (popup_cmd_frame_in_new_window): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_new_tab), (window_cmd_view_page_source): Cleanup new tab logic, and ever use window for new instances.
* Get rid of the unneeded convenience callback since no one is try to makeDavid Bordoley2003-05-131-3/+0
| | | | | | | | | | | | | | 2003-05-13 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): * src/bookmarks/ephy-new-bookmark.c: (response_cb), (ephy_new_bookmark_response_cb): * src/bookmarks/ephy-new-bookmark.h: Get rid of the unneeded convenience callback since no one is try to make the new bookmark dialog modal anymore.
* Don't allow to have more than one bookmark with the same URL^H^H^Haddress,Xan Lopez2003-05-131-10/+14
| | | | | | Don't allow to have more than one bookmark with the same URL^H^H^Haddress, warn the user with a nice dialog. Fixes #110854.
* Hookup to the response signal instead of using gtk_dialog_run. Prevents usDavid Bordoley2003-04-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Marco Pesenti Gritti2003-04-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-08 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-toolbars-group.c: * lib/egg/egg-toolbars-group.h: Update. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_class_init), (bookmarks_removed_cb), (topics_removed_cb), (ephy_bookmarks_init): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_response_cb): * src/popup-commands.c: (popup_cmd_bookmark_link): * src/toolbar.c: (toolbar_get_action_name), (toolbar_get_action), (topic_remove_cb), (bookmark_remove_cb), (toolbar_init): * src/window-commands.c: (window_cmd_file_bookmark_page): Update toolbars when bookmarks and topics are removed. Use dialog_run for new_bookmark dialog. (Dave I hope this doesnt break something, but it's necessary to url dnd to toolbars to work correctly)
* Just show the new bookmark dialog, don't go modal.David Bordoley2003-04-061-2/+1
| | | | | | | | | | | | | | | | | | | | 2003-04-05 David Bordoley <bordoley@msu.edu> * src/popup-commands.c: (popup_cmd_bookmark_link): * src/window-commands.c: (window_cmd_file_bookmark_page): Just show the new bookmark dialog, don't go modal. * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_new): * src/bookmarks/ephy-bookmark-properties.h Need to pass the parent window to _new(), and set the dialog transient to its parent. * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmark_properties): Pass the bme window to the ephy_bookmark_properties_new. * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_response_cb): Call gtk_widget_destroy() when cancel or ok are clicked.
* Fix leak and a double freeChristian Persch2003-03-151-0/+2
| | | | | | | | | 2003-03-15 Christian Persch <christian@hpersch.de> * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * src/popup-commands.c: (save_property_url): Fix leak and a double free
* Dont have a separate context menu for copy, just put it inside theMarco Pesenti Gritti2003-02-201-15/+0
| | | | | | | | | | | | | 2003-02-19 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-ui.xml.in: * src/ephy-tab.c: (ephy_tab_show_embed_popup): * src/ephy-window.c: * src/popup-commands.c: * src/window-commands.c: Dont have a separate context menu for copy, just put it inside the document one
* data/ui/epiphany-toolbar.xml.in data/ui/epiphany-ui.xml.inDave Bordoley2003-02-161-3/+3
| | | | | | | | | | | | | 2003-02-16 Dave Bordoley <bordoley@msu.edu> * data/ui/epiphany-toolbar.xml.in * data/ui/epiphany-ui.xml.in * src/ephy-window.c * src/popup-commands.c * src/popup-commands.h * src/window-commands.c * src/window-commands.h s/browser/window as per conversation with seth...
* data/ui/epiphany-ui.xml.in Added some separators. Changed "bookmark" verbsDave Bordoley2003-02-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * data/ui/epiphany-ui.xml.in Added some separators. Changed "bookmark" verbs and menu names to reflect changes in src/ephy-window.c * src/ephy-window.c Added a bunch of mneumonics to context menu entries s/Add Bookmark.../Bookmark Page... for pages. s/Add Bookmark.../Bookmark Link... for links. Changed callbacks in ephy_menu_entries[] and ephy_popups_entries to reflect changes in src/window-commands.(ch) and src/pop-commands.(ch). * src/popup-commands.c * src/popup-commands.h s/popup_cmd_link_in_new_window/popup_cmd_link_in_new_browser s/popup_cmd_image_in_new_window/popup_cmd_image_in_new_browser s/popup_cmd_add_link_bookmark/void popup_cmd_bookmark_link s/void popup_cmd_frame_in_new_window/void popup_cmd_frame_in_new_browser * src/window-commands.c * src/window-commands.h s/window_cmd_file_new_window/window_cmd_file_new_browser s/window_cmd_file_add_bookmark/window_cmd_file_bookmark_page * lib/ephy-stock-icons.h Fixed #endif comment s/RB/EPHY
* Allow to drag also normal urls in the toolbars. Commit some fixes I did toMarco Pesenti Gritti2003-01-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-30 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-toolbar.xml.in: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/Makefile.am: * lib/egg/egg-action.c: (disconnect_proxy): * lib/egg/egg-menu-merge.c: (update_node): * lib/ephy-dnd.c: (ephy_dnd_uri_list_extract_uris): * lib/ephy-dnd.h: * lib/ephy-string.c: (ephy_str_to_int): * lib/widgets/ephy-editable-toolbar.c: (item_node_new), (impl_get_action), (add_action), (parse_item_list), (toolbar_list_to_xml), (ephy_editable_toolbar_save), (do_merge), (free_node), (ephy_editable_toolbar_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_bookmark_id): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (ephy_new_bookmark_response_cb), (ephy_new_bookmark_init), (ephy_new_bookmark_set_icon), (ephy_new_bookmark_get_id): * src/bookmarks/ephy-new-bookmark.h: * src/popup-commands.c: (popup_cmd_add_link_bookmark): * src/toolbar.c: (get_bookmark_action), (toolbar_get_action): * src/window-commands.c: (window_cmd_file_add_bookmark): Allow to drag also normal urls in the toolbars. Commit some fixes I did to the eggmenu stuff, now toolbar editor should work well, please start reporting bugs :)
* Merge eog-menu-api branchMarco Pesenti Gritti2003-01-211-60/+304
| | | | | | 2003-01-20 Marco Pesenti Gritti <marco@it.gnome.org> * Merge eog-menu-api branch
* Port several leaks fixes from galeon.Marco Pesenti Gritti2003-01-201-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-event.c: (free_g_value), (ephy_embed_event_init), (ephy_embed_event_get_property): * embed/ephy-embed-event.h: * embed/ephy-embed-popup.c: (setup_document_menu), (embed_popup_copy_email_cmd), (embed_popup_copy_link_location_cmd), (save_property_url), (embed_popup_open_link_cmd), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd), (embed_popup_open_image_cmd): * embed/ephy-embed-utils.c: (build_charset), (ephy_embed_utils_build_charsets_submenu): * embed/mozilla/FilePicker.cpp: * src/bookmarks/ephy-bookmarks.c: (update_favorites_menus): * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_down_cb), (gnv_popup_cmd_new_window), (gnv_popup_cmd_image_in_new_window): * src/ephy-shell.c: (ephy_shell_get_active_window): * src/ephy-tab.c: (ephy_tab_dom_mouse_down_cb): * src/ephy-window.c: (update_window_visibility), (update_spinner_control): * src/general-prefs.c: (language_dialog_changed_cb): * src/popup-commands.c: (popup_cmd_new_window), (popup_cmd_new_tab), (popup_cmd_image_in_new_tab), (popup_cmd_image_in_new_window), (popup_cmd_add_bookmark): * src/session.c: (session_close), (session_save): * src/session.h: Port several leaks fixes from galeon.
* *** empty log message ***Marco Pesenti Gritti2003-01-021-2/+2
|
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+222