aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Only include execinfo.h if it exists.Christian Persch2005-08-301-0/+2
| | | | | | | | 2005-08-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: Only include execinfo.h if it exists.
* Check for execinfo.h. Fixes bug #314776.Christian Persch2005-08-301-0/+4
| | | | | | | | | 2005-08-29 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-debug.c: (trap_handler): Check for execinfo.h. Fixes bug #314776.
* Version 1.9.Christian Persch2005-08-294-35/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> * ChangeLog-20050828: * Makefile.am: * autogen.sh: * configure.ac: * data/Makefile.am: * data/epiphany-1.10.pc.in: * data/epiphany-1.8.pc.in: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_session_bus), (ephy_dbus_disconnect_bus): * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Version 1.9.
* Add an "add-page" signal to the EphyHistory object that can be used toCrispin Flowerday2005-08-281-0/+1
| | | | | | | | | | | | | | | | 2005-08-28 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-history.c: (ephy_history_class_init), (internal_get_host), (ephy_history_get_host), (ephy_history_add_host), (ephy_history_add_page), (impl_add_page): * embed/ephy-history.h: * lib/ephy-marshal.list: Add an "add-page" signal to the EphyHistory object that can be used to block urls from appearing in the history. Also make the ephy_history_get_host() function not create the EphyNode if it doesn't already exist.
* Change a g_return_if_fail into a regular return.Christian Persch2005-08-211-1/+1
| | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_launch_handler): Change a g_return_if_fail into a regular return.
* Remove "-s" argument which hasn't been supported for ages.Christian Persch2005-08-162-9/+130
| | | | | | | | | | | | | | | | | | 2005-08-15 Christian Persch <chpe@cvs.gnome.org> * data/GNOME_Epiphany_Automation.server.in: Remove "-s" argument which hasn't been supported for ages. * data/mime-types-permissions.xml: Add more mime types. * lib/ephy-gui.c: (ephy_gui_menu_position_under_widget), (ephy_gui_menu_position_on_toolbar): * lib/ephy-gui.h: Improve menu positioning on toolbar buttons.
* More gcc4 fixes.Christian Persch2005-08-131-1/+1
| | | | | | | | | 2005-08-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): * lib/ephy-dnd.c: (ephy_dnd_drag_data_get): More gcc4 fixes.
* Add switch to disable focus fix, and to disable PSM. Error out if PSMChristian Persch2005-08-082-0/+10
| | | | | | | | | | | | | | | | | | | 2005-08-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add switch to disable focus fix, and to disable PSM. Error out if PSM isn't found but --disable-psm not given. Should prevent accidental compilation without PSM. * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_entry): * lib/widgets/ephy-icon-entry.h: Add ephy_icon_entry_get_entry. * src/epiphany.defs: Updated python bindings.
* No need to add focus_width to borders anymore. Now we get the same heightChristian Persch2005-08-031-6/+0
| | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders): No need to add focus_width to borders anymore. Now we get the same height as a normal entry.
* Use the entry's style's [xy]thickness, not our own. Fixes rendering withChristian Persch2005-08-031-25/+33
| | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders), (ephy_icon_entry_size_allocate): Use the entry's style's [xy]thickness, not our own. Fixes rendering with current Clearlooks engine.
* A lib/widgets/testiconentry.c: A lib/widgets/ephy-icon-entry.c: AChristian Persch2005-08-035-92/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/testiconentry.c: A lib/widgets/ephy-icon-entry.c: A lib/widgets/ephy-icon-entry.h: New widget, looks like a GtkEntry with icons inside. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (update_address_state), (match_selected_cb), (entry_clear_activate_cb), (entry_populate_popup_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_completion), (ephy_location_entry_set_location), (ephy_location_entry_get_location), (ephy_location_entry_reset), (ephy_location_entry_activate), (ephy_location_entry_get_entry), (ephy_location_entry_set_show_lock): Use EphyIconEntry. Fixes location entry drawing with new GNOME default theme (Clearlooks), and should also fix drawing with all themes, except those which draw inside-focus on entries even when the entry has no frame.
* Fix location entry favicon updating.Christian Persch2005-08-011-1/+3
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: Fix location entry favicon updating.
* Allow set-but-empty EPHY_DEBUG_BREAK variable.Christian Persch2005-07-311-1/+1
| | | | | | | | 2005-07-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: (trap_handler): Allow set-but-empty EPHY_DEBUG_BREAK variable.
* ALlow EPHY_DEBUG_BREAK even in non-debug builds.Christian Persch2005-07-301-17/+33
| | | | | | | | 2005-07-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: (trap_handler), (ephy_debug_init): ALlow EPHY_DEBUG_BREAK even in non-debug builds.
* Unify bookmarks/smart bookmarks address resolution, and add a signal toChristian Persch2005-07-271-0/+1
| | | | | | | | | | | | | | | | | | | 2005-07-26 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/bookmarks/ephy-bookmark-action.c: (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_class_init), (impl_resolve_address), (ephy_bookmarks_resolve_address): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-topic-action.c: (menu_activate_cb), (open_in_tabs_activate_cb): * src/ephy-location-action.c: (action_activated_cb), (entry_activate_cb): * src/epiphany.defs: Unify bookmarks/smart bookmarks address resolution, and add a signal to EphyBookmarks for it.
* Fix ESC behaviour to always stop, and to reset the location entry whenChristian Persch2005-07-262-44/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (update_address_state), (update_favicon), (editable_changed_cb), (entry_button_press_cb), (match_selected_cb), (entry_key_press_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_location), (ephy_location_entry_reset), (ephy_location_entry_set_favicon): * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (entry_activate_cb), (user_changed_cb), (sync_address), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_finalize), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/ephy-lockdown.c: (update_location_editable): * src/ephy-tab.c: (ephy_tab_get_typed_address): * src/ephy-toolbar.c: (ephy_toolbar_set_location): * src/ephy-toolbar.h: * src/ephy-window.c: (ephy_window_key_press_event), (sync_tab_address), (ephy_window_set_active_tab), (modal_alert_cb): * src/epiphany.defs: * src/window-commands.c: (window_cmd_view_stop): Fix ESC behaviour to always stop, and to reset the location entry when it's focused only. Reset the location entry favicon to the stock icon when the address shown is != the tab's address. When switching tab, preserve the selection if it was owned by the location entry. Fixes bug #155824.
* Don't crash in case the desktop file is not found.Christian Persch2005-07-251-0/+1
| | | | | | | | 2005-07-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file): Don't crash in case the desktop file is not found.
* Remove stray g_print.Christian Persch2005-07-171-2/+0
| | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: Remove stray g_print.
* Check all selected nodes if they allow dragging.Christian Persch2005-07-121-1/+39
| | | | | | | | | | | | | | | | | | | 2005-07-11 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (check_node_is_drag_source), (can_drag_selection), (button_release_cb), (motion_notify_cb): Check all selected nodes if they allow dragging. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (key_pressed_cb): Don't allow to delete or rename local sites, or to put them on the bookmarks bar. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): Fix capitalisation.
* Implement a way to disallow dragging from resp. dropping on certain nodes.Christian Persch2005-07-114-13/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node-common.h: * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_signal_disconnect), (ephy_node_set_is_drag_source), (ephy_node_get_is_drag_source), (ephy_node_set_is_drag_dest), (ephy_node_get_is_drag_dest): * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: (drag_motion_cb), (drag_data_received_cb): Implement a way to disallow dragging from resp. dropping on certain nodes. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks.c: (save_filter), (save_filter_local), (ephy_bookmarks_save), (update_bookmark_keywords), (bookmark_is_categorized), (resolve_cb), (browse_cb), (ephy_local_bookmarks_init), (ephy_local_bookmarks_stop), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_get_topic_uri), (ephy_bookmarks_find_keyword), (ephy_bookmarks_get_favorites), (ephy_bookmarks_get_local): * src/bookmarks/ephy-bookmarks.h: Implement "Local Sites" topic, filled with zeroconf-discovered bookmarks. Patch by Bastien Nocera, fixes bug #144969.
* Uppercase letters shouldn't breaks history autocompletion. Fix BugJean-François Rameau2005-07-101-2/+2
| | | | | | | | | 2005-07-09 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Uppercase letters shouldn't breaks history autocompletion. Fix Bug #308236.
* Don't leak windows.Christian Persch2005-07-081-1/+2
| | | | | | | | | 2005-07-07 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (new_pixbuf_from_widget), (new_separator_pixbuf): Don't leak windows.
* EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).Jean-François Rameau2005-07-046-47/+49
| | | | | | | | | | | | | | | | | | | | | | | 2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
* Common helper function to unref a GObject from idle.Christian Persch2005-06-113-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | 2005-06-10 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: * lib/ephy-object-helpers.c: * lib/ephy-object-helpers.h: Common helper function to unref a GObject from idle. * embed/downloader-view.c: (downloader_view_finalize): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-extensions-manager.c: (unload_extension): * src/ephy-main.c: (main): * src/ephy-shell.c: (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Always unref the shell from idle, never directly. That's because in case we hold the last reference, we would end up terminating embedding/XPCOM from a mozilla callback. Fixes bug #151037, and moz#236688.
* Fix compilation with DBUS 0.3x. Patch by Raphaël Slinckx, fixes bugChristian Persch2005-06-061-10/+6
| | | | | | | | | | 2005-06-05 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dbus.c: (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (ephy_dbus_disconnect_bus): Fix compilation with DBUS 0.3x. Patch by Raphaël Slinckx, fixes bug #306565.
* Update from libegg.Christian Persch2005-06-051-16/+30
| | | | | | | | | | 2005-06-05 Christian Persch <chpe@cvs.gnome.org> * lib/egg/eggtrayicon.c: (egg_tray_icon_manager_filter), (egg_tray_icon_update_manager_window), (egg_tray_icon_manager_window_destroyed), (egg_tray_icon_realize): Update from libegg.
* Don't open search toolbar on / or ' over formfields:Christian Persch2005-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-03 Christian Persch <chpe@cvs.gnome.org> Don't open search toolbar on / or ' over formfields: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: New signal for searchable key presses. * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Add static function to check if a keypress should be forwarded to the search toolbar. * embed/mozilla/mozilla-embed.cpp: Emit the signal here. * lib/ephy-marshal.list: * src/ephy-find-toolbar.c: (tab_search_key_press_cb), (ephy_find_toolbar_set_embed): Use the new signal instead of dom-key-press.
* Fix more signed/unsigned problems with gcc 4.0. Patch by MartinChristian Persch2005-06-023-29/+32
| | | | | | | | | | | | | | | | 2005-06-01 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (drag_data_received_cb): * lib/egg/egg-toolbar-editor.c: (drag_data_get_cb), (parse_item_list), (egg_toolbar_editor_load_actions): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (parse_item_list), (parse_toolbars): * src/ephy-notebook.c: * src/ephy-window.c: Fix more signed/unsigned problems with gcc 4.0. Patch by Martin Kretzschmar, bug #306169.
* Add scroll event listener, and change zoom on scroll+wheel events.Christian Persch2005-05-312-6/+7
| | | | | | | | | | | | | | | 2005-05-31 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Add scroll event listener, and change zoom on scroll+wheel events. * lib/ephy-zoom.c: (ephy_zoom_get_changed_zoom_level): * lib/ephy-zoom.h: Fix signed/unsigned integer problems (underflow).
* Add warnings: - when downloading to not writable directory, - whenJean-François Rameau2005-05-291-8/+64
| | | | | | | | | | | 2005-05-29 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Add warnings: - when downloading to not writable directory, - when downloading to not writable file (overwrite). Fixes bug #124236
* Check for new DBUS API.Christian Persch2005-05-281-0/+18
| | | | | | | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for new DBUS API. * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus): Adapt to new DBUS API. Patch by Thom May, fixes bug #301153.
* A src/languages.h:Christian Persch2005-05-021-4/+35
| | | | | | | | | | | | | | | | | | | | | | 2005-05-01 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * data/epiphany.schemas.in: * lib/ephy-langs.c: A src/languages.h: * src/prefs-dialog.c: (prefs_dialog_show_help), (create_language_section), (get_download_button_label), (prefs_dialog_init): Add more font languages, and generate the language list from the unicode supplemental data. * lib/ephy-dialog.c: * lib/ephy-dialog.h: * src/prefs-dialog.c: * src/pdm-dialog.c: Constification.
* A src/languages.h:Christian Persch2005-05-022-2/+2
| | | | | | | | | | | | | | | | | | | | | 2005-05-01 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * data/epiphany.schemas.in: * lib/ephy-langs.c: A src/languages.h: * src/prefs-dialog.c: (prefs_dialog_show_help), (create_language_section), (get_download_button_label), (prefs_dialog_init): Add more font languages, and generate the language list from the unicode supplemental data. * lib/ephy-dialog.c: * lib/ephy-dialog.h: * src/prefs-dialog.c: Constification.
* Try to fix crash in toolbar editor with X composite extension. Should fixChristian Persch2005-04-261-1/+1
| | | | | | | | | 2005-04-26 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (new_pixbuf_from_widget): Try to fix crash in toolbar editor with X composite extension. Should fix bug #159767, patch by Colin Gibbs from Control Centre bug #152490.
* More constification.Christian Persch2005-04-196-20/+16
| | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (create_dock): * lib/egg/egg-toolbar-editor.c: (editor_create_item), (update_editor_sheet): * lib/ephy-file-helpers.c: (ephy_file): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-main.c: * src/ephy-notebook.c: (ephy_notebook_init), (ephy_notebook_add_tab): * src/ppview-toolbar.c: * src/window-commands.c: (window_cmd_help_about): More constification.
* Iso-codes is now mandatory.Christian Persch2005-04-191-6/+0
| | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-langs.c: (ephy_langs_iso_3166_table): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_name_for_lang_code), (setup_add_language_dialog), (create_language_section): Iso-codes is now mandatory.
* A src/ephy-action-helper.c: A src/ephy-action-helper.h: AChristian Persch2005-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-prefs.h: * src/Makefile.am: A src/ephy-action-helper.c: A src/ephy-action-helper.h: A src/ephy-lockdown.c: A src/ephy-lockdown.h: * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_lockdown), (ephy_shell_get_extensions_manager): * src/ephy-tab.c: (ephy_tab_set_location): * src/ephy-toolbar.c: (ephy_toolbar_set_window), (ephy_toolbar_set_navigation_actions), (ephy_toolbar_finalize): * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_load_status), (show_embed_popup), (update_tabs_menu_sensitivity), (ephy_window_set_is_popup), (ephy_window_dispose), (ephy_window_state_event), (ephy_window_class_init), (ephy_window_init), (ephy_window_constructor): * src/popup-commands.c: Move lockdown from EphyWindow into an internal extension.
* Restore original URL when pressing ESC. Fixes bug #171179.Christian Persch2005-04-112-0/+34
| | | | | | | | | | | | 2005-04-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_get_location), (ephy_location_entry_restore_location): * lib/widgets/ephy-location-entry.h: Restore original URL when pressing ESC. Fixes bug #171179.
* Remove unused function ephy_node_db_get_by_name(), and clean up a bit.Christian Persch2005-04-102-110/+62
| | | | | | | | | | | | 2005-04-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node-db.c: (ephy_node_db_get_property), (ephy_node_db_set_property), (ephy_node_db_finalize), (ephy_node_db_write_to_xml_safe), (ephy_node_db_class_init), (ephy_node_db_get_type): Remove unused function ephy_node_db_get_by_name(), and clean up a bit.
* Implement a more flexible approach at saving a EphyNodeDb, by allowing toChristian Persch2005-04-083-13/+9
| | | | | | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): * embed/ephy-history.c: (save_filter), (ephy_history_save): * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save): * src/bookmarks/ephy-bookmarks.c: (save_filter), (ephy_bookmarks_save): Implement a more flexible approach at saving a EphyNodeDb, by allowing to specify a filter func to exclude certain nodes, instead of a fixed list.
* Emit signal when encountering alternate links. Fixes bug #171657.Christian Persch2005-04-081-0/+1
| | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * lib/ephy-marshal.list: Emit signal when encountering alternate links. Fixes bug #171657.
* Remove custom search, and use gtktreeview typeaheadfind. Fixes bugChristian Persch2005-03-143-76/+12
| | | | | | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_is_middle_click): * lib/ephy-gui.h: * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb), (ephy_node_view_add_column), (ephy_node_view_init): Remove custom search, and use gtktreeview typeaheadfind. Fixes bug #118107.
* Use libstartup-notification, not gnome-desktop to launch apps. Fixes bugChristian Persch2005-03-101-31/+332
| | | | | | | | | | | | | | 2005-03-09 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-file-helpers.c: (my_gdk_spawn_make_environment_for_screen), (sn_error_trap_push), (sn_error_trap_pop), (make_spawn_environment_for_sn_context), (free_startup_timeout), (startup_timeout), (add_startup_timeout), (ephy_file_launch_application), (ephy_file_launch_desktop_file): Use libstartup-notification, not gnome-desktop to launch apps. Fixes bug #169039.
* Version 1.7.0.Christian Persch2005-03-081-1/+1
| | | | | | | | | | | | | | | | 2005-03-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/Makefile.am: * data/epiphany-1.6.pc.in: * data/epiphany-1.8.pc.in: * doc/reference/tmpl/ephy-embed.sgml: * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Version 1.7.0.
* Fix compress_tilde to only look at the prefix, and not substitute in theChristian Persch2005-02-281-37/+9
| | | | | | | | | 2005-02-27 Christian Persch <chpe@cvs.gnome.org> * lib/eel-gconf-extensions.c: (tilde_compress): Fix compress_tilde to only look at the prefix, and not substitute in the middle.
* Depend on gnome-desktop for gnome-desktop-item, and up the gnome-vfsChristian Persch2005-02-274-8/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-26 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Depend on gnome-desktop for gnome-desktop-item, and up the gnome-vfs dependency version. * embed/ephy-embed-persist.c: (ephy_embed_persist_set_user_time), (ephy_embed_persist_get_user_time), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Add user time property. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Forward user time to MozDownload via a string. Not perfect, but better than nothing. * embed/mozilla/EphyHeaderSniffer.cpp: Set user time on filechooser. * embed/mozilla/MozDownload.cpp: Get user time from content handler, and use it when launching the external handler app. * lib/ephy-file-helpers.c: (ephy_file_check_mime), (launch_desktop_item), (ephy_file_launch_desktop_file), (ephy_file_launch_application), (ephy_file_launch_handler): * lib/ephy-file-helpers.h: Convenience functions to launch an app, or a desktop item, with user time. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file), (ephy_gui_window_update_user_time), (ephy_gui_window_present): * lib/ephy-gui.h: Make our own gtk_window_present, to correctly update user time. Check if the path is writable in ephy_gui_confirm_overwrite_file(). * src/ephy-session.c: (ephy_session_autoresume): After showing the recovery dialogue, don't use the old user time to launch the windows; use the current event time instead. * src/popup-commands.c: (background_download_completed), (image_open_uri), (save_source_completed_cb), (popup_cmd_open_image): * src/window-commands.c: (window_cmd_file_save_as), (save_source_completed_cb), (save_temp_source), (window_cmd_view_page_source): Launch handlers with user time.
* Unset size request if the fixed toolbar is present. That way we don'tChristian Persch2005-02-231-0/+3
| | | | | | | | | 2005-02-23 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (update_fixed): Unset size request if the fixed toolbar is present. That way we don't truncate the 0th toolbar when it only contains the spinner.
* Unparent the fixed toolbar before destroying the dock.Christian Persch2005-02-231-0/+5
| | | | | | | | 2005-02-23 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_removed_cb): Unparent the fixed toolbar before destroying the dock.
* Emit a signal in EphySidebar::AddSearchEngine.Christian Persch2005-02-151-0/+1
| | | | | | | | | | | 2005-02-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: * embed/mozilla/EphySidebar.cpp: * lib/ephy-marshal.list: Emit a signal in EphySidebar::AddSearchEngine.
* Keep a ref on the tray icon. Should fix bug #166143.Christian Persch2005-02-141-0/+3
| | | | | | | | | 2005-02-13 Christian Persch <chpe@cvs.gnome.org> * lib/egg/eggstatusicon.c: (egg_status_icon_init), (egg_status_icon_finalize): Keep a ref on the tray icon. Should fix bug #166143.
* Don't set the lock icon as drag source. Actually emit the lock-clickedChristian Persch2005-02-062-14/+31
| | | | | | | | | | | | | | | | | | | 2005-02-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (lock_button_press_event_cb), (ephy_location_entry_construct_contents): Don't set the lock icon as drag source. Actually emit the lock-clicked signal when pressed. * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (lock_clicked_cb), (connect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-toolbar.c: (lock_clicked_cb), (ephy_toolbar_set_window): Actually forward the lock-clicked signal to the toolbar.
* We don't want Epiphany to exit when DBUS restarts.Jean-François Rameau2005-02-041-1/+3
| | | | | | | | | | | | | 2005-02-04 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/ephy-dbus.c: (ephy_dbus_connect_to_system_bus, ephy_dbus_connect_to_session_bus): We don't want Epiphany to exit when DBUS restarts. * lib/ephy-dbus.c: (ephy_dbus_connect_to_system_bus_cb): Bug: bad test.
* Define variants with startup ID.Christian Persch2005-02-022-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: Define variants with startup ID. * lib/ephy-gui.c: (ephy_gui_window_update_user_time): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId), (impl_ephy_automation_loadurl), (impl_ephy_automation_addBookmark), (impl_ephy_automation_importBookmarks), (impl_ephy_automation_loadSessionWithStartupId), (impl_ephy_automation_loadSession), (impl_ephy_automation_openBookmarksEditorWithStartupId), (impl_ephy_automation_openBookmarksEditor), (ephy_automation_class_init): * src/ephy-main.c: (get_startup_id), (main): * src/ephy-session.c: (offer_to_resume), (ephy_session_autoresume), (ephy_session_load): * src/ephy-session.h: * src/ephy-shell.c: (open_urls), (ephy_shell_startup), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: Implement startup ID forwarding to the already-running ephy instance. Part of bug #150085.
* Set "Clear" context menu entry insensitive in lockdown mode. Fixes bugChristian Persch2005-02-021-0/+3
| | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Set "Clear" context menu entry insensitive in lockdown mode. Fixes bug #165540.
* Some sparse fixes.Christian Persch2005-01-311-5/+5
| | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_new): * lib/ephy-dialog.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_new): * src/ephy-link.c: (ephy_link_open): * src/ephy-statusbar.c: (create_statusbar_security_icon): * src/ephy-window.c: * src/prefs-dialog.c: (get_download_button_label): Some sparse fixes.
* Move new-window signal to the embed single, and new window creation fromChristian Persch2005-01-302-1/+2
| | | | | | | | | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * lib/ephy-marshal.list: * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_window_cb), (impl_get_embed_single): * src/ephy-tab.c: (ephy_tab_new_window_cb): Move new-window signal to the embed single, and new window creation from EphyTab to EphyShell.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-2912-38/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_finalize): * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_save), (ephy_history_finalize), (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_set_icon), (ephy_history_clear): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (path_message_func), (ephy_dbus_startup), (ephy_dbus_shutdown), (ephy_dbus_init), (ephy_dbus_finalize): * lib/ephy-debug.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_finalize): * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): * lib/ephy-langs.c: (load_iso_entries): * lib/ephy-module.c: (ephy_module_load), (ephy_module_unload), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize): * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_init), (ephy_shlib_loader_finalize): * lib/widgets/ephy-location-entry.c: (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_load), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_update_node): * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (connect_proxy), (ephy_bookmark_action_finalize): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (set_window_icon): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (provide_favicon): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_update_cb), (bookmarks_tree_changed_cb), (topics_added_cb), (topics_removed_cb), (topic_child_changed_cb), (bookmark_added_cb), (bookmark_removed_cb), (activate_cb), (ephy_bookmarks_menu_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_save), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarksbar-model.c: (save_changes_idle), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request), (ephy_bookmarksbar_finalize): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/bookmarks/ephy-topic-action.c: (connect_proxy): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_set_bookmark): * src/ephy-encoding-menu.c: (add_action): * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_load_string), (get_loader_for_type), (load_extension), (unload_extension), (sync_loaded_extensions), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_init), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (impl_attach_tab), (impl_detach_tab): * src/ephy-history-window.c: (setup_filters), (provide_favicon): * src/ephy-link.c: (ephy_link_open): * src/ephy-location-action.c: (user_changed_cb), (sync_address), (ephy_location_action_set_address): * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy): * src/ephy-notebook.c: (ephy_notebook_finalize): * src/ephy-session.c: (window_focus_in_event_cb), (impl_attach_window), (impl_detach_window), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_autoresume), (ephy_session_close), (ephy_session_save), (ephy_session_load), (ephy_session_add_window), (ephy_session_remove_window): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_toolbars_model), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-tab.c: (popups_manager_add), (popups_manager_add_window), (ephy_tab_get_popups_allowed), (popups_manager_show_all), (popups_manager_hide_all), (ephy_tab_finalize), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-toolbars-model.c: (save_changes_idle), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_destroy), (show_embed_popup), (ephy_window_init), (ephy_window_finalize): * src/pdm-dialog.c: (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_passwords_construct), (passwords_changed_cb): * src/prefs-dialog.c: (fonts_language_changed_cb): Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargs case.
* Add proper _NETSCAPE_URL drag support, supplying the URL as well as theJorn Baayen2005-01-224-65/+97
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-21 Jorn Baayen <jbaayen@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_init), (ephy_tree_model_sort_multi_row_draggable), (ephy_tree_model_sort_set_base_drag_column_id), (ephy_tree_model_sort_set_extra_drag_column_id), (each_property_get_data_binder): * lib/widgets/ephy-tree-model-sort.h: * src/bookmarks/ephy-bookmark-action.c: (drag_data_get_cb): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_constructor): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-history-window.c: (ephy_history_window_construct): Add proper _NETSCAPE_URL drag support, supplying the URL as well as the title. As a side effect most data_columns in NodeViews have been obsoleted. Fixes #163937.
* Use new leave-fullscreen icon from g-i-t. Fixes bug #164676.Christian Persch2005-01-202-1/+3
| | | | | | | | | | | | 2005-01-20 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-toolbar.c: (ephy_toolbar_constructor): Use new leave-fullscreen icon from g-i-t. Fixes bug #164676.
* Show profile name for mozilla bookmarks, so we can distinguish betweenChristian Persch2005-01-201-15/+18
| | | | | | | | | | | | | | | 2005-01-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_find_file_recursive): * src/bookmarks/ephy-bookmarks-editor.c: (add_bookmarks_files), (add_bookmarks_source), (import_dialog_response_cb), (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.h: Show profile name for mozilla bookmarks, so we can distinguish between different profiles. Don't show firefox bookmarks as mozilla bookmarks. Fixes bug #143982.
* More translator comments.Christian Persch2005-01-191-0/+34
| | | | | | | | 2005-01-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-langs.c: More translator comments.
* Add ephy-node.h enums to ephy-lib-type-builtins.[ch].Christian Persch2005-01-191-0/+1
| | | | | | | | 2005-01-18 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: Add ephy-node.h enums to ephy-lib-type-builtins.[ch].
* Fix mem leak. Fixes bug #164302.Christian Persch2005-01-191-0/+2
| | | | | | | | 2005-01-18 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_set_size_group): Fix mem leak. Fixes bug #164302.
* Remove useless ephy_node_get_property_time method.Jean-François rameau2005-01-171-3/+0
| | | | | | | | 2005-01-16 Jean-François rameau <jframeau@cvs.gnome.org> * lib/ephy-node.h: Remove useless ephy_node_get_property_time method.
* Remove stamp files also on make clean.Christian Persch2005-01-172-2/+2
| | | | | | | | | | | 2005-01-16 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: Remove stamp files also on make clean.
* Add boxed type for EphyNode.Christian Persch2005-01-162-2/+18
| | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (ephy_node_get_type): * lib/ephy-node.h: Add boxed type for EphyNode.
* Don't use <tt> in the strings. Fixes bug #163378.Christian Persch2005-01-161-6/+6
| | | | | | | | | | | | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Don't use <tt> in the strings. Fixes bug #163378. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): Fix button text and capitalisation in the confirm-redirect-update dialogue. Fixes bug #164131. * src/ephy-window.c: (confirm_close_with_modified_forms): Fix primary text of confirm-close command not to have a period.
* Don't focus the combo on click.Christian Persch2005-01-151-0/+1
| | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): Don't focus the combo on click.
* Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types.Jorn Baayen2005-01-142-5/+5
| | | | | | | | | | | | | | | | 2005-01-14 Jorn Baayen <jbaayen@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (motion_notify_cb): * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-history-window.c: Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types. This is to match the new Nautilus _NETSCAPE_URL DnD behaviour. Fixes #163937.
* Remove the type builtins .h files from INST_H_FILES again.Christian Persch2005-01-141-1/+0
| | | | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Remove the type builtins .h files from INST_H_FILES again.
* Add favicon and lock icon to the entry. Fixes bug #116482 and bug #149506.Christian Persch2005-01-142-12/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_finalize), (ephy_location_entry_class_init), (modify_background), (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_set_favicon), (ephy_location_entry_set_show_lock), (ephy_location_entry_set_lock_stock), (ephy_location_entry_set_lock_tooltip): * lib/widgets/ephy-location-entry.h: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-location-action.c: (sync_icon), (sync_lock_stock_id), (sync_lock_tooltip), (sync_show_lock), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_finalize): * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_set_lock_visibility), (ephy_toolbar_constructor): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_chromes_visibility): Add favicon and lock icon to the entry. Fixes bug #116482 and bug #149506. Change "Exit Fullscreen" to "Leave Fullscreen" as per HIG, part of bug #153270.
* Install ephy-*-type-builtins.h.Christian Persch2005-01-141-0/+1
| | | | | | | | | | 2005-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Install ephy-*-type-builtins.h.
* Add Toolbar toggle to document context menu in fullscreen mode.Christian Persch2005-01-135-53/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-12 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: Add Toolbar toggle to document context menu in fullscreen mode. * lib/egg/egg-editable-toolbar.c: (set_fixed_style), (update_fixed), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: Changed to allow setting a toolbar as fixed, not just one item. * lib/widgets/ephy-search-entry.h: Add _ prefixed struct declarations. * po/POTFILES.in: Updated. * src/Makefile.am: A src/ephy-fullscreen-popup.c: A src/ephy-fullscreen-popup.h: * src/ephy-history-window.c: * src/ephy-shell.c: (ephy_shell_new_tab): A src/ephy-toolbar.c: A src/ephy-toolbar.h: * src/ephy-window.c: (destroy_fullscreen_popup), (ephy_window_destroy), (exit_fullscreen_clicked_cb), (get_toolbar_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (sync_tab_address), (sync_tab_icon), (sync_tab_navigation), (sync_tab_security), (sync_tab_load_status), (sync_tab_zoom), (show_embed_popup), (modal_alert_cb), (ephy_window_focus_in_event), (ephy_window_focus_out_event), (ephy_window_init), (ephy_window_activate_location): R src/toolbar.c: R src/toolbar.h: * src/window-commands.c: (window_cmd_load_location): Implemented in-toolbar exit button, and integrated status indicator in the exit fullscreen popup. Moved toolbar.[ch] to ephy-toolbar.[ch] for namespace correcness, and much-needed code cleanup.
* Add "check-content" signal.Christian Persch2005-01-121-0/+1
| | | | | | | | | | | | | | | | | | 2005-01-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: Add "check-content" signal. * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: Emit from here. * lib/ephy-marshal.list: New marshal.
* Fix [DIST]CLEANFILES so that make distcheck passes.Christian Persch2005-01-122-3/+3
| | | | | | | | | | | 2005-01-11 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * embed/Makefile.am: Fix [DIST]CLEANFILES so that make distcheck passes.
* A src/ephy-toolbar-editor.c: A src/ephy-toolbar-editor.h:Christian Persch2005-01-101-0/+1
| | | | | | | | | | | | | | | | | 2005-01-10 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/Makefile.am: * src/ephy-notebook.c: (tab_label_style_set_cb): * src/ephy-shell.c: (ephy_shell_finalize), (toolbar_style_notifier), (ephy_shell_get_toolbars_model): A src/ephy-toolbar-editor.c: A src/ephy-toolbar-editor.h: * src/window-commands.c: (window_cmd_edit_toolbar): Move toolbar editor dialogue into its own class, and implement a toolbar style override there. Fixes bug #102520.
* Rename toolbar model flags to be more in line with GtkToolbarStyle.Christian Persch2005-01-103-20/+16
| | | | | | | | | | | 2005-01-10 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_changed_cb), (egg_editable_toolbar_construct): * lib/egg/egg-toolbars-model.c: (parse_toolbars): * lib/egg/egg-toolbars-model.h: Rename toolbar model flags to be more in line with GtkToolbarStyle.
* A lib/ephy-dbus.c: A lib/ephy-dbus.h:Christian Persch2005-01-104-0/+496
| | | | | | | | | | | | | | | | | 2005-01-10 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/Makefile.am: A lib/ephy-dbus.c: A lib/ephy-dbus.h: * lib/ephy-marshal.list: * src/Makefile.am: * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_dbus_service): * src/ephy-shell.h: Add experimental dbus service, disabled by default. Configure with --enable-dbus to enable.
* Shut upChristian Persch2005-01-092-0/+2
|
* More stamp magic.Christian Persch2005-01-092-10/+26
| | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: More stamp magic.
* Make all structs prefixed by _.Christian Persch2005-01-0920-34/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.h: * embed/ephy-download.c: * embed/ephy-download.h: * embed/ephy-embed-dialog.c: * embed/ephy-embed-dialog.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.c: * embed/ephy-favicon-cache.h: * embed/ephy-history.c: * embed/ephy-history.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * lib/ephy-file-chooser.c: * lib/ephy-file-chooser.h: * lib/ephy-node-db.c: * lib/ephy-node-db.h: * lib/ephy-node-filter.c: * lib/ephy-node-filter.h: * lib/ephy-node.c: * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-action.h: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar-model.h: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-bookmarksbar.h: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topics-selector.c: * src/bookmarks/ephy-topics-selector.h: * src/ephy-completion-model.c: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.c: * src/ephy-encoding-dialog.h: * src/ephy-history-window.c: * src/ephy-history-window.h: Make all structs prefixed by _.
* Unify the location and favicon actions.Christian Persch2005-01-085-29/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-toolbar.xml: * lib/ephy-marshal.list: * lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_string): * lib/ephy-signal-accumulator.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_class_init), (editable_changed_cb), (each_url_get_data_binder), (favicon_drag_data_get_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_activate), (ephy_location_entry_get_entry), (ephy_location_entry_get_image): * lib/widgets/ephy-location-entry.h: * src/Makefile.am: * src/ephy-favicon-action.c: * src/ephy-favicon-action.h: * src/ephy-location-action.c: (sync_address), (sync_editable), (sync_icon), (get_location_cb), (get_title_cb), (remove_completion_actions), (add_completion_actions), (connect_proxy), (disconnect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize): * src/ephy-window.c: (sync_tab_icon): * src/toolbar.c: (toolbar_setup_actions), (toolbar_update_favicon): * src/toolbar.h: Unify the location and favicon actions. * src/window-commands.c: (window_cmd_help_about): Add translator comment to the translation-credits string.
* Shut upChristian Persch2005-01-082-0/+2
|
* Avoid unnecessary rebuilts of the generated enum .h files by using stampChristian Persch2005-01-072-11/+33
| | | | | | | | | | | | 2005-01-07 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: Avoid unnecessary rebuilts of the generated enum .h files by using stamp files.
* Make sure our flags/enum types are registered.Christian Persch2005-01-072-12/+8
| | | | | | | | | | 2005-01-07 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type), (egg_toolbars_model_get_item_type): * lib/ephy-state.c: (ensure_states): Make sure our flags/enum types are registered.
* Remove duplicate defineChristian Persch2005-01-071-2/+0
|
* Add dummy functions to call some get_types funcs, otherwise they don't getChristian Persch2005-01-072-0/+13
| | | | | | | | | | | | | | | 2005-01-07 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (register_type): * lib/ephy-state.c: (register_type): * lib/ephy-state.h: Add dummy functions to call some get_types funcs, otherwise they don't get exported. * src/Makefile.am: Remove unused defines.
* More auto-generated types.Christian Persch2005-01-073-29/+45
| | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: * lib/ephy-state.c: * lib/ephy-state.h: More auto-generated types.
* Simplfiy the rule a bit.Christian Persch2005-01-071-2/+2
| | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: Simplfiy the rule a bit.
* Use glib-mkenums to generate the enum and flags get_type functions.Christian Persch2005-01-073-28/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/Makefile.am: * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-permission-manager.c: * embed/ephy-permission-manager.h: * lib/egg/Makefile.am: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: * src/Makefile.am: * src/ephy-link.c: * src/ephy-link.h: * src/ephy-navigation-action.c: * src/ephy-shell.c: (ephy_shell_error_quark): * src/ephy-shell.h: * src/ephy-tab.c: * src/ephy-tab.h: * src/ephy-window.c: Use glib-mkenums to generate the enum and flags get_type functions.
* Use ngettext to get the Open in New Tab[s]/Window[s] label.Christian Persch2005-01-052-20/+0
| | | | | | | | | | | | | | 2005-01-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_update_menu): Use ngettext to get the Open in New Tab[s]/Window[s] label. 2005-01-04 Christian Persch <chpe@cvs.gnome.org>
* Add type for flags.Christian Persch2005-01-042-4/+30
| | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-state.c: (ephy_state_window_flags_get_type): * lib/ephy-state.h: Add type for flags.
* Prefix class structs with '_' so that the python code generator finds it.Crispin Flowerday2005-01-042-6/+6
| | | | | | | | 2005-01-03 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-dialog.c: * lib/ephy-dialog.h: Prefix class structs with '_' so that the python code generator finds it.
* Add type for flags.Christian Persch2005-01-042-0/+27
| | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_flags_get_type): * lib/egg/egg-toolbars-model.h: Add type for flags.
* Another enum type.Christian Persch2005-01-041-1/+0
| | | | | | | | | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-permission-manager.c: (ephy_permission_get_type): * embed/ephy-permission-manager.h: Another enum type. * lib/ephy-marshal.list: Remove unused marshal. * src/ephy-tab.c: (ephy_tab_class_init): Use enum for security level type.
* Add types for some enums and flags.Christian Persch2005-01-041-0/+1
| | | | | | | | | | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type), (ephy_embed_event_type_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/ephy-marshal.list: * src/ephy-tab.c: (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb): Add types for some enums and flags.
* Move mime permission checks to ephy-file-helpers.Christian Persch2005-01-012-0/+108
| | | | | | | | | | | | | | | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize), (ephy_embed_shell_get_encodings): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown), (ephy_file_delete_on_exit), (load_mime_from_xml), (ephy_file_check_mime): * lib/ephy-file-helpers.h: Move mime permission checks to ephy-file-helpers. * src/popup-commands.c: (image_open_uri), (save_source_completed_cb), (popup_cmd_open_image): Only open the image if its mime type is 'safe'.
* Add context to ambiguous strings. Fixes bug #113932.Christian Persch2004-12-261-17/+17
| | | | | | | | | | | | | 2004-12-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encodings_init): * lib/ephy-langs.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/ephy-window.c: (show_embed_popup), (tab_context_menu_cb), (ephy_window_set_active_tab): * src/prefs-dialog.c: (create_fonts_language_menu): Add context to ambiguous strings. Fixes bug #113932.
* Remove tons of unused marshals.Christian Persch2004-12-251-6/+1
| | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: Remove tons of unused marshals. * src/ephy-link.c: (ephy_link_base_init): Fix marshaler to match actual signal signature.
* A src/ephy-home-action.c: (ephy_home_action_activate),Christian Persch2004-12-242-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (create_tool_item), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type), (add_action_for_bookmark), (ephy_bookmarks_menu_class_init): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (menu_activate_cb), (open_in_tabs_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: A src/ephy-home-action.c: (ephy_home_action_activate), (ephy_home_action_class_init), (ephy_home_action_get_type): A src/ephy-home-action.h: A src/ephy-link-action.c: (ephy_link_action_get_type): A src/ephy-link-action.h: A src/ephy-link.c: (ephy_link_flags_get_type), (ephy_link_base_init), (ephy_link_get_type), (ephy_link_open): A src/ephy-link.h: * src/ephy-location-action.c: (ephy_location_action_get_type), (action_activated_cb), (location_url_activate_cb), (connect_proxy), (disconnect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-navigation-action.c: (ephy_navigation_action_get_type), (activate_back_or_forward_menu_item_cb), (activate_up_menu_item_cb), (build_back_or_forward_menu), (build_up_menu): * src/ephy-navigation-action.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (setup_ui_manager), (open_link_cb), (ephy_window_init): * src/toolbar.c: (toolbar_get_type), (toolbar_setup_actions): * src/window-commands.c: * src/window-commands.h: Consolidate link opening in one place by introducing an EphyLink interface which bookmarks, topics, navigation, location, home, toolbars, bookmarks menu and favourites menu implement, forwarding the link opening to the window.
* EphyEmbedChrome is flags, not enum.Christian Persch2004-12-241-1/+1
| | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * lib/ephy-marshal.list: EphyEmbedChrome is flags, not enum.
* A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): AChristian Persch2004-12-234-0/+89
| | | | | | | | | | | | | | | 2004-12-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-marshal.list: A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): A lib/ephy-signal-accumulator.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix new_window signal.
* Forgot to commit thisChristian Persch2004-12-211-0/+3
|
* Fix a mem leak, and update copyright notice.Christian Persch2004-12-202-21/+3
| | | | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-langs.c: (ephy_langs_append_languages), (load_iso_entries): * lib/ephy-langs.h: Fix a mem leak, and update copyright notice.
* Remove inline help. Fixes bug #137603.Christian Persch2004-12-201-17/+0
| | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (setup_editor): Remove inline help. Fixes bug #137603.
* Fix my nameChristian Persch2004-12-191-1/+1
|
* Remove stray g_printChristian Persch2004-12-192-2/+2
|
* Make sure we don't have any app-modal dialogues. Fixes bug #110479.Christian Persch2004-12-193-3/+30
| | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * lib/ephy-gui.c: (ephy_gui_ensure_window_group), (ephy_gui_confirm_overwrite_file): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (ephy_bookmarks_editor_construct): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): Make sure we don't have any app-modal dialogues. Fixes bug #110479.
* Disable Zoom items for images, and disable zoom, encoding and view sourceChristian Persch2004-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type), (ephy_embed_document_type_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_document_type_cb), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_zoom), (ephy_window_set_active_tab): * src/toolbar.c: (toolbar_update_zoom): * src/toolbar.h: Disable Zoom items for images, and disable zoom, encoding and view source for images and xml (xul) documents. Fixes bug #132240.
* Implement context menu on tray icon, as per HIG. Fixes bug #152903.Christian Persch2004-12-174-38/+80
| | | | | | | | | | | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (show_downloader_cb), (status_icon_popup_menu_cb), (show_status_icon): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init), (egg_status_icon_init), (egg_status_icon_finalize), (emit_activate_signal), (emit_popup_menu_signal), (egg_status_icon_size_allocate), (egg_status_icon_button_press), (egg_status_icon_set_tooltip): * lib/egg/eggstatusicon.h: * lib/ephy-gui.c: (ephy_gui_menu_position_under_widget), (ephy_gui_menu_position_on_panel): * lib/ephy-gui.h: Implement context menu on tray icon, as per HIG. Fixes bug #152903.
* Small improvement.Christian Persch2004-12-161-2/+1
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Small improvement.
* Move Clear after Select All.Christian Persch2004-12-161-11/+20
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_populate_popup_cb): Move Clear after Select All.
* Add "Clear" to entry context menu. Fixes bug #118395.Christian Persch2004-12-161-0/+48
| | | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_clear_activate_cb), (entry_populate_popup_cb), (ephy_location_entry_construct_contents): Add "Clear" to entry context menu. Fixes bug #118395.
* Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessaryChristian Persch2004-12-145-75/+1
| | | | | | | | | | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (elide_underscores), (add_encoding): * embed/mozilla/FilePicker.cpp: * lib/ephy-dnd.c: * lib/ephy-node.c: * lib/ephy-string.c: (ephy_string_blank_chr): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: * src/ephy-encoding-menu.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-statusbar.c: * src/ephy-tab.c: (ephy_tab_set_title): * src/ephy-tabs-menu.c: (connect_proxy_cb): * src/ppview-toolbar.c: Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessary ephy-string.h includes.
* Make distcheck fix.Christian Persch2004-12-142-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: Make distcheck fix. * lib/ephy-string.c: * lib/ephy-string.h: Finally remove ephy_string_shorten(). * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_label): * src/bookmarks/ephy-bookmarks-menu.c: (connect_proxy_cb): * src/bookmarks/ephy-favorites-menu.c: (connect_proxy_cb): * src/bookmarks/ephy-topic-action.c: (create_tool_item), (ephy_topic_action_sync_label), (append_bookmarks_menu), (build_topics_menu): * src/ephy-navigation-action.c: (new_history_menu_item): Use gtk_label_set_max_width_chars() and ellipsise the labels.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-015-66/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-01 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add deprecated defines to AM_CPPFLAGS in maintainer-mode. * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/egg/eggintl.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: INCLUDES is deprecated, use AM_CPPFLAGS and AM_CFLAGS instead. * lib/eel-gconf-extensions.c: (eel_gconf_client_get_global): Removed usage of deprecated gconf API. * src/ephy-main.c: (main): Removed usage of deprecated glade API.
* Version 1.5.2.Christian Persch2004-11-291-4/+0
| | | | | | | | | | | 2004-11-29 Christian Persch <chpe@cvs.gnome.org> * NEWS: * configure.ac: * doc/reference/tmpl/ephy-embed.sgml: * lib/ephy-file-chooser.c: (ephy_file_chooser_add_pattern_filter): Version 1.5.2.
* Build auto-generated files in builddir, not in srcdir.Christian Persch2004-11-262-12/+7
| | | | | | | | | | 2004-11-25 Christian Persch <chpe@cvs.gnome.org> * data/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: Build auto-generated files in builddir, not in srcdir.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-11-261-0/+1
| | | | | | | | | | | | | | | | | | 2004-11-25 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Fix build out of src directory. * src/window-commands.c: (editor_open_uri), (window_cmd_view_page_source): Rework the code to not use deprecated API.
* Check for iso-codes package.Christian Persch2004-11-252-0/+211
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-25 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for iso-codes package. * data/glade/prefs-dialog.glade: * lib/ephy-langs.c: (ephy_langs_bind_iso_domains), (read_iso_639_entry), (read_iso_3166_entry), (load_iso_entries), (ephy_langs_iso_639_table), (ephy_langs_iso_3166_table): * lib/ephy-langs.h: Load language and locales list from iso-codes package, if available. * src/prefs-dialog.c: (prefs_dialog_finalize), (add_lang_dialog_selection_changed), (add_lang_dialog_response_cb), (get_name_for_lang_code), (add_system_language_entry), (setup_add_language_dialog), (create_language_section): If the iso-codes package is available, use that to translate language names and offer a wider variety of languages. Fixes bug #155498.
* Better positioning for the context menu popup in a treeview. Patch byChristian Persch2004-11-101-6/+7
| | | | | | | | | | | 2004-11-09 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection): Better positioning for the context menu popup in a treeview. Patch by Crispin Flowerday. Remove obsolete global variables.
* Fix signed/unsigned int confusion exposed by empty accept-lang list.Christian Persch2004-11-101-4/+4
| | | | | | | | | 2004-11-09 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-langs.c: (ephy_langs_sanitise): Fix signed/unsigned int confusion exposed by empty accept-lang list.
* Sanitise the embed popup position. Fixes bug #157162.Christian Persch2004-11-082-4/+14
| | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_sanitise_popup_position), (ephy_gui_menu_position_tree_selection), (ephy_gui_menu_position_under_widget): * lib/ephy-gui.h: * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup): Sanitise the embed popup position. Fixes bug #157162.
* When popping up the context menu with keyboard, select the first menuChristian Persch2004-11-081-3/+8
| | | | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_popup): * src/bookmarks/ephy-bookmark-action.c: (show_context_menu), (popup_menu_cb), (button_press_cb): * src/bookmarks/ephy-topic-action.c: (button_toggled_cb), (show_context_menu), (popup_menu_cb), (button_press_cb): * src/ephy-window.c: (show_embed_popup): When popping up the context menu with keyboard, select the first menu item. Fixes bug #154907.
* Show language code in the string in languages editor. Fixes bug #115355.Christian Persch2004-11-072-2/+146
| | | | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-langs.c: (ephy_font_n_languages), (ephy_langs_sanitise), (ephy_langs_append_languages), (ephy_langs_get_languages): * lib/ephy-langs.h: * src/prefs-dialog.c: (add_system_language_entry), (setup_add_language_dialog), (create_language_section): Show language code in the string in languages editor. Fixes bug #115355.
* Make tooltips on the zoom control also work on Ctrl-F1.Christian Persch2004-11-071-13/+44
| | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init), (set_combo_tooltip), (combo_realized), (ephy_zoom_control_set_tooltip): Make tooltips on the zoom control also work on Ctrl-F1.
* Updated glib dependency.Christian Persch2004-11-042-5/+6
| | | | | | | | | | | | 2004-11-04 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Updated glib dependency. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Use g_filename_display_name() here.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-0330-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* Fix zoom control so that it shows tooltips again. Fixes bug #155826.Christian Persch2004-11-021-7/+15
| | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init), (ephy_zoom_control_set_tooltip): Fix zoom control so that it shows tooltips again. Fixes bug #155826.
* Don't deactivate the toolbar when another item in the same toolbar gainsChristian Persch2004-11-011-35/+1
| | | | | | | | | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init), (ephy_location_entry_activate): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-window.c: (ephy_window_init): * src/toolbar.c: (toolbar_class_init), (toolbar_finalize), (maybe_finish_activation_cb), (toolbar_activate_location), (toolbar_update_zoom), (toolbar_new): * src/toolbar.h: Don't deactivate the toolbar when another item in the same toolbar gains focus. Fixes bug #155650.
* Fix a nasty bug when removing signal handlers during a node signalChristian Persch2004-11-011-19/+91
| | | | | | | | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (callback), (remove_invalidated_signals), (ephy_node_emit_signal), (signal_object_weak_notify), (ephy_node_new_with_id), (ephy_node_signal_connect_object), (remove_matching_signal_data), (invalidate_matching_signal_data), (ephy_node_signal_disconnect_object), (ephy_node_signal_disconnect): Fix a nasty bug when removing signal handlers during a node signal emission. Don't remove the handler immediately, but invalidate it, and remove it after all emissions are done. Part of bug #155880.
* Removing debug spewChristian Persch2004-11-011-1/+0
|
* Fix restoring window size on crash recovery by moving the setting of theChristian Persch2004-10-311-3/+3
| | | | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-state.c: (ephy_state_window_set_size): * src/ephy-session.c: (write_window_geometry), (int_from_string), (restore_geometry), (ephy_session_load): Fix restoring window size on crash recovery by moving the setting of the size before the initial show which occurs from ephy_shell_new_tab from parse_embed. Fixes bug #156881.
* Check for nsIDOMNSEvent::GetIsTrusted.Christian Persch2004-10-311-0/+1
| | | | | | | | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for nsIDOMNSEvent::GetIsTrusted. * embed/mozilla/EphyBrowser.cpp: Conditionally compile this code. * lib/ephy-marshal.list: Forgot to commit this.
* Move idle unreffing to extensions manager. Makes sure that extensions areChristian Persch2004-10-301-14/+1
| | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-shlib-loader.c: (impl_release_object): * src/ephy-extensions-manager.c: (idle_unref), (unload_extension): Move idle unreffing to extensions manager. Makes sure that extensions are finalised.
* Print dialogue isn't an EphyEmbedDialog anymore, remove theChristian Persch2004-10-281-2/+0
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_new): Print dialogue isn't an EphyEmbedDialog anymore, remove the
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-285-25/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_to_string): * embed/ephy-embed-shell.c: (ephy_embed_shell_init): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_modal), (ephy_dialog_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_init): * lib/ephy-node-db.c: (ephy_node_db_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_init): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_init): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_init): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-location-action.c: (ephy_location_action_init): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-session.c: (ephy_session_init): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/ppview-toolbar.c: (ppview_toolbar_init): Private data is 0-initialised, no need to set members to NULL, 0, or FALSE.
* Remove unused signal from EphyNodeView struct.Christian Persch2004-10-271-1/+0
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.h: Remove unused signal from EphyNodeView struct.
* Avoid strdups in entry completion func. Patch by Peter Harvey.Christian Persch2004-10-271-19/+18
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Avoid strdups in entry completion func. Patch by Peter Harvey.
* Use new gtk+ HIG message dialogue API. Fixes bug #130232.Christian Persch2004-10-271-35/+20
| | | | | | | | | | | | | 2004-10-26 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/ephy-history-window.c: (confirmation_dialog_response_cb), (confirmation_dialog_construct), (cmd_clear): * src/ephy-session.c: (offer_to_resume): * src/ephy-window.c: (confirm_close_with_modified_forms): Use new gtk+ HIG message dialogue API. Fixes bug #130232.
* Use gtk_icon_size_lookup_for_settings() here.Christian Persch2004-10-251-4/+6
| | | | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_images), (ephy_spinner_size_request): * src/ephy-notebook.c: (tab_label_style_set_cb): * src/window-commands.c: (window_cmd_help_about): Use gtk_icon_size_lookup_for_settings() here.
* Add EPHY_NODE_CHANGED signal. Patch by Peter Harvey.Christian Persch2004-10-252-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (callback), (ephy_node_set_property), (ephy_node_signal_connect_object), (match_signal_data), (ephy_node_signal_disconnect_object): * lib/ephy-node.h: Add EPHY_NODE_CHANGED signal. Patch by Peter Harvey. * src/bookmarks/ephy-bookmark-action.c: (favicon_cache_changed_cb), (ephy_bookmark_action_sync_icon), (ephy_bookmark_action_sync_label), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb), (drag_data_get_cb), (properties_activate_cb), (bookmark_changed_cb), (bookmark_destroy_cb), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (smart_child_added_cb), (smart_child_removed_cb), (ephy_bookmark_action_init), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (add_action_for_bookmark): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-topic-action.c: (build_menu), (topic_changed_cb), (ephy_topic_action_set_topic), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (ephy_topic_action_init), (ephy_topic_action_new): * src/bookmarks/ephy-topic-action.h: Changed ephy_[bookmark|topic]_action_new from node-id to node. Saves one round-trip node->node-id->node. Save lots of strdups by using the node's properties directly, instead of storing them again in the action. Listen to changes on the node itself, not for child-changed on the bookmarks node.
* Chain up to parent's dispose handler.Christian Persch2004-10-241-0/+2
| | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (mozilla_embed_single_dispose): * lib/ephy-dialog.c: (ephy_dialog_dispose): * src/ephy-session.c: (ephy_session_dispose): Chain up to parent's dispose handler.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-2418-67/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_get_type): * embed/ephy-command-manager.c: (ephy_command_manager_get_type): * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_manager_get_type): * embed/ephy-download.c: (ephy_download_get_type): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_type): * embed/ephy-embed-event.c: (ephy_embed_event_get_type): * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type): * embed/ephy-embed-single.c: (ephy_embed_single_get_type): * embed/ephy-embed.c: (ephy_embed_get_type): * embed/ephy-encodings.c: (ephy_encodings_get_type): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type): * embed/ephy-history.c: (ephy_history_get_type): * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_manager_get_type): * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_manager_get_type): * embed/find-dialog.c: (find_dialog_get_type): * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type): * lib/ephy-dialog.c: (ephy_dialog_get_type): * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type): * lib/ephy-loader.c: (ephy_loader_get_type): * lib/ephy-module.c: (ephy_module_get_type): * lib/ephy-node-db.c: (ephy_node_db_get_type): * lib/ephy-node-filter.c: (ephy_node_filter_get_type): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * lib/widgets/ephy-node-view.c: (ephy_node_view_get_type): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_get_type): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_type): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_get_type): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_get_type): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_get_type): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type): * src/ephy-completion-model.c: (ephy_completion_model_get_type): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): * src/ephy-extension.c: (ephy_extension_get_type): * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type): * src/ephy-favicon-action.c: (ephy_favicon_action_get_type): * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-history-window.c: (ephy_history_window_get_type): * src/ephy-location-action.c: (ephy_location_action_get_type): * src/ephy-navigation-action.c: (ephy_navigation_action_get_type): * src/ephy-notebook.c: (ephy_notebook_get_type): * src/ephy-session.c: (ephy_session_get_type): * src/ephy-shell.c: (ephy_shell_get_type): * src/ephy-statusbar.c: (ephy_statusbar_get_type): * src/ephy-tab.c: (ephy_tab_get_type): * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type): * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type): * src/ephy-window.c: (ephy_window_get_type): * src/pdm-dialog.c: (pdm_dialog_get_type): * src/ppview-toolbar.c: (ppview_toolbar_get_type): * src/prefs-dialog.c: (prefs_dialog_get_type): * src/toolbar.c: (toolbar_get_type): Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like the G_TYPE_DEFINE macros do.
* Use gtk_selection_data_get_uris().Christian Persch2004-10-231-1/+1
| | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use gtk_selection_data_get_uris().
* Remove ephy_string_parse_uri_list, and use new glib functionChristian Persch2004-10-233-58/+4
| | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_double_underscores): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-window.c: (ephy_window_load_in_tabs): * src/ephy-window.h: Remove ephy_string_parse_uri_list, and use new glib function g_uri_list_extract_uris() instead.
* Add varargs version of ephy_dialog_get_control to get more than oneChristian Persch2004-10-222-0/+29
| | | | | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_get_controls): * lib/ephy-dialog.h: Add varargs version of ephy_dialog_get_control to get more than one control at a time. * embed/downloader-view.c: (downloader_view_build_ui): * src/pdm-dialog.c: (pdm_dialog_show_help), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_dialog_show_help), (setup_add_language_dialog), (create_language_section), (prefs_dialog_init): Use that.
* Better fix, taken from bug #135861.Christian Persch2004-10-221-22/+1
| | | | | | | | | 2004-10-21 Christian Persch <chpe@cvs.gnome.org> * lib/egg/eggstatusicon.c: (egg_status_icon_init), (egg_status_icon_button_press): Better fix, taken from bug #135861.
* Activate with double-click, as per HIG. Fixes bug #152899.Christian Persch2004-10-221-1/+3
| | | | | | | | 2004-10-21 Christian Persch <chpe@cvs.gnome.org> * lib/egg/eggstatusicon.c: (egg_status_icon_button_press): Activate with double-click, as per HIG. Fixes bug #152899.
* Fix EphyNode callback data destruction. Patch by Peter Harvey, fixes bugChristian Persch2004-10-171-46/+35
| | | | | | | | | | | 2004-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (signal_object_weak_notify), (destroy_signal_data), (ephy_node_destroy), (ephy_node_new_with_id), (ephy_node_unref): Fix EphyNode callback data destruction. Patch by Peter Harvey, fixes bug #152718.
* R lib/ephy-module-loader.c: R lib/ephy-module-loader.h: AChristian Persch2004-10-179-255/+709
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: R lib/ephy-module-loader.c: R lib/ephy-module-loader.h: A lib/ephy-module.c: (ephy_module_get_type), (ephy_module_load), (ephy_module_unload), (ephy_module_get_path), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize), (ephy_module_class_init), (ephy_module_new): A lib/ephy-module.h: s/EphyModuleLoader/EphyModule/g since "loader" now means something different. A lib/ephy-loader.c: (ephy_loader_get_type), (ephy_loader_type), (ephy_loader_get_object), (ephy_loader_release_object): A lib/ephy-loader.h: Generic object loader. A lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type), (free_loader_data), (ephy_shlib_loader_init), (ephy_shlib_loader_finalize), (find_library), (find_object), (idle_unref), (impl_get_object), (impl_release_object), (ephy_shlib_loader_iface_init), (ephy_shlib_loader_class_init): A lib/ephy-shlib-loader.h: A .so loader. * src/Makefile.am: * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_register), (ephy_extensions_manager_get_extensions), (free_extension_info), (free_loader_info), (find_extension_info), (ephy_extensions_manager_load_file), (find_loader), (get_loader_for_type), (attach_window), (load_extension), (detach_window), (unload_extension), (ephy_extensions_manager_load_dir), (active_extensions_notifier), (ephy_extensions_manager_init), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (ephy_extensions_manager_class_init): * src/ephy-extensions-manager.h: Read extension descriptions from .xml, load them with the specified loader (for now, just only .so is supported). * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager): Minor API change in extensions manager. * data/epiphany.schemas.in: Add extensions-manager-ui as default active extension. 2004-10-10 Marco Pesenti Gritti <marco@gnome.org>
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-111-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-10 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/ephy-embed-single.c: (ephy_embed_single_get_printer_list): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_new): * lib/ephy-dialog.c: (set_combo_box_from_value): Move current MozillaPrivate helpers to EphyUtils. Use MozillaPrivate for stuff that needs mozilla internal strings. Support multiple printers in the print dialog. This is actually a bug fix because on several distributions using hardcoded Poscript/default will simply not work at all.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-083-3/+7
| | | | | | | | | | | | | | | | | | | | | 2004-10-08 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (setup_default_size): * lib/ephy-state.c: (create_window_node), (ephy_state_add_window): * lib/ephy-state.h: * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-window.c: (ephy_window_show): * src/pdm-dialog.c: (show_cookies_properties): * src/window-commands.c: (window_cmd_edit_toolbar): Allow to set the default window state to maximize. Default to maximize for the browser window.
* R lib/egg/eggdropdowntoolbutton.c: R lib/egg/eggdropdowntoolbutton.h:Christian Persch2004-10-053-486/+0
| | | | | | | | | | | | | 2004-10-05 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/egg/Makefile.am: R lib/egg/eggdropdowntoolbutton.c: R lib/egg/eggdropdowntoolbutton.h: * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy), (ephy_navigation_action_class_init): Port to GtkMenuToolButton.
* Set window icon.Christian Persch2004-10-051-1/+4
| | | | | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection), (ephy_gui_confirm_overwrite_file): * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_init): Set window icon.
* Set ephy icon as window icon.Christian Persch2004-10-051-0/+2
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): Set ephy icon as window icon.
* Recognise "Desktop" special downloads directory. Fixes bug #152926.Christian Persch2004-10-022-7/+20
| | | | | | | | | | | | 2004-10-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_file_downloads_dir), (ephy_file_desktop_dir): * lib/ephy-file-helpers.h: * src/prefs-dialog.c: (get_download_button_label): Recognise "Desktop" special downloads directory. Fixes bug #152926.
* Remove "abort", since you can have the same with --g-fatal-warnings.Christian Persch2004-09-281-4/+0
| | | | | | | | 2004-09-28 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: (trap_handler): Remove "abort", since you can have the same with --g-fatal-warnings.
* Don't reference private objects from public headers. Fixes bug #153766.Christian Persch2004-09-281-8/+6
| | | | | | | | | | | | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * lib/egg/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (remove_from_model), (move_in_model): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_property): * src/bookmarks/ephy-topic-action.c: (remove_from_model), (move_in_model): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): Don't reference private objects from public headers. Fixes bug #153766.
* Don't reference private objects from public headers. Fixes bug #153766.Christian Persch2004-09-281-4/+3
| | | | | | | | | | | | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * lib/egg/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (remove_from_model), (move_in_model): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_property): * src/bookmarks/ephy-topic-action.c: (remove_from_model), (move_in_model): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): Don't reference private objects from public headers. Fixes bug #153766.
* Remove the hack, and just use the libc function for it. Thanks to CrispinChristian Persch2004-09-271-13/+10
| | | | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-debug.c: (trap_handler), (ephy_debug_init): Remove the hack, and just use the libc function for it. Thanks to Crispin for suggesting this.
* Improved debugging support. Fixes bug #153805.Christian Persch2004-09-271-2/+56
| | | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-debug.c: (trap_handler), (ephy_debug_init): Improved debugging support. Fixes bug #153805.
* Make ephy-state.h public.Christian Persch2004-09-271-2/+2
| | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: Make ephy-state.h public.
* Fix compiler warnings.Christian Persch2004-09-271-0/+3
| | | | | | | | | | | | | | | | 2004-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/egg/eggtrayicon.h: Fix compiler warnings. * src/ephy-window.c: (hide_embed_popup_cb), (show_embed_popup): Fix a signal leak.
* Install egg-toolbars-model.hMarco Pesenti Gritti2004-09-261-6/+9
| | | | | | | | 2004-09-27 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/Makefile.am: Install egg-toolbars-model.h
* Initialise position passed to gtk_editable_insert_text().Christian Persch2004-09-231-1/+1
| | | | | | | | 2004-09-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_editable_from_value): Initialise position passed to gtk_editable_insert_text().
* Add api to show a context menu. Useful to make distinction between key andMarco Pesenti Gritti2004-09-152-0/+28
| | | | | | | | | | | | | | | | | | 2004-09-15 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_toggle), (ephy_node_view_popup): * lib/widgets/ephy-node-view.h: Add api to show a context menu. Useful to make distinction between key and mouse events. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb): * src/ephy-history-window.c: (ephy_history_window_show_popup_cb): Use it. Fix #152431
* Better positioning of context menus for treeviews. Fix #152431Marco Pesenti Gritti2004-09-152-7/+62
| | | | | | | | | | | 2004-09-13 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-guy.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-history-window.c: Better positioning of context menus for treeviews. Fix #152431
* Load/unload extensions based on GConf keyAdam Hooper2004-09-142-11/+11
| | | | | | /apps/epiphany/general/active_extensions. Update documentation a bit (i.e., make sure it actually builds).
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-1317-5242/+507
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Sync.Christian Persch2004-08-241-5/+8
| | | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: (ephy_label_ensure_layout), (ephy_label_size_allocate): Sync.
* Just use the popup_menu signal. Fixes bug #150830.Christian Persch2004-08-231-18/+3
| | | | | | | | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb), (ephy_node_view_button_press_cb), (ephy_node_view_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb), (ephy_bookmarks_editor_construct): * src/ephy-history-window.c: (ephy_history_window_show_popup_cb), (ephy_history_window_construct), (ephy_history_window_dispose): Just use the popup_menu signal. Fixes bug #150830.
* Fix a warning when moving tabs between windows; see bug #150822.Christian Persch2004-08-231-1/+4
| | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: (ephy_label_size_allocate): Fix a warning when moving tabs between windows; see bug #150822.
* Change guint to correct enum type.Christian Persch2004-08-182-3/+3
| | | | | | | | | | | 2004-08-18 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_render): * lib/widgets/ephy-tree-model-node.c: * src/ephy-completion-model.c: Change guint to correct enum type.
* Remove unused variables.Christian Persch2004-08-111-4/+0
| | | | | | | | | 2004-08-11 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source), (egg_editable_toolbar_set_model): Remove unused variables.
* Fix object property naming leftover from EggMenuMerge days, to UI manager.Christian Persch2004-08-104-55/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (find_action), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_class_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new), (egg_editable_toolbar_new_with_model), (egg_editable_toolbar_get_model): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (find_action), (egg_toolbar_editor_set_ui_manager), (egg_toolbar_editor_set_property), (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init), (egg_toolbar_editor_finalize), (egg_toolbar_editor_new), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window): * src/toolbar.c: (toolbar_new): Fix object property naming leftover from EggMenuMerge days, to UI manager.
* 2004-08-09 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-08-101-7/+2
| | | | | * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_deconstruct):
* Fix compilation with gcc 2.95.Christian Persch2004-08-091-4/+2
| | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (compare_actions): Fix compilation with gcc 2.95.
* Note original cvs versionsChristian Persch2004-08-092-0/+4
|
* Include config.h upfront.Christian Persch2004-08-091-4/+4
| | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: Include config.h upfront.
* Only use this for gtk < 2.5.1, and just add a few #defines otherwise.Christian Persch2004-08-092-1/+23
| | | | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-label.c: * lib/widgets/ephy-label.h: Only use this for gtk < 2.5.1, and just add a few #defines otherwise.
* R lib/widgets/ephy-ellipsizing-label.c: RChristian Persch2004-08-086-856/+3623
| | | | | | | | | | | | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * lib/widgets/Makefile.am: R lib/widgets/ephy-ellipsizing-label.c: R lib/widgets/ephy-ellipsizing-label.h: A lib/widgets/ephy-label.c: A lib/widgets/ephy-label.h: * src/ephy-notebook.c: (sync_label), (build_tab_label): * src/pdm-dialog.c: (show_cookies_properties): * src/prefs-dialog.c: (create_download_path_label), (download_path_response_cb): Kill our ellipsizing label implementation, and import GtkLabel into our prefix. * configure.in: Depend on pango 1.5.1 for ellipsisation support.
* Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioningChristian Persch2004-08-063-55/+56
| | | | | | | | | | | | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_parse_uri_list): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb), (ephy_node_view_class_init): * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-notebook.h: * src/ephy-session.c: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_load_in_tabs): Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioning when opening tabs from drags.
* Small code style cleanups.Christian Persch2004-07-312-56/+62
| | | | | | | | | | | | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type), (toolbars_toolbar_new), (toolbars_item_new), (egg_toolbars_model_set_flags), (egg_toolbars_model_add_separator), (impl_add_item), (egg_toolbars_model_add_toolbar), (egg_toolbars_model_class_init), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_get_item_id), (egg_toolbars_model_get_item_data), (egg_toolbars_model_get_item_type): * lib/egg/egg-toolbars-model.h: Small code style cleanups.
* Free node data and destroy nodes on finalize.Christian Persch2004-07-311-10/+21
| | | | | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (free_toolbar_node), (free_item_node), (free_toolbar), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item): Free node data and destroy nodes on finalize.
* Fix a call to egg_toolbars_model_set_flags().Christian Persch2004-07-301-2/+3
| | | | | | | | 2004-07-29 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (parse_toolbars): Fix a call to egg_toolbars_model_set_flags().
* Switch parameter order for egg_toolbars_model_set_flags().Christian Persch2004-07-262-4/+4
| | | | | | | | | | | | 2004-07-26 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_set_flags): * lib/egg/egg-toolbars-model.h: * src/bookmarks/ephy-bookmarksbar-model.c: (update_flags_and_save_changes): * src/ephy-toolbars-model.c: (update_flags_and_save_changes): Switch parameter order for egg_toolbars_model_set_flags().
* Make egg_toolbar_editor_add_action public again.Christian Persch2004-07-242-1/+4
| | | | | | | | | 2004-07-24 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: * lib/egg/egg-toolbar-editor.h: Make egg_toolbar_editor_add_action public again.
* Do not remove the topic when rename is cancelled.Marco Pesenti Gritti2004-07-232-3/+13
| | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (cell_renderer_edited), (renderer_editing_canceled_cb), (ephy_node_view_init), (ephy_node_view_edit): * lib/widgets/ephy-node-view.h: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_add_topic), (cmd_rename): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_new_topic): Do not remove the topic when rename is cancelled.
* Add support for toggles. When editing is canceled remove the node.Marco Pesenti Gritti2004-07-233-22/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-marshal.list: * lib/widgets/ephy-node-view.c: (path_toggled), (ephy_node_view_key_press_cb), (get_selection_refs), (ephy_node_view_button_press_cb), (cell_renderer_edited), (renderer_editing_canceled_cb), (ephy_node_view_add_column), (ephy_node_view_init), (ephy_node_view_edit), (ephy_node_view_constructor), (ephy_node_view_add_toggle), (ephy_node_view_class_init): * lib/widgets/ephy-node-view.h: Add support for toggles. When editing is canceled remove the node. * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (ephy_topics_selector_set_bookmarks), (ephy_topics_selector_set_property), (ephy_topics_selector_apply), (provide_toggle), (ephy_topics_selector_constructor), (topic_destroy_cb), (node_toggled_cb), (ephy_topics_selector_init), (ephy_topics_selector_new), (ephy_topics_selector_new_topic), (ephy_topics_selector_class_init): * src/bookmarks/ephy-topics-selector.h: Use EphyNodeView instead of a list store. Share a lot of code and we get updating for free. Fix bug #144770
* Simplify node view filtering code and make it a normal property (no moreMarco Pesenti Gritti2004-07-233-118/+70
| | | | | | | | | | | | | | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (filter_changed_cb), (ephy_node_view_set_filter), (ephy_node_view_set_property), (ephy_node_view_init), (ephy_node_view_select_node), (filter_visible_func), (ephy_node_view_constructor), (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_set_property), (ephy_tree_model_node_get_property), (ephy_tree_model_node_class_init), (ephy_tree_model_node_init), (ephy_tree_model_node_new), (ephy_tree_model_node_get_column_type), (ephy_tree_model_node_get_value): * lib/widgets/ephy-tree-model-node.h: * src/prefs-dialog.c: (create_node_combo): Simplify node view filtering code and make it a normal property (no more constructor only)
* Use gobject constructorMarco Pesenti Gritti2004-07-231-118/+113
| | | | | | | | | 2004-07-23 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_new), (ephy_node_view_constructor), (ephy_node_view_class_init): Use gobject constructor
* Ignore the microseconds part of the g_timer_elapsed call, its redundantChristian Persch2004-07-231-4/+3
| | | | | | | | | | | 2004-07-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: (ephy_profiler_dump): Ignore the microseconds part of the g_timer_elapsed call, its redundant information, and breaks when the timer is over a second. (ported from galeon).
* Handle the case where the downloads dir cannot be created gracefully. FixMarco Pesenti Gritti2004-07-222-4/+12
| | | | | | | | | | | | 2004-07-22 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_ensure_dir_exists): * lib/ephy-file-helpers.h: Handle the case where the downloads dir cannot be created gracefully. Fix #146902
* Add disable_quit, disable_new_window, first_window_fullscreen lockdownMarco Pesenti Gritti2004-07-191-0/+2
| | | | | | | | | | | | | | | 2004-07-19 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_actions_sensitivity), (tab_detached_cb), (tab_delete_cb), (ephy_window_init): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_close_window): Add disable_quit, disable_new_window, first_window_fullscreen lockdown options.
* Improve sort/priority API.Marco Pesenti Gritti2004-07-152-65/+126
| | | | | | | | | | | | | | | | | | | 2004-07-14 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (compare_string_values), (ephy_node_view_sort_func), (ephy_node_view_add_data_column), (ephy_node_view_add_column), (ephy_node_view_set_priority), (ephy_node_view_set_sort), (ephy_node_view_init): * lib/widgets/ephy-node-view.h: Improve sort/priority API. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-history-window.c: (ephy_history_window_construct): Sort history items by last visit
* *** empty log message ***Marco Pesenti Gritti2004-07-111-1/+2
|
* Add api to move items.Marco Pesenti Gritti2004-07-112-0/+36
| | | | | | | | | | | | | | | | | | 2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_move_item): * lib/egg/egg-toolbars-model.h: Add api to move items. * src/bookmarks/ephy-bookmark-action.c: (get_item_position), (remove_from_model), (move_in_model), (move_left_activate_cb), (move_right_activate_cb), (show_context_menu): * src/bookmarks/ephy-topic-action.c: (get_item_position), (remove_from_model), (move_in_model), (move_left_activate_cb), (move_right_activate_cb), (show_context_menu): Add Move Left/Move Right context menus.
* When moving in the same toolbar force GDK_ACTION_MOVE. Fix #145529Marco Pesenti Gritti2004-07-091-0/+5
| | | | | | | | | 2004-07-08 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): When moving in the same toolbar force GDK_ACTION_MOVE. Fix #145529
* Cache the scaled spinner images to make creating new spinners very fast,Christian Persch2004-07-051-303/+516
| | | | | | | | | | | | | | | | | | | | | 2004-07-05 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_images_free), (ephy_spinner_images_copy), (ephy_spinner_cache_unload), (extract_frame), (ephy_spinner_cache_load), (compare_size), (scale_to_size), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize), (ephy_spinner_cache_class_init), (ephy_spinner_cache_ref), (ephy_spinner_load_images), (ephy_spinner_unload_images), (icon_theme_changed_cb), (ephy_spinner_init), (select_spinner_image), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_set_size), (ephy_spinner_size_request), (ephy_spinner_finalize), (ephy_spinner_class_init): Cache the scaled spinner images to make creating new spinners very fast, now that we use so many of them.
* Add profiler calls.Christian Persch2004-07-031-0/+9
| | | | | | | | 2004-07-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_load_images): Add profiler calls.
* Add G_[BEGIN|END]_DECLSChristian Persch2004-07-031-21/+22
|
* Codestyle and whitespace cleanupChristian Persch2004-07-032-59/+60
|
* R data/art/epiphany-tab-loading.gif:Christian Persch2004-07-032-41/+61
| | | | | | | | | | | | | | | | 2004-07-02 Christian Persch <chpe@cvs.gnome.org> * data/art/Makefile.am: R data/art/epiphany-tab-loading.gif: * lib/widgets/ephy-spinner.c: (get_spinner_dimensions), (ephy_spinner_init), (ephy_spinner_expose), (ephy_spinner_unload_images), (scale_to_real_size), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/ephy-spinner.h: * src/ephy-notebook.c: (sync_load_status), (build_tab_label): * src/toolbar.c: (fixed_toolbar_reconfigured_cb), (toolbar_init): Remove our tab loading animation and use mini-spinners instead.
* Move in the bookmarks dir.Marco Pesenti Gritti2004-07-023-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: Move in the bookmarks dir. * lib/ephy-gui.c: (ephy_gui_select_row_by_key), (ephy_gui_is_middle_click): * lib/ephy-gui.h: Add a function to check if menus was activated by a middle or a ctrl+click (which is equivalent in epiphany) * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (activate_cb), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb), (create_menu): * src/bookmarks/ephy-bookmarksbar.c: (bookmark_open_in_tab_cb), (bookmark_open_cb), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-topic-action.c: (menu_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: Add signals to open bookmarks in new window/tab. I'll need them for context menus. Use them for middle/ctrl click.
* *** empty log message ***Marco Pesenti Gritti2004-07-011-4/+6
|
* Do not allow dragging out of edit mode on ITEMS_ONLY toolbars.Marco Pesenti Gritti2004-07-011-3/+4
| | | | | | | | 2004-07-01 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): Do not allow dragging out of edit mode on ITEMS_ONLY toolbars.
* Popup blocking support. View -> Popup Windows.Adam Hooper2004-07-012-0/+2
|
* Set sane_state to TRUE from user changes, otherwise broken prefs willChristian Persch2004-06-291-0/+8
| | | | | | | | | | 2004-06-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (changed_cb): Set sane_state to TRUE from user changes, otherwise broken prefs will never get overwritten.
* Use guint consistently for node idsMarco Pesenti Gritti2004-06-242-8/+8
| | | | | | | | | | | | | | | | | | | | | | 2004-06-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_get_id), (child_changed), (write_parent): * lib/ephy-node.h: * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmark-properties.c: (toolbar_checkbox_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks-menu.c: (create_menu), (topic_child_changed_cb): * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_set_topic_id), (topic_child_changed_cb): Use guint consistently for node ids
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-223-55/+71
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-21 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_help), (ephy_gui_select_row_by_key): * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/bookmarks/ephy-topics-selector.c: (topic_key_pressed): Factor out the helper to select a treeview row by column and use it also in the topic selector. * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-new-bookmark.c: * src/ephy-history-window.c: * src/pdm-dialog.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/window-commands.c: * embed/downloader-view.c: Remove braindead gtk.h inclusion and deal with fallout headers.
* Check for empty attributes before adding the item when parsing theChristian Persch2004-06-211-8/+11
| | | | | | | | | | 2004-06-21 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_flags), (parse_item_list), (parse_toolbars): Check for empty attributes before adding the item when parsing the toolbars file. Should fix bug #144698.
* Whoops. Um. Fixed the build.Adam Hooper2004-06-211-0/+1
|
* Go back to construction the toolbar when the model is set, fixes bugChristian Persch2004-06-162-68/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-16 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_disconnect_model), (egg_editable_toolbar_deconstruct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_class_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new), (egg_editable_toolbar_new_with_model), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_flags), (parse_toolbars): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window), (ephy_bookmarksbar_class_init): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_init): * src/toolbar.c: (toolbar_style_changed_cb), (parent_set_cb), (toolbar_init), (toolbar_finalize), (toolbar_new): Go back to construction the toolbar when the model is set, fixes bug #144191. 2004-06-15 Marco Pesenti Gritti <marco@gnome.org>
* Allow items to be dragged from toolbar editor also when in items onlyMarco Pesenti Gritti2004-06-132-2/+4
| | | | | | | | | | | | | 2004-06-12 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): Allow items to be dragged from toolbar editor also when in items only mode. * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_add_separator): The type should be the same as tool items.
* Make spinner not use a visible window, and fix coordinates accordingly.Christian Persch2004-06-121-6/+7
| | | | | | | | | | 2004-06-12 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_new), (ephy_spinner_init), (ephy_spinner_expose): Make spinner not use a visible window, and fix coordinates accordingly. Patch by Crispin Flowerday, fixes bug #134686.
* Merging bookmarksbar-separation branch.Christian Persch2004-06-117-93/+293
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* s/get_item_name/get_item_dataMarco Pesenti Gritti2004-06-103-22/+36
| | | | | | | | | | | | | | | | | | | 2004-06-09 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (impl_get_item_id), (impl_get_item_data), (egg_toolbars_model_class_init), (egg_toolbars_model_get_item_data): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (impl_get_item_data), (impl_get_item_id), (ephy_toolbars_model_class_init): s/get_item_name/get_item_data Do not assume data isnt changing, use the id and convert later instead.
* Retain custom types when moving items aroundMarco Pesenti Gritti2004-06-094-39/+59
| | | | | | | | | | | | | | | 2004-06-09 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source), (create_item_from_action), (create_item), (drag_data_received_cb), (egg_editable_toolbar_set_edit_mode): * lib/egg/egg-toolbar-editor.c: (model_has_action): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_item_nth): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (get_toolbar_and_item_pos), (ephy_toolbars_model_class_init), (item_added): Retain custom types when moving items around
* Update from libeggAdam Hooper2004-06-011-21/+11
|
* Revert varargs change, it doesn't work for LOG("Message") withoutChristian Persch2004-05-291-11/+0
| | | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.h: Revert varargs change, it doesn't work for LOG("Message") without arguments.
* Use ISO style variable argument macros. Patch by Brian Cameron, part ofChristian Persch2004-05-291-0/+11
| | | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.h: Use ISO style variable argument macros. Patch by Brian Cameron, part of bug #141319.
* Add check for 'mkdtemp', since solaris doesn't have it.Christian Persch2004-05-291-0/+4
| | | | | | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: Add check for 'mkdtemp', since solaris doesn't have it. * lib/ephy-file-helpers.c: (ephy_file_tmp_dir): Error out if we don't have mkdtemp.
* Don't return a value in void function, part of bug #141319.Christian Persch2004-05-291-1/+1
| | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_construct): Don't return a value in void function, part of bug #141319.
* Set the drag icon on realize, otherwise the current icon theme isn't used,Crispin Flowerday2004-05-221-21/+22
| | | | | | | | | | | 2004-05-22 Crispin Flowerday <gnome@flowerday.cx> * libegg/toolbareditor/egg-toolbar-editor.c (event_box_realize_cb), (editor_create_item): Set the drag icon on realize, otherwise the current icon theme isn't used, and it falls back to the default theme.
* Backported fixes from gtk+ cvs head.Christian Persch2004-05-201-17/+19
| | | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_init), (compute_dimensions), (ephy_cell_renderer_progress_get_size), (ephy_cell_renderer_progress_render): Backported fixes from gtk+ cvs head.
* Fix mem leak.Christian Persch2004-05-161-3/+7
| | | | | | | | | | 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_value_from_editable), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_combo_box_from_value): Fix mem leak.
* Fix mem leaks.'Christian Persch2004-05-161-0/+3
| | | | | | | | 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_finalize): Fix mem leaks.'
* Backport changed from the new gtkcellrendererprogress which was based onChristian Persch2004-05-132-240/+328
| | | | | | | | | | | | | | | | | | | | 2004-05-12 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_class_init), (ephy_cell_renderer_progress_init), (ephy_cell_renderer_progress_new), (ephy_cell_renderer_progress_finalize), (ephy_cell_renderer_progress_get_property), (ephy_cell_renderer_progress_set_property), (ephy_cell_renderer_progress_set_value), (ephy_cell_renderer_progress_set_text), (compute_dimensions), (ephy_cell_renderer_progress_get_size), (ephy_cell_renderer_progress_render): * lib/widgets/ephy-cell-renderer-progress.h: Backport changed from the new gtkcellrendererprogress which was based on ephy's, to support RTL.
* Fix compilation with gcc 2.95.Christian Persch2004-05-121-1/+2
| | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_combo_box_from_value): Fix compilation with gcc 2.95.
* Add convenience functions for creating a filter with a bunch of mime typesChristian Persch2004-05-092-4/+131
| | | | | | | | | | | | | | | | | | | | | | 2004-05-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_add_pattern_filter), (ephy_file_chooser_add_mime_filter), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: Add convenience functions for creating a filter with a bunch of mime types or patterns and add it to a file chooser. Those should really be in gtk+; see bug #142142. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Add some filters to the file chooser dialogues.
* title added back to dialog - see notes on bug #133152Patanjali Somayaji2004-05-031-1/+1
| | | | | | | | 2004-05-03 Patanjali Somayaji <patanjali@codito.com> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): title added back to dialog - see notes on bug #133152
* More HIGifying of the overwrite confirmation dialog - - title removed fromPatanjali Somayaji2004-05-031-1/+2
| | | | | | | | | | 2004-05-03 Patanjali Somayaji <patanjali@codito.com> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): More HIGifying of the overwrite confirmation dialog - - title removed from dialog - dialog removed from window list
* Make Escape cancel overwrite dialog.Piers Cornwell2004-05-031-20/+16
| | | | | | | | 2004-05-02 Piers Cornwell <piers@gnome.org> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Make Escape cancel overwrite dialog.
* More HIG love for overwrite confirmation. Partial fix for bug #133152.Piers Cornwell2004-04-301-3/+5
| | | | | | | | 2004-04-30 Piers Cornwell <piers@gnome.org> * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): More HIG love for overwrite confirmation. Partial fix for bug #133152.
* HIGified dialog created with "Cancel" and "Overwrite" buttons.Patanjali Somayaji2004-04-291-11/+38
| | | | | | | | | | | | | | 2204-04-29 Patanjali Somayaji <patanjali@codito.com> * lib/ephy-gui.c ephy_gui_confirm_overwrite () changes: HIGified dialog created with "Cancel" and "Overwrite" buttons. (Fix for bug #133152) * Changelog updated
* Document UTF-8 requirement.Christian Persch2004-04-222-2/+2
| | | | | | | | | | | | | | | 2004-04-22 Christian Persch <chpe@cvs.gnome.org> * HACKING: Document UTF-8 requirement. * lib/widgets/ephy-cell-renderer-progress.c: * lib/widgets/ephy-cell-renderer-progress.h: * src/bookmarks/ephy-bookmarks-menu.h: * ChangeLog: Converted to UTF-8.
* Documented EphyGladeAdam Hooper2004-04-201-5/+19
|
* Fix font selection combo box issues; fixes bug #138560.Christian Persch2004-04-182-66/+86
| | | | | | | | | | | | | | | | 2004-04-18 Christian Persch <chpe@cvs.gnome.org> * configure.in: * lib/ephy-dialog.c: (set_value_from_editable), (set_value_from_combobox), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_value_from_info), (set_combo_box_from_value), (set_pref_from_info_and_emit), (save_info), (ephy_dialog_get_value): * lib/ephy-dialog.h: * src/prefs-dialog.c: (setup_font_combo): Fix font selection combo box issues; fixes bug #138560.
* Resync with eggMarco Pesenti Gritti2004-04-174-4/+23
| | | | | | | | | | | | 2004-04-17 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/Makefile.am: * lib/egg/egg-editable-toolbar.c: (set_drag_cursor): * lib/egg/egg-toolbar-editor.c: (set_drag_cursor): * lib/egg/eggstatusicon.c: (egg_status_icon_init), (egg_status_icon_button_press), (egg_status_icon_button_release): Resync with egg
* Add "Downloads" folder shortcut to our file chooser dialogues.Christian Persch2004-04-141-0/+21
| | | | | | | | | 2004-04-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor), (ephy_file_chooser_class_init): Add "Downloads" folder shortcut to our file chooser dialogues.
* Don't quit the filechooser when selecting "No" from the confirm- overwriteChristian Persch2004-04-101-2/+8
| | | | | | | | | | | | | | | 2004-04-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: Don't quit the filechooser when selecting "No" from the confirm- overwrite dialoge. Fixes bug #139400. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Convert the filename to UTF-8 before showing it in the confirm dialogue.
* Change initial refcound of EphyNode to 1, not 0Adam Hooper2004-04-101-1/+1
|
* Remove unused variable.Christian Persch2004-04-071-2/+0
| | | | | | | | 2004-04-07 Christian Persch <chpe@cvs.gnome.org> * lib/eel-gconf-extensions.c: (eel_gconf_handle_error): Remove unused variable.
* Don't abort on errors, just display a message on console.Christian Persch2004-04-071-11/+0
| | | | | | | | 2004-04-07 Christian Persch <chpe@cvs.gnome.org> * lib/eel-gconf-extensions.c: (eel_gconf_handle_error): Don't abort on errors, just display a message on console.
* Make prefs, pdm and print setup dialogues transient to their parent. FixesChristian Persch2004-04-062-1/+14
| | | | | | | | | | | | | | 2004-04-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * lib/ephy-dialog.c: (ephy_dialog_get_parent): * lib/ephy-dialog.h: * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_edit_personal_data), (window_cmd_edit_prefs): Make prefs, pdm and print setup dialogues transient to their parent. Fixes bug #139124.
* Documented EphyNodeDbAdam Hooper2004-04-052-13/+108
|
* Synchronise changes from galeon, this fixes simple usage, stops crashesCrispin Flowerday2004-04-033-16/+44
| | | | | | | | | | | | | | | 2004-04-03 Crispin Flowerday <gnome@flowerday.cx> * lib/egg/egg-editable-toolbar.c: (set_fixed_style), (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbars_clean), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_model): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_load_actions): * lib/egg/egg-toolbars-model.h: Synchronise changes from galeon, this fixes simple usage, stops crashes when dragging items to and from other applications, and adds the ability to override the toolbar style.
* Removed the nautilus view.Christian Persch2004-03-303-142/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/.cvsignore: * data/GNOME_Epiphany_NautilusView.server.in: * data/Makefile.am: * data/ui/.cvsignore: * data/ui/Makefile.am: * data/ui/nautilus-epiphany-view.xml: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-popup-control.c: * embed/ephy-embed-popup-control.h: * lib/Makefile.am: * lib/ephy-bonobo-extensions.c: * lib/ephy-bonobo-extensions.h: * po/POTFILES.in: * src/Makefile.am: * src/ephy-nautilus-view.c: * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_automation_factory_cb): Removed the nautilus view. 2004-03-29 Christian Persch <chpe@cvs.gnome.org>
* Fixes #138263.Federico Mena Quintero2004-03-302-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Federico Mena Quintero <federico@ximian.com> Fixes #138263. * lib/ephy-file-chooser.h: Remove EPHY_RESPONSE_OPEN and EPHY_RESPONSE_SAVE; we'll use GTK_RESPONSE_ACCEPT instead. * lib/ephy-file-chooser.c (ephy_file_chooser_new): Use GTK_RESPONSE_ACCEPT rather than EPHY_RESPONSE_*. * embed/print-dialog.c (print_filechooser_response_cb): Likewise. * src/bookmarks/ephy-bookmarks-editor.c (import_from_file_response_cb): Likewise. * src/prefs-dialog.c (download_path_response_cb): Likewise. * src/window-commands.c (open_response_cb): Likewise. * embed/mozilla/ContentHandler.cpp (PromptForSaveToFile): Likewise. * embed/mozilla/EphyHeaderSniffer.cpp (filechooser_response_cb): Likewise. * embed/mozilla/FilePicker.cpp (Init): Likewise. (Show): Likewise.