aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Use stock icons instead of the files directly to set window border icons.David Bordoley2003-05-201-3/+7
| | | | | | | | | | | | | | 2003-05-19 David Bordoley <bordoley@msu.edu> * embed/downloader-view.c: (downloader_view_build_ui): * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-history-window.c: (ephy_history_window_construct): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Use stock icons instead of the files directly to set window border icons.
* 2003-05-19 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-05-201-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/Makefile.am: * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * lib/ephy-node.c: (write_lock_to_read_lock), (read_lock_to_write_lock), (lock_gdk), (unlock_gdk), (callback), (ephy_node_emit_signal), (ephy_node_finalize), (real_remove_child), (remove_child), (signal_object_weak_notify), (unref_signal_objects), (ephy_node_dispose), (ephy_node_new), (ephy_node_new_with_id), (ephy_node_get_id), (ephy_node_ref), (ephy_node_unref), (ephy_node_freeze), (ephy_node_thaw), (child_changed), (real_set_property), (ephy_node_set_property), (ephy_node_get_property), (ephy_node_get_property_string), (ephy_node_get_property_boolean), (ephy_node_get_property_long), (ephy_node_get_property_int), (ephy_node_get_property_double), (ephy_node_get_property_float), (ephy_node_get_property_node), (save_parent), (ephy_node_save_to_xml), (real_add_child), (ephy_node_new_from_xml), (ephy_node_add_child), (ephy_node_remove_child), (ephy_node_has_child), (ephy_node_real_get_child_index), (ephy_node_sort_children), (ephy_node_reorder_children), (ephy_node_get_children), (ephy_node_get_n_children), (ephy_node_get_nth_child), (get_child_index_real), (ephy_node_get_child_index), (ephy_node_get_next_child), (ephy_node_get_previous_child), (ephy_node_signal_connect_object), (ephy_node_signal_disconnect): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_load), (ensure_states), (ephy_state_add_window), (ephy_state_add_paned), (ephy_state_save): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init), (ephy_node_view_selection_changed_cb), (ephy_node_view_set_property), (ephy_node_view_get_property), (ephy_node_view_remove): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init), (ephy_tree_model_node_set_property), (ephy_tree_model_node_get_property), (ephy_tree_model_node_get_value), (ephy_tree_model_node_get_path), (ephy_tree_model_node_iter_next), (ephy_tree_model_node_node_from_iter): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init), (ephy_bookmark_properties_set_property): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser), (cmd_delete), (cmd_bookmark_properties), (cmd_copy), (ephy_bookmarks_editor_node_activated_cb), (ephy_bookmarks_editor_update_menu),
* Fixed many issues mentioned in #112781.Christian Neumair2003-05-171-1/+5
|
* Add some flags so that we can choose to save position or size or both.David Bordoley2003-05-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 David Bordoley <bordoley@msu.edu> * lib/ephy-state.c: (ephy_state_add_window): * lib/ephy-state.h: (EphyStateWindowFlags): Add some flags so that we can choose to save position or size or both. * lib/ephy-dialog.c: (setup_default_size): * src/ephy-window.c: (ephy_window_show): * src/window-commands.c: (window_cmd_edit_toolbar): * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): Only save size for dialogs and main windows. * src/ephy-history-window.c: (ephy_history_window_construct): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Save size and position.
* s/bookmark page/bookmark link, more consistent with the docs and betterDavid Bordoley2003-05-141-4/+4
| | | | | | | | | | | | | | | 2003-05-13 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-history-window-ui.xml.in: * src/ephy-history-window.c: s/bookmark page/bookmark link, more consistent with the docs and better ui. * help/C/epiphany.xml: Start the create a bookmark section. Needs more work. Finish to open/copy address bookmark/history link sections.
* 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-8/+12
| | | | | | 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.
* s/items/links to match the docs.David Adam Bordoley2003-05-091-1/+1
| | | | | | | | | 2003-05-09 David Adam Bordoley <bordoley@msu.edu> * src/ephy-history-window.c: (confirmation_dialog_construct): s/items/links to match the docs.
* s/location/address. Fix up mnemonic collisions in the print dialog. MarkDavid Adam Bordoley2003-05-091-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-08 David Adam Bordoley <bordoley@msu.edu> * TODO: * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * data/glade/print.glade: * src/ephy-history-window.c: (ephy_history_ui_entries []) (ephy_history_window_update_menu), (ephy_history_window_construct): * src/ephy-window.c: (ephy_popups_entries []), * src/toolbar.c: (toolbar_setup_actions): * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmark_popup_entries []), (ephy_bookmarks_editor_update_menu): s/location/address. Fix up mnemonic collisions in the print dialog. Mark toolbar action names for translation. s/location/"address entry" for the entry bar name (this may change depending on what the docs team says). Add a todo about changing code to use address where appropriate.
* Convenience function for displaying help. Remove unneeded include ofDavid Adam Bordoley2003-05-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-08 David Adam Bordoley <bordoley@msu.edu> * lib/ephy-gui.c: (ephy_gui_help): * lib/ephy-gui.h: Convenience function for displaying help. Remove unneeded include of gnome-dialog.h * src/ephy-history-window.c: (cmd_help_contents): * src/prefs-dialog.c: (prefs_dialog_show_help): * src/window-commands.c: (window_cmd_help_contents), (window_cmd_help_about): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_help), (bookmark_properties_response_cb): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_help_contents): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_help), (response_cb): Hook up help to windows/dialogs. Add the guilty parties to about. * help/C/epiphany.xml: Fixed the "To Create a New Bookmark" id.
* Better sensitivity updates for historyMarco Pesenti Gritti2003-05-061-54/+133
| | | | | | | | | | | | | | | | | | 2003-05-05 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (build_search_box): * src/ephy-history-window.c: (confirmation_dialog_response_cb), (confirmation_dialog_construct), (cmd_clear), (cmd_bookmark_page), (ephy_history_window_class_init), (entry_selection_changed_cb), (add_entry_monitor), (view_focus_cb), (add_focus_monitor), (remove_focus_monitor), (ephy_history_window_show_popup_cb), (build_search_box), (view_selection_changed_cb), (ephy_history_window_construct), (ephy_history_window_dispose): * src/window-commands.c: (toolbar_editor_destroy_cb), (toolbar_editor_response_cb), (window_cmd_edit_toolbar), (window_cmd_help_contents): Better sensitivity updates for history
* Port confirmation dialog for clearing history to new history dialog.Jon Svendsen2003-05-051-2/+88
| | | | | | | | | 2003-05-02 Jon Svendsen <jon-sven@frisurf.no> * src/ephy-history-window.c: (cmd_clear), (cmd_close), (confirmation_dialog_response_cb), (confirmation_dialog_construct), Port confirmation dialog for clearing history to new history dialog.
* Do not assert on corrupted xml, just warn. Put back views shadows for now.Marco Pesenti Gritti2003-05-031-0/+2
| | | | | | | | | | | | | 2003-05-03 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-history.c: (ephy_history_load): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_load): * src/ephy-history-window.c: (ephy_history_window_construct): Do not assert on corrupted xml, just warn. Put back views shadows for now.
* Don't set/save window position if it is maximized.David Bordoley2003-05-011-3/+0
| | | | | | | | | | | | | | | | | 2003-04-30 David Bordoley <bordoley@msu.edu> * lib/ephy-state.c: (ephy_state_window_set_position), (ephy_state_window_save_position): Don't set/save window position if it is maximized. * src/ephy-history-window.c: (ephy_history_window_construct): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Don't set the shadow_type to GTK_SHADOW_IN the ScrolledWindows. It breaks some fitts law considerations, and really amounts to just visual noise.
* Respect all the new_tab used flags, drop unused ones. Patch by ChristianXan Lopez2003-04-301-1/+1
| | | | | Respect all the new_tab used flags, drop unused ones. Patch by Christian Perch <chpe+gnomebugz@stud.uni-saarland.de>
* Update go menu to match the default toolbar layout.David Bordoley2003-04-301-2/+3
| | | | | | | | | | | | | | | | 2003-04-29 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-ui.xml.in: Update go menu to match the default toolbar layout. * src/ephy-history-window.c: (build_search_box), (ephy_history_window_construct): * src/bookmarks/ephy-bookmarks-editor.c: (build_search_box ), (ephy_bookmarks_editor_construct): Remove unneccessary padding on the window. Add some padding around the search box.
* Remove add_icon_column func and add the functionality to the normalMarco Pesenti Gritti2003-04-291-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-29 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column): * lib/widgets/ephy-node-view.h: Remove add_icon_column func and add the functionality to the normal add_column. The icon will be packed in the same column. * src/bookmarks/ephy-bookmarks-editor.c: (entry_selection_changed_cb), (add_entry_monitor), (add_text_renderer_monitor), (cmd_add_topic), (cmd_rename), (build_search_box), (ephy_bookmarks_editor_construct), (toolbar_items_changed_cb), (ephy_bookmarks_editor_init): Fix for api change. Deal with 2 more sensitivity cases: bookmarks added by dnd to the toolbar and treeview text renderers. Remove hints until we have more columns. * src/ephy-history-window.c: (ephy_history_window_construct): Fix for new api * src/ephy-toolbars-model.c: (impl_add_item): Dont check if normal items are already in the toolbar: fix warnings.
* 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.
* Use delete key to remove history items.David Bordoley2003-04-221-0/+23
| | | | | | | | | | | | | | | 2003-04-21 David Bordoley <bordoley@msu.edu> * src/ephy-history-window.c: (key_pressed_cb), (ephy_history_window_construct): Use delete key to remove history items. * src/bookmarks/ephy-bookmarks-editor: (cmd_delete), (key_pressed_cb), (ephy_bookmarks_editor_construct): Call cmd_delete from key_press_cb for code reuse. Don't allow deletion of special topics with the keyboard delete.
* Added tooltips to all the actions.David Bordoley2003-04-211-18/+33
| | | | | | | | | 2003-04-21 David Bordoley <bordoley@msu.edu> * src/ephy-history-window.c: * src/bookmarks/ephy-bookmarks-editor.c: Added tooltips to all the actions.
* Added back code to clear the location entry. Marco I hope this is ok withDavid Bordoley2003-04-211-0/+15
| | | | | | | | | 2003-04-21 David Bordoley <bordoley@msu.edu> * src/ephy-history-window.c: (cmd_clear): Added back code to clear the location entry. Marco I hope this is ok with you :)
* Fixed a duplicate seperator. Add a view menu.David Bordoley2003-04-211-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-21 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-bookmark-editor-ui.xml.in: Fixed a duplicate seperator. Add a view menu. * data/ui/epiphany-history-window-ui.xml.in: Add a view menu. * src/ephy-history-window.c: (ephy_history_window_construct): Clean up ephy_history_ui_entries[] so that it is a little more organized. Add a view menu, but still needs to be hooked up. * src/bookmarks/ephy-bookmark-properties.c: (build_ui): s/"Show in the bookmarks _toolbar"/"_Show in the bookmarks toolbar". Fixes a mnemonic collision. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Clean up ephy_bookmark_popup_entries[] so that it is a little more organized. Add a view menu, but still needs to be hooked up. Add mnemonic to the "_Show in Toolbar" menu entry.
* Use g_list_free instead of g_free.Xan Lopez2003-04-211-1/+1
| | | | Use g_list_free instead of g_free.
* Delete and Bookmark page menu.Erich Lesh2003-04-201-4/+66
| | | | | | | | | 2003-04-20 Erich Lesh <eclesh@pacbell.net> * src/ephy-history-window.c: (cmd_copy), (cmd_delete), (cmd_bookmark_page), (ephy_history_window_update_menu): Delete and Bookmark page menu.
* Add copy to the bookmark context menu.David Bordoley2003-04-201-2/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-19 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-bookmark-editor-ui.xml.in: Add copy to the bookmark context menu. * data/ui/epiphany-history-window-ui.xml.in: Add an edit menu. Add copy to history item context menu. * src/ephy-history-window.c: (cmd_cut), (cmd_copy), (cmd_paste), (cmd_select_all), (ephy_history_window_update_menu), (ephy_history_window_construct): Add edit menu actions. Update the edit menu when activated. Support copying the location of a history item and change the label to "Copy Location". * src/bookmarks/ephy-bookmarks-editor.c: (cmd_copy), (ephy_bookmarks_editor_update_menu): Support copying the location of a bookmark and change the label to "Copy Location".
* Implement clear history. Put favicons near sites names.Marco Pesenti Gritti2003-04-191-0/+24
| | | | | | | | | | | | | 2003-04-18 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-history.c: (ephy_history_set_page_title), (ephy_history_set_icon), (ephy_history_clear): * embed/ephy-history.h: * src/ephy-history-window.c: (cmd_clear), (provide_favicon), (ephy_history_window_construct): * src/ephy-tab.c: (ephy_tab_set_favicon): Implement clear history. Put favicons near sites names.
* Do not install two copies of epiphany.pngMarco Pesenti Gritti2003-04-181-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: Do not install two copies of epiphany.png * embed/ephy-history.c: (ephy_history_save), (ephy_history_set_page_title): Use host name as title for sites, not the real title. * lib/ephy-state.c: (ephy_state_add_window), (paned_size_allocate_cb), (ephy_state_add_paned): * lib/ephy-state.h: Add a way to persist paned. * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-node-view.c: (ephy_node_view_sort_func), (provide_text_weight), (ephy_node_view_add_column), (ephy_node_view_has_selection): Improve add_column api a bit to support both auto sorting and user sorting. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Updates for changed api. * src/ephy-history-window.c: (ephy_history_window_construct): Set a max size for title/location. Not very good, but the best we can do with current treeview api prolly. Persist the paned size. Make columns user sortable.
* New history dialog implementation. More similar to bookmarks. Yeah itMarco Pesenti Gritti2003-04-181-0/+728
2003-04-17 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/Makefile.am: * embed/ephy-history.c: (ephy_history_init): * embed/ephy-history.h: * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_value): * src/Makefile.am: * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_show_bookmarks_editor), (history_window_hide_cb), (ephy_shell_show_history_window): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_finalize), (update_embed_dialogs), (ephy_window_get_find_dialog): * src/ephy-window.h: * src/window-commands.c: (window_cmd_go_history): New history dialog implementation. More similar to bookmarks. Yeah it still sucks ... but the hard part is done.