aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Implement dragging from the editor. It's stilly buggy but I didnt expectMarco Pesenti Gritti2003-01-281-36/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-27 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * data/ui/epiphany-toolbar.xml.in: * lib/widgets/ephy-editable-toolbar.c: (copy_toolbars), (is_action_in_toolbars), (is_separator), (find_toolbar_from_widget), (add_action_to_list), (parse_item_list), (toolbar_list_to_xml), (toolbar_list_to_string), (drag_data_received_cb), (drag_motion_cb), (drag_drop_cb), (setup_toolbar_drag), (do_merge), (ephy_editable_toolbar_set_merge), (ephy_editable_toolbar_init), (ephy_editable_toolbar_finalize), (drag_data_get_cb), (build_to_drag_actions_list), (setup_editor), (set_all_actions_sensitive), (ephy_editable_toolbar_edit): * src/ephy-favicon-action.c: (create_tool_item), (ephy_favicon_action_class_init): * src/ephy-location-action.c: (create_tool_item), (ephy_location_action_class_init): * src/ephy-spinner-action.c: (create_tool_item), (ephy_spinner_action_class_init): Implement dragging from the editor. It's stilly buggy but I didnt expect to get that working so soon :)
* *** empty log message ***Marco Pesenti Gritti2003-01-262-0/+271
|
* Implement the data part of the toolbar editor. Partial implementation ofMarco Pesenti Gritti2003-01-243-0/+511
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-24 Marco Pesenti Gritti <marco@it.gnome.org> * NEWS: * configure.in: * data/ui/epiphany-toolbar.xml.in: * lib/egg/Makefile.am: * lib/widgets/Makefile.am: * lib/widgets/ephy-editable-toolbar.c: (ephy_editable_toolbar_get_type), (find_action), (add_action_to_list), (parse_item_list), (parse_toolbars), (load_defaults), (load_toolbar), (toolbar_list_to_xml), (toolbar_list_to_string), (do_merge), (ephy_editable_toolbar_set_merge), (ephy_editable_toolbar_set_property), (ephy_editable_toolbar_get_property), (ephy_editable_toolbar_class_init), (ephy_editable_toolbar_init), (ephy_editable_toolbar_save), (ephy_editable_toolbar_finalize), (ephy_editable_toolbar_new): * lib/widgets/ephy-editable-toolbar.h: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (create_tool_item), (ephy_bookmark_action_sync_label), (connect_proxy), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_class_init), (ephy_bookmark_action_init), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/ephy-tab.c: (ephy_tab_finalize), (ephy_tab_set_location): * src/toolbar.c: (toolbar_get_type), (toolbar_set_window), (editable_toolbar_request_action), (toolbar_init), (toolbar_finalize): * src/toolbar.h: Implement the data part of the toolbar editor. Partial implementation of Bookmark action. Try to fix crashes when switching tabs.
* Fix autocompletion to not show duped entries. Complete print preview impl.Marco Pesenti Gritti2003-01-231-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-23 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * lib/ephy-autocompletion.c: (ephy_autocompletion_reset), (ephy_autocompletion_set_key), (ephy_autocompletion_update_matches_full): * lib/widgets/ephy-location-entry.c: (get_editable_number_of_chars), (position_is_at_end), (ephy_location_entry_key_press_event_cb): * src/ephy-favicon-action.c: (ephy_favicon_action_finalize): * src/ephy-favorites-menu.c: (ephy_favorites_menu_finalize_impl), (ephy_favorites_menu_rebuild): * src/ephy-window.c: (add_widget), (setup_window), (ephy_window_finalize), (ephy_window_set_chrome): * src/ppview-toolbar.c: (toolbar_update_sensitivity), (ppview_toolbar_set_window), (toolbar_cmd_ppv_close): * src/toolbar.c: (toolbar_setup_widgets), (toolbar_finalize): Fix autocompletion to not show duped entries. Complete print preview impl. Fix actions referencing, a bug in egg still blocking it though.
* Api changes.Marco Pesenti Gritti2003-01-212-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-21 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/BaseProtocolContentHandler.cpp: * embed/mozilla/StartHereProtocolHandler.cpp: Api changes. * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): * embed/ephy-history.c: (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_remove): * lib/widgets/ephy-spinner.c: (ephy_spinner_expose), (ephy_spinner_size_request): * lib/widgets/ephy-spinner.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_finalize): * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_autocompletion): * src/ephy-spinner-action.c: (create_tool_item): Nicer spinner size. Fix references problem and a lot of logs to make it easy to debug it.
* Merge eog-menu-api branchMarco Pesenti Gritti2003-01-216-6/+302
| | | | | | 2003-01-20 Marco Pesenti Gritti <marco@it.gnome.org> * Merge eog-menu-api branch
* 2003-01-12 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-01-122-78/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * doc/debugging.txt: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_charsets_submenu): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): * embed/ephy-history.c: (ephy_history_save): * embed/mozilla/mozilla-embed.cpp: * lib/ephy-autocompletion.c: (ephy_autocompletion_reset), (ephy_autocompletion_get_common_prefix), (ephy_autocompletion_refine_matches), (ephy_autocompletion_update_matches_full), (ephy_autocompletion_sort_by_score), (ephy_autocompletion_data_changed_cb), (acma_grow): * lib/ephy-debug.c: (log_module), (ephy_debug_init), (ephy_profiler_new), (ephy_should_profile), (ephy_profiler_dump), (ephy_profiler_free), (ephy_profiler_start), (ephy_profiler_stop): * lib/ephy-debug.h: * lib/ephy-filesystem-autocompletion.c: (ephy_filesystem_autocompletion_finalize_impl), (gfa_load_directory_cb), (ephy_filesystem_autocompletion_set_current_dir), (ephy_filesystem_autocompletion_set_base_dir): * lib/ephy-start-here.c: * lib/widgets/ephy-autocompletion-window.c: (ephy_autocompletion_window_get_dimensions), (ephy_autocompletion_window_fill_store_chunk), (ephy_autocompletion_window_show), (ephy_autocompletion_window_key_press_cb): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize_impl), (ephy_location_entry_autocompletion_show_alternatives_to), (ephy_location_entry_autocompletion_to), (ephy_location_entry_activate_cb), (ephy_location_entry_autocompletion_sources_changed_cb), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_autocompletion_window_hidden_cb): * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_clean_empty_keywords), (ephy_bookmarks_save), (ephy_bookmarks_find_keyword), (diff_keywords): * src/bookmarks/ephy-keywords-entry.c: (try_to_expand_keyword): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/ephy-nautilus-view.c: (gnv_cmd_set_charset), (if): * src/ephy-navigation-button.c: (ephy_navigation_button_finalize_impl): * src/ephy-shell.c: (ephy_shell_finalize): * src/ephy-tab.c: (ephy_tab_embed_destroy_cb), (ephy_tab_finalize):
* Architecture for translatable xml/xsl start page.Marco Pesenti Gritti2003-01-071-1/+1
| | | | | | | | | | | | | | | | | | 2003-01-07 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * data/Makefile.am: * data/start_here.html: * data/starthere/Makefile.am: * data/starthere/index.xml.in: * data/starthere/section.xsl: * embed/mozilla/StartHereProtocolHandler.cpp: * lib/Makefile.am: * lib/widgets/ephy-autocompletion-window.c: (hack_tree_view_move_selection): * po/POTFILES.in: Architecture for translatable xml/xsl start page.
* Remove unnecessary markup from translations.Marco Pesenti Gritti2003-01-051-1/+3
| | | | | | | | | | | | | | | | | | 2003-01-04 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * embed/mozilla/PromptService.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * lib/toolbar/ephy-tbi-zoom.c: (ephy_tbi_zoom_get_widget_impl): * lib/widgets/ephy-notebook.c: (tab_build_label): * src/bookmarks/ephy-bookmarks-editor.c: (build_editing_table), (build_search_box): * src/bookmarks/ephy-new-bookmark.c: (build_editing_table): * src/ephy-window.c: (ephy_window_notebook_switch_page_cb): * src/pdm-dialog.c: (show_cookies_properties): * src/session.c: (crashed_resume_dialog): Remove unnecessary markup from translations.
* Use gtk icons for dnd. Basic implementation of bookmarks importing. StillMarco Pesenti Gritti2003-01-031-0/+10
| | | | | | | | | | | | | | 2003-01-02 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-string.c: (ephy_str_replace_substring): * lib/ephy-string.h: * lib/widgets/eggtreemultidnd.c: (egg_tree_multi_drag_motion_event): * src/bookmarks/Makefile.am: Use gtk icons for dnd. Basic implementation of bookmarks importing. Still not used but functional.
* typoMarco Pesenti Gritti2003-01-021-1/+1
|
* *** empty log message ***Marco Pesenti Gritti2003-01-021-9/+10
|
* Initial revisionMarco Pesenti Gritti2002-12-3118-0/+7988