aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix wrong cast of GtkDialog to GtkWindow.Christian Persch2003-06-182-4/+43
| | | | | | | | | | | | | 2003-06-17 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: Fix wrong cast of GtkDialog to GtkWindow. * data/glade/epiphany.glade: * src/pdm-dialog.c: (pdm_dialog_show_help), (pdm_dialog_response_cb): Implement help button for pdm dialogue.
* All cleanup and fixes and no play makes Xan a dull boy All cleanup andXan Lopez2003-06-181-0/+1
| | | | | | | | All cleanup and fixes and no play makes Xan a dull boy All cleanup and fixes and no play makes Xan a dull boy All cleanup and fixes and no play makes Xan a dull boy All cleanup and fixes and no play makes Xan a dull boy ................
* Some string fixes.Christian Persch2003-06-172-5/+5
| | | | | | | | | | 2003-06-16 Christian Persch <chpe@cvs.gnome.org> * data/ui/nautilus-epiphany-view.xml.in: * src/ephy-window.c: * src/prefs-dialog.c: Some string fixes.
* Ref the child before removing it, and unref it after emitting theChristian Persch2003-06-171-2/+9
| | | | | | | | | | 2003-06-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_remove_page): Ref the child before removing it, and unref it after emitting the tabs_removed signal. That way it stays alive while the signal is being processed. Fixes bug 115306.
* s/snprintf/g_snprintf to not break gcc 2.95Marco Pesenti Gritti2003-06-173-15/+15
| | | | | | | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-dialog.c: (set_config_from_color): * src/ephy-tabs-menu.c: (tab_set_action_accelerator): * src/prefs-dialog.c: (setup_font_menu), (save_font_menu), (size_spinbutton_changed_cb), (setup_size_control): * src/session.c: (session_save): s/snprintf/g_snprintf to not break gcc 2.95
* Merge with popup control, we dont need it for bonobo window anymore.Marco Pesenti Gritti2003-06-164-362/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/Makefile.am: * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_get_type), (ephy_embed_popup_control_set_property), (ephy_embed_popup_control_get_property), (ephy_embed_popup_control_class_init), (ephy_embed_popup_control_init), (ephy_embed_popup_control_finalize), (get_popup_path), (ephy_embed_popup_control_show), (setup_element_menu), (setup_document_menu), (ephy_embed_popup_control_set_event), (ephy_embed_popup_control_connect_verbs), (ephy_embed_popup_control_get_event), (embed_popup_copy_location_cmd), (embed_popup_copy_email_cmd), (embed_popup_copy_link_location_cmd), (save_property_url), (embed_popup_open_link_cmd), (embed_popup_download_link_cmd), (embed_popup_save_image_as_cmd), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd), (save_url), (embed_popup_save_page_as_cmd), (embed_popup_save_background_as_cmd), (embed_popup_open_frame_cmd), (embed_popup_reload_frame_cmd), (embed_popup_open_image_cmd), (embed_popup_copy_to_clipboard): * embed/ephy-embed-popup-control.h: Merge with popup control, we dont need it for bonobo window anymore. * embed/mozilla/mozilla-embed-single.cpp: Do not override the UA but set vendor prefs so that mozilla can build it correctly. * lib/ephy-dialog.c: (get_radio_button_active_index), (set_config_from_radiobuttongroup), (set_radiobuttongroup_from_config), (prefs_set_group_sensitivity), (impl_get_value): * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * lib/ephy-gui.c: * lib/ephy-gui.h: * lib/ephy-string.c: (ephy_string_shorten), (ephy_string_to_int), (ephy_string_strip_chr), (ephy_string_elide_underscores): * lib/ephy-string.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_context_menu_cb), (gnv_embed_location_cb), (gnv_view_from_popup), (gnv_popup_cmd_new_window), (gnv_popup_cmd_image_in_new_window), (gnv_popup_cmd_frame_in_new_window), (gnv_cmd_file_print), (gnv_embed_zoom_change_cb):
* Remove some obsolete entries.Marco Pesenti Gritti2003-06-162-29/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/nautilus-epiphany-view.xml.in: Remove some obsolete entries. * embed/Makefile.am: * embed/ephy-embed-event.c: (ephy_embed_event_init), (ephy_embed_event_get_event_type): * embed/ephy-embed-event.h: Make more generic and allow to make distinction between mouse and key events. * embed/ephy-embed-popup-bw.c: * embed/ephy-embed-popup-bw.h: Remove, unused. * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: Emit context signals only when necessary, get rid of unused mouse_down signal. * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_show_impl): * embed/mozilla/EventContext.cpp: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_dom_mouse_click_cb), (gnv_embed_context_menu_cb): * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb), (ephy_tab_context_menu_cb): Use new event api.
* Shift+F10 show context menus on the embed. (Less invasive way untilMarco Pesenti Gritti2003-06-161-6/+24
| | | | | | | | | | | | | | | | | | | | | | 2003-06-15 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_init): * embed/ephy-embed-event.h: * embed/ephy-embed-popup-bw.c: (popup_menu_at_coords), (ephy_embed_popup_bw_show_impl): * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (popup_menu_at_coords), (ephy_tab_show_embed_popup), (ephy_tab_context_menu_cb), (ephy_tab_init): Shift+F10 show context menus on the embed. (Less invasive way until gtkmozembed has a context_menu signal) From galeon.
* Suggest the address as title when web page has no title.Marco Pesenti Gritti2003-06-151-1/+14
| | | | | | | | 2003-06-15 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): Suggest the address as title when web page has no title.
* Fix file picker warnings.Marco Pesenti Gritti2003-06-151-15/+14
| | | | | | | | | | | | | | | | | | | | 2003-06-15 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * lib/egg/eggtreemodelfilter.c: (egg_tree_model_filter_fetch_child), (egg_tree_model_filter_remove_node), (egg_tree_model_filter_row_changed), (egg_tree_model_filter_row_inserted), (egg_tree_model_filter_row_deleted), (egg_real_tree_model_filter_convert_child_path_to_path), (egg_tree_model_filter_refilter_helper): * src/window-commands.c: (window_cmd_file_open): Fix file picker warnings. 2
* Fix mem leaks.Christian Persch2003-06-151-1/+2
| | | | | | | | | | 2003-06-15 Christian Persch <chpe@cvs.gnome.org> * src/session.c: (do_session_resume): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download), (ephy_favicon_cache_get): Fix mem leaks.
* Make prev/next navigation capability an object property, and sync on embedChristian Persch2003-06-153-50/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-15 Christian Persch <chpe@cvs.gnome.org> * embed/find-dialog.h: * embed/find-dialog.c: (set_navigation_flags), (ephy_find_dialog_get_property), (find_dialog_class_init), (sync_embed), (find_get_info), (impl_show), (find_dialog_finalize), (find_dialog_go_next), (find_dialog_go_prev), (find_entry_changed_cb), (find_check_toggled_cb), (find_dialog_get_navigation_flags): Make prev/next navigation capability an object property, and sync on embed changes. * embed/find-dialog.c: (find_dialog_new_with_parent): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init), (ephy_embed_dialog_new), (ephy_embed_dialog_new_with_parent), (ephy_embed_dialog_set_embed): * embed/print-dialog.c: (print_dialog_new), (print_dialog_new_with_parent): s/EphyEmbed/embed/ for the object property name. * src/ephy-window.h: * src/ephy-window.c: (sync_find_dialog), (update_find_control), (ephy_window_switch_page_cb), (find_dialog_search_cb), (ephy_window_get_find_dialog): * src/window-commands.c: (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Sync on the find dialog on nav capability and embed changes instead of explicit updating.
* Rewritten, fixing mem leaks.Christian Persch2003-06-151-22/+16
| | | | | | | | | 2003-06-15 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_tabs_next), (window_cmd_tabs_previous): Rewritten, fixing mem leaks.
* Use g_list_prepend instead of g_list_append, and fix mem leaks along theChristian Persch2003-06-143-25/+22
| | | | | | | | | | | | | 2003-06-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-topic-action.c: (build_bookmarks_menu), (build_topics_menu): * src/language-dialog.c: (language_editor_remove_button_clicked_cb): * src/pdm-dialog.c: (pdm_dialog_remove_button_clicked_cb): * embed/downloader-view.c: (download_dialog_abort_cb): Use g_list_prepend instead of g_list_append, and fix mem leaks along the way.
* Respect the bookmarks bar visibility user choice also for popups.Marco Pesenti Gritti2003-06-141-2/+8
| | | | | | | | | | | | 2003-06-14 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-types.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (translate_default_chrome), (ephy_window_set_chrome): Respect the bookmarks bar visibility user choice also for popups.
* Fix previous change to actually work on anything else than en locales.Christian Persch2003-06-141-2/+7
| | | | | | | | 2003-06-14 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (create_fonts_language_menu): Fix previous change to actually work on anything else than en locales.
* Make visibility a tab GObject property.Christian Persch2003-06-143-39/+55
| | | | | | | | | | | | | | | | 2003-06-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_get_property), (ephy_tab_set_property), (ephy_tab_class_init), (ephy_tab_get_visibility), (ephy_tab_visibility_cb): Make visibility a tab GObject property. * src/ephy-window.h: * src/ephy-window.c: (sync_tab_visibility), (update_window_visibility), (tab_added_cb), (tab_removed_cb): Sync on tab visibility changes.
* Persist the selected language for the fonts preferences, and make theChristian Persch2003-06-141-5/+15
| | | | | | | | | | 2003-06-14 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * src/prefs-dialog.c: (create_fonts_language_menu): Persist the selected language for the fonts preferences, and make the default translatable.
* Fix yet another mem leak.Christian Persch2003-06-141-3/+8
| | | | | | | | 2003-06-13 Christian Persch <chpe@cvs.gnome.org> * src/ephy_window.c: (update_window_visibility): Fix yet another mem leak.
* Persist the language selected for the fonts preferences. Make theChristian Persch2003-06-141-11/+14
| | | | | | | | | | 2003-06-13 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (create_language_menu): Persist the language selected for the fonts preferences. Make the initialiser of the languages menu safe for NULL list from eel_gconf_get_string_list.
* Do not use libxml to parse mozilla bookmarks. Use the galeon parserMarco Pesenti Gritti2003-06-141-49/+221
| | | | | | | | | | | | 2003-06-13 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file), (gul_string_ascii_strcasestr), (ns_get_bookmark_item), (ns_parse_bookmark_item), (ephy_bookmarks_import_mozilla): Do not use libxml to parse mozilla bookmarks. Use the galeon parser instead, ugly but works.
* Fix statusbar message and tab label.Christian Persch2003-06-141-2/+9
| | | | | | | | 2003-06-13 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_net_state_cb): Fix statusbar message and tab label.
* Add support for string enums.Marco Pesenti Gritti2003-06-131-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-13 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dialog.c: (set_config_from_editable), (set_config_from_optionmenu), (set_config_from_radiobuttongroup), (set_config_from_spin_button), (set_config_from_togglebutton), (set_config_from_color), (set_editable_from_config), (set_optionmenu_from_config), (set_radiobuttongroup_from_config), (set_spin_button_from_config), (set_togglebutton_from_config), (set_color_from_config), (prefs_togglebutton_clicked_cb), (prefs_radiobutton_clicked_cb), (prefs_spinbutton_timeout_cb), (prefs_color_changed_cb), (prefs_entry_changed_cb), (prefs_optionmenu_selected_cb), (ephy_dialog_init), (load_props), (save_props), (free_props), (ephy_dialog_finalize), (ephy_dialog_add_enum), (init_props), (impl_construct), (impl_show): Add support for string enums. * lib/ephy-dialog.h: * lib/ephy-prefs.h: * src/prefs-dialog.c: (prefs_dialog_init): * data/epiphany.schemas.in: * embed/downloader-view.c: * embed/ephy-embed-prefs.h: * embed/find-dialog.c: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/Makefile.am: Cleanup gconf prefs. This breaks compatibility but better now that later.
* The Friday the 13th Mega Patch. Beware!Christian Persch2003-06-139-764/+786
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-13 Christian Persch <chpe@cvs.gnome.org> The Friday the 13th Mega Patch. Beware! * src/ephy-notebook.h: * src/ephy-notebook.c: (ephy_notebook_class_init), (ephy_notebook_move_page), (drag_stop), (ephy_notebook_init), (ephy_notebook_set_page_status), (sync_load_status), (ephy_notebook_set_page_icon), (sync_icon), (ephy_notebook_set_page_title), (sync_label), (build_tab_label), (update_tabs_visibility), (ephy_notebook_insert_page), (ephy_notebook_remove_page): Reworked notebook signals. Now we have tab_added, tab_removed, tab_detached and tabs_reordered; emit them at appropriate times. Don't offer the ephy_notebook_set_x functions anymore; instead we sync on the tab's gobject properties. * src/ephy-tab.h: * src/ephy-tab.c: (ephy_tab_update_color), (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_set_load_status), (ephy_tab_set_link_message), (ephy_tab_set_is_active), (ephy_tab_get_is_active), (ephy_tab_set_favicon), (ephy_tab_icon_cache_changed_cb), (ephy_tab_set_icon_address), (ephy_tab_link_message_cb), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_security_change_cb), (ephy_tab_init), (ephy_tab_set_load_percent), (ephy_tab_update_navigation_flags), (ephy_tab_get_navigation_flags), (ephy_tab_get_status_message), (ephy_tab_set_title): Removed the is_active flag. Made load-status property boolean (true means loading), removing the TAB_LOAD_NONE/TAB_LOAD_COMPLETED distinction. Add navigation flags object property. Remove all calls to ephy_window_update_x, instead let the window sync on object properties. Fix statusbar message bug. * src/ephy-tabs-menu.c: (tab_set_action_accelerator): Fix accelerator for tabs with position > 10. * src/ephy-window.h: * src/ephy-window.c: (ephy_window_destroy_cb), (setup_window), (sync_tab_address), (sync_tab_icon), (sync_tab_load_progress), (sync_tab_load_status), (sync_tab_message), (sync_tab_navigation), (sync_tab_security), (sync_tab_stop), (sync_tab_title), (sync_tab_zoom), (ephy_window_set_active_tab), (update_tabs_menu), (tab_added_cb), (tab_removed_cb), (tab_detached_cb), (tabs_reordered_cb), (setup_notebook), (ephy_window_init), (ephy_window_add_tab), (real_get_active_tab), (ephy_window_remove_tab), (update_status_message), (update_progress), (update_security), (update_nav_control), (update_zoom_control), (update_title_control), (update_location_control), (update_favicon_control), (update_spinner_control), (ephy_window_update_control), (ephy_window_get_active_tab), (ephy_window_get_active_embed), (ephy_window_notebook_switch_page_cb), (ephy_window_tab_detached_cb): Sync on the active tab's object properties, and sync on the load status of all tabs for the spinner. * src/toolbar.c: (toolbar_update_navigation_actions): Correct inverted logic.
* s/scheme/host for the smartbookmarksMarco Pesenti Gritti2003-06-131-1/+1
| | | | | | | | 2003-06-12 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (activate_cb): s/scheme/host for the smartbookmarks
* Do not persist node selection in BME between sessions.Xan Lopez2003-06-131-31/+1
| | | | Do not persist node selection in BME between sessions.
* Sigh. Fix some more mem leaks.Christian Persch2003-06-133-0/+4
| | | | | | | | | | | | | 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.
* HIGified Import Bookmarks dialog.Christian Neumair2003-06-121-2/+4
|
* Update.Marco Pesenti Gritti2003-06-121-13/+5
| | | | | | | | | | | | | | | | 2003-06-12 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/eggtreemodelfilter.c: Update. * src/ephy-window.c: (ephy_window_selection_received_cb), (menu_activate_cb): Do not set clipboard items sensitivity, because there is not a good way to do it atm. Open url on middle click (on the page) in the same tab.
* Fix compilation.Xan Lopez2003-06-121-0/+1
| | | | Fix compilation.
* Use functions instead of declaring static vars in .h file, (hopefully)Christian Persch2003-06-121-0/+5
| | | | | | | | | | | 2003-06-12 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-langs.h: * lib/ephy-langs.c: (ephy_langs_get_n_font_languages), (ephy_langs_get_font_languages): Use functions instead of declaring static vars in .h file, (hopefully) fixing # 114906 .
* Moved bookmark tool item creation to a dedicated tool item. That way weChristian Persch2003-06-124-53/+204
| | | | | | | | | | | | 2003-06-11 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-toolitem.h: * src/bookmarks/ephy-bookmark-toolitem.c: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (create_menu_item), (ephy_bookmark_action_class_init): Moved bookmark tool item creation to a dedicated tool item. That way we can provide toolbar overflow menu items.
* Dont try to update menus of dead windows ;)Marco Pesenti Gritti2003-06-111-3/+8
| | | | | | | | | 2003-06-10 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_init), (ephy_bookmarks_menu_finalize): Dont try to update menus of dead windows ;)
* Small cleanups. Dont crash when adding a bookmark without topics.Marco Pesenti Gritti2003-06-111-14/+18
| | | | | | | | | | 2003-06-10 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_apply), (topic_clicked), (topic_key_pressed), (ephy_topics_build_ui), (ephy_topics_selector_new): Small cleanups. Dont crash when adding a bookmark without topics.
* Dont set sort function on idle. The sort is visible and we can crash ifMarco Pesenti Gritti2003-06-111-10/+3
| | | | | | | | | 2003-06-10 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-topics-selector.c: (ephy_topics_build_ui): Dont set sort function on idle. The sort is visible and we can crash if the dialog is closed very fast.
* Fix mistake from previous checkin; strcmp cannot take NULL.Christian Persch2003-06-101-1/+2
| | | | | | | | 2003-06-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_icon_cache_changed_cb): Fix mistake from previous checkin; strcmp cannot take NULL.
* Clear the location on NULLMarco Pesenti Gritti2003-06-101-1/+2
| | | | | | | | 2003-06-10 Marco Pesenti Gritti <marco@it.gnome.org> * src/toolbar.c: (toolbar_set_location): Clear the location on NULL
* Do not emit the TABS_CHANGED signal; the tab's egg action will itself takeChristian Persch2003-06-109-399/+625
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_set_page_title): Do not emit the TABS_CHANGED signal; the tab's egg action will itself take care of updating the menu entry. * src/ephy-tab.h: * src/eph-tab.c: (ephy_tab_set_property), (ephy_tab_get_property) (ephy_tab_class_init): Object properties for tab address, icon-address, load-progress, load-status, message, security, title, window and zoom. * src/ephy-tab.c: (ephy_tab_action_activate_cb), (ephy_tab_get_action), (ephy_tab_init): Augment the tab by an egg action for use in the tabs menu. * src/ephy-tab.c: (ephy_tab_set_load_status), (ephy_tab_set_link_message), (ephy_tab_set_favicon), (ephy_tab_icon_cache_changed_cb), (ephy_tab_set_icon_address), (ephy_get_icon_address), (ephy_tab_favicon_cb), (ephy_tab_address_cb), (ephy_tab_title_cb), (build_net_state_message), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_security_change_cb), (ephy_tab_set_load_percent), (ephy_tab_get_load_percent), (ephy_tab_get_status_message), (ephy_tab_set_title), (ephy_tab_set_location), (ephy_tab_set_security_level), (ephy_tab_get_security_level), (ephy_tab_set_zoom), (ephy_tab_get_zoom): Getters/setters for the tab's object properties. Use the setters in the callbacks instead of setting the values directly. * src/ephy-tabs-menu.c: (ephy_tabs_menu_set_action_accelerator), (ephy_tabs_menu_update): Use the tab's egg action directly instead of dummy egg actions. This makes updating the tab titles in the tabs menu work automagically.
* Minor cleanups.Xan Lopez2003-06-101-10/+14
| | | | Minor cleanups.
* Get rid of starthere: and default to google, as discussed with Seth. Add aMarco Pesenti Gritti2003-06-0911-197/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Fixup context menu accesskeys. Use correct icon for Save As.Piers Cornwell2003-06-091-6/+9
| | | | | | | | | 2003-06-08 Piers Cornwell <piersc@cogs.susx.ac.uk> * data/ui/epiphany-ui.xml.in: * src/ephy-window.c: Fixup context menu accesskeys. Use correct icon for Save As.
* Explicitly create pointer to avoid strict aliasing warnings with gcc 3.3.Jeremy Katz2003-06-092-2/+5
| | | | | | | | 2003-06-08 Jeremy Katz <katzj@redhat.com> * src/ephy-shell.c (ephy_shell_init): Explicitly create pointer to avoid strict aliasing warnings with gcc 3.3. * src/window-commands.c (window_cmd_help_about): Likewise.
* Fix mem leaks.Christian Persch2003-06-091-3/+15
| | | | | | | | | 2003-06-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_favicon_control), (update_spinner_control): Fix mem leaks.
* Remove some leftovers.Marco Pesenti Gritti2003-06-082-51/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-07 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Remove some leftovers. * lib/widgets/Makefile.am: * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type), (ephy_search_entry_class_init), (ephy_search_entry_timeout_cb), (ephy_search_entry_changed_cb), (ephy_search_entry_focus_out_event_cb), (ephy_search_entry_init), (ephy_search_entry_finalize), (ephy_search_entry_new), (ephy_search_entry_clear): * lib/widgets/ephy-search-entry.h: * src/bookmarks/ephy-bookmarks-editor.c: (keyword_node_selected_cb), (search_entry_search_cb), (build_search_box): * src/ephy-history-window.c: (site_node_selected_cb), (search_entry_search_cb), (build_search_box): Implement a search entry that delays searches a bit after the user pressed key, to have autoapply but make it interactive enough. (Based on rhythmbox one)
* Remove memory cache prefs/ui, now mozilla can deal with it automagically.Marco Pesenti Gritti2003-06-072-42/+9
| | | | | | | | | | | | | | | | | | | | 2003-06-07 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/ephy-embed-single.c: (ephy_embed_single_clear_cache): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks-import.c: (mozilla_parse_bookmarks), (xbel_parse_folder): * src/prefs-dialog.c: (prefs_clear_cache_button_clicked_cb): Remove memory cache prefs/ui, now mozilla can deal with it automagically. Rename Appeareance tab to be less generic. Do not convert spaces to _ on bookmarks importing.
* Install some object properties for later use.Christian Persch2003-06-071-1/+77
| | | | | | | | | 2003-06-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init): Install some object properties for later use.
* Fix mem leaks.Christian Persch2003-06-071-7/+7
| | | | | | | | | 2003-06-07 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_tabs_detach), (window_cmd_file_bookmark_page): Fix mem leaks.
* Fix mem leak.Christian Persch2003-06-071-0/+2
| | | | | | | | | 2003-06-07 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (impl_get_value): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add): Fix mem leak.
* Fix signed/unsigned mistake.Christian Persch2003-06-071-2/+3
| | | | | | | | 2003-06-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (ephy_tabs_menu_init), (ephy_tabs_menu_clean): Fix signed/unsigned mistake.
* Fix signed/unsigned mistake, speed up favorites menu buildingChristian Persch2003-06-062-6/+16
| | | | | | | | | | | 2003-06-06 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_clean), (ephy_bookmarks_menu_rebuild), (ephy_bookmarks_menu_init): * src/ephy-favorites-menu.c: (ephy_favorites_menu_clean), (ephy_favorites_menu_rebuild), (ephy_favorites_menu_init): Fix signed/unsigned mistake, speed up favorites menu building
* Do not save when fullscreenMarco Pesenti Gritti2003-06-061-7/+3
| | | | | | | | 2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (save_window_chrome): Do not save when fullscreen
* s/ask download/ask for downloadMarco Pesenti Gritti2003-06-062-3/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: s/ask download/ask for download * lib/egg/egg-editable-toolbar.c: (toolbar_changed_cb), (egg_editable_toolbar_set_model): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_set_flags), (egg_toolbars_model_class_init): * lib/egg/egg-toolbars-model.h: * lib/egg/eggtoolbar.c: (egg_toolbar_internal_insert_element): Update. * src/ephy-toolbars-model.c: (ephy_toolbars_model_set_flag), (ephy_toolbars_model_unset_flag): * src/ephy-toolbars-model.h: Add a way to set/unset a flag on all toolbars. * src/ephy-window.c: (ephy_window_init), (translate_default_chrome), (update_exit_fullscreen_popup_position), (size_changed_cb), (exit_fullscreen_button_clicked_cb), (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_set_chrome): Implement an exit fullscreen button. Force toolbars style to be icon only.
* broken pipe pfffMarco Pesenti Gritti2003-06-061-3/+7
|
* s/ask download/ask for downloadMarco Pesenti Gritti2003-06-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: s/ask download/ask for download * lib/egg/egg-editable-toolbar.c: (toolbar_changed_cb), (egg_editable_toolbar_set_model): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_set_flags), (egg_toolbars_model_class_init): * lib/egg/egg-toolbars-model.h: * lib/egg/eggtoolbar.c: (egg_toolbar_internal_insert_element): Update. * src/ephy-toolbars-model.c: (ephy_toolbars_model_set_flag), (ephy_toolbars_model_unset_flag): * src/ephy-toolbars-model.h: Add a way to set/unset a flag on all toolbars. * src/ephy-window.c: (ephy_window_init), (translate_default_chrome), (update_exit_fullscreen_popup_position), (size_changed_cb), (exit_fullscreen_button_clicked_cb), (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_set_chrome): Implement an exit fullscreen button. Force toolbars style to be icon only.
* 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.
* Make sure to rebuild on add bookmark and on topic removal. Update on idle,Marco Pesenti Gritti2003-06-047-81/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_updates), (bookmarks_tree_changed_cb), (ephy_bookmarks_menu_init): * src/bookmarks/ephy-bookmarks.c: (bookmarks_changed_cb), (topics_removed_cb), (ephy_bookmarks_add): Make sure to rebuild on add bookmark and on topic removal. Update on idle, so things like importing bookmarks doesnt take two days. * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_init_services), (load_homepage), (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-window.c: (setup_window): * src/session.c: (parse_embed): Drop NOT_JUMP_TO flag, we dont have a pref anymore. On new page instead of really clone the page, just clone the url (put it in the address entry). So if the user need it it's easy to load, but there are not the inacceptable slow downs of real cloning. Let's see how this works ...
* Implement bookmarks menu, might need to be optimized later.Marco Pesenti Gritti2003-06-047-5/+543
| | | | | | | | | | | | | | | | 2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_class_init), (bookmarks_changed_cb), (bookmarks_removed_cb), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword), (ephy_bookmarks_get_favorites), (ephy_bookmarks_get_not_categorized): * src/bookmarks/ephy-bookmarks.h: * src/ephy-window.c: (ephy_window_init), (ephy_window_finalize): Implement bookmarks menu, might need to be optimized later.
* Add a bookmarks menu. (still not the tree)Marco Pesenti Gritti2003-06-043-180/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-ui.xml.in: Add a bookmarks menu. (still not the tree) * src/bookmarks/ephy-bookmark-action.c: (create_menu_item), (ephy_bookmark_action_sync_icon), (ephy_bookmark_action_sync_label), (activate_cb), (connect_proxy), (ephy_bookmark_action_class_init): Implement create_menu_item. * src/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (go_location_cb), (ephy_favorites_menu_rebuild), (ephy_favorites_menu_set_property), (ephy_favorites_menu_get_property), (ephy_favorites_menu_class_init), (ephy_favorites_menu_init), (ephy_favorites_menu_finalize), (ephy_favorites_menu_new): Use bookmark action. * src/ephy-window.c: Change verbs for bookmarks menu.
* Get rid of the leftovers of the jump-to-tab pref.Christian Persch2003-06-042-7/+0
| | | | | | | | | | 2003-06-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-notebook.c: (notebook_drag_data_received_cb): Get rid of the leftovers of the jump-to-tab pref.
* Get rid of MAKE_GET_TYPE; make building the tabs menu a little faster.Christian Persch2003-05-292-51/+65
| | | | | | | | | | | | | | 2003-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type), (ephy_tabs_menu_verb_cb), (ephy_tabs_menu_rebuild): Get rid of MAKE_GET_TYPE; make building the tabs menu a little faster. * src/ephy-window.c: (update_tabs_menu_sensitivity), (ephy_window_get_tabs): Remove one unnecessary call to ephy_tabs_update_menu ().
* Sort the lists of encoding autodetectors and of fonts languages.Christian Persch2003-05-291-18/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-langs.h: * data/glade/prefs-dialog.glade: * src/prefs-dialog.c: (autodetector_info_free), (prefs_dialog_finalize), (get_current_language_code), (setup_font_menu), (setup_size_control), (fonts_language_info_cmp), (create_fonts_language_menu), (autodetect_encoding_menu_changed_cb), (autodetector_info_cmp), (find_autodetector_info), (create_encoding_autodetectors_menu), (prefs_dialog_init): Sort the lists of encoding autodetectors and of fonts languages. * data/epiphany.schemas.in: Document the possible values for the encoding autodetectors. * embed/mozilla/mozilla-notifiers.cpp: (mozilla_notifiers_init), (mozilla_default_encoding_notifier), (mozilla_autodetect_encoding_notifier): Adapted for the changes in the prefs dialog. The default encoding notifier now propagates the setting to mozilla :)
* continuing checkin of previous patch (cvs aborted "broken pipe")Christian Persch2003-05-285-129/+123
| | | | | | 2003-05-28 Christian Persch <chpe@cvs.gnome.org> continuing checkin of previous patch (cvs aborted "broken pipe")
* Refactored the charset and language groups strings.Christian Persch2003-05-271-25/+6
| | | | | | | | | | | | | | 2003-05-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-i18n.h: * embed/mozilla/mozilla-i18n.c: * embed/mozilla/mozilla-embed-single.c: (fill_charsets_list), (impl_get_charset_titles): * embed/mozilla/mozilla-notifiers.c: (mozilla_notifiers_init): * lib/ephy-langs.h: * src/prefs-dialog.c: (setup_font_menu): Refactored the charset and language groups strings.
* Fix potential memory corruption. Retain custom lang codes. Sort theChristian Persch2003-05-271-40/+164
| | | | | | | | | | | | | | | 2003-05-26 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (free_lang_item), (prefs_dialog_finalize), (compare_lang_items), (find_lang_code), (create_languages_list), (general_prefs_new_language_menu), (language_menu_changed_cb), (create_language_menu), (prefs_dialog_init), (fill_language_editor), (language_dialog_changed_cb), (prefs_language_more_button_clicked_cb): Fix potential memory corruption. Retain custom lang codes. Sort the languages list using the current locale. Fix some mem leaks en passant.
* s/DESTROYED/DESTROY which is more useulfMarco Pesenti Gritti2003-05-276-158/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-26 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-node.c: (callback), (ephy_node_dispose): * lib/ephy-node.h: s/DESTROYED/DESTROY which is more useulf * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_set_property), (root_destroy_cb): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults), (ephy_bookmarks_set_toolbars_model), (ephy_bookmarks_set_property), (ephy_bookmarks_get_property), (ephy_bookmarks_class_init), (bookmarks_removed_cb), (topics_removed_cb), (ephy_bookmarks_init), (ephy_bookmarks_finalize): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (impl_add_item), (ephy_toolbars_model_set_bookmarks), (ephy_toolbars_model_set_property), (ephy_toolbars_model_get_property), (ephy_toolbars_model_class_init), (ephy_toolbars_model_init), (ephy_toolbars_model_finalize), (ephy_toolbars_model_new): * src/ephy-toolbars-model.h: * src/toolbar.c: (topic_destroy_cb), (bookmark_destroy_cb), (toolbar_ensure_action), (toolbar_init): Better way to remove unrefed bookmarks from the toolbar. Ref bookmarks in toolbars model and weak reaf toolbars model in bookmarks. So setting defaults really works.
* Try to fix node removal problems. I cant repro crashes ... but they areMarco Pesenti Gritti2003-05-263-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-25 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_save): * embed/ephy-history.c: (ephy_history_save), (hosts_removed_cb), (pages_removed_cb), (unref_empty_host), (page_removed_from_host_cb), (connect_page_removed_from_host), (ephy_history_init), (ephy_history_add_host): * lib/ephy-file-helpers.c: (ephy_file_save_xml): * lib/ephy-file-helpers.h: * lib/ephy-node.c: (callback), (ephy_node_emit_signal), (real_remove_child), (ephy_node_dispose): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save): * lib/widgets/ephy-tree-model-node.c: (root_child_removed_cb): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save), (bookmarks_removed_cb), (topics_removed_cb): Try to fix node removal problems. I cant repro crashes ... but they are quite hard to reproduce. Use a save_xml helper that is low disk safe. * src/ephy-automation.c: (impl_ephy_automation_loadurl): Use OPEN_PAGE when an url is passed
* shift force reloadChristian Persch2003-05-261-1/+25
| | | | | | 2003-05-16 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * src/window-commands.c: shift force reload
* Revert latest node changes. Parents nodes need to be saved first and it'sMarco Pesenti Gritti2003-05-251-3/+70
| | | | | | | | | | | | | | | | | | | | | | | | 2003-05-25 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_load), (ephy_favicon_cache_save), (ephy_favicon_cache_init), (ephy_favicon_cache_finalize): * embed/ephy-history.c: (ephy_history_load), (ephy_history_save), (ephy_history_init): * lib/ephy-node-db.c: (ephy_node_db_get_property), (ephy_node_db_set_property), (ephy_node_db_class_init), (ephy_node_db_init), (ephy_node_db_finalize), (ephy_node_db_new), (_ephy_node_db_remove_id): * lib/ephy-node-db.h: * lib/ephy-node.c: (ephy_node_save_to_xml): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_load), (ephy_states_save), (ensure_states): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_load), (ephy_bookmarks_save), (ephy_bookmarks_init): Revert latest node changes. Parents nodes need to be saved first and it's easier to do that in a not generic way :/
* Implement generic way to save/load db and make it low disk safe.Marco Pesenti Gritti2003-05-241-70/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-23 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_load), (ephy_favicon_cache_save), (ephy_favicon_cache_init), (ephy_favicon_cache_finalize): * embed/ephy-history.c: (ephy_history_load), (ephy_history_save), (ephy_history_init): * lib/ephy-node-db.c: (ephy_node_db_set_version), (ephy_node_db_get_property), (ephy_node_db_set_property), (ephy_node_db_class_init), (ephy_node_db_init), (ephy_node_db_finalize), (ephy_node_db_new), (_ephy_node_db_remove_id), (ephy_node_db_load_from_xml), (ephy_node_db_save_to_xml): * lib/ephy-node-db.h: * lib/ephy-node.c: (ephy_node_to_xml): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_load), (ephy_states_save), (ensure_states): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_load), (ephy_bookmarks_save), (ephy_bookmarks_init), (ephy_bookmarks_finalize): Implement generic way to save/load db and make it low disk safe.
* Activate the menu on button press down, like other menus.David Bordoley2003-05-231-0/+11
| | | | | | | | | | 2003-05-22 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-topic-action.c: (menu_deactivate_cb), (button_pressed_cb), (connect_proxy): Activate the menu on button press down, like other menus.
* Revert embed dnd changes. They doesnt work properly.Marco Pesenti Gritti2003-05-231-14/+0
| | | | | | | | 2003-05-22 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-notebook.c: (ephy_notebook_insert_page): Revert embed dnd changes. They doesnt work properly.
* Yet more new tab logic fixes.Xan Lopez2003-05-222-3/+6
| | | | Yet more new tab logic fixes.
* Fix according to new tab logic.Xan Lopez2003-05-222-1/+3
| | | | Fix according to new tab logic.
* Implement our own drag dest on the embed. Dnd of multiple urls on embedMarco Pesenti Gritti2003-05-221-0/+14
| | | | | | | | | | 2003-05-21 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-notebook.c: (child_realize_cb), (ephy_notebook_insert_page): Implement our own drag dest on the embed. Dnd of multiple urls on embed now open them in tabs.
* s/address/page. This always bothered me.David Bordoley2003-05-211-1/+1
| | | | | | | | 2003-05-21 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): s/address/page. This always bothered me.
* Cleanup new tab logic, and ever use window for new instances.Marco Pesenti Gritti2003-05-218-68/+75
| | | | | | | | | | | | | | | | | | | | | | 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.
* Simplified and reorganised zoom. Implement a zoom control for the toolbar.Christian Persch2003-05-207-89/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-19 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> Simplified and reorganised zoom. Implement a zoom control for the toolbar. * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.h: * lib/widgets/ephy-zoom-control.c: New. A simple zoom control and a corresponding egg action. * lib/ephy-zoom.h: * lib/ephy-zoom.c: New. Define the supported zoom levels, plus some helper functions. * data/ui/epiphany-toolbar.xml.in: * src/toolbar.h: * src/toolbar.c: (toolbar_update_zoom_control), (zoom_to_level_cb), (toolbar_setup_actions): Hook up zoom control. * src/ephy-window.c: (toolbar_update_zoom_control): New. Updates toolbar zoom control and menu item sensitivity. * embed/mozilla/mozilla-embed.c: (impl_zoom_set, impl_zoom_get): * embed/ephy-embed.[ch]: (zoom_set), (zoom_get), (ephy_embed_zoom_set), (ephy_embed_zoom_get): * lib/ephy-marshal.list: * src/ephy-nautilus-view.c: (gnv_embed_zoom_change_cb), (gnv_zoomable_set_zoom_level_cb): * src/ephy-tab.c: (ephy_tab_zoom_changed_cb): * src/ephy-window.c: (ephy_window_set_zoom): Use float zoom factor instead of int percent for zoom. * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (ephy_nautilus_view_class_init), (gnv_zoomable_set_zoom_level_cb), (gnv_zoomable_zoom_in_cb), (gnv_zoomable_zoom_out_cb), (gnv_zoomable_zoom_to_default_cb), (gnv_embed_zoom_change_cb): * src/window-commands.c: (window_cmd_view_zoom_in), (window_cmd_view_zoom_out), (window_cmd_view_zoom_normal): Simplified; use ephy-zoom.h where appropriate.
* Fix some warnings. Go back hardcoding defaults in the code, mozilla prefMarco Pesenti Gritti2003-05-202-2/+2
| | | | | | | | | | | | | | | | | | | | | 2003-05-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * embed/mozilla/Makefile.am: * embed/mozilla/default-prefs.js: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-prefs.cpp: * embed/mozilla/mozilla-prefs.h: * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-history-window.c: (ephy_history_window_construct): Fix some warnings. Go back hardcoding defaults in the code, mozilla pref api sucks :/ Cleanup mozilla prefs code, we can use mozilla api directly now, no need for a wrapper like in galeon1.
* Made (hopefully) all dialogs HIG compliant, at least when it comes to spacing.Christian Neumair2003-05-205-15/+27
| | | | Last patch of the #112781 patch series.
* Use stock icons instead of the files directly to set window border icons.David Bordoley2003-05-202-8/+14
| | | | | | | | | | | | | | 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.
* Shortest patch ever!!! Kill the new page pref. Make Seth happy :)David Bordoley2003-05-202-5/+2
| | | | | | | | | | | | | 2003-05-19 David Bordoley <bordoley@msu.edu> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * lib/ephy-prefs.h: * src/ephy-shell.c: (build_homepage_url): * src/pref-dialog.c: (properties[]) Shortest patch ever!!! Kill the new page pref. Make Seth happy :)
* 2003-05-19 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-05-2011-81/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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),
* Remove fine grain color settings. Always use the system theme colors inDavid Bordoley2003-05-191-10/+0
| | | | | | | | | | | | | | 2003-05-19 David Bordoley <bordoley@msu.edu> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/mozilla/default-prefs.js: * embed/mozilla/mozilla-notifiers.cpp: (conversion_table []): * src/prefs-dialog.c: (properties []): Remove fine grain color settings. Always use the system theme colors in the case where a page doesn't set it own colors.
* Use gtk api for fullscreen, not wm directlyMarco Pesenti Gritti2003-05-171-53/+8
| | | | | | | | 2003-05-17 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (ephy_window_set_chrome): Use gtk api for fullscreen, not wm directly
* Capitalized "Toolbar Editor" in the toolbar editor window's title.Christian Neumair2003-05-171-1/+1
|
* Fixed many issues mentioned in #112781.Christian Neumair2003-05-1717-22/+75
|
* Marco Pesenti Gritti <marco@it.gnome.org>David Bordoley2003-05-179-112/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-17 David Bordoley <bordoley@msu.edu> Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-ui.xml.in: * src/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item): * src/ephy-notebook.c: (ephy_notebook_class_init), (ephy_notebook_move_page), (move_tab), (notebook_drag_data_received_cb), (ephy_notebook_init), (ephy_notebook_set_page_status), (update_tabs_visibility), (ephy_notebook_insert_page), (ephy_notebook_remove_page), (ephy_notebook_set_page_title): * src/ephy-notebook.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init), (ephy_tabs_menu_init), (ephy_tabs_menu_clean), (ephy_tabs_menu_finalize_impl), (ephy_tabs_menu_set_property), (ephy_tabs_menu_get_property), (ephy_tabs_menu_new), (ephy_tabs_menu_verb_cb), (ephy_tabs_menu_set_action_accelerator), (ephy_tabs_menu_rebuild), (ephy_tabs_menu_update): * src/ephy-tabs-menu.h: * src/ephy-window.c: (setup_window), (update_tabs_menu_sensitivity), (ephy_window_tabs_changed_cb), (setup_notebook), (ephy_window_init), (ephy_window_finalize), (ephy_window_update_control), (ephy_window_update_all_controls), (ephy_window_notebook_switch_page_cb): * src/ephy-window.h: * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right), (window_cmd_tabs_detach): Implement a list of tabs at the bottom of tabs menu. Add a changed signal to the notebook and use it to update list and sensitivity.
* Add elipses to rename menu entry.David Bordoley2003-05-161-1/+1
| | | | | | | | | 2003-05-15 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmark_popup_entries []): Add elipses to rename menu entry.
* Add some flags so that we can choose to save position or size or both.David Bordoley2003-05-146-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Don't split sentences.Xan Lopez2003-05-141-3/+7
| | | | Don't split sentences.
* 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.
* Fix the no_topics pointer writing, fixes adding bookmarks to UncategorizedXan Lopez2003-05-141-2/+4
| | | | | | Fix the no_topics pointer writing, fixes adding bookmarks to Uncategorized when they are removed from a topic and they still are in other topics (Bad Marco).
* *** empty log message ***Marco Pesenti Gritti2003-05-141-2/+0
|
* Revert api change. So we keep 2.2 compatibility.Marco Pesenti Gritti2003-05-141-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-13 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ExternalProtocolService.cpp: Revert api change. So we keep 2.2 compatibility. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_activate_cb): * lib/widgets/ephy-location-entry.h: Add a finished callback to know when the user finished using location. * src/bookmarks/ephy-bookmarks.c: (history_site_visited_cb), (ephy_bookmarks_set_icon): Remove unused vars. Bad xan. * src/toolbar.c: (location_finished_cb), (toolbar_activate_location): Show the toolbar on ctrl+l, hide it again when the user finished to edit (focus out/activate)
* Don't go modal when showing the duplicate bookmark dialog.David Bordoley2003-05-141-4/+24
| | | | | | | | | 2003-05-13 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct), (duplicate_bookmark_response_cb), (ephy_new_bookmark_is_unique): Don't go modal when showing the duplicate bookmark dialog.
* Get rid of the unneeded convenience callback since no one is try to makeDavid Bordoley2003-05-135-34/+4
| | | | | | | | | | | | | | 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-137-47/+132
| | | | | | 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.
* Fix google smart bookmarks to use utf8Marco Pesenti Gritti2003-05-121-2/+6
| | | | | | | | | | | | | 2003-05-11 Marco Pesenti Gritti <marco@it.gnome.org> * data/starthere/smartbookmarks.xml.in: Fix google smart bookmarks to use utf8 * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_solve_smart_url): Fix google smart bookmarks to use utf8. Escape the search string before merging it in the url.
* Fix refcount, patch by Christian.Xan Lopez2003-05-111-1/+3
| | | | Fix refcount, patch by Christian.
* Show the full page title in tooltip on the tab label. Loosely based on aChristian Persch2003-05-111-15/+25
| | | | | | | | | | | 2003-05-10 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * src/ephy-notebook.c: (ephy_notebook_init), (tab_get_label), (tab_build_label), (ephy_notebook_set_page_tite): Show the full page title in tooltip on the tab label. Loosely based on a patch for galeon2 by Tommi Komulainen (attached to bug 64737).
* *** empty log message ***Marco Pesenti Gritti2003-05-112-0/+173
|
* UpdateMarco Pesenti Gritti2003-05-112-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-11 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-action.c: * lib/egg/eggseparatortoolitem.c: * lib/egg/eggtoggletoolbutton.c: * lib/egg/eggtoolbar.c: * lib/egg/eggtoolbutton.c: * lib/egg/eggtoolitem.c: * lib/egg/eggtoolitem.h: Update * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-export.h: Export bookmarks in an rdf format (RSS was perfect, so I just used it instead of inventing a new one). This is useful to ensure compatibility in case of database formats changes. It will be used also as import format for ephy. Also I think it can be easily displayed, need to talk with Edd about the css url though. Thanks to Edd Dumbill for the help with this.
* Small cleanup.Xan Lopez2003-05-111-46/+51
| | | | Small cleanup.
* Alphabetical sort of bookmarks menu elements, fixes #111315. Also createXan Lopez2003-05-113-19/+120
| | | | | Alphabetical sort of bookmarks menu elements, fixes #111315. Also create ephy-node-common.h with some general enums.
* Use sys language as defaultMarco Pesenti Gritti2003-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | 2003-05-10 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: Use sys language as default * data/glade/prefs-dialog.glade: Put back stuff I accidentally removed. * data/glade/print.glade: Set it has hidden in glade, so we can set position before it's showed. * embed/mozilla/mozilla-notifiers.cpp: * src/prefs-dialog.c: Add system language
* Implement security page. Remove some useless hidden prefs in the process.Marco Pesenti Gritti2003-05-102-1/+14
| | | | | | | | | | | | | | 2003-05-10 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: * src/language-editor.h: * src/prefs-dialog.c: Implement security page. Remove some useless hidden prefs in the process.
* *** empty log message ***Marco Pesenti Gritti2003-05-101-58/+0
|
* Rework prefs dialog ui a bit. Remove jumpto and tabbed_popups prefsMarco Pesenti Gritti2003-05-109-1202/+722
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-10 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * lib/ephy-prefs.h: * src/Makefile.am: * src/ephy-shell.c: (ephy_shell_new_window_cb): * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/prefs-dialog.c: (prefs_dialog_get_type), (prefs_dialog_new), (prefs_dialog_show_help), (setup_font_menu), (save_font_menu), (font_entry_changed_cb), (attach_font_signal), (attach_fonts_signals), (size_spinbutton_changed_cb), (attach_size_controls_signals), (setup_size_control), (setup_size_controls), (setup_fonts), (default_charset_menu_changed_cb), (find_charset_in_list_cmp), (create_default_charset_menu), (general_prefs_new_language_menu), (language_menu_changed_cb), (create_language_menu), (set_homepage_entry), (prefs_dialog_init), (prefs_dialog_response_cb), (prefs_clear_disk_cache_button_clicked_cb), (fonts_language_optionmenu_changed_cb), (prefs_homepage_current_button_clicked_cb), (prefs_homepage_blank_button_clicked_cb), (fill_language_editor), (language_dialog_changed_cb), (prefs_language_more_button_clicked_cb): * src/prefs-dialog.h: * src/window-commands.c: (window_cmd_edit_prefs): Rework prefs dialog ui a bit. Remove jumpto and tabbed_popups prefs (jumpto is still in the schemas. Remove the crazy page by page separation in the code.
* Share signal emission for all dom mouse events, so they dont go out ofMarco Pesenti Gritti2003-05-101-153/+123
| | | | | | | | | | | | | | | | 2003-05-10 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed.cpp: Share signal emission for all dom mouse events, so they dont go out of sync. * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb), (ephy_tab_dom_mouse_down_cb), (ephy_tab_security_change_cb), (ephy_tab_init): Take middle click actions on click instead of on mouse down. Cleanups.
* Fix 64 bit problems. Patch from katzj@redhat.com.Christopher Blizzard2003-05-101-2/+2
| | | | | | | | | | 2003-05-09 Christopher Blizzard <blizzard@redhat.com> * src/ephy-navigation-action.c (activate_up_menu_item_cb): * src/ephy-navigation-action.c (activate_back_or_forward_menu_item_cb): * lib/eel-gconf-extensions.c (ephy_notification_add): Fix 64 bit problems. Patch from katzj@redhat.com.
* Remove unused varMarco Pesenti Gritti2003-05-101-1/+0
| | | | | | | | 2003-05-10 Marco Pesenti Gritti <marco@it.gnome.org> * src/prefs-dialog.c: (prefs_dialog_show_help): Remove unused var
* Don't show broken sub-menus for topics that have no children in theLee Willis2003-05-101-0/+12
| | | | | | | | | | | 2003-05-07 Lee Willis <lwillis@plus.net> * src/bookmarks/ephy-topic-action.c: Don't show broken sub-menus for topics that have no children in the bookmark toolbar. Follow IE behaviour and show an insensitive "Empty" entry
* 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.
* Don't set an icon unless their is a favicon. Append a colon onto the labelDavid Adam Bordoley2003-05-091-7/+14
| | | | | | | | | | | 2003-05-08 David Adam Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_icon), (ephy_bookmark_action_sync_label): Don't set an icon unless their is a favicon. Append a colon onto the label of smartbookmarks.
* s/location/address. Fix up mnemonic collisions in the print dialog. MarkDavid Adam Bordoley2003-05-095-23/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-096-71/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Implement the EPHY_NEW_TAB_APPEND_AFTER flag.Christian Persch2003-05-066-8/+138
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-05 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * src/ephy-shell.c: * src/ephy-shell.h: (ephy_shell_new_tab): Implement the EPHY_NEW_TAB_APPEND_AFTER flag. * src/ephy-window.c: * src/ephy-window.h: (ephy_window_add_tab): Changed parameter (gboolean) groupde to (gint) position, to support specifying the position in the notebook to insert the new tab into. * src/ephy-shell.c: (ephy_shell_new_window_cb): * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix callers of ephy_window_add_tab for new parameter. * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_init), (ephy_notebook_insert_page): Implement drag-and-drop of links to tabs.
* Fix memory leak while saving bookmarks, and performance problem duringOsma Ahvenlampi2003-05-064-2/+12
| | | | | | | | | | | | 2003-05-04 Osma Ahvenlampi <oa@iki.fi> * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-new-bookmark.c: Fix memory leak while saving bookmarks, and performance problem during import.
* Better sensitivity updates for historyMarco Pesenti Gritti2003-05-063-66/+141
| | | | | | | | | | | | | | | | | | 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
* If there is only one "toolbar" make it non-removable.David Adam Bordoley2003-05-063-5/+57
| | | | | | | | | | | | | | | | | | | | | | | 2003-05-05 David Adam Bordoley <bordoley@msu.edu> * src/toolbar.c: (update_toolbar_remove_flag), (toolbar_set_window): If there is only one "toolbar" make it non-removable. * src/bookmarks/ephy-bookmarks.c: (default_bookmarks []), (default_topics []), (ephy_bookmarks_init_defaults): Make the default topic similar to safari's. Mark the default google smartbookmark for translation and include a comment instructing translators how to properly translate it. Add the google smartbookmark to the bookmarks bar by default. * src/bookmarks/ephy-topic-action.c: (create_tool_item): Change the space between the topic and it arrow to 3px. 6px seemed like too much.
* Update (removing toolbars with context menu works again).Marco Pesenti Gritti2003-05-061-15/+43
| | | | | | | | | | | | | | | | | | 2003-05-05 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbar-editor.c: * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: Update (removing toolbars with context menu works again). * src/window-commands.c: (toolbar_editor_help_cb), (window_cmd_edit_toolbar): Build the tbe dialog, update for new egg api. Fix position of new toolbars to be before bookmarks toolbar.
* 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.
* Use uri as title when the page is untitled.Christian Persch2003-05-051-1/+21
| | | | | | | | 2003-05-04 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * src/ephy-tab.c: (ephy_tab_title_cb): Use uri as title when the page is untitled.
* ctrl+u view sourceMarco Pesenti Gritti2003-05-051-1/+1
| | | | | | | | 2003-05-04 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: ctrl+u view source
* Hide view menus in the xml, not working.Marco Pesenti Gritti2003-05-041-0/+5
| | | | | | | | | | | | | 2003-05-03 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-bookmark-editor-ui.xml.in: * data/ui/epiphany-history-window-ui.xml.in: Hide view menus in the xml, not working. * src/window-commands.c: (toolbar_editor_destroy_cb): Update ui after tb editing, so location is not lost.
* Search for ui files in the share dirMarco Pesenti Gritti2003-05-043-8/+18
| | | | | | | | | | | | | | | | | 2003-05-03 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_bonobo_control_activate_cb): Search for ui files in the share dir * src/statusbar.c: (statusbar_set_message): Strip \n \r from messages * src/toolbar.c: Allow reorder of bookmarks
* Do not assert on corrupted xml, just warn. Put back views shadows for now.Marco Pesenti Gritti2003-05-033-1/+5
| | | | | | | | | | | | | 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.
* Remove old unused sidebar and toolbar config stuff.David Bordoley2003-05-011-1/+0
| | | | | | | | | | | 2003-04-30 David Bordoley <bordoley@msu.edu> * data/epiphany.schemas.in: * embed/ephy-embed-types.h: * lib/ephy-prefs.h: * src/ephy-window.c: Remove old unused sidebar and toolbar config stuff.
* Don't set/save window position if it is maximized.David Bordoley2003-05-012-5/+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.
* src/ephy-window.c data/epiphany.schemas.inDavid Bordoley2003-04-301-29/+12
| | | | | | | | | | | | | | | 2003-04-30 David Bordoley <bordoley@msu.edu> * src/ephy-window.c * data/epiphany.schemas.in * lib/ephy-prefs.h: Remove fullscreen-only prefs for which UI items to display. Now fullscreen respects the "View" menu toggles for UI items - but the menu bar is not shown in fullscreen view. See bug 111747 for details. Patch from Lee Willis <lwillis@plus.net>
* Remove unused variables.David Bordoley2003-04-301-3/+0
| | | | | | | | | | 2003-04-30 David Bordoley <bordoley@msu.edu> * src/session.c: (parse_embed): Remove unused variables. Patch from Christian Persch <chpe+gnomebugz@stud.uni-saarland.de>
* Use ephy_shell_new_tab instead of doing exactly the same work itself.David Bordoley2003-04-301-8/+4
| | | | | | | | | | | 2003-04-30 David Bordoley <bordoley@msu.edu> * src/session.c: (parse_embed): Use ephy_shell_new_tab instead of doing exactly the same work itself. Patch from Christian Persch <chpe+gnomebugz@stud.uni-saarland.de>
* Respect all the new_tab used flags, drop unused ones. Patch by ChristianXan Lopez2003-04-304-15/+17
| | | | | 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-302-4/+6
| | | | | | | | | | | | | | | | 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.
* We dont need a _remove api, unrefing the node will work better. Try toMarco Pesenti Gritti2003-04-305-7/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove add_icon_column func and add the functionality to the normalMarco Pesenti Gritti2003-04-293-30/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Check if the bookmarks bar already contains the dragged bm or topic beforeDavid Bordoley2003-04-291-5/+10
| | | | | | | | | 2003-04-28 David Bordoley <bordoley@msu.edu> * src/ephy-toolbars-model.c: (impl_add_item): Check if the bookmarks bar already contains the dragged bm or topic before adding it to the toolbar.
* Move notebook in src/. An abstract notebook is an overkill.Marco Pesenti Gritti2003-04-294-0/+1028
| | | | | | | | | | | | | | | | | 2003-04-28 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-notebook.c: * lib/widgets/ephy-notebook.h: * src/Makefile.am: * src/ephy-notebook.c: (ephy_notebook_get_type), * src/ephy-notebook.h: Move notebook in src/. An abstract notebook is an overkill. * src/toolbar.c: (ensure_bookmark_action): Fix compilation issue on 2.95
* Consistent use of the term "Bookmarks Bar" in the code, ui and schema.David Bordoley2003-04-287-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Actually pass a parent to history/bookmarks window, where to open the url.Marco Pesenti Gritti2003-04-284-19/+35
| | | | | | | | | | | | | | | 2003-04-28 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_open_bookmarks_editor): * src/ephy-shell.c: (ephy_shell_show_bookmarks_editor), (ephy_shell_show_history_window): * src/ephy-shell.h: * src/window-commands.c: (window_cmd_go_bookmarks), (window_cmd_go_history): Actually pass a parent to history/bookmarks window, where to open the url. Bad who regressed this ;)
* Sync toolbar on bookmark properties changes.Marco Pesenti Gritti2003-04-282-29/+99
| | | | | | | | | | | | | | | 2003-04-28 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (sync_bookmark_properties), (bookmarks_child_changed_cb), (ephy_bookmark_action_init), (ephy_bookmark_action_new): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (sync_topic_properties), (topic_child_changed_cb), (ephy_topic_action_init), (ephy_topic_action_new): Sync toolbar on bookmark properties changes.
* Save the position of windows on the screen, and checks if the position isDavid Bordoley2003-04-281-1/+1
| | | | | | | | | | | | | | | | 2003-04-27 David Bordoley <bordoley@msu.edu> * lib/ephy-state.c: (ephy_state_window_set_position), (ephy_state_window_save_position), (window_configure_event_cb), (window_state_event_cb), (ephy_state_add_window): Save the position of windows on the screen, and checks if the position is off the screen. * src/toolbar.c: (init_bookmarks_toolbar): Pass arguments to egg_toolbars_model_set_flags in the correct order.
* Make the view paned and monitor the state.David Bordoley2003-04-281-12/+15
| | | | | | | | 2003-04-27 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Make the view paned and monitor the state.
* Emit removed signal after the node is actually removed. This could causeMarco Pesenti Gritti2003-04-281-47/+73
| | | | | | | | | | | | | | 2003-04-27 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-node.c: (real_remove_child): Emit removed signal after the node is actually removed. This could cause bugs, test test test ;) * src/bookmarks/ephy-bookmarks.c: (topics_removed_cb): Update topics list and uncategorized folder on topics removal.
* Update sensitivity on selection changes. Thanks xan to find this one.Marco Pesenti Gritti2003-04-282-6/+57
| | | | | | | | | | | | | | | | 2003-04-27 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (view_selection_changed_cb), (ephy_bookmarks_editor_construct): Update sensitivity on selection changes. Thanks xan to find this one. * src/toolbar.c: (remove_action), (topic_remove_cb), (bookmark_remove_cb): Get back bookmarks/toolbar sync on bookmark removal.
* Change the way sensitivity is updated once again. We need to test thisMarco Pesenti Gritti2003-04-271-16/+53
| | | | | | | | | | | | | | | 2003-04-27 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (view_focus_cb), (add_focus_monitor), (remove_focus_monitor), (ephy_bookmarks_editor_show_popup_cb), (ephy_bookmarks_editor_dispose), (keyword_node_show_popup_cb), (search_selection_changed_cb), (build_search_box), (ephy_bookmarks_editor_construct): Change the way sensitivity is updated once again. We need to test this really really well and then port it to the history dialog.
* updateMarco Pesenti Gritti2003-04-274-42/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-27 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: * lib/egg/eggtoolbar.c: update * src/ephy-shell.c: (save_toolbars), (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (impl_add_item), (ephy_toolbars_model_class_init): * src/ephy-toolbars-model.h: * src/toolbar.c: (action_request_cb), (init_bookmarks_toolbar), (toolbar_set_window): Load the toolbars model in EphyShell so bookmarks editor alone can use it. Update the actions on a new editable toolbar signal, actions are per toolbar, not per model.
* Update.David Bordoley2003-04-271-1/+20
| | | | | | | | | | | | | | | 2003-04-27 David Bordoley <bordoley@msu.edu> * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbar-editor.c: * lib/egg/egg-toolbar-editor.h: Update. * src/window-commands.c: (toolbar_editor_help_cb), (window_cmd_edit_toolbar): Add and help button.
* Use epiphany logo in about window.Xan Lopez2003-04-271-1/+11
| | | | Use epiphany logo in about window.
* Update.Marco Pesenti Gritti2003-04-265-40/+207
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Hookup to the response signal instead of using gtk_dialog_run. Prevents usDavid Bordoley2003-04-266-52/+67
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Get back toolbar editing functionalities. More work on the bookmarksMarco Pesenti Gritti2003-04-258-63/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-25 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-toolbar.xml.in: * data/ui/epiphany-ui.xml.in: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_hide), (egg_editable_toolbar_set_drag_dest): * lib/egg/egg-editable-toolbar.h: * src/bookmarks/ephy-topic-action.c: (create_tool_item): * src/ephy-shell.c: (save_toolbars), (ephy_shell_finalize), (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (impl_add_item), (ephy_toolbars_model_class_init): * src/ephy-toolbars-model.h: * src/ephy-window.c: (ephy_window_set_chrome): * src/toolbar.c: (ensure_bookmark_action), (toolbar_ensure_action), (action_added_cb), (init_bookmarks_toolbar), (toolbar_set_window), (toolbar_new), (toolbar_set_visibility): * src/toolbar.h: * src/window-commands.c: (toolbar_editor_destroy_cb), (window_cmd_edit_toolbar): Get back toolbar editing functionalities. More work on the bookmarks toolbars implementation. The toolbars context menus are regressed but it's not my fault :/ The signal on EggToolbar is borked.
* Connect to the "toggled" signal instead of "button_press_event" so thatDavid Bordoley2003-04-251-12/+8
| | | | | | | | | | 2003-04-25 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-topic-action.c: (button_toggled_cb), (connect_proxy): Connect to the "toggled" signal instead of "button_press_event" so that keynav works.
* Commented out the include egg_toolbars_group.h so that it builds.David Bordoley2003-04-251-1/+1
| | | | | | | | | 2003-04-25 David Bordoley <bordoley@msu.edu> * src/toolbar.c: Commented out the include egg_toolbars_group.h so that it builds.
* *** empty log message ***Marco Pesenti Gritti2003-04-252-0/+203
|
* Update from eggMarco Pesenti Gritti2003-04-257-119/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-25 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-toolbar.xml.in: * lib/egg/Makefile.am: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-menu-merge.c: * lib/egg/egg-radio-action.c: * lib/egg/eggmarshalers.c: * lib/egg/eggmarshalers.h: * lib/egg/eggmarshalers.list: * lib/egg/eggtoggletoolbutton.c: * lib/egg/eggtoggletoolbutton.h: * lib/egg/eggtoolbar.c: * lib/egg/eggtoolbar.h: * lib/egg/eggtoolbutton.c: * lib/egg/eggtoolbutton.h: * lib/egg/eggtoolitem.c: * lib/egg/eggtoolitem.h: * lib/egg/eggtreemodelfilter.c: Update from egg * src/Makefile.am: * src/ephy-location-action.c: (create_tool_item): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_get_bookmarks), * src/ephy-shell.h: * src/ephy-window.c: (setup_window), (ephy_window_finalize), (ephy_window_set_chrome): * src/toolbar.c: (toolbar_class_init), (toolbar_set_window), (topic_remove_cb), (bookmark_remove_cb), (toolbar_init), (toolbar_new): * src/window-commands.c: (window_cmd_edit_toolbar): Use the new toolbar editor api. This is incomplete, if you use bookmarks toolbars please still do not update.
* Always save a page's content if there i content to be saved. Remove theDavid Bordoley2003-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | 2003-04-23 David Bordoley <bordoley@msu.edu> * embed/ephy-embed-single.c: (ephy_embed_single_show_file_picker): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: * embed/mozilla/FilePicker.cpp: (GFilePicker::GFilePicker), (GFilePicker::Show), (GFilePicker::HandleFilePickerR): * embed/mozilla/FilePicker.h: * embed/mozilla/mozilla-embed-persist.cpp: (impl_save): * embed/mozilla/mozilla-embed-single.cpp: (impl_show_file_picker): * src/window-commands.c: (window_cmd_file_open): Always save a page's content if there i content to be saved. Remove the checkbox from the save as dialog. Patch from Christian Persch <chpe+gnomebugz@stud.uni-saarland.de>
* Set spacing between a topic and the arrow to 6px.David Bordoley2003-04-241-1/+1
| | | | | | | | 2003-04-23 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-topic-action.c: (create_tool_item): Set spacing between a topic and the arrow to 6px.
* Add a down arrow to topics in bm toolbars.David Bordoley2003-04-241-0/+5
| | | | | | | | 2003-04-23 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-topic-action.c: (create_tool_item): Add a down arrow to topics in bm toolbars.
* Remove --geometry option, we weren't respecting it anyway (this patchXan Lopez2003-04-243-10/+1
| | | | | | Remove --geometry option, we weren't respecting it anyway (this patch patronized by marco's "DropDropDrop" project). Fix Leak.
* Use gettext instead of gettext_noop call for g_object_set's thirdChristian Neumair2003-04-241-4/+4
| | | | | | | * src/ephy-window.c (setup_window): Use gettext instead of gettext_noop call for g_object_set's third argument. Makes some i18n magic in tbe dialog actually visible.
* Use delete key to remove history items.David Bordoley2003-04-222-6/+42
| | | | | | | | | | | | | | | 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.
* Revert the bookmarks toolbar implementation. We really need to integrateMarco Pesenti Gritti2003-04-224-430/+0
| | | | | | | | | | | | | 2003-04-21 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-ui.xml.in: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmarks-toolbar.c: * src/bookmarks/ephy-bookmarks-toolbar.h: * src/ephy-window.c: (ephy_window_init), (ephy_window_set_chrome): Revert the bookmarks toolbar implementation. We really need to integrate it with normal toolbars editor code.
* Added tooltips to all the actions.David Bordoley2003-04-212-35/+66
| | | | | | | | | 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-213-36/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* *** empty log message ***Marco Pesenti Gritti2003-04-211-1/+0
|
* Remove unused filesMarco Pesenti Gritti2003-04-213-351/+0
| | | | | | | | | | 2003-04-20 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/Makefile.am: * src/bookmarks/ephy-keywords-entry.c: * src/bookmarks/ephy-keywords-entry.h: Remove unused files
* Allow to add topics, update when changing bookmarks.Marco Pesenti Gritti2003-04-212-16/+163
| | | | | | | | | | | | | | 2003-04-20 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-bookmark-editor-ui.xml.in: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_the_toolbar), (cmd_copy), (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks-toolbar.c: (bookmarks_changed_cb), (ephy_bookmarks_toolbar_init), (ephy_bookmarks_toolbar_clean), (go_location_cb), (add_toolitem), (ephy_bookmarks_toolbar_rebuild), (ephy_bookmarks_toolbar_update): Allow to add topics, update when changing bookmarks.
* Use g_list_free instead of g_free.Xan Lopez2003-04-212-2/+2
| | | | Use g_list_free instead of g_free.
* *** empty log message ***Marco Pesenti Gritti2003-04-202-0/+341
|
* UpdateMarco Pesenti Gritti2003-04-206-29/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ....
* 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.
* Update tabs menu sensitivity when switching.Marco Pesenti Gritti2003-04-201-0/+4
| | | | | | | | | 2003-04-20 Marco Pesenti Gritti <marco@it.gnome.org> * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right): Update tabs menu sensitivity when switching.
* Update Tabs and Zoom menus sensitivityMarco Pesenti Gritti2003-04-201-0/+48
| | | | | | | | | | 2003-04-19 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (setup_window), (update_tabs), (ephy_window_update_control), (ephy_window_update_all_controls), (ephy_window_set_zoom): Update Tabs and Zoom menus sensitivity
* Add copy to the bookmark context menu.David Bordoley2003-04-202-13/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* Update Edit menu sensitivityMarco Pesenti Gritti2003-04-201-1/+61
| | | | | | | | 2003-04-19 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-window.c: (menu_activate_cb), (setup_window): Update Edit menu sensitivity
* Open view source and copy page next to the current tab, not at the endXan Lopez2003-04-191-3/+9
| | | | | Open view source and copy page next to the current tab, not at the end (this was actually a multi-liner patch, sorry marco :P).
* Implement clear history. Put favicons near sites names.Marco Pesenti Gritti2003-04-192-0/+29
| | | | | | | | | | | | | 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-182-15/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1812-1676/+835
| | | | | | | | | | | | | | | | | | | | | | | 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.
* *** empty log message ***Marco Pesenti Gritti2003-04-171-0/+3
|
* New abstracted implementations. Nicer and will be useful for historyMarco Pesenti Gritti2003-04-1710-2008/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-17 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-node.h: New abstracted implementations. Nicer and will be useful for history dialog interface rehash to make it more consistent with bookmarks (this was the hard part of the work). * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmarks-editor.c: Use them. * src/history-dialog.c: Temp hack to keep the thing building until I actually rewrite history dialog. 2
* Moved the new_window_orphan signal to EphyEmbedSingle.Dave Camp2003-04-171-1/+1
| | | | | | | | | 2003-04-16 Dave Camp <dave@ximian.com> * embed/ephy-embed-shell.c: (ephy_embed_shell_class_init): * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * src/ephy-shell.c: (ephy_shell_init): Moved the new_window_orphan signal to EphyEmbedSingle.
* Add a way to decide if the view is target. The impl is an hack but we keepMarco Pesenti Gritti2003-04-173-20/+58
| | | | | | | | | | | | | | | | | 2003-04-16 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_rename), (cmd_delete), (cmd_select_all), (ephy_bookmarks_editor_update_menu), (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb), (menu_activate_cb): * src/bookmarks/ephy-node-view.c: (ephy_node_view_key_press_cb), (ephy_node_view_button_press_cb), (ephy_node_view_construct), (ephy_node_view_is_editing), (ephy_node_view_is_target): * src/bookmarks/ephy-node-view.h: Add a way to decide if the view is target. The impl is an hack but we keep ephy-bookmarks clean. The best we can do right now.
* Dont set icon on bookmarks when the url is NULL ! Fix a bad crasher.Marco Pesenti Gritti2003-04-161-7/+8
| | | | | | | | | 2003-04-15 Marco Pesenti Gritti <marco@it.gnome.org> * src/ephy-tab.c: (ephy_tab_set_favicon): Dont set icon on bookmarks when the url is NULL ! Fix a bad crasher.
* "Intelligent" selection in node removal.Xan Lopez2003-04-161-0/+33
| | | | "Intelligent" selection in node removal.
* Set sizing of the icon column to GTK_TREE_VIEW_COLUMN_GROW_ONLY.David Bordoley2003-04-161-1/+1
| | | | | | | | | 2003-04-15 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-node-view.c: (ephy_node_view_add_icon_column): Set sizing of the icon column to GTK_TREE_VIEW_COLUMN_GROW_ONLY.
* Fix context menu selection mess, tricky, tricky, tricky. It's all krisMarco Pesenti Gritti2003-04-162-47/+83
| | | | | | | | | | | | | | | | 2003-04-15 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb), (menu_activate_cb): * src/bookmarks/ephy-node-view.c: (ephy_node_view_selection_changed_cb), (get_node_from_path), (ephy_node_view_button_press_cb), (ephy_node_view_init), (ephy_node_view_get_selection), (ephy_node_view_has_selection): Fix context menu selection mess, tricky, tricky, tricky. It's all kris fault.
* *src/bookmarks/ephy-bookmark-editor.c:David Bordoley2003-04-161-0/+1
| | | | | | | | | 2003-04-15 David Bordoley <bordoley@msu.edu> *src/bookmarks/ephy-bookmark-editor.c: (ephy_bookmarks_editor_update_menu): Paste = False when not in an editable.
* *src/bookmarks/ephy-bookmark-editor.c:David Bordoley2003-04-161-6/+9
| | | | | | | | | | 2003-04-15 David Bordoley <bordoley@msu.edu> *src/bookmarks/ephy-bookmark-editor.c: (ephy_bookmarks_editor_update_menu): Fix select all for the bmview. Paste only sensitive when in an editable.
* Hidden pref for middle click open url. Default off.Marco Pesenti Gritti2003-04-154-73/+63
| | | | | | | | | | | | | | | | | | | | | | 2003-04-15 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_dom_mouse_down_cb): Hidden pref for middle click open url. Default off. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (ephy_bookmarks_editor_dispose), (keyword_node_selected_cb), (keyword_node_show_popup_cb), (build_search_box), (menu_activate_cb), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-node-view.c: (cell_renderer_edited), (ephy_node_view_init), (ephy_node_view_edit), (ephy_node_view_is_editing): * src/bookmarks/ephy-node-view.h: Rework sensitivity updates and complete them with cut/copy/select all
* Added a confirmation dialog for clearing history.David Bordoley2003-04-151-4/+68
| | | | | | | | | | | 2003-04-15 David Bordoley <bordoley@msu.edu> * src/history-dialog.c: (history_clear_button_clicked_cb), (clear_history_dialog_response_cb): Added a confirmation dialog for clearing history. Patch from Jon Svendsen <jon-sven@frisurf.no>
* Remove some api that was just silly wrappers. Return GtkTreeViewColumn onMarco Pesenti Gritti2003-04-159-46/+37
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-15 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_select_all), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-node-view.c: (ephy_node_view_add_column), (ephy_node_view_remove): * src/bookmarks/ephy-node-view.h: Remove some api that was just silly wrappers. Return GtkTreeViewColumn on add_column. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-shell.c: (ephy_shell_new_window_cb), (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_add_tab): * src/ephy-window.h: * src/session.c: (parse_embed): Ever open tab as last on File->New tab and similars.
* Declare all the variables before the first instruction. Fixes aVincent Untz2003-04-153-12/+73
| | | | | | | | | 2003-04-13 Vincent Untz <vincent@vuntz.net> * src/prefs-dialog.c: (prefs_dialog_show_help): Declare all the variables before the first instruction. Fixes a compilation problem under gcc 2.95.
* Added some help buttons to the new bookmark, and properties dialogs.David Bordoley2003-04-152-2/+24
| | | | | | | | | | | | 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.
* s/galeon/epiphany ;)Marco Pesenti Gritti2003-04-152-8/+101
| | | | | | | | | | | | | | | | | | 2003-04-14 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: s/galeon/epiphany ;) * src/bookmarks/ephy-bookmarks-editor.c: (reset_search_entry), (keyword_node_selected_cb), (search_entry_changed_cb): * src/bookmarks/ephy-topic-action.c: (build_bookmarks_menu), (build_topics_menu), (build_menu), (button_press_cb): Evil bookmarks menu is back in toolbars eeeeek. And no you cant have more than one level ... too bad. Fix search/node selection interaction.
* Add a help menu and associated "Contents" and "About" menu entries. Add aDavid Bordoley2003-04-144-10/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-14 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-bookmark-editor-ui.xml.in: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_help_contents), (ephy_bookmarks_editor_update_menu), (ephy_bookmarks_editor_dispose), (ephy_bookmarks_editor_node_selected_cb), (keyword_node_selected_cb), (build_search_box): Add a help menu and associated "Contents" and "About" menu entries. Add a focus_monitor to the search entry. Only pass an editor to update_menu. Update the sensitivity and label of "Open in New Window/Tab(s)" based on focus and selection. Translators, if this causes problems with mneumonics, please give suggestions for other letters to use. * src/window-commands.c: (window_cmd_help_about): * src/window-commands.h: Take a GtkWidget instead of an EphyWindow as the callback data so that the about function can be used in the bme. * src/ephy-window.c: (setup_window): Setup short toolbar labels for "Bookmark Page...", "Save As...", "Print...", and "Open..." so that these items don't have elipses on the toolbar.
* Fix leaks. Dont truncate utf8 strings.Marco Pesenti Gritti2003-04-141-15/+14
| | | | | | | | | | | | 2003-04-13 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_finalize), (ephy_tab_set_favicon), (ephy_tab_favicon_cache_changed_cb), (ephy_tab_link_message_cb), (ephy_tab_location_cb), (ephy_tab_get_status_message): Fix leaks. Dont truncate utf8 strings.
* Install the script.Marco Pesenti Gritti2003-04-141-0/+1
| | | | | | | | | | | 2003-04-13 Marco Pesenti Gritti <marco@it.gnome.org> * NEWS: * src/Makefile.am: Install the script. Release 0.5.0
* Use google feel like for keywordsMarco Pesenti Gritti2003-04-132-3/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-13 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/default-prefs.js: Use google feel like for keywords * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_system_init): * lib/ephy-node.h: Pass the reserved ids num * lib/ephy-types.h: * src/ephy-shell.c: (ephy_shell_init): Increase reserved ids to 100. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults), (ephy_bookmarks_load), (ephy_bookmarks_init): Default keywords and bookmarks (only google smb). Keywords are probably quite sucky, well it's a start ;) Adding more bookmarks could be a i18n pain. We should be ready for 0.5.0 now. Apologies to translators for the added string, but this was really necessary for the bookmarks system to make sense :/
* *** empty log message ***Marco Pesenti Gritti2003-04-133-3/+24
|
* We cant assume the favicon is already in the cache.Marco Pesenti Gritti2003-04-091-16/+20
| | | | | | | | 2003-04-09 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-topic-action.c: (build_topics_menu): We cant assume the favicon is already in the cache.
* Allow to launch the BME alone, rework some CORBA code, add a .desktop fileXan Lopez2003-04-096-62/+85
| | | | | Allow to launch the BME alone, rework some CORBA code, add a .desktop file for the BME. Fixes #102477.
* Add funcs to add/remove focus monitor. Make the code nicer and fix warningMarco Pesenti Gritti2003-04-091-67/+78
| | | | | | | | | | | | 2003-04-09 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (add_focus_monitor), (remove_focus_monitor), (ephy_bookmarks_editor_dispose), (ephy_bookmarks_editor_node_selected_cb), (ephy_bookmarks_editor_construct): Add funcs to add/remove focus monitor. Make the code nicer and fix warning on destroy.
* If there exist a favicon for the bookmark, add it to the menu.Johan Dahlin2003-04-091-1/+20
| | | | | * src/bookmarks/ephy-topic-action.c (build_topics_menu): If there exist a favicon for the bookmark, add it to the menu.
* Update.Marco Pesenti Gritti2003-04-096-10/+117
| | | | | | | | | | | | | | | | | | | | | | | | 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)
* Move and autoupdate these from egg.Marco Pesenti Gritti2003-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-07 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/eggtreemodelfilter.c: * lib/widgets/eggtreemodelfilter.h: * lib/widgets/eggtreemultidnd.c: * lib/widgets/eggtreemultidnd.h: * lib/egg/Makefile.am: * lib/egg/eggtreemodelfilter.c: * lib/egg/eggtreemodelfilter.h: * lib/egg/eggtreemultidnd.c: * lib/egg/eggtreemultidnd.h: * lib/egg/update-from-egg.sh: Move and autoupdate these from egg. * lib/ephy-dnd.c: * lib/ephy-dnd.h: * src/ephy-favicon-action.c: Remove an unnecessary param in ephydnd API. * lib/widgets/ephy-tree-model-sort.c: Use the real multidnd api. 2
* Typo. Drag url, not title.Christian Persch2003-04-071-1/+1
| | | | | | | | 2003-04-06 Christian Persch <chpe@stud.uni-saarland.de> * src/history-dialog.c: (history_dialog_setup_view): Typo. Drag url, not title.
* Just show the new bookmark dialog, don't go modal.David Bordoley2003-04-066-9/+15
| | | | | | | | | | | | | | | | | | | | 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.
* The callback return a boolean !Marco Pesenti Gritti2003-04-051-1/+3
| | | | | | | | 2003-04-05 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (view_focus_cb): The callback return a boolean !
* Rewrite sensitivity code. Should take in account focus now.Marco Pesenti Gritti2003-04-055-95/+107
| | | | | | | | | | | | | | | | | | | 2003-04-05 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (ephy_bookmarks_editor_node_selected_cb), (view_focus_cb), (keyword_node_selected_cb), (build_search_box), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_add_keyword): * src/bookmarks/ephy-node-view.c: (ephy_node_view_has_selection): * src/bookmarks/ephy-node-view.h: Rewrite sensitivity code. Should take in account focus now. * src/ephy-window.c: (ephy_window_show): Remove some unused code.
* Have a decent size for popups that doesnt specify it. Do not allow to dragMarco Pesenti Gritti2003-04-053-6/+39
| | | | | | | | | | | | 2003-04-05 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-node-view.c: (drag_motion_cb), (drag_drop_cb), (drag_data_received_cb): * src/ephy-window.c: (ephy_window_show): Have a decent size for popups that doesnt specify it. Do not allow to drag on special topics.
* Set drag source on the event box, to avoid conflicts with toolbars dragChristian Persch2003-04-052-31/+37
| | | | | | | | | 2003-04-05 Christian Persch <chpe@stud.uni-saarland.de> * src/ephy-favicon-action.c: (create_tool_item), (connect_proxy): Set drag source on the event box, to avoid conflicts with toolbars drag and drop.
* Use EggEditableToolbar. Update to latest versions (not EggMenuMerge, weMarco Pesenti Gritti2003-04-024-28/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-01 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/Makefile.am: * lib/egg/egg-accel-dialog.c: * lib/egg/egg-action-group.c: * lib/egg/egg-action.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-radio-action.c: * lib/egg/egg-toggle-action.c: * lib/egg/egg-toolbars-group.c: * lib/egg/egg-toolbars-group.h: * lib/egg/eggintl.h: * lib/egg/eggtoolbar.c: * lib/egg/eggtoolbutton.c: * lib/egg/update-from-egg.sh: Use EggEditableToolbar. Update to latest versions (not EggMenuMerge, we still need patches). WARNING: it's no more possible to drag bookmarks in the toolbar, if you depend on that feature please wait the weekend to update cvs. * lib/egg/egg-markup.c: * lib/egg/egg-markup.h: Remove, not used. * lib/widgets/Makefile.am: * lib/widgets/ephy-editable-toolbar.c: * lib/widgets/ephy-editable-toolbar.h: * lib/widgets/ephy-toolbars-group.c: * lib/widgets/ephy-toolbars-group.h: Remove. * src/prefs-dialog.c: (prefs_dialog_show_help), (prefs_dialog_response_cb): Fix a warning. * src/toolbar.c: (toolbar_get_type), (toolbar_get_action_name), (toolbar_get_action), (toolbar_class_init), (toolbar_init): * src/toolbar.h: * src/window-commands.c: (window_cmd_edit_toolbar): Update to use the egg api.
* Marco-is-silly-patch. Update to latest version of the favicons patch.Christian Persch2003-04-022-4/+4
| | | | | | | | | | 2003-04-01 Christian Persch <chpe@stud.uni-saarland.de> * src/ephy-tab.c: * src/ephy-tab.h: Marco-is-silly-patch. Update to latest version of the favicons patch.
* Show favicons on tabsChristian Persch2003-04-013-21/+67
| | | | | | | | | | | | | | | 2003-04-01 Christian Persch <chpe@stud.uni-saarland.de> * lib/widgets/ephy-notebook.c: (ephy_notebook_set_page_status), (ephy_notebook_set_page_icon), (tab_build_label): * lib/widgets/ephy-notebook.h: * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_set_favicon), (ephy_tab_favicon_cache_changed_cb), (ephy_tab_favicon_cb), (ephy_tab_location_cb): * src/ephy-tab.h: * src/ephy-window.c: (ephy_window_init): Show favicons on tabs
* Added place holders for help text for preferences dialog added code toPatanjali Somayaji2003-04-012-1/+50
| | | | | | | | | 2003-04-01 Patanjali Somayaji <patanjali@codito.com> * help/C/epiphany.xml: Added place holders for help text for preferences dialog * src/prefs-dialog.c: added code to invoke appropriate help * src/window_commands.c: added documenter credit
* Update to reflect changes in EphyTopicSelector api. Wrap the topicDavid Bordoley2003-03-317-152/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-304-44/+72
| | | | | | | | | | | | | | | | | | 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).
* More sensitive stuff.Xan Lopez2003-03-301-20/+58
| | | | More sensitive stuff.
* Do not update menus on unselect.Xan Lopez2003-03-301-19/+13
| | | | Do not update menus on unselect.
* Add alt+s mneumonic to the search box and activate it.David Bordoley2003-03-301-9/+13
| | | | | | | 2003-03-29 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmarks-editor.c: (build_search_box): Add alt+s mneumonic to the search box and activate it.
* Fix warning.Xan Lopez2003-03-301-0/+2
| | | | Fix warning.
* Make dnd code smarter, so it can support more than just urls types.Marco Pesenti Gritti2003-03-306-40/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-29 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dnd.c: (add_one_node), (ephy_dnd_drag_data_get), (ephy_dnd_node_list_extract_nodes): * lib/ephy-dnd.h: * lib/ephy-marshal.list: * lib/widgets/ephy-tree-model-sort.c: (each_node_get_data_binder), (ephy_tree_model_sort_multi_drag_data_get): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_rename), (cmd_select_all), (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb), (node_dropped_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-node-view.c: (ephy_node_view_class_init), (ephy_node_view_button_press_cb), (ephy_node_view_has_focus), (get_node_from_path), (drag_motion_cb), (drag_drop_cb), (drag_data_received_cb), (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source): * src/bookmarks/ephy-node-view.h: * src/ephy-favicon-action.c: (connect_proxy): * src/history-dialog.c: (history_dialog_setup_view): * src/toolbar.c: (toolbar_get_action_name): Make dnd code smarter, so it can support more than just urls types. Implement drag of bookmarks on topics in bme. What a pain !
* Implement topics menu. TODO: All should generate the crappy bookmarksMarco Pesenti Gritti2003-03-291-14/+75
| | | | | | | | | | | | | | | 2003-03-29 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-topic-action.c: (create_tool_item), (menu_deactivate_cb), (menu_activate_cb), (build_topics_menu), (button_press_cb), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (ephy_topic_action_new): Implement topics menu. TODO: All should generate the crappy bookmarks menu, favicons, topic icon. These are lower priority for me now though.
* Makes Delete and Rename menu entries in the BME unsensitive under theXan Lopez2003-03-291-0/+57
| | | | | | | | Makes Delete and Rename menu entries in the BME unsensitive under the following conditions: - Topic with priority != NORMAL selected => Delete and Rename unsensitive - Node selection bigger than 1 (multiple selection) => Rename unsensitive
* Use the same key_press callback for both the topics and bm's view.David Bordoley2003-03-292-30/+45
| | | | | | | | | | | | | | 2003-03-27 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmarks-editor.c: (key_pressed_cb), (ephy_bookmarks_editor_construct): Use the same key_press callback for both the topics and bm's view. s/bookmarks/title in the bm tree. Remove an unused enum. * src/bookmarks/ephy-topics-selector.c: (topic_key_pressed), (ephy_topics_build_ui): Use space, return and enter to toggle topics in the selector.
* Fix warning.Xan Lopez2003-03-281-1/+1
| | | | Fix warning.
* Reorganize the menus a bit. Unifiy topic/bookmarks rename/delete items.David Bordoley2003-03-274-49/+204
| | | | | | | | | | | | | | | | | | | | | 2003-03-27 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-bookmark-editor-ui.xml.in: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_rename), (cmd_delete), (cmd_cut), (cmd_copy), (cmd_paste), (cmd_select_all), (keyword_node_key_pressed_cb), (keyword_node_show_popup_cb), (ephy_bookmarks_editor_construct): Reorganize the menus a bit. Unifiy topic/bookmarks rename/delete items. Add text editting menu items to the edit menu. Add a topic context menu. * src/bookmarks/ephy-node-view.[c-h]: (ephy_node_view_select_all), (ephy_node_view_has_focus): New functions. * src/bookmarks/ephy-topics-selector.c: (set_sort_column_id), (topic_clicked), (ephy_topics_build_ui): Sort topics case insensitively. Add/remove topics using a single click.
* Added help support, help manual and scrollkeeper updatesPatanjali Somayaji2003-03-271-1/+27
| | | | | | | | | | | | | | | | | | | 2003-03-26 Patanjali Somayaji <patanjali@codito.com> Added help support, help manual and scrollkeeper updates * configure.in (help/Makefile and help/C/Makefile for AC_OUTPUT()) * makefile.am (added "help" to SUBDIRS in Makefile.am) * omf.make (added) * xmldocs.make (added) * omf-install/Makefile.am (added) * help/Makefile.am (added) * help/C/epiphany.xml (manual xml added) * help/C/legal.xml (added) * help/C/epiphany-C.omf (omf file added) * help/C/Makefile.am (added) * help/C/figures/ephy-screenshot.png (added) * src/window-commands.c (added handler code to show manual)
* Make ids privateMarco Pesenti Gritti2003-03-269-102/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-25 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dnd.c: * lib/ephy-dnd.h: Make ids private * lib/widgets/ephy-editable-toolbar.c: (impl_get_action_name), (impl_get_action), (drag_data_received_cb), (setup_toolbar), (setup_item), (ensure_action), (ephy_editable_toolbar_class_init), (update_editor_sheet), (ephy_editable_toolbar_get_action_name), (ephy_editable_toolbar_get_action): * lib/widgets/ephy-editable-toolbar.h: Rework special actions api. * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_init), (ephy_tree_model_sort_set_drag_property), (each_url_get_data_binder), (ephy_tree_model_sort_multi_drag_data_get): * lib/widgets/ephy-tree-model-sort.h: Support nodes dnd. Need more work, see FIXME * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword): * src/bookmarks/ephy-node-view.c: (ephy_node_view_enable_drag_source): * src/bookmarks/ephy-node-view.h: * src/history-dialog.c: (history_dialog_setup_view): * src/toolbar.c: (toolbar_get_action_name), (toolbar_get_action), (toolbar_class_init): Support for topics dnd. The menu is still not implemented but the hard part is done. Cant finish it until the weekend :/
* Fix compilation with -WerrorXan Lopez2003-03-261-0/+2
| | | | Fix compilation with -Werror
* Missing bits from old commit.Xan Lopez2003-03-251-2/+13
| | | | Missing bits from old commit.
* Fix to use the new apiMarco Pesenti Gritti2003-03-251-8/+28
| | | | | | | | | | 2003-03-25 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * src/bookmarks/ephy-bookmarks-import.c: (set_folder), (mozilla_parse_bookmarks), (xbel_parse_folder): Fix to use the new api
* Insensitive case ordering of strings.Xan Lopez2003-03-251-6/+7
| | | | Insensitive case ordering of strings.
* 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-258-25/+41
| | | | | | | | | | | | | | | | | | 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-256-7/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* s/EPHY_NODE_KEYWORD_PROP_ALL_PRIORITY/EPHY_NODE_KEYWORD_PROP_PRIORITY/ AddXan Lopez2003-03-255-14/+29
| | | | | | | s/EPHY_NODE_KEYWORD_PROP_ALL_PRIORITY/EPHY_NODE_KEYWORD_PROP_PRIORITY/ Add a "Most Visited" topic, featuring the 10 most visited bookmarks. Now special topics are bold too.
* Fix warning opening selector. Destroy the editor on exit, ref the shell soMarco Pesenti Gritti2003-03-253-0/+66
| | | | | | | | | | | | | | | | | 2003-03-24 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks.c: (update_topics_list), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_set_property): * src/window-commands.c: (bookmarks_hide_cb), (shell_weak_notify_cb), (window_cmd_go_bookmarks): Fix warning opening selector. Destroy the editor on exit, ref the shell so you can have just the editor open. Build the key list and set is as property of the node (should solve autocompletion problems).
* Add close to the file menu. Add some keybindings.David Bordoley2003-03-241-5/+5
| | | | | | | | 2003-03-24 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-bookmark-editor-ui.xml.in: * src/bookmarks/ephy-bookmarks-editor.c: Add close to the file menu. Add some keybindings.
* Use the ephy-bookmarks.png for the window icon.David Bordoley2003-03-241-0/+3
| | | | | | | 2003-03-23 David Bordoley <bordoley@msu.edu> * src/bookmarks/ephy-bookmarks-editor.c: Use the ephy-bookmarks.png for the window icon.
* Some ground work on the PRIORITY property, change it from bool to int, addXan Lopez2003-03-244-7/+29
| | | | | | Some ground work on the PRIORITY property, change it from bool to int, add more priority types (ALL, SPECIAL, NORMAL), and use it in the WEIGTH_TEXT property (just ALL is bold now).
* Complete implementation of the editor functionalities.Marco Pesenti Gritti2003-03-235-6/+149
| | | | | | | | | | | | | | | | | | | | | | | 2003-03-23 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * data/ui/epiphany-bookmark-editor-ui.xml.in: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_add_topic), (cmd_remove_topic), (cmd_close), (cmd_rename_topic), (cmd_rename_bookmark), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_remove_keyword): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-node-view.c: (cell_renderer_edited), (ephy_node_view_add_column), (ephy_node_view_init), (ephy_node_view_edit): * src/bookmarks/ephy-node-view.h: Complete implementation of the editor functionalities. [Still work to do ... I updated the TODO with some of the higher priority things. If you want to work on any of them let me know ... (to avoid conflicts, I plan to keep working on this stuff in the next days).]
* Fix right click selection logic.Xan Lopez2003-03-231-3/+18
| | | | Fix right click selection logic.
* Never destroy but hide the bme. Present the window on activate. Allow toMarco Pesenti Gritti2003-03-233-17/+71
| | | | | | | | | | | | | | | | | | 2003-03-23 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (get_target_window), (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_node_activated_cb), (delete_event_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_set_parent), (ephy_bookmarks_editor_new): * src/bookmarks/ephy-bookmarks-editor.h: * src/window-commands.c: (window_cmd_go_bookmarks): Never destroy but hide the bme. Present the window on activate. Allow to put the editor in the background. Smarter way to choose the window where to load the bookmark.
* Some more bookmarks work ...Marco Pesenti Gritti2003-03-227-91/+141
| | | | | | | | | | | | | | | | | | | | | | 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-2211-385/+856
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ;)