aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmark-properties.c
Commit message (Collapse)AuthorAgeFilesLines
* Convenience function for displaying help. Remove unneeded include ofDavid Adam Bordoley2003-05-091-7/+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.
* We dont need a _remove api, unrefing the node will work better. Try toMarco Pesenti Gritti2003-04-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-29 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-history.c: (remove_obsolete_pages), (pages_removed_cb), (ephy_history_get_last_page): * embed/ephy-history.h: We dont need a _remove api, unrefing the node will work better. Try to remove the host when it's empty. It still doesnt work properly, prolly EphyNode bug. * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_node): * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: (prop_dialog_destroy_cb), (show_properties_dialog), (cmd_bookmark_properties), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_init): Do not open more than one dialog per node, just present it. Picky picky Dave. * src/ephy-automation.c: (impl_ephy_automation_loadurl): * src/ephy-shell.c: (ephy_shell_new_tab): Ever present the window when opening windows through automation.
* Consistent use of the term "Bookmarks Bar" in the code, ui and schema.David Bordoley2003-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-28 David Bordoley <bordoley@msu.edu> * data/epiphany.schemas.in: * data/ui/epiphany-bookmark-editor-ui.xml.in: * data/ui/epiphany-toolbar.xml.in: * data/ui/epiphany-ui.xml.in: * embed/ephy-embed-types.h: * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_new_window_cb): * lib/ephy-prefs.h: * src/ephy-toolbars-model.c: (ephy_toolbars_model_remove_bookmark), (ephy_toolbars_model_add_bookmark), (ephy_toolbars_model_has_bookmark): * src/ephy-window.c: (save_window_chrome), (translate_default_chrome), (update_layout_toggles), (ephy_window_set_chrome): * src/toolbar.c: (init_bookmarks_toolbar), (toolbar_set_visibility): * src/window-commands.c: (window_cmd_view_bookmarks_bar): * src/window-commands.h: * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (ephy_bookmarks_editor_update_menu): Consistent use of the term "Bookmarks Bar" in the code, ui and schema. Replaces "Bookmarks Toolbar" and "Personal Toolbar." You'll probably have to delete your epiphany-toolbar.xml file to get the bm toolbar to work now.
* Update.Marco Pesenti Gritti2003-04-261-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-25 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-toolbars-model.c: * lib/egg/eggtoolbar.c: Update. * src/bookmarks/ephy-bookmark-properties.c: (toolbar_checkbox_changed_cb), (build_ui), (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_the_toolbar), (cmd_delete), (ephy_bookmarks_editor_update_menu), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks.h: * src/ephy-toolbars-model.c: (ephy_toolbars_model_new), (get_item_pos), (get_action_name), (get_toolbar_pos), (ephy_toolbars_model_remove_bookmark), (ephy_toolbars_model_add_bookmark), (ephy_toolbars_model_has_bookmark): * src/ephy-toolbars-model.h: Implement the checkbox to add bookmarks to the toolbar.
* Fixed a duplicate seperator. Add a view menu.David Bordoley2003-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* UpdateMarco Pesenti Gritti2003-04-201-7/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-editable-toolbar.c: Update * data/epiphany.schemas.in: * data/ui/epiphany-ui.xml.in: * lib/egg/egg-editable-toolbar.h: * lib/ephy-prefs.h: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-properties.c: (update_checkbox), (update_window_title), (toolbar_checkbox_changed_cb), (set_window_icon), (build_ui): * src/bookmarks/ephy-bookmarks.h: * src/ephy-window.c: (add_widget), (ephy_window_init), (save_window_chrome), (ephy_window_finalize), (translate_default_chrome), (update_layout_toggles), (ephy_window_set_chrome): * src/window-commands.c: (window_cmd_view_bookmarks_toolbar): * src/window-commands.h: First implementation of the new bookmarks toolbar thing. Still doesnt work properly ... old bmk toolbars are still there though. Dave I dont like much the position of the checkbox in properties :/ Maybe a different tab dunno ....
* Added some help buttons to the new bookmark, and properties dialogs.David Bordoley2003-04-151-1/+12
| | | | | | | | | | | | 2003-04-14 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_help), (bookmark_properties_response_cb), (build_ui): * src/bookmarks/ephy-new-bookmark.c: (phy_new_bookmark_help), (ephy_new_bookmark_response_cb), (ephy_new_bookmark_construct): Added some help buttons to the new bookmark, and properties dialogs.
* Just show the new bookmark dialog, don't go modal.David Bordoley2003-04-061-3/+8
| | | | | | | | | | | | | | | | | | | | 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.
* Update to reflect changes in EphyTopicSelector api. Wrap the topicDavid Bordoley2003-03-311-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-30 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmark-properties.c: (build_ui): Update to reflect changes in EphyTopicSelector api. Wrap the topic selector in a GtkScrolledWindow. * src/bookmarks/ephy-bookmarks-editor.c: (cmd_add_topic), (cmd_rename), (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser), (cmd_delete), (cmd_bookmark_properties), (cmd_select_all), (ephy_bookmarks_editor_dispose), (keyword_node_selected_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_update_menu): Update to reflect changes in EphyNodeView api. Wrap bm_view and key_view in GtkScrolledWindows. s/_Open In New Window/_Open in New Window and s/Open In New _Tabs/Open in New _Tab. * src/bookmarks/ephy-new-bookmark.c: (build_editing_table): Update to reflect changes in EphyTopicSelector api. Wrap the topic selector in a GtkScrolledWindow. * src/bookmarks/ephy-node-view.c: (ephy_node_view_get_type), (ephy_node_view_construct), (ephy_node_view_new), (ephy_node_view_add_column), (ephy_node_view_add_icon_column), (ephy_node_view_get_selection), (ephy_node_view_has_focus), (ephy_node_view_set_browse_mode), (ephy_node_view_select_node), (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source), (ephy_node_view_set_hinted), (ephy_node_view_edit): * src/bookmarks/ephy-node-view.h: Inherit from GtkTreeView instead of GtkScrolledWindow and change methods to reflect the change. Allow for better/easier keynav. Return a GtkWidget from ephy_node_view_new to be consistent with GTK. * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (mneumonic_activated), (ephy_topics_build_ui), (ephy_topics_selector_new): * src/bookmarks/ephy-topics-selector.h: Inherit from GtkTreeView instead of GtkScrolledWindow and change methods to reflect the change. Allow for better/easier keynav.
* Use hotkeys to navigate around the dialog.David Bordoley2003-03-301-20/+21
| | | | | | | | | | | | | | | | | | 2003-03-30 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-new-bookmark.c: (build_editing_table): Use hotkeys to navigate around the dialog. * src/bookmarks/ephy-topics-selector.c: (mneumonic_activated), (ephy_topics_build_ui), (ephy_topics_selector_new): Catch the mneumonic-activated signal and focus the currently selected item in the list. If no items are selected, select the first item. * src/bookmarks/ephy-bookmarks-editor.c: (key_pressed_cb): Change function to return a gboolean and return false if we don't handle the key event (fixes keynav in the bme).
* fix a warningMarco Pesenti Gritti2003-03-251-0/+1
| | | | | | | | 2003-03-24 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: fix a warning
* Dont put special keywords in the topics list. Use ephy-state for size ofMarco Pesenti Gritti2003-03-251-1/+5
| | | | | | | | | | | | | | | | | | 2003-03-24 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/bookmarks/ephy-topics-selector.c: (fill_model): * src/bookmarks/ephy-tree-model-node.c: (ephy_tree_model_node_get_value): * src/bookmarks/ephy-tree-model-node.h: Dont put special keywords in the topics list. Use ephy-state for size of all bookmarks dialogs.
* New epiphany-bookmark-page stock image. I'm not at all attached to thisDavid Bordoley2003-03-251-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-24 David Bordoley <bordoley@msu.edu> * data/art/epiphany-bookmark-page.png: (New file): * data/art/Makefile.am: * lib/ephy-stock-icons.c: * lib/ephy-stock-icons.h: New epiphany-bookmark-page stock image. I'm not at all attached to this icon, if you can make a better one, please do :) * data/glade/epiphany.glade: Change button ordering to [clear][cancel][jump to]. * embed/find-dialog.c: Use GTK_STOCK_FIND for the window border icon. * embed/print-dialog.c: Use GTK_STOCK_PRINT for the window border icon. * src/bookmarks/ephy-new-bookmark.c: Use EPHY_STOCK_BOOKMARK_PAGE for the window icon. s/add bookmark/new bookmark for the window title. * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon), (update_window_title): New functions. Dynamically set the property window title base on the bookmark title. Use the favicon icon if available for the window icon, otherwise use GTK_STOCK_PROPERTIES. * src/window-commands.c: Use GNOME_STOCK_ABOUT for the about window icon. * src/prefs-dialog.c: USE GTK_STOCK_PREFERENCES for the window icon. * src/history-dialog.c: Use epiphany-history.png for the window border icon. * src/ephy-window.c: Use EPHY_STOCK_BOOKMARK_PAGE for the boomark page/link menu items.
* Fix warning.Xan Lopez2003-03-251-0/+1
| | | | Fix warning.
* Some more bookmarks work ...Marco Pesenti Gritti2003-03-221-1/+41
| | | | | | | | | | | | | | | | | | | | | | 2003-03-22 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-bookmark-editor-ui.xml.in: * src/bookmarks/ephy-bookmark-properties.c: (update_entry), (title_entry_changed_cb), (location_entry_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_add_topic), (cmd_remove_topic), (cmd_rename_bookmark), (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser), (cmd_remove_bookmarks), (cmd_bookmark_properties), (add_widget), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (bookmarks_removed_cb), (ephy_bookmarks_has_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (build_editing_table): * src/bookmarks/ephy-topics-selector.c: (fill_model), (topic_toggled), (ephy_topics_selector_new): * src/bookmarks/ephy-topics-selector.h: Some more bookmarks work ...
* Begin bookmarks editor redesign. Please still dont use it or you reallyMarco Pesenti Gritti2003-03-221-0/+301
2003-03-22 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-bookmark-editor-ui.xml.in: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type), (ephy_bookmark_properties_class_init), (ephy_bookmark_properties_finalize), (ephy_bookmark_properties_set_bookmark), (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (bookmark_properties_response_cb), (build_ui), (ephy_bookmark_properties_init), (ephy_bookmark_properties_new): * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: (popup_cmd_bookmark_properties), (ephy_bookmarks_editor_get_type), (keyword_node_selected_cb), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks-import.c: (mozilla_parse_bookmarks), (xbel_parse_single_bookmark), (xbel_parse_folder): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_add), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (ephy_topics_selector_class_init), (ephy_topics_selector_finalize), (ephy_topics_selector_set_bookmark), (ephy_topics_selector_set_property), (ephy_topics_selector_get_property), (fill_model), (topic_toggled), (ephy_topics_selector_apply), (ephy_topics_build_ui), (ephy_topics_selector_init), (ephy_topics_selector_new): * src/bookmarks/ephy-topics-selector.h: Begin bookmarks editor redesign. Please still dont use it or you really want backup your bookmarks ;)