aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
Commit message (Collapse)AuthorAgeFilesLines
* lib/ephy-file-helpers.c lib/widgets/ephy-location-entry.cCrispin Flowerday2005-11-111-1/+0
| | | | | | | | | | | 2005-11-10 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-file-helpers.c * lib/widgets/ephy-location-entry.c * src/ephy-session.c * src/bookmarks/ephy-bookmarks-import.c: Remove some unused variables
* More static strings.Christian Persch2005-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtrayicon.c: (egg_tray_icon_class_init): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/ephy-find-toolbar.c: (ephy_find_toolbar_class_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-python-extension.c: (ephy_python_extension_class_init): * src/ephy-session.c: (ephy_session_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_class_init): * src/ppview-toolbar.c: (ppview_toolbar_class_init): More static strings.
* Mark strings in param specs as static.Christian Persch2005-11-084-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/mozilla/mozilla-download.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_class_init): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_class_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): * lib/ephy-dialog.c: (ephy_dialog_class_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_class_init): * lib/ephy-node-db.c: (ephy_node_db_class_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_class_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_class_init): * src/ephy-history-window.c: (ephy_history_window_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-navigation-action.c: (ephy_navigation_action_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init): * src/ephy-window.c: (ephy_window_class_init): Mark strings in param specs as static.
* Simplify the drag icon code.Christian Persch2005-11-031-109/+21
| | | | | | | | | 2005-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (favicon_drag_begin_cb), (ephy_location_entry_construct_contents): Simplify the drag icon code.
* Show drag icon with page title + URL when dragging from the drag handle.Christian Persch2005-11-031-0/+238
| | | | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (favicon_create_drag_pixmap), (favicon_button_press_event_cb), (favicon_button_release_event_cb), (favicon_motion_notify_event_cb), (ephy_location_entry_construct_contents): Show drag icon with page title + URL when dragging from the drag handle.
* Skip spinner update when we're not loaded. Should fix bug #320079.Christian Persch2005-10-291-7/+11
| | | | | | | | | | 2005-10-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (bump_spinner_frame_cb), (ephy_spinner_start): Skip spinner update when we're not loaded. Should fix bug #320079.
* Ensure the images are loaded before starting to spin. Should fix crashesChristian Persch2005-10-091-7/+16
| | | | | | | | | * lib/widgets/ephy-spinner.c: (ephy_spinner_start), (ephy_spinner_dispose), (ephy_spinner_finalize), (ephy_spinner_class_init): Ensure the images are loaded before starting to spin. Should fix crashes on start/new tab.
* Add style properties for 'secure-[bg|fg]-color', and apply them when theChristian Persch2005-10-072-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set), (ephy_location_entry_class_init), (ephy_location_entry_set_favicon), (ephy_location_entry_set_secure): * lib/widgets/ephy-location-entry.h: Add style properties for 'secure-[bg|fg]-color', and apply them when the entry is in 'secure' mode. Reset the IM context before emitting the 'activate' signal. * src/ephy-location-action.c: (sync_secure), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init): * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_init): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_chromes_visibility), (sync_tab_security): Set the location entry's 'secure' property on secure sites, and also always show the lock for secure sites.
* Remove unused code.Christian Persch2005-10-021-1/+3
| | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * lib/widget/ephy-spinner.c: Remove unused code.
* Don't include config.h here.Christian Persch2005-10-023-56/+362
| | | | | | | | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.h: Don't include config.h here. * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_data_unload), (ephy_spinner_cache_data_load), (ephy_spinner_cache_data_new), (ephy_spinner_cache_data_free), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize), (ephy_spinner_load_images), (ephy_spinner_init), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_set_timeout), (ephy_spinner_finalize), (ephy_spinner_screen_changed), (ephy_spinner_class_init): Make spinner multihead safe. * lib/widgets/testspinner.c: Add a tiny spinner test program.
* Don't spin unmapped spinners. Slightly decrease the frequency. Might helpChristian Persch2005-10-021-4/+45
| | | | | | | | | | | 2005-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_start), (ephy_spinner_stop), (ephy_spinner_map), (ephy_spinner_unmap), (ephy_spinner_class_init): Don't spin unmapped spinners. Slightly decrease the frequency. Might help with bug #315232.
* Reset the IM context before activating the entry.Christian Persch2005-10-012-5/+10
| | | | | | | | | | | | | 2005-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): Reset the IM context before activating the entry. * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/ephy-find-toolbar.c: (tab_search_key_press_cb): Add GDK_ISO_Enter to recognised keyvals.
* Version 1.9.Christian Persch2005-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 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.
* 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.
* 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-111-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* More constification.Christian Persch2005-04-193-7/+6
| | | | | | | | | | | | | | | | | | | | | | | 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.
* 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 custom search, and use gtktreeview typeaheadfind. Fixes bugChristian Persch2005-03-141-18/+9
| | | | | | | | | | | | 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.
* 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.
* 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.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-294-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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.
* 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.
* Add Toolbar toggle to document context menu in fullscreen mode.Christian Persch2005-01-133-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make all structs prefixed by _.Christian Persch2005-01-0912-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-082-29/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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>
* 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-141-2/+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.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-011-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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.
* 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.
* 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.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-038-16/+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.
* Removing debug spewChristian Persch2004-11-011-1/+0
|
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-282-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-248-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-231-4/+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 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
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-137-4456/+0
| | | | | | | | 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.
* 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-085-856/+3622
| | | | | | | | | | | | | | | | | | | | | | 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-061-55/+2
| | | | | | | | | | | | | | | | | | | 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.
* 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-232-22/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* 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.
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-221-54/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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.
* 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.
* 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.
* 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.
* Make select-by-key support unsorted lists. Fuzzy matching is gone though.Xan Lopez2004-03-191-1/+1
| | | | | | | | * lib/widgets/ephy-node-view.c: (ephy_node_view_select_node_by_key): Make select-by-key support unsorted lists. Fuzzy matching is gone though. Oh well ... :) (bug #137054)
* *** empty log message ***Marco Pesenti Gritti2004-03-171-1/+0
|
* merging pre-gnome-2-8 branchMarco Pesenti Gritti2004-03-1714-5/+44
|
* Copy and modify gnome_vfs_uri_list_parse() so that we get a list of stringChristian Persch2004-03-042-4/+57
| | | | | | | | | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (uri_list_parse), (drag_data_received_cb): Copy and modify gnome_vfs_uri_list_parse() so that we get a list of string uris instead of GnomeVFSURIs. Change signature of ::node-dropped accordingly. Fixes bug #120231. * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): Adapt to the changed ::node-dropped signal signature.
* Sucky but not intrusive hack to make dnd on the address entry work whenMarco Pesenti Gritti2004-02-281-0/+52
| | | | | | | | | | | | | | | | 2004-02-28 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_edit_mode): * lib/egg/egg-editable-toolbar.h: * lib/widgets/ephy-location-entry.c: (toolbar_is_editable), (entry_drag_motion_cb), (entry_drag_drop_cb), (ephy_location_entry_construct_contents): Sucky but not intrusive hack to make dnd on the address entry work when editing toolbar. A better solution will be found when the toolbar editor will get in gtk. Based on a patch from Søren Sandmann, bug 132467.
* Simplify and hopefully fix mem corruptionMarco Pesenti Gritti2004-02-121-5/+3
| | | | | | | | 2004-02-12 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (keyword_match): Simplify and hopefully fix mem corruption
* CleanupMarco Pesenti Gritti2004-02-111-3/+3
| | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Cleanup * src/bookmarks/ephy-bookmarks.c: Increase format version
* Better keyword matching function. Should match only words (not middleMarco Pesenti Gritti2004-02-111-1/+36
| | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (keyword_match), (completion_func): Better keyword matching function. Should match only words (not middle parts of them) and maybe be a bit faster.
* Pass the property id to the changed signal.Marco Pesenti Gritti2004-02-112-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-node.c: (callback), (child_changed), (ephy_node_set_property): Pass the property id to the changed signal. * lib/ephy-node.h: Cleanup. * embed/ephy-history.c: (hosts_changed_cb), (pages_changed_cb): * lib/widgets/ephy-location-entry.c: (completion_func): * lib/widgets/ephy-tree-model-node.c: (root_child_changed_cb): * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmarks-menu.c: (topic_child_changed_cb): * src/bookmarks/ephy-topic-action.c: (topic_child_changed_cb): * src/ephy-completion-model.c: (root_child_changed_cb): * src/ephy-location-action.c: (actions_child_changed_cb): Fixup changed signals signature. * src/bookmarks/ephy-bookmarks.c: (update_bookmark_keywords), (bookmarks_changed_cb), (bookmark_is_categorized), (topics_removed_cb), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): Cleanup keywords building, normalize and case fold it, add the title words as keywords too.
* Fix toolbar overflow menu creation. Don't connect zoom control signals toChristian Persch2004-02-053-87/+88
| | | | | | | | | | | | | | 2004-02-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type), (zoom_to_level_cb), (connect_proxy), (proxy_menu_activate_cb), (create_menu_item), (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/ephy-history-window.c: (cmd_delete), Fix toolbar overflow menu creation. Don't connect zoom control signals to a menu item.
* Fix mem leak.Christian Persch2004-02-051-1/+1
| | | | | | | | | 2004-02-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_finalize): Fix mem leak.
* ==> ChangeLog <==Christian Persch2004-01-261-0/+1
| | | | | | | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_finalize): Fix mem leak. 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_finalize):
* Fix mem leak.Christian Persch2004-01-261-0/+5
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_finalize): Fix mem leak.
* New function to get temp directory and moved ephy_shell_delete_on_exit toChristopher James Lahey2004-01-231-17/+14
| | | | | | | | | | | | | | | | | | 2004-01-22 Christopher James Lahey <clahey@ximian.com> * lib/ephy-file-helpers.c, lib/ephy-file-helpers.h (ephy_file_tmp_directory, ephy_file_delete_on_exit): New function to get temp directory and moved ephy_shell_delete_on_exit to here. * lib/widgets/ephy-location-entry.c: Changed how this goes about showing itself when hidden and activated. * src/ephy-shell.c, src/ephy-shell.h (ephy_shell_delete_on_exit): Moved to ephy_file_delete_on_exit. * src/window-commands.c: Changed ephy_shell_delete_on_exit to ephy_file_delete_on_exit. Used ephy_file_tmp_directory to save source files for viewing in a directory that isn't world readable.
* Fix more mem leaks.Christian Persch2003-12-171-0/+3
| | | | | | | | 2003-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Fix more mem leaks.
* Fix mem leak.Christian Persch2003-12-171-0/+2
| | | | | | | | 2003-12-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Fix mem leak.
* *** empty log message ***Marco Pesenti Gritti2003-12-172-6/+0
|
* Really committing it this timeChristian Persch2003-12-151-1/+2
|
* Use g_signal_connect_object so the signal isn't emitted for a deadChristian Persch2003-12-141-4/+4
| | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_init): Use g_signal_connect_object so the signal isn't emitted for a dead spinner.
* Reformatted to conform to epiphany coding style. Fix some error conditionChristian Persch2003-12-091-47/+84
| | | | | | | | | | | | | | | | 2003-12-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_get_type), (ephy_spinner_new), (get_spinner_dimensions), (ephy_spinner_init), (select_spinner_image), (ephy_spinner_expose), (bump_spinner_frame), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_unload_images), (scale_to_real_size), (extract_frame), (ephy_spinner_load_images), (ephy_spinner_set_small_mode): Reformatted to conform to epiphany coding style. Fix some error condition checks, and initialise variables.
* Remove unused includes.Christian Persch2003-12-041-2/+0
| | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: Remove unused includes.
* Readd gtk deprecates (only in maintainer mode).Marco Pesenti Gritti2003-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | 2003-11-30 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Readd gtk deprecates (only in maintainer mode). * src/ephy-location-action.c: (sync_editable): Use not deprecated api. * lib/ephy-dialog.c: (set_value_from_info), (set_info_from_value), (connect_signals), (init_props): Remove optionmenu deprecated control.
* Port from option menu to GtkComboBox.Christian Persch2003-11-282-68/+46
| | | | | | | | | | | | 2003-11-28 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type), (proxy_menu_activate_cb), (combo_changed_cb), (sync_zoom_cb), (ephy_zoom_control_init), (ephy_zoom_control_set_tooltip), (ephy_zoom_control_class_init), (ephy_zoom_control_finalize): * lib/widgets/ephy-zoom-control.h: Port from option menu to GtkComboBox.
* Try out a different layout for downloads rows. Make the file columnMarco Pesenti Gritti2003-11-261-1/+1
| | | | | | | | | | | | 2003-11-26 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (update_download_row), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui): * lib/widgets/ephy-cell-renderer-progress.c: Try out a different layout for downloads rows. Make the file column expand.
* Complete docs base implementation. Should work more or less.Marco Pesenti Gritti2003-11-2011-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-19 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/.cvsignore: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/config.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: Complete docs base implementation. Should work more or less. * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Cleanup a bit libs build and use a static lib also for the src/ code so that we can use it for documents. * src/ephy-nautilus-view.c: Bad chpe forgot to modify func signature. 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.h: * embed/ephy-download.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.h: * embed/ephy-embed-shell.h: * embed/ephy-embed-single.h: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.h: * embed/ephy-history.h: * embed/find-dialog.h: * embed/mozilla/EphyBrowser.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.h: * embed/print-dialog.h: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.h: * lib/ephy-debug.h: * lib/ephy-dialog.h: * lib/ephy-dnd.h: * lib/ephy-file-chooser.h: * lib/ephy-node-db.h: * lib/ephy-node-filter.h: * lib/ephy-node.h: * lib/ephy-prefs.h: * lib/ephy-state.h: * lib/ephy-string.h: * lib/ephy-zoom.h: * lib/widgets/ephy-arrow-toolbutton.h: * lib/widgets/ephy-cell-renderer-progress.h: * lib/widgets/ephy-ellipsizing-label.h: * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.h: * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topics-selector.h: * src/ephy-automation.h: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.h:
* *** empty log message ***Marco Pesenti Gritti2003-11-151-6/+6
|
* Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looksMarco Pesenti Gritti2003-11-091-1/+1
| | | | | | | | | | | 2003-11-08 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_flags): * src/ephy-completion-model.c: (ephy_completion_model_get_flags): Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looks already ok with it to me. Hopefully not missing something ...
* Change some more i18n inclusion and remove several unused includes.Marco Pesenti Gritti2003-11-061-2/+3
| | | | | | | | | | | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-file-helpers.c: * lib/widgets/ephy-search-entry.c: Change some more i18n inclusion and remove several unused includes.
* Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.Christian Persch2003-11-063-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/ephy-encodings.c: * embed/ephy-history.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/ephy-file-helpers.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-node.c: * lib/ephy-zoom.h: * lib/widgets/ephy-cell-renderer-progress.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-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-notebook.c: * src/ephy-shell.c: * src/ephy-tab.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/session.c: * src/toolbar.c: * src/window-commands.c: Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.
* Resync with eel.Marco Pesenti Gritti2003-11-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * lib/eel-gconf-extensions.c: (global_client_free), (eel_gconf_client_get_global), (eel_gconf_handle_error), (eel_gconf_set_string), (eel_gconf_is_default), (eel_gconf_key_is_writable), (eel_gconf_monitor_add), (eel_gconf_monitor_remove), (eel_gconf_preload_cache), (eel_gconf_get_default_value), (eel_strcmp), (eel_str_is_equal), (simple_value_is_equal), (eel_gconf_value_is_equal), (eel_gconf_value_get_string_list), (eel_gconf_value_set_string_list), (eel_gconf_set_float), (eel_gconf_get_float): * lib/eel-gconf-extensions.h: Resync with eel. * lib/ephy-prefs.h: * lib/widgets/ephy-spinner.c: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Migrate old font size settings. This will screw things for 1.1 users, not much we can do about it now.
* Remove unused ephy-prefs includesMarco Pesenti Gritti2003-11-051-1/+0
| | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/widgets/ephy-spinner.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/language-editor.c: * src/session.c: Remove unused ephy-prefs includes
* Remove unused types.Christian Persch2003-11-041-1/+1
| | | | | | | | | | | | | | | | | | | 2003-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: Remove unused types. * embed/ephy-embed.c: (ephy_embed_base_init): * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): Use g_cclosure_marshal_* instead of our own ephy_marshal_* where there is a one. For signals returning a boolean, use the g_signal_accumulator_true_handled accumulator.
* Add a title param to dnd iterator and remove unused screen locationMarco Pesenti Gritti2003-10-301-1/+1
| | | | | | | | | | | | | | 2003-10-30 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dnd.c: (add_one_netscape_url), (add_one_uri), (add_one_topic): * lib/ephy-dnd.h: * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/ephy-favicon-action.c: (each_url_get_data_binder): Add a title param to dnd iterator and remove unused screen location params.
* Merge new-downloader branch. We reworked the backend, the userMarco Pesenti Gritti2003-10-173-0/+367
| | | | interface is still incomplete.
* Make location a normal entry.Marco Pesenti Gritti2003-10-142-186/+3
| | | | | | | | | | | | | | | | | | | 2003-10-14 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_activate): * lib/widgets/ephy-location-entry.h: * src/ephy-history-window.c: (confirmation_dialog_response_cb): * src/ephy-location-action.c: (remove_completion_actions), (add_completion_actions), (connect_proxy), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/toolbar.c: * src/toolbar.h: Make location a normal entry.
* Unref completionMarco Pesenti Gritti2003-10-141-0/+1
| | | | | | | | | 2003-10-13 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): Unref completion
* *** empty log message ***Marco Pesenti Gritti2003-10-121-25/+26
|
* Merge completion branchMarco Pesenti Gritti2003-10-124-1471/+335
|
* Reenable deprecated api where necessary, fixup some header inclusions.Marco Pesenti Gritti2003-10-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | 2003-10-10 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/mozilla-embed-single.cpp: * lib/Makefile.am: * lib/ephy-dialog.c: (get_pref_type_from_widget), (prefs_connect_signals), (load_props), (save_props): * lib/ephy-gui.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-topic-action.c: * src/ephy-history-window.c: Reenable deprecated api where necessary, fixup some header inclusions. Remove unused color picker control in ephy-dialog. Remove unused file types optionmenu in Filepicker.
* Merge fixes from branch and clean up.Marco Pesenti Gritti2003-10-072-206/+163
| | | | | | | | | | | | | | | | | | | | | | | | 2003-10-07 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-tree-model-node.c: (root_child_removed_cb), (get_path_real), (root_child_added_cb), (ephy_tree_model_node_update_node), (root_child_changed_cb), (root_children_reordered_cb), (root_destroy_cb), (ephy_tree_model_node_class_init), (ephy_tree_model_node_init), (ephy_tree_model_node_finalize), (ephy_tree_model_node_add_prop_column), (ephy_tree_model_node_add_func_column), (ephy_tree_model_node_get_column_type), (ephy_tree_model_node_get_value), (ephy_tree_model_node_get_iter), (ephy_tree_model_node_get_path), (ephy_tree_model_node_iter_next), (ephy_tree_model_node_iter_children), (ephy_tree_model_node_iter_n_children), (ephy_tree_model_node_iter_nth_child), (ephy_tree_model_node_iter_from_node), (ephy_tree_model_node_tree_model_init): * lib/widgets/ephy-tree-model-node.h: Merge fixes from branch and clean up.
* Do not unselect all on single selection mode, to not generate useless nodeMarco Pesenti Gritti2003-10-061-1/+5
| | | | | | | | | | | | | | 2003-10-06 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (did_not_drag): Do not unselect all on single selection mode, to not generate useless node selection changes. * src/ephy-history-window.c: (site_node_selected_cb): Do not refilter if the new selected node is the same as the old one.
* Simpler implementation.Marco Pesenti Gritti2003-09-271-1/+1
| | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_get_pixbuf_from_mime_type): Simpler implementation. * lib/widgets/ephy-spinner.c: (ephy_spinner_load_images): * src/ephy-shell.c: (ephy_shell_init): Pass 0 as flags
* Use gtkicontheme, and use it also for mime icons.Marco Pesenti Gritti2003-09-271-15/+20
| | | | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * lib/ephy-gui.c: (make_mime_name), (ephy_gui_get_pixbuf_from_mime_type): * lib/ephy-gui.h: * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_theme_changed), (ephy_spinner_load_images), (ephy_spinner_finalize): * src/ephy-shell.c: (ephy_shell_init): Use gtkicontheme, and use it also for mime icons.
* Implement a way to choose visible column in a menu. Not finished I need toMarco Pesenti Gritti2003-09-211-3/+0
| | | | | | | | | | | | 2003-09-21 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-bookmark-editor-ui.xml: * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_view_columns), (ephy_bookmarks_editor_construct): Implement a way to choose visible column in a menu. Not finished I need to persist state in a gconf key.
* *** empty log message ***Marco Pesenti Gritti2003-09-201-0/+1
|
* Remember the address in the location action, so we can restore it when weChristian Persch2003-09-202-26/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-20 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (ephy_location_entry_activation_finished), (location_focus_out_cb), (ephy_location_entry_init), (ephy_location_ignore_prefix), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_get_location), (ephy_location_entry_activate), (ephy_location_entry_editable_changed_cb), (ephy_location_entry_clear_history): * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (location_url_activate_cb), (user_changed_cb), (sync_address), (connect_proxy), (disconnect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_activate), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize), (ephy_location_action_get_address), (ephy_location_action_set_address), (clear_history), (ephy_location_action_clear_history): * src/ephy-location-action.h: * src/toolbar.c: (toolbar_class_init), (toolbar_set_property), (sync_user_input_cb), (toolbar_setup_actions), (toolbar_set_window), (toolbar_init), (toolbar_finalize), (toolbar_new), (toolbar_activate_location), (toolbar_set_location), (toolbar_get_location), (toolbar_clear_location_history): * src/toolbar.h: * src/window-commands.c: (window_cmd_load_location): Remember the address in the location action, so we can restore it when we get a new proxy widget. Do some misc cleanups on location entry, removing finished signal; move activation from toolbar into location entry.
* Remove spurious code.Christian Persch2003-09-201-8/+0
| | | | | | | | | 2003-09-20 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_init): Remove spurious code.
* Make sure to remove show_timeout also when the window is still notMarco Pesenti Gritti2003-09-121-13/+8
| | | | | | | | | | | | 2003-09-11 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_hide_alternatives), (insert_text_cb), (ephy_location_entry_autocompletion_window_hidden_cb): Make sure to remove show_timeout also when the window is still not visible.
* gtk+ now supports invisible event boxes. Remove our custom implementationChristian Persch2003-09-093-287/+0
| | | | | | | | | | | | | | 2003-09-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-event-box.c: * lib/widgets/ephy-event-box.h: * src/ephy-favicon-action.c: (create_tool_item): * src/ephy-notebook.c: (build_tab_label): * src/statusbar.c: (create_statusbar_security_icon): gtk+ now supports invisible event boxes. Remove our custom implementation and use gtk+ api instead.
* *** empty log message ***Marco Pesenti Gritti2003-09-041-3/+2
|
* Use x,y only on drop, otherwise they are invalid. Damn that api suck.Marco Pesenti Gritti2003-09-041-10/+13
| | | | | | | | | 2003-09-04 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (drag_data_received_cb): Use x,y only on drop, otherwise they are invalid. Damn that api suck.
* Check if the target type match before highlighting the row and returnMarco Pesenti Gritti2003-09-041-1/+3
| | | | | | | | | 2003-09-04 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (drag_motion_cb): Check if the target type match before highlighting the row and return success status.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-0212-104/+98
|
* Fix problems with EphyNodeView, bookmarks and history dialogs and updateMarco Pesenti Gritti2003-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2003-08-31 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-history-window-ui.xml.in: * data/ui/epiphany-ui.xml.in: * lib/widgets/ephy-node-view.c: (get_selection): * src/bookmarks/ephy-bookmarks-editor.c: (add_widget), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu), (ephy_bookmarks_menu_rebuild): * src/ephy-encoding-menu.c: (build_group), (build_encoding), (ephy_encoding_menu_rebuild): * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/ephy-history-window.c: (add_widget), (ephy_history_window_construct): * src/ephy-tabs-menu.c: (ephy_tabs_menu_clean), (ephy_tabs_menu_update): * src/ephy-window.c: (setup_window), (ephy_window_init): Fix problems with EphyNodeView, bookmarks and history dialogs and update dynamic menus to the new xml format.
* Part of gtk 2.3 port, changelog too long to paste itMarco Pesenti Gritti2003-08-309-61/+53
|
* Convert erroneous g_return_if_fail into a simple conditional return.Christian Persch2003-08-241-1/+2
| | | | | | | | 2003-08-24 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_remove): Convert erroneous g_return_if_fail into a simple conditional return.
* Make it NULL safeMarco Pesenti Gritti2003-08-221-8/+34
| | | | | | | | | | | | | | | | | 2003-08-22 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (compare_string_values), (ephy_node_view_sort_func): * src/bookmarks/ephy-bookmarks-menu.c: (sort_topics), (sort_bookmarks): * src/bookmarks/ephy-topic-action.c: (sort_bookmarks), (sort_topics): Make it NULL safe * src/ephy-toolbars-model.c: (impl_get_item_id): When creating bookmark, if the title is unknown, use untitled.
* Fix function signature, it's void instead of gboolean. Fix a logic error.Christian Persch2003-08-211-5/+3
| | | | | | | | | 2003-08-21 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (drag_data_received_cb): Fix function signature, it's void instead of gboolean. Fix a logic error.
* Fix drag dest implementation getting some code from nautilus.Marco Pesenti Gritti2003-08-211-51/+233
| | | | | | | | | | | | | 2003-08-20 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (get_node_from_path), (gtk_tree_view_vertical_autoscroll), (scroll_timeout), (remove_scroll_timeout), (set_drag_dest_row), (clear_drag_dest_row), (get_drag_data), (free_drag_data), (drag_motion_cb), (drag_leave_cb), (drag_data_received_cb), (drag_drop_cb), (ephy_node_view_enable_drag_dest): Fix drag dest implementation getting some code from nautilus.
* Stop signals only when necessary on drag dest custom implementation. MakeMarco Pesenti Gritti2003-08-201-12/+42
| | | | | | | | | | | | | | 2003-08-19 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (drag_motion_cb), (drag_drop_cb), (drag_data_received_cb), (button_event_modifies_selection), (did_not_drag), (button_release_cb), (motion_notify_cb), (ephy_node_view_button_press_cb): Stop signals only when necessary on drag dest custom implementation. Make click on multiple selection deselect all but the clicked element.
* Fix multiple rows dnd problems stealing some Nautilus code.Marco Pesenti Gritti2003-08-111-16/+199
| | | | | | | | | | | | | | 2003-08-11 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_finalize), (ephy_node_view_enable_drag_dest), (selection_foreach), (get_selection_refs), (ref_list_free), (stop_drag_check), (drag_data_get_cb), (button_release_cb), (motion_notify_cb), (button_event_modifies_selection), (ephy_node_view_button_press_cb), (ephy_node_view_init), (ephy_node_view_enable_drag_source): Fix multiple rows dnd problems stealing some Nautilus code.
* Fix mem leak.Christian Persch2003-08-091-0/+2
| | | | | | | | 2003-08-08 Christian Persch <chp@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (cell_renderer_edited): Fix mem leak.
* Correct ref-counting.Christian Persch2003-08-061-0/+7
| | | | | | | | 2003-08-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-arrow-toolbutton.c: Correct ref-counting.
* 2003-07-27 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-07-274-160/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * data/ui/epiphany-toolbar.xml.in: * lib/egg/egg-editable-toolbar.c: (drag_data_received_cb): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (parse_item_list): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (safe_save_xml), (egg_toolbars_model_save), (toolbars_item_new), (free_item_node), (egg_toolbars_model_add_separator), (egg_toolbars_model_add_item), (parse_item_list), (impl_get_item_id), (impl_get_item_name), (impl_get_item_type), (egg_toolbars_model_class_init), (egg_toolbars_model_item_nth), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_item_id), (egg_toolbars_model_get_item_name), (egg_toolbars_model_get_item_type): * lib/egg/egg-toolbars-model.h: * lib/egg/eggtoolbar.c: (egg_toolbar_finalize): * lib/ephy-dnd.c: (add_one_topic), (ephy_dnd_drag_data_get): * lib/ephy-dnd.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb), (ephy_node_view_select_node_by_key), (ephy_node_view_construct), (ephy_node_view_add_data_column), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_class_init), (ephy_tree_model_sort_init), (ephy_tree_model_sort_multi_row_draggable), (ephy_tree_model_sort_set_column_id), (each_property_get_data_binder), (ephy_tree_model_sort_multi_drag_data_get): * lib/widgets/ephy-tree-model-sort.h: * 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), (node_dropped_cb), (provide_keyword_uri), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults), (ephy_bookmarks_remove_keyword), (ephy_bookmarks_get_topic_uri), (ephy_bookmarks_find_keyword): * src/bookmarks/ephy-bookmarks.h: * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_action_name), (ephy_toolbars_model_get_node), (bookmark_destroy_cb), (impl_get_item_name), (impl_get_item_id), (impl_get_item_type), (connect_item), (ephy_toolbars_model_set_bookmarks), (ephy_toolbars_model_class_init), (save_changes), (item_added), (item_removed), (toolbar_added), (toolbar_removed), (ephy_toolbars_model_init), (ephy_toolbars_model_finalize), (ephy_toolbars_model_remove_bookmark),
* Fix mem leak.Christian Persch2003-07-271-5/+10
| | | | | | | | | | | | | | 2003-07-27 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_remove): Fix mem leak. * lib/widgets/ephy-node-view.c: (ephy_node_view_remove): * src/pdm-dialog.c: (pdm_cmd_delete_selection): If we've just deleted every row in the tree view, the row ref contains an empty path. Check for that; possibly fixing bug #118398.
* Make sure to remove the timeout on widget destructionMarco Pesenti Gritti2003-07-261-18/+13
| | | | | | | | | 2003-07-25 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-search-entry.c: (ephy_search_entry_destroy_cb), (ephy_search_entry_init): Make sure to remove the timeout on widget destruction
* Yet another try to get context menu and selection beahviors right.Marco Pesenti Gritti2003-07-231-68/+24
| | | | | | | | | | | | | 2003-07-23 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_selection_changed_cb), (ephy_node_view_button_press_cb), (ephy_node_view_init), (ephy_node_view_get_selection), (ephy_node_view_is_target), (ephy_node_view_has_selection): Yet another try to get context menu and selection beahviors right.
* An input-only window event box, copied from eel's ell-input-event-box.Christian Persch2003-07-223-0/+287
| | | | | | | | | | | | | | | 2003-07-22 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-event-box.h: * lib/widgets/ephy-event-box.c: An input-only window event box, copied from eel's ell-input-event-box. * src/ephy-notebook.c: (tab_build_label): * src/ephy-favicon-action.c: (create_tool_item): Use EphyEventBox instead of GtkEventBox. Fixes transparency issue from bug #110747 .
* We use g_list_prepend to create selections now (inXan Lopez2003-07-141-1/+1
| | | | | | | We use g_list_prepend to create selections now (in ephy_node_view_get_selection() and inside pdm_cmd_delete_selection), so the last element selected is the first in the list and we need to use g_list_first instead of _last to make intelligent selection after removal work on multiple selections.
* Don't use event->string, is deprecated (#117346). Also improve intelligentXan Lopez2003-07-141-7/+20
| | | | | | | | | | | | | | | | * lib/widgets/ephy-node-view.c: (ephy_node_view_select_node_by_key), (ephy_node_view_remove): Don't use event->string, is deprecated (#117346). Also improve intelligent selection. * src/pdm-dialog.c: (pdm_dialog_remove_button_clicked_cb), (pdm_cmd_delete_selection), (pdm_key_pressed_cb), (setup_action): Connect del keys to delete action, also implement intelligent selection after deletion (I want to be known as Mr. Intelligent Selection from now, spread the word).
* Fix mem leaks.Christian Persch2003-07-141-0/+3
| | | | | | | | | 2003-07-13 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (drag_motion_cb), (drag_data_received_cb): Fix mem leaks.
* Fix mem leaks.Christian Persch2003-07-141-2/+11
| | | | | | | | | | | | | | 2003-07-13 Christian Persch <chpe@cvs.gnome.org> * src/language-editor.c: (language_editor_remove_button_clicked_cb): * embed/downloader-view.c: (downloader_view_set_download_info), (downloader_view_remove_download), (downloader_view_set_download_progress), (downloader_view_set_download_status), (download_dialog_abort_cb): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_multi_row_draggable): Fix mem leaks.
* A "fast search" implementation for all node views. Pressing any validXan Lopez2003-07-132-4/+68
| | | | | | | A "fast search" implementation for all node views. Pressing any valid unicode character will make ephy select the first entry begining with that key, or the nearest match (with previous or posterior letters). Fixes bug #116744 (http://bugzilla.gnome.org/show_bug.cgi?id=116744).
* Monitor for theme changes and set smb background accordingly.David Bordoley2003-07-111-9/+22
| | | | | | | | | 2003-07-11 David Bordoley <bordoley@msu.edu> * lib/widgets/ephy-autocompletion-window.c: (set_renderer_bg_color), (ephy_autocompletion_window_init_widgets): Monitor for theme changes and set smb background accordingly.
* Fix actionsMarco Pesenti Gritti2003-07-111-11/+13
| | | | | | | | | | | | | | 2003-07-11 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (move_selection), (ephy_autocompletion_window_key_press_hack), (ephy_autocompletion_window_hide): Fix actions * src/bookmarks/ephy-bookmarks-import.c: (parse_rdf_item): Actually use smartlink prop when importing
* Cleanup.Marco Pesenti Gritti2003-07-072-20/+16
| | | | | | | | | | | | | | | 2003-07-07 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_key_press_cb): Cleanup. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_key_press_event_cb): Handle Tab key binding. The window binding doesnt work because of the grab.
* Rewrite selection logic to be simpler and to fix bugs.Marco Pesenti Gritti2003-07-073-111/+79
| | | | | | | | | | | | | | | | | | | | | | 2003-07-07 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_finalize_impl), (ephy_autocompletion_window_show), (move_selection), (ephy_autocompletion_window_key_press_hack), (ephy_autocompletion_window_hide): Rewrite selection logic to be simpler and to fix bugs. * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-spinner.h: Remove unused includes. * src/toolbar.c: Add missing include.
* Remove last bits of nautilus theme support.Christian Persch2003-07-071-22/+4
| | | | | | | | | 2003-07-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_get_type), (ephy_spinner_init_directory_list): Remove last bits of nautilus theme support.
* Fix mem leaks and a conditional.Christian Persch2003-07-061-2/+4
| | | | | | | | | | | 2003-07-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_button_press_cb), (ephy_node_view_sort_func): * src/bookmarks/ephy-topics-selector.c: (topic_clicked), (topic_key_pressed): Fix mem leaks and a conditional.
* Implement custom tooltip setter.Christian Persch2003-07-031-0/+17
| | | | | | | | | 2003-07-02 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_set_tooltip), (ephy_zooom_control_class_init): Implement custom tooltip setter.
* Implement custom tooltip setter; sets tooltip on the directional button.Christian Persch2003-07-031-0/+19
| | | | | | | | | | | | | 2003-07-02 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_set_tooltip), (ephy_arrow_toolbutton_class_init): Implement custom tooltip setter; sets tooltip on the directional button. * src/toolbar.c: (toolbar_setup_actions): Set tooltips on custom actions.
* Make the location entry an EggToolItem, and provide a custom tooptipChristian Persch2003-07-022-46/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (ephy_location_entry_construct_contents), (ephy_location_entry_class_init), (ephy_location_entry_init), (ephy_location_entry_finalize): Make the location entry an EggToolItem, and provide a custom tooptip setter. Fix mem leak. * src/ephy-location-action.c: (create_tool_item), (ephy_location_action_class_init), (connect_proxy): Use the location entry EggToolItem instead of constructing it explicitly. * src/toolbar.c: (toolbar_setup_action): Set tooltip for location entry. * lib/egg/egg-action.c: (connect_proxy), (disconnect_proxy): Connect the tooltip sync'er on any EggToolItem, not just EggTollButton:s. Disconnect the tooltip sync func on disconnect, too.
* testing before committing sometimes helpsMarco Pesenti Gritti2003-07-011-1/+1
|
* Hide only when necessary. Remove gdk_ungrab stuff that doesnt seem to beMarco Pesenti Gritti2003-07-012-11/+8
| | | | | | | | | | | | | | | | | | 2003-07-01 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_finalize_impl), (ephy_autocompletion_window_show), (ephy_autocompletion_window_hide): Hide only when necessary. Remove gdk_ungrab stuff that doesnt seem to be necessary. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_show_alternatives): Reset entry->button when showing autocompletion, the grab get gtk crazy otherwise.
* Fix mem leaks.Christian Persch2003-06-281-2/+2
| | | | | | | | | | | | | 2003-06-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-navigation-action.c: (ephy_navigation_action_finalize), (ephy_navigation_action_class_init): * src/ephy-spinner-action.c: (ephy_spinner_action_finalize), (ephy_spinner_action_class_init): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_editable_changed_cb): Fix mem leaks.
* Remove some unused headers.Marco Pesenti Gritti2003-06-232-14/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-23 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/GlobalHistory.cpp: Remove some unused headers. * embed/mozilla/mozilla-embed.cpp: Dont asser when trying to print blank page. * lib/Makefile.am: * lib/ephy-autocompletion.c: (ephy_autocompletion_get_type): * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): Get rid of the gobject macros. * src/ephy-notebook.c: (move_tab), (move_tab_to_another_notebook), (button_release_cb), (update_tabs_visibility), (tabs_visibility_notifier), (ephy_notebook_init), (ephy_notebook_finalize), (ephy_notebook_set_show_tabs): * src/ephy-notebook.h: * src/ephy-tabs-menu.c: * src/ephy-window.c: (ephy_window_finalize), (update_embed_dialogs), (ephy_window_get_find_dialog), (print_dialog_preview_cb), (ephy_window_print): * src/ephy-window.h: * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print): Make sure tabs are hidden when going in print preview mode. Make print dialog transient.
* Correct translations dir (leftover from galeon)Marco Pesenti Gritti2003-06-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-23 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Correct translations dir (leftover from galeon) * embed/ephy-history.c: Lower expire to 10 days, similar to phoenix. Current interface and perf make this a better default. * lib/ephy-dialog.c: (ephy_dialog_init), (setup_default_size): Make sure to not state_add more than one time * lib/widgets/ephy-location-entry.c: (insert_text_cb): Do not show autocompletion on not focused window. This is to work around problems with gnome-entry. * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup), (tab_context_menu_cb): Do not use custom func to show mouse popups. Fix costum func to be smarter with screen limits.
* do not popup autocompletion when setting url from the combo listMarco Pesenti Gritti2003-06-221-0/+2
| | | | | | | | 2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (insert_text_cb): do not popup autocompletion when setting url from the combo list
* Ever put cursor at the end of the text when selecting autocompletionMarco Pesenti Gritti2003-06-201-1/+2
| | | | | | | | | | | | | | | 2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_window_url_selected_cb): Ever put cursor at the end of the text when selecting autocompletion items. * src/pdm-dialog.c: (cookies_treeview_selection_changed_cb), (action_treeview_selection_changed_cb): Do not allow to open properties of multiple cookies. (insensitive)
* Rewrite the url typed by user overwrite logic to fix bugs.Marco Pesenti Gritti2003-06-202-50/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EphyWrapper.cpp: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_init), (insert_text_cb), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_autocompletion_window_url_selected_cb), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_editable_changed_cb): * lib/widgets/ephy-location-entry.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_link_message), (ephy_tab_set_window), (ephy_tab_address_cb), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location): * src/ephy-tab.h: * src/ephy-window.c: (ephy_window_notebook_switch_page_cb): * src/popup-commands.c: (get_event_info), (popup_cmd_copy_link_address): * src/toolbar.c: (get_location_entry), (location_user_changed_cb), (toolbar_set_window), (toolbar_activate_location), (toolbar_set_location), (toolbar_get_location), (toolbar_clear_location_history): * src/toolbar.h: Rewrite the url typed by user overwrite logic to fix bugs.
* Use insert_text delete_text to show/hide the autocompletion window.Marco Pesenti Gritti2003-06-191-56/+69
| | | | | | | | | | | | | | | | | | | | | 2003-06-18 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-autocompletion.c: (ephy_autocompletion_refine_matches), (ephy_autocompletion_update_matches_full_item): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_build), (ephy_location_entry_autocompletion_show_alternatives_to), (real_entry_set_location), (delete_text_cb), (insert_text_cb), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_content_is_text), (ephy_location_entry_activate_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_autocompletion_source_foreach): * src/ephy-location-action.c: (create_tool_item), (location_url_activate_cb): Use insert_text delete_text to show/hide the autocompletion window. Remember last search with autocompletion smart bookmarks.
* disable treeview interactive searchMarco Pesenti Gritti2003-06-171-0/+2
| | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_init): disable treeview interactive search
* Do not mark non-user-visible strings for translation.Christian Persch2003-06-161-2/+2
| | | | | | | | 2003-06-16 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): Do not mark non-user-visible strings for translation.
* Fix warning.Xan Lopez2003-06-121-1/+2
| | | | Fix warning.
* Use gtk_tree_selection_select_iter to make selection, fixes #114965.Xan Lopez2003-06-121-5/+1
| | | | Use gtk_tree_selection_select_iter to make selection, fixes #114965.
* Remove unused gtk_tree_view_get_selection.Xan Lopez2003-06-121-4/+0
| | | | Remove unused gtk_tree_view_get_selection.
* *** empty log message ***Marco Pesenti Gritti2003-06-081-0/+2
|
* Remove some leftovers.Marco Pesenti Gritti2003-06-082-0/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-07 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Remove some leftovers. * lib/widgets/Makefile.am: * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type), (ephy_search_entry_class_init), (ephy_search_entry_timeout_cb), (ephy_search_entry_changed_cb), (ephy_search_entry_focus_out_event_cb), (ephy_search_entry_init), (ephy_search_entry_finalize), (ephy_search_entry_new), (ephy_search_entry_clear): * lib/widgets/ephy-search-entry.h: * src/bookmarks/ephy-bookmarks-editor.c: (keyword_node_selected_cb), (search_entry_search_cb), (build_search_box): * src/ephy-history-window.c: (site_node_selected_cb), (search_entry_search_cb), (build_search_box): Implement a search entry that delays searches a bit after the user pressed key, to have autoapply but make it interactive enough. (Based on rhythmbox one)
* Fix compile with -Werror. VS: Enter Log. Lines beginning with `CVS:' areChristian Persch2003-06-041-68/+0
| | | | | | | | | 2003-06-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: Fix compile with -Werror. VS: Enter Log. Lines beginning with `CVS:' are removed automatically
* Don't crash if we can't find the spinner imageLee Willis2003-05-311-1/+5
| | | | | | | | 2003-05-31 Lee Willis <lwillis@plus.net> * lib/widgets/ephy-spinner.c: Don't crash if we can't find the spinner image
* Use the spinner icon from gnome-icon-theme. You need a recentMarco Pesenti Gritti2003-05-301-94/+107
| | | | | | | | | | | | | 2003-05-30 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-spinner.c: (get_spinner_dimensions), (ephy_spinner_init), (ephy_spinner_theme_changed), (scale_to_real_size), (extract_frame), (ephy_spinner_load_images), (ephy_spinner_finalize), (ephy_spinner_get_theme_info): Use the spinner icon from gnome-icon-theme. You need a recent gnome-icon-theme cvs for the spinner to work correctly.
* Try to fix dereferencing type-punned warning.Xan Lopez2003-05-281-1/+1
| | | | Try to fix dereferencing type-punned warning.
* s/DESTROYED/DESTROY which is more useulfMarco Pesenti Gritti2003-05-271-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-26 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-node.c: (callback), (ephy_node_dispose): * lib/ephy-node.h: s/DESTROYED/DESTROY which is more useulf * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_set_property), (root_destroy_cb): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults), (ephy_bookmarks_set_toolbars_model), (ephy_bookmarks_set_property), (ephy_bookmarks_get_property), (ephy_bookmarks_class_init), (bookmarks_removed_cb), (topics_removed_cb), (ephy_bookmarks_init), (ephy_bookmarks_finalize): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (impl_add_item), (ephy_toolbars_model_set_bookmarks), (ephy_toolbars_model_set_property), (ephy_toolbars_model_get_property), (ephy_toolbars_model_class_init), (ephy_toolbars_model_init), (ephy_toolbars_model_finalize), (ephy_toolbars_model_new): * src/ephy-toolbars-model.h: * src/toolbar.c: (topic_destroy_cb), (bookmark_destroy_cb), (toolbar_ensure_action), (toolbar_init): Better way to remove unrefed bookmarks from the toolbar. Ref bookmarks in toolbars model and weak reaf toolbars model in bookmarks. So setting defaults really works.
* Try to fix node removal problems. I cant repro crashes ... but they areMarco Pesenti Gritti2003-05-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-25 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_save): * embed/ephy-history.c: (ephy_history_save), (hosts_removed_cb), (pages_removed_cb), (unref_empty_host), (page_removed_from_host_cb), (connect_page_removed_from_host), (ephy_history_init), (ephy_history_add_host): * lib/ephy-file-helpers.c: (ephy_file_save_xml): * lib/ephy-file-helpers.h: * lib/ephy-node.c: (callback), (ephy_node_emit_signal), (real_remove_child), (ephy_node_dispose): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save): * lib/widgets/ephy-tree-model-node.c: (root_child_removed_cb): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save), (bookmarks_removed_cb), (topics_removed_cb): Try to fix node removal problems. I cant repro crashes ... but they are quite hard to reproduce. Use a save_xml helper that is low disk safe. * src/ephy-automation.c: (impl_ephy_automation_loadurl): Use OPEN_PAGE when an url is passed
* Don't set a border width on the zoom control, so that it fits on theChristian Persch2003-05-231-1/+0
| | | | | | | | | 2003-05-22 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): Don't set a border width on the zoom control, so that it fits on the address toolbar.
* Fix nodes drag and drop. Make double click select the whole address inMarco Pesenti Gritti2003-05-212-1/+19
| | | | | | | | | | | | | | | | | | | 2003-05-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dnd.c: (ephy_dnd_drag_data_get), (ephy_dnd_node_list_extract_nodes): * lib/ephy-node-db.c: (ephy_node_db_set_name), (node_from_id_real), (ephy_node_db_get_name): * lib/ephy-node-db.h: * lib/ephy-node.c: (ephy_node_get_db): * lib/ephy-node.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_button_press_event_cb), (ephy_location_entry_build): * lib/widgets/ephy-tree-model-sort.c: (each_node_get_data_binder): Fix nodes drag and drop. Make double click select the whole address in toolbar entry.
* Simplified and reorganised zoom. Implement a zoom control for the toolbar.Christian Persch2003-05-205-2/+698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-19 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> Simplified and reorganised zoom. Implement a zoom control for the toolbar. * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.h: * lib/widgets/ephy-zoom-control.c: New. A simple zoom control and a corresponding egg action. * lib/ephy-zoom.h: * lib/ephy-zoom.c: New. Define the supported zoom levels, plus some helper functions. * data/ui/epiphany-toolbar.xml.in: * src/toolbar.h: * src/toolbar.c: (toolbar_update_zoom_control), (zoom_to_level_cb), (toolbar_setup_actions): Hook up zoom control. * src/ephy-window.c: (toolbar_update_zoom_control): New. Updates toolbar zoom control and menu item sensitivity. * embed/mozilla/mozilla-embed.c: (impl_zoom_set, impl_zoom_get): * embed/ephy-embed.[ch]: (zoom_set), (zoom_get), (ephy_embed_zoom_set), (ephy_embed_zoom_get): * lib/ephy-marshal.list: * src/ephy-nautilus-view.c: (gnv_embed_zoom_change_cb), (gnv_zoomable_set_zoom_level_cb): * src/ephy-tab.c: (ephy_tab_zoom_changed_cb): * src/ephy-window.c: (ephy_window_set_zoom): Use float zoom factor instead of int percent for zoom. * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (ephy_nautilus_view_class_init), (gnv_zoomable_set_zoom_level_cb), (gnv_zoomable_zoom_in_cb), (gnv_zoomable_zoom_out_cb), (gnv_zoomable_zoom_to_default_cb), (gnv_embed_zoom_change_cb): * src/window-commands.c: (window_cmd_view_zoom_in), (window_cmd_view_zoom_out), (window_cmd_view_zoom_normal): Simplified; use ephy-zoom.h where appropriate.
* 2003-05-19 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-05-202-51/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/Makefile.am: * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * lib/ephy-node.c: (write_lock_to_read_lock), (read_lock_to_write_lock), (lock_gdk), (unlock_gdk), (callback), (ephy_node_emit_signal), (ephy_node_finalize), (real_remove_child), (remove_child), (signal_object_weak_notify), (unref_signal_objects), (ephy_node_dispose), (ephy_node_new), (ephy_node_new_with_id), (ephy_node_get_id), (ephy_node_ref), (ephy_node_unref), (ephy_node_freeze), (ephy_node_thaw), (child_changed), (real_set_property), (ephy_node_set_property), (ephy_node_get_property), (ephy_node_get_property_string), (ephy_node_get_property_boolean), (ephy_node_get_property_long), (ephy_node_get_property_int), (ephy_node_get_property_double), (ephy_node_get_property_float), (ephy_node_get_property_node), (save_parent), (ephy_node_save_to_xml), (real_add_child), (ephy_node_new_from_xml), (ephy_node_add_child), (ephy_node_remove_child), (ephy_node_has_child), (ephy_node_real_get_child_index), (ephy_node_sort_children), (ephy_node_reorder_children), (ephy_node_get_children), (ephy_node_get_n_children), (ephy_node_get_nth_child), (get_child_index_real), (ephy_node_get_child_index), (ephy_node_get_next_child), (ephy_node_get_previous_child), (ephy_node_signal_connect_object), (ephy_node_signal_disconnect): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_load), (ensure_states), (ephy_state_add_window), (ephy_state_add_paned), (ephy_state_save): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init), (ephy_node_view_selection_changed_cb), (ephy_node_view_set_property), (ephy_node_view_get_property), (ephy_node_view_remove): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init), (ephy_tree_model_node_set_property), (ephy_tree_model_node_get_property), (ephy_tree_model_node_get_value), (ephy_tree_model_node_get_path), (ephy_tree_model_node_iter_next), (ephy_tree_model_node_node_from_iter): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init), (ephy_bookmark_properties_set_property): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (cmd_open_bookmarks_in_tabs), (cmd_open_bookmarks_in_browser), (cmd_delete), (cmd_bookmark_properties), (cmd_copy), (ephy_bookmarks_editor_node_activated_cb), (ephy_bookmarks_editor_update_menu),
* Fixed many issues mentioned in #112781.Christian Neumair2003-05-173-3/+0
|
* Revert api change. So we keep 2.2 compatibility.Marco Pesenti Gritti2003-05-142-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-13 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ExternalProtocolService.cpp: Revert api change. So we keep 2.2 compatibility. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_activate_cb): * lib/widgets/ephy-location-entry.h: Add a finished callback to know when the user finished using location. * src/bookmarks/ephy-bookmarks.c: (history_site_visited_cb), (ephy_bookmarks_set_icon): Remove unused vars. Bad xan. * src/toolbar.c: (location_finished_cb), (toolbar_activate_location): Show the toolbar on ctrl+l, hide it again when the user finished to edit (focus out/activate)
* Remove add_icon_column func and add the functionality to the normalMarco Pesenti Gritti2003-04-292-28/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-29 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column): * lib/widgets/ephy-node-view.h: Remove add_icon_column func and add the functionality to the normal add_column. The icon will be packed in the same column. * src/bookmarks/ephy-bookmarks-editor.c: (entry_selection_changed_cb), (add_entry_monitor), (add_text_renderer_monitor), (cmd_add_topic), (cmd_rename), (build_search_box), (ephy_bookmarks_editor_construct), (toolbar_items_changed_cb), (ephy_bookmarks_editor_init): Fix for api change. Deal with 2 more sensitivity cases: bookmarks added by dnd to the toolbar and treeview text renderers. Remove hints until we have more columns. * src/ephy-history-window.c: (ephy_history_window_construct): Fix for new api * src/ephy-toolbars-model.c: (impl_add_item): Dont check if normal items are already in the toolbar: fix warnings.
* Move notebook in src/. An abstract notebook is an overkill.Marco Pesenti Gritti2003-04-293-1026/+0
| | | | | | | | | | | | | | | | | 2003-04-28 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-notebook.c: * lib/widgets/ephy-notebook.h: * src/Makefile.am: * src/ephy-notebook.c: (ephy_notebook_get_type), * src/ephy-notebook.h: Move notebook in src/. An abstract notebook is an overkill. * src/toolbar.c: (ensure_bookmark_action): Fix compilation issue on 2.95
* Implement ephy_node_reorder_children (from Rhythmbox).Xan Lopez2003-04-261-0/+16
| | | | Implement ephy_node_reorder_children (from Rhythmbox).
* slight treemodel cleanupJorn Baayen2003-04-191-8/+7
|
* Fix bookmarks editing and warnings when openining the dialog.Marco Pesenti Gritti2003-04-192-18/+10
| | | | | | | | | | | | | 2003-04-19 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_column), (ephy_node_view_remove), (ephy_node_view_edit): Fix bookmarks editing and warnings when openining the dialog. * lib/widgets/ephy-node-view.h: Remove unused api.
* Fix the bug with back/fwd buttons auto prelighting.Marco Pesenti Gritti2003-04-191-10/+18
| | | | | | | | 2003-04-18 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-arrow-toolbutton.c: (button_state_changed_cb): Fix the bug with back/fwd buttons auto prelighting.
* Do not install two copies of epiphany.pngMarco Pesenti Gritti2003-04-182-52/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: Do not install two copies of epiphany.png * embed/ephy-history.c: (ephy_history_save), (ephy_history_set_page_title): Use host name as title for sites, not the real title. * lib/ephy-state.c: (ephy_state_add_window), (paned_size_allocate_cb), (ephy_state_add_paned): * lib/ephy-state.h: Add a way to persist paned. * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-node-view.c: (ephy_node_view_sort_func), (provide_text_weight), (ephy_node_view_add_column), (ephy_node_view_has_selection): Improve add_column api a bit to support both auto sorting and user sorting. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Updates for changed api. * src/ephy-history-window.c: (ephy_history_window_construct): Set a max size for title/location. Not very good, but the best we can do with current treeview api prolly. Persist the paned size. Make columns user sortable.
* New history dialog implementation. More similar to bookmarks. Yeah itMarco Pesenti Gritti2003-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2003-04-17 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/Makefile.am: * embed/ephy-history.c: (ephy_history_init): * embed/ephy-history.h: * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_value): * src/Makefile.am: * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_show_bookmarks_editor), (history_window_hide_cb), (ephy_shell_show_history_window): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_finalize), (update_embed_dialogs), (ephy_window_get_find_dialog): * src/ephy-window.h: * src/window-commands.c: (window_cmd_go_history): New history dialog implementation. More similar to bookmarks. Yeah it still sucks ... but the hard part is done.
* New abstracted implementations. Nicer and will be useful for historyMarco Pesenti Gritti2003-04-175-0/+2031
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-17 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-node.h: New abstracted implementations. Nicer and will be useful for history dialog interface rehash to make it more consistent with bookmarks (this was the hard part of the work). * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmarks-editor.c: Use them. * src/history-dialog.c: Temp hack to keep the thing building until I actually rewrite history dialog. 2
* If user prefers tabs (CONF_TABS_TABBED), always show tab barFrank Belew (Myth)2003-04-141-1/+2
| | | | | * lib/widgets/ephy-notebook.c (update_tabs_visibility): If user prefers tabs (CONF_TABS_TABBED), always show tab bar
* Move and autoupdate these from egg.Marco Pesenti Gritti2003-04-086-3194/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-07 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/eggtreemodelfilter.c: * lib/widgets/eggtreemodelfilter.h: * lib/widgets/eggtreemultidnd.c: * lib/widgets/eggtreemultidnd.h: * lib/egg/Makefile.am: * lib/egg/eggtreemodelfilter.c: * lib/egg/eggtreemodelfilter.h: * lib/egg/eggtreemultidnd.c: * lib/egg/eggtreemultidnd.h: * lib/egg/update-from-egg.sh: Move and autoupdate these from egg. * lib/ephy-dnd.c: * lib/ephy-dnd.h: * src/ephy-favicon-action.c: Remove an unnecessary param in ephydnd API. * lib/widgets/ephy-tree-model-sort.c: Use the real multidnd api. 2
* Use EggEditableToolbar. Update to latest versions (not EggMenuMerge, weMarco Pesenti Gritti2003-04-025-2017/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-01 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/Makefile.am: * lib/egg/egg-accel-dialog.c: * lib/egg/egg-action-group.c: * lib/egg/egg-action.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-radio-action.c: * lib/egg/egg-toggle-action.c: * lib/egg/egg-toolbars-group.c: * lib/egg/egg-toolbars-group.h: * lib/egg/eggintl.h: * lib/egg/eggtoolbar.c: * lib/egg/eggtoolbutton.c: * lib/egg/update-from-egg.sh: Use EggEditableToolbar. Update to latest versions (not EggMenuMerge, we still need patches). WARNING: it's no more possible to drag bookmarks in the toolbar, if you depend on that feature please wait the weekend to update cvs. * lib/egg/egg-markup.c: * lib/egg/egg-markup.h: Remove, not used. * lib/widgets/Makefile.am: * lib/widgets/ephy-editable-toolbar.c: * lib/widgets/ephy-editable-toolbar.h: * lib/widgets/ephy-toolbars-group.c: * lib/widgets/ephy-toolbars-group.h: Remove. * src/prefs-dialog.c: (prefs_dialog_show_help), (prefs_dialog_response_cb): Fix a warning. * src/toolbar.c: (toolbar_get_type), (toolbar_get_action_name), (toolbar_get_action), (toolbar_class_init), (toolbar_init): * src/toolbar.h: * src/window-commands.c: (window_cmd_edit_toolbar): Update to use the egg api.
* Show favicons on tabsChristian Persch2003-04-012-2/+37
| | | | | | | | | | | | | | | 2003-04-01 Christian Persch <chpe@stud.uni-saarland.de> * lib/widgets/ephy-notebook.c: (ephy_notebook_set_page_status), (ephy_notebook_set_page_icon), (tab_build_label): * lib/widgets/ephy-notebook.h: * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_set_favicon), (ephy_tab_favicon_cache_changed_cb), (ephy_tab_favicon_cb), (ephy_tab_location_cb): * src/ephy-tab.h: * src/ephy-window.c: (ephy_window_init): Show favicons on tabs
* Use the new EggToolbar apis. Better drop feedback, separators drag andMarco Pesenti Gritti2003-04-013-130/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-31 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/eggtoolbar.c: (egg_toolbar_class_init), (egg_toolbar_init), (egg_toolbar_unrealize), (egg_toolbar_expose), (egg_toolbar_size_allocate), (find_drop_pos), (egg_toolbar_drag_leave), (egg_toolbar_drag_motion), (egg_toolbar_get_item_index), (egg_toolbar_get_show_arrow), (egg_toolbar_get_drop_index): * lib/egg/eggtoolbar.h: * lib/egg/eggtoolitem.c: (egg_tool_item_get_type), (egg_tool_item_class_init), (create_drag_window), (egg_tool_item_realize), (egg_tool_item_unrealize), (egg_tool_item_map), (egg_tool_item_unmap), (egg_tool_item_size_allocate), (egg_tool_item_set_tooltip), (egg_tool_item_set_use_drag_window): * lib/egg/eggtoolitem.h: * lib/widgets/ephy-editable-toolbar.c: (drag_data_received_cb), (drag_data_get_cb), (connect_item_drag_source), (disconnect_item_drag_source), (popup_toolbar_context_menu), (setup_toolbar), (do_merge), (ephy_editable_toolbar_init), (hide_editor), (update_editor_sheet), (show_editor): * lib/widgets/ephy-toolbars-group.c: (add_action), (ephy_toolbars_group_add_item), (parse_item_list): * lib/widgets/ephy-toolbars-group.h: Use the new EggToolbar apis. Better drop feedback, separators drag and code cleanups.
* Make dnd code smarter, so it can support more than just urls types.Marco Pesenti Gritti2003-03-301-18/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-29 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dnd.c: (add_one_node), (ephy_dnd_drag_data_get), (ephy_dnd_node_list_extract_nodes): * lib/ephy-dnd.h: * lib/ephy-marshal.list: * lib/widgets/ephy-tree-model-sort.c: (each_node_get_data_binder), (ephy_tree_model_sort_multi_drag_data_get): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_rename), (cmd_select_all), (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb), (node_dropped_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-node-view.c: (ephy_node_view_class_init), (ephy_node_view_button_press_cb), (ephy_node_view_has_focus), (get_node_from_path), (drag_motion_cb), (drag_drop_cb), (drag_data_received_cb), (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source): * src/bookmarks/ephy-node-view.h: * src/ephy-favicon-action.c: (connect_proxy): * src/history-dialog.c: (history_dialog_setup_view): * src/toolbar.c: (toolbar_get_action_name): Make dnd code smarter, so it can support more than just urls types. Implement drag of bookmarks on topics in bme. What a pain !
* Make ids privateMarco Pesenti Gritti2003-03-264-45/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-25 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dnd.c: * lib/ephy-dnd.h: Make ids private * lib/widgets/ephy-editable-toolbar.c: (impl_get_action_name), (impl_get_action), (drag_data_received_cb), (setup_toolbar), (setup_item), (ensure_action), (ephy_editable_toolbar_class_init), (update_editor_sheet), (ephy_editable_toolbar_get_action_name), (ephy_editable_toolbar_get_action): * lib/widgets/ephy-editable-toolbar.h: Rework special actions api. * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_init), (ephy_tree_model_sort_set_drag_property), (each_url_get_data_binder), (ephy_tree_model_sort_multi_drag_data_get): * lib/widgets/ephy-tree-model-sort.h: Support nodes dnd. Need more work, see FIXME * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword): * src/bookmarks/ephy-node-view.c: (ephy_node_view_enable_drag_source): * src/bookmarks/ephy-node-view.h: * src/history-dialog.c: (history_dialog_setup_view): * src/toolbar.c: (toolbar_get_action_name), (toolbar_get_action), (toolbar_class_init): Support for topics dnd. The menu is still not implemented but the hard part is done. Cant finish it until the weekend :/
* Replace deprecated functionIain Holmes2003-03-131-8/+8
|
* Use default widget color for smart bookmarks background. Fixes #107902.Dan Damian2003-03-101-4/+3
| | | | | | | | | | | | | | | | | 2003-03-09 Dan Damian <dandamian@gmx.net> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_init_widgets): Use default widget color for smart bookmarks background. Fixes #107902. * lib/ephy-gui.h: * lib/ephy-gui.c (shift_color_component), (ephy_gui_rgb_shift_color), (rgb16_to_rgb), (ephy_gui_gdk_color_to_rgb), (ephy_gui_rgb_to_color): Removed unused functions.
* Code cleanup from galeonMarco Pesenti Gritti2003-03-091-19/+4
| | | | | | | | | | | | | | 2003-03-09 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_expose), (bump_spinner_frame), (ephy_spinner_class_init): Code cleanup from galeon * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): s/Title/Bookmark, should be more clear
* Make the popup labels more descriptiveIain Holmes2003-03-081-2/+2
|
* Enable using dnd for removing toolbars. Also, fix #107793.James Willcox2003-03-081-2/+145
| | | | | | | | | | | | 2003-03-07 James Willcox <jwillcox@gnome.org> * lib/widgets/ephy-editable-toolbar.c: (toolbar_drag_data_delete_cb), (toolbar_drag_data_get_cb), (connect_toolbar_drag_source), (disconnect_toolbar_drag_source), (do_merge), (editor_close), (button_press_cb), (ephy_editable_toolbar_edit): Enable using dnd for removing toolbars. Also, fix #107793.
* Update from libegg sameJames Willcox2003-03-071-2/+110
| | | | | | | | | | | | | 2003-03-06 James Willcox <jwillcox@gnome.org> * data/ui/epiphany-ui.xml.in: * lib/egg/eggtoolbar.c: Update from libegg * lib/egg/eggtoolbar.h: same * lib/widgets/ephy-editable-toolbar.c: (ephy_editable_toolbar_remove_cb), (ephy_editable_toolbar_edit_cb), (popup_toolbar_context_menu), (setup_toolbar), (do_merge): Implement a context menu for toolbars.
* about:options and about:epiphanyMarco Pesenti Gritti2003-03-042-82/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 Marco Pesenti Gritti <marco@it.gnome.org> * data/Makefile.am: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * src/Makefile.am: about:options and about:epiphany * src/ephy-shell.c: (ephy_init_services): monitor proxy changes * src/prefs-dialog.c: (create_page), (prefs_dialog_get_page): * src/ui-prefs.c: * src/ui-prefs.h: * lib/widgets/ephy-spinner.c: (ephy_spinner_get_theme_info), (ephy_spinner_init_directory_list), (ephy_spinner_info_free), (ephy_spinner_get_theme_path): * lib/widgets/ephy-spinner.h: Remove spinner configuration, this should be part of the icon theme at some point.
* Remove old toolbar editor uiMarco Pesenti Gritti2003-03-012-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org> * data/glade/Makefile.am: * data/glade/toolbar-editor.glade: Remove old toolbar editor ui * lib/ephy-autocompletion.c: (ephy_autocompletion_update_matches): Remove an obsolete FIXME * lib/ephy-gui.c: * lib/ephy-gui.h: Remove some functions that was used only in galeon bookmarks * lib/widgets/ephy-autocompletion-window.c: (hack_tree_view_move_selection), (ephy_autocompletion_window_key_press_hack): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_window_url_selected_cb): Up on the top border of the autocompl window goes back to the entry * src/appearance-prefs.c: (setup_font_menu): Free fonts list * src/ephy-tab.c: (ephy_tab_parent_set_cb), (ephy_tab_set_visibility): * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right): Implement tabs moving
* cleaner xml dump code.Marco Pesenti Gritti2003-02-282-2/+14
| | | | | | | | | | | | | | | | | | | 2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-start-here.c: (ephy_start_here_get_page): cleaner xml dump code. * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_key_press_hack): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init), (ephy_location_entry_finalize_impl), (ephy_location_entry_autocompletion_show_alternatives_to), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_autocompletion_window_url_selected_cb): Do not overwrite search text when going on an action, make Esc get back the location content before the completion.
* Fix toolbar removal.Marco Pesenti Gritti2003-02-272-59/+62
| | | | | | | | | | | | | | | 2003-02-27 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (editor_close), (editor_add_toolbar), (dialog_response_cb), (setup_editor): Fix toolbar removal. * lib/widgets/ephy-toolbars-group.c: (ephy_toolbars_group_to_string), (ephy_toolbars_group_remove_item): Use a real GtkDialog for the editor, nicer code and good window placement. Just hope we dont have to change this again :/
* Remove also the toolbar when removing the last itemMarco Pesenti Gritti2003-02-261-0/+8
| | | | | | | | | 2003-02-26 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-toolbars-group.c: (ephy_toolbars_group_remove_item): Remove also the toolbar when removing the last item
* Make tbe a normal dialog for now.Marco Pesenti Gritti2003-02-262-107/+12
| | | | | | | | | | | | | | 2003-02-26 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (ui_update), (ephy_editable_toolbar_init), (editor_add_toolbar_cb), (editor_drag_data_received_cb), (editor_drag_data_delete_cb), (setup_editor), (update_editor_sheet), (ephy_editable_toolbar_edit): * lib/widgets/ephy-editable-toolbar.h: * src/window-commands.c: (window_cmd_edit_toolbar): Make tbe a normal dialog for now.
* Remove Tab autocompletion. Behavior still not optimal, but that code isMarco Pesenti Gritti2003-02-261-139/+1
| | | | | | | | | | | | | | | 2003-02-26 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-autocompletion.c: (ephy_autocompletion_init), (ephy_autocompletion_reset), (ephy_autocompletion_set_key), (ephy_autocompletion_update_matches): * lib/ephy-autocompletion.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_key_press_event_cb), (ephy_location_entry_autocompletion_sources_changed_cb): Remove Tab autocompletion. Behavior still not optimal, but that code is such a pain :(
* Revert unwanted checkinMarco Pesenti Gritti2003-02-231-85/+7
| | | | | | | | | | | 2003-02-23 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (drag_data_delete_cb), (drag_data_get_cb), (do_merge), (editor_close_cb), (button_press_cb), (ephy_editable_toolbar_edit): * src/ephy-window.c: (add_widget): Revert unwanted checkin
* Update location entry with the urls selected on the drop down. ImplementMarco Pesenti Gritti2003-02-235-16/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-23 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_class_init), (ephy_autocompletion_window_key_press_hack): * lib/widgets/ephy-autocompletion-window.h: * lib/widgets/ephy-editable-toolbar.c: (drag_data_delete_cb), (drag_data_get_cb), (connect_toolbar_drag_source), (disconnect_toolbar_drag_source), (do_merge), (editor_close_cb), (button_press_cb), (ephy_editable_toolbar_edit): * lib/widgets/ephy-location-entry.c: (location_focus_out_cb), (ephy_location_entry_init), (real_entry_set_location), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_autocompletion_window_url_selected_cb), (ephy_location_entry_set_autocompletion), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_autocompletion_window_hidden_cb), (ephy_location_entry_edit): * lib/widgets/ephy-location-entry.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (add_widget): * src/toolbar.c: (toolbar_edit_location): * src/toolbar.h: Update location entry with the urls selected on the drop down. Implement editing mode in location entry == when the user is typing an url try to do not disturb (mozilla still grab the focus damnit). Dont put the homepage url in the location. I'm not sure if this is a good behavior for normal urls (I dont see problems, but please prove me wrong), but for about:blank it's needed.
* Use connect_object so the changed signal is removed from closed window.Marco Pesenti Gritti2003-02-221-3/+3
| | | | | | | | | | 2003-02-21 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (ephy_editable_toolbar_set_group): Use connect_object so the changed signal is removed from closed window.
* Fix crashes with multiple windows openMarco Pesenti Gritti2003-02-223-30/+42
| | | | | | | | | | | | | | | 2003-02-21 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-action.c: (egg_action_remove_proxy): * lib/widgets/ephy-editable-toolbar.c: (get_item_widget), (connect_item_drag_source), (disconnect_item_drag_source), (setup_toolbar), (setup_item), (ensure_toolbar_min_size): * lib/widgets/ephy-toolbars-group.c: (toolbars_toolbar_new), (toolbars_item_new), (free_toolbar_node), (free_item_node), (ephy_toolbars_group_to_string), (ephy_toolbars_group_get_path): * lib/widgets/ephy-toolbars-group.h: Fix crashes with multiple windows open
* Free xml documentsPekka Lampila2003-02-211-0/+4
| | | | | | | | | 2003-02-21 Pekka Lampila <medar@kapina.org> * lib/widgets/ephy-toolbars-group.c: (load_defaults), (load_toolbar): Free xml documents
* Add lots of debug code to solve these damned crashes. Dont create multipleMarco Pesenti Gritti2003-02-212-3/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-21 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (find_action), (impl_get_action), (ui_update), (queue_ui_update), (drag_data_received_cb), (drag_data_delete_cb), (drag_data_get_cb), (connect_item_drag_source), (disconnect_item_drag_source), (setup_toolbar), (setup_item), (ensure_toolbar_min_size), (do_merge), (ensure_action), (group_changed_cb), (ephy_editable_toolbar_set_group), (ephy_editable_toolbar_set_merge), (hide_editor), (editor_close_cb), (editor_add_toolbar_cb), (editor_drag_data_received_cb), (editor_drag_data_delete_cb), (setup_editor), (add_to_list), (update_editor_sheet), (update_editor_position), (button_press_cb), (show_editor), (set_action_sensitive), (ephy_editable_toolbar_edit): * lib/widgets/ephy-toolbars-group.c: (ephy_toolbars_group_to_xml), (toolbars_group_save), (toolbars_item_new), (free_toolbar_node), (free_item_node), (ephy_toolbars_group_add_item), (ephy_toolbars_group_add_toolbar), (load_defaults), (load_toolbar), (ephy_toolbars_group_to_string), (ephy_toolbars_group_remove_toolbar), (ephy_toolbars_group_remove_item), (ephy_toolbars_group_set_source), (is_item_in_toolbars), (ephy_toolbars_group_foreach_available), (ephy_toolbars_group_foreach_toolbar), (ephy_toolbars_group_foreach_item), (ephy_toolbars_group_get_path): * src/toolbar.c: (toolbar_get_action): Add lots of debug code to solve these damned crashes. Dont create multiple actions for the same bookmark. There are two crashes that I can repro now. 1 Adding bookmarks with more then one toolbar opened, and then open tbe. 2 Add multiple "links" to the same bookmark and then close. But I'm sure xan can find more ;)
* Fix another warningMarco Pesenti Gritti2003-02-211-1/+1
| | | | | | | | | 2003-02-21 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (hack_tree_view_move_selection): Fix another warning
* Update actions also on other windowsMarco Pesenti Gritti2003-02-211-5/+12
| | | | | | | | | 2003-02-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (do_merge), (ensure_action), (group_changed_cb): Update actions also on other windows
* Dont crash when dragging a new bookmark on the toolbar and then clickMarco Pesenti Gritti2003-02-211-4/+7
| | | | | | | | | | 2003-02-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (drag_data_received_cb): * src/toolbar.c: (toolbar_get_action): Dont crash when dragging a new bookmark on the toolbar and then click cancel.
* Fix this crazy bug with toolbar buttons doing two actions after havingMarco Pesenti Gritti2003-02-201-6/+12
| | | | | | | | | | | | | 2003-02-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-toolbars-group.c: (ephy_toolbars_group_to_string), (ephy_toolbars_group_remove_toolbar), (ephy_toolbars_group_remove_item), (ephy_toolbars_group_get_path): Fix this crazy bug with toolbar buttons doing two actions after having edited them. Save toolbar editor also after removing items.
* Activate the url when clicking on it from the combo dropdown. Based onMarco Pesenti Gritti2003-02-201-4/+15
| | | | | | | | | | | 2003-02-20 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_list_event_after_cb), (ephy_location_entry_editable_changed_cb): Activate the url when clicking on it from the combo dropdown. Based on galeon patch.
* Avoid warnings when there is no matchMarco Pesenti Gritti2003-02-201-6/+10
| | | | | | | | | | 2003-02-19 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_init_widgets), (hack_tree_view_move_selection): Avoid warnings when there is no match
* Add tab load notification (a little spinning icon), and a context menu forJames Willcox2003-02-151-0/+44
| | | | | | | | | | | | | | | | | | 2003-02-14 James Willcox <jwillcox@gnome.org> * data/art/Makefile.am: * data/ui/Makefile.am: * lib/widgets/ephy-notebook.c: (ephy_notebook_init), (ephy_notebook_set_page_status), (tab_build_label): * src/bookmarks/ephy-bookmarks-editor.c: (popup_cmd_open_bookmarks_in_tabs), (popup_cmd_open_bookmarks_in_browser), (popup_cmd_remove_bookmarks), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_show_popup_cb), (ephy_bookmarks_editor_construct): Add tab load notification (a little spinning icon), and a context menu for the bookmarks editor.
* Use g_string_free in the correct wayMarco Pesenti Gritti2003-02-132-5/+3
| | | | | | | | | | 2003-02-12 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-ellipsizing-label.c: (ellipsize_string): * lib/widgets/ephy-toolbars-group.c: (ephy_toolbars_group_to_string): Use g_string_free in the correct way
* *** empty log message ***Marco Pesenti Gritti2003-02-134-536/+361
|
* *** empty log message ***Marco Pesenti Gritti2003-02-112-0/+566
|
* Some more gtk_timeout_add.Marco Pesenti Gritti2003-02-091-2/+2
| | | | | | | | | 2003-02-08 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_autocompletion_sources_changed_cb): Some more gtk_timeout_add.
* Changed GtkType to GType.Christian Meyer2003-02-092-2/+2
|
* Remove gtk_timeout_x calls. Hope I got all of them.Marco Pesenti Gritti2003-02-092-7/+7
| | | | | | | | | | | 2003-02-08 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_key_press_event_cb): * lib/widgets/ephy-spinner.c: (ephy_spinner_start), (ephy_spinner_remove_update_callback): Remove gtk_timeout_x calls. Hope I got all of them.
* Add a go button to the toolbar editor. The icon is duped with defaultMarco Pesenti Gritti2003-02-081-0/+2
| | | | | | | | | | | | | | | | | | 2003-02-08 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-toolbar.xml.in: * lib/widgets/ephy-editable-toolbar.c: (add_action): * src/ephy-window.c: * src/window-commands.c: (window_cmd_load_location): * src/window-commands.h: Add a go button to the toolbar editor. The icon is duped with default favicon. Would be nice to find something better for one of them (I'm not sure if the concept of jump to is good for favicon actually). Rename FileNewWindow to FileNewBrowser also in toolbar configuration file.
* Spinner dont overlap toolbar shadowMarco Pesenti Gritti2003-02-081-3/+1
| | | | | | | | | | 2003-02-07 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/eggtoolbar.c: (egg_toolbar_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_expose), (ephy_spinner_size_request): Spinner dont overlap toolbar shadow
* Fix two memleaks (I hope).Xan Lopez2003-02-081-0/+1
| | | | Fix two memleaks (I hope).
* Do not use a button for spinner. Correctly update spinner size for toolbarMarco Pesenti Gritti2003-02-061-213/+1
| | | | | | | | | | | | 2003-02-06 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_expose), (ephy_spinner_class_init): * src/ephy-spinner-action.c: (create_tool_item), (toolbar_style_sync), (item_parent_set_cb), (connect_proxy): Do not use a button for spinner. Correctly update spinner size for toolbar style.
* Clear also location history when clearing history. Doesnt updateMarco Pesenti Gritti2003-02-062-0/+7
| | | | | | | | | | | | | | | 2003-02-06 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_clear_history): * lib/widgets/ephy-location-entry.h: * src/history-dialog.c: (history_clear_button_clicked_cb): * src/toolbar.c: (toolbar_clear_location_history): * src/toolbar.h: Clear also location history when clearing history. Doesnt update immediately, gtk/gnome bug, will submit patches.
* Fix several menu accels I borked when porting to egg. Connect drag sourceMarco Pesenti Gritti2003-02-051-7/+77
| | | | | | | | | | | | | | | 2003-02-04 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (item_node_new), (connect_drag_sources), (disconnect_drag_sources), (setup_toolbars), (do_merge), (ephy_editable_toolbar_init), (editor_close_cb), (ephy_editable_toolbar_edit): * src/ephy-favicon-action.c: (connect_proxy): * src/ephy-window.c: Fix several menu accels I borked when porting to egg. Connect drag source on toolbar buttons only when necessary, fix favicon drag.
* Add icons, fix some minor appeareance stuff, rework ui updating to dealMarco Pesenti Gritti2003-01-311-95/+149
| | | | | | | | 2003-01-31 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: Add icons, fix some minor appeareance stuff, rework ui updating to deal with editor size.
* Allow to drag also normal urls in the toolbars. Commit some fixes I did toMarco Pesenti Gritti2003-01-301-21/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-30 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-toolbar.xml.in: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/Makefile.am: * lib/egg/egg-action.c: (disconnect_proxy): * lib/egg/egg-menu-merge.c: (update_node): * lib/ephy-dnd.c: (ephy_dnd_uri_list_extract_uris): * lib/ephy-dnd.h: * lib/ephy-string.c: (ephy_str_to_int): * lib/widgets/ephy-editable-toolbar.c: (item_node_new), (impl_get_action), (add_action), (parse_item_list), (toolbar_list_to_xml), (ephy_editable_toolbar_save), (do_merge), (free_node), (ephy_editable_toolbar_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_bookmark_id): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (ephy_new_bookmark_response_cb), (ephy_new_bookmark_init), (ephy_new_bookmark_set_icon), (ephy_new_bookmark_get_id): * src/bookmarks/ephy-new-bookmark.h: * src/popup-commands.c: (popup_cmd_add_link_bookmark): * src/toolbar.c: (get_bookmark_action), (toolbar_get_action): * src/window-commands.c: (window_cmd_file_add_bookmark): Allow to drag also normal urls in the toolbars. Commit some fixes I did to the eggmenu stuff, now toolbar editor should work well, please start reporting bugs :)
* Fix bookmarks/smart bookmarks add to the toolbars.Marco Pesenti Gritti2003-01-301-9/+26
| | | | | | | | | | | | | | 2003-01-30 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dnd.c: (ephy_dnd_url_drag_source_set), (ephy_dnd_enable_model_drag_source): * lib/ephy-dnd.h: * lib/widgets/ephy-editable-toolbar.c: (item_node_new), (add_action), (parse_item_list), (toolbar_list_to_xml), (drag_data_received_cb), (setup_toolbar_drag): * src/toolbar.c: (toolbar_get_action): Fix bookmarks/smart bookmarks add to the toolbars.
* Complete (or nearly) toolbar editor implementation. Bookmarks areMarco Pesenti Gritti2003-01-302-92/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-29 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-bonobo-extensions.c: (ephy_bonobo_clear_path), (ephy_bonobo_replace_path): * lib/ephy-bonobo-extensions.h: * lib/ephy-marshal.list: * lib/ephy-string.c: (ephy_str_to_int): * lib/ephy-string.h: * lib/widgets/ephy-editable-toolbar.c: (impl_get_action), (add_action), (parse_item_list), (add_toolbar), (parse_toolbars), (load_defaults), (load_toolbar), (drag_data_received_cb), (setup_toolbar_drag), (ensure_toolbars_min_size), (do_merge), (ephy_editable_toolbar_class_init), (editor_get_dimensions), (hide_editor), (editor_close_cb), (editor_add_toolbar_cb), (editor_drag_data_received_cb), (editor_drag_data_delete_cb), (setup_editor), (button_press_cb), (show_editor), (ephy_editable_toolbar_edit), (ephy_editable_toolbar_get_action): * lib/widgets/ephy-editable-toolbar.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_bookmark_id): * src/bookmarks/ephy-bookmarks.h: * src/session.c: (session_load): * src/toolbar.c: (go_location_cb), (toolbar_get_action), (toolbar_class_init), (toolbar_init): Complete (or nearly) toolbar editor implementation. Bookmarks are implemented too, but some minor problems are stopping them to work.
* Reimplement data using GNode, cleaner. Give up on "autoapply" for now, gtkMarco Pesenti Gritti2003-01-291-215/+199
| | | | | | | | | | | | | | | | | | | | | 2003-01-28 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (toolbar_node_new), (item_node_new), (find_node_from_action), (add_action), (parse_item_list), (parse_toolbars), (load_defaults), (load_toolbar), (toolbar_list_to_xml), (toolbar_list_to_string), (ui_update), (queue_ui_update), (drag_data_received_cb), (drag_data_delete_cb), (drag_data_get_cb), (setup_toolbar_drag), (do_merge), (ephy_editable_toolbar_set_merge), (ephy_editable_toolbar_init), (build_to_drag_actions_list), (setup_editor), (button_press_cb), (show_editor), (set_all_actions_sensitive), (ephy_editable_toolbar_edit): * src/ephy-window.c: (add_widget): Reimplement data using GNode, cleaner. Give up on "autoapply" for now, gtk dnd doesnt really like it :(. Implement reordering.