aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-gui.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove custom search, and use gtktreeview typeaheadfind. Fixes bugChristian Persch2005-03-141-4/+0
| | | | | | | | | | | | 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.
* Depend on gnome-desktop for gnome-desktop-item, and up the gnome-vfsChristian Persch2005-02-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-26 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Depend on gnome-desktop for gnome-desktop-item, and up the gnome-vfs dependency version. * embed/ephy-embed-persist.c: (ephy_embed_persist_set_user_time), (ephy_embed_persist_get_user_time), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Add user time property. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Forward user time to MozDownload via a string. Not perfect, but better than nothing. * embed/mozilla/EphyHeaderSniffer.cpp: Set user time on filechooser. * embed/mozilla/MozDownload.cpp: Get user time from content handler, and use it when launching the external handler app. * lib/ephy-file-helpers.c: (ephy_file_check_mime), (launch_desktop_item), (ephy_file_launch_desktop_file), (ephy_file_launch_application), (ephy_file_launch_handler): * lib/ephy-file-helpers.h: Convenience functions to launch an app, or a desktop item, with user time. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file), (ephy_gui_window_update_user_time), (ephy_gui_window_present): * lib/ephy-gui.h: Make our own gtk_window_present, to correctly update user time. Check if the path is writable in ephy_gui_confirm_overwrite_file(). * src/ephy-session.c: (ephy_session_autoresume): After showing the recovery dialogue, don't use the old user time to launch the windows; use the current event time instead. * src/popup-commands.c: (background_download_completed), (image_open_uri), (save_source_completed_cb), (popup_cmd_open_image): * src/window-commands.c: (window_cmd_file_save_as), (save_source_completed_cb), (save_temp_source), (window_cmd_view_page_source): Launch handlers with user time.
* Define variants with startup ID.Christian Persch2005-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: Define variants with startup ID. * lib/ephy-gui.c: (ephy_gui_window_update_user_time): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId), (impl_ephy_automation_loadurl), (impl_ephy_automation_addBookmark), (impl_ephy_automation_importBookmarks), (impl_ephy_automation_loadSessionWithStartupId), (impl_ephy_automation_loadSession), (impl_ephy_automation_openBookmarksEditorWithStartupId), (impl_ephy_automation_openBookmarksEditor), (ephy_automation_class_init): * src/ephy-main.c: (get_startup_id), (main): * src/ephy-session.c: (offer_to_resume), (ephy_session_autoresume), (ephy_session_load): * src/ephy-session.h: * src/ephy-shell.c: (open_urls), (ephy_shell_startup), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: Implement startup ID forwarding to the already-running ephy instance. Part of bug #150085.
* Make sure we don't have any app-modal dialogues. Fixes bug #110479.Christian Persch2004-12-191-0/+2
| | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * lib/ephy-gui.c: (ephy_gui_ensure_window_group), (ephy_gui_confirm_overwrite_file): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (ephy_bookmarks_editor_construct): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): Make sure we don't have any app-modal dialogues. Fixes bug #110479.
* Implement context menu on tray icon, as per HIG. Fixes bug #152903.Christian Persch2004-12-171-0/+6
| | | | | | | | | | | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (show_downloader_cb), (status_icon_popup_menu_cb), (show_status_icon): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init), (egg_status_icon_init), (egg_status_icon_finalize), (emit_activate_signal), (emit_popup_menu_signal), (egg_status_icon_size_allocate), (egg_status_icon_button_press), (egg_status_icon_set_tooltip): * lib/egg/eggstatusicon.h: * lib/ephy-gui.c: (ephy_gui_menu_position_under_widget), (ephy_gui_menu_position_on_panel): * lib/ephy-gui.h: Implement context menu on tray icon, as per HIG. Fixes bug #152903.
* Sanitise the embed popup position. Fixes bug #157162.Christian Persch2004-11-081-0/+5
| | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_sanitise_popup_position), (ephy_gui_menu_position_tree_selection), (ephy_gui_menu_position_under_widget): * lib/ephy-gui.h: * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup): Sanitise the embed popup position. Fixes bug #157162.
* Better positioning of context menus for treeviews. Fix #152431Marco Pesenti Gritti2004-09-151-0/+6
| | | | | | | | | | | 2004-09-13 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-guy.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-history-window.c: Better positioning of context menus for treeviews. Fix #152431
* Move in the bookmarks dir.Marco Pesenti Gritti2004-07-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-02 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: Move in the bookmarks dir. * lib/ephy-gui.c: (ephy_gui_select_row_by_key), (ephy_gui_is_middle_click): * lib/ephy-gui.h: Add a function to check if menus was activated by a middle or a ctrl+click (which is equivalent in epiphany) * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (activate_cb), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb), (create_menu): * src/bookmarks/ephy-bookmarksbar.c: (bookmark_open_in_tab_cb), (bookmark_open_cb), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-topic-action.c: (menu_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: Add signals to open bookmarks in new window/tab. I'll need them for context menus. Use them for middle/ctrl click.
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-221-1/+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.
* Add $ markersChristian Persch2004-02-221-0/+2
|
* Remove unused func, bad xanMarco Pesenti Gritti2003-11-051-2/+0
| | | | | | | | | 2003-11-05 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_help): * lib/ephy-gui.h: Remove unused func, bad xan
* Reenable deprecated api where necessary, fixup some header inclusions.Marco Pesenti Gritti2003-10-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | 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.
* Use gtkicontheme, and use it also for mime icons.Marco Pesenti Gritti2003-09-271-0/+3
| | | | | | | | | | | | | | | 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.
* Merge with popup control, we dont need it for bonobo window anymore.Marco Pesenti Gritti2003-06-161-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/Makefile.am: * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_get_type), (ephy_embed_popup_control_set_property), (ephy_embed_popup_control_get_property), (ephy_embed_popup_control_class_init), (ephy_embed_popup_control_init), (ephy_embed_popup_control_finalize), (get_popup_path), (ephy_embed_popup_control_show), (setup_element_menu), (setup_document_menu), (ephy_embed_popup_control_set_event), (ephy_embed_popup_control_connect_verbs), (ephy_embed_popup_control_get_event), (embed_popup_copy_location_cmd), (embed_popup_copy_email_cmd), (embed_popup_copy_link_location_cmd), (save_property_url), (embed_popup_open_link_cmd), (embed_popup_download_link_cmd), (embed_popup_save_image_as_cmd), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd), (save_url), (embed_popup_save_page_as_cmd), (embed_popup_save_background_as_cmd), (embed_popup_open_frame_cmd), (embed_popup_reload_frame_cmd), (embed_popup_open_image_cmd), (embed_popup_copy_to_clipboard): * embed/ephy-embed-popup-control.h: Merge with popup control, we dont need it for bonobo window anymore. * embed/mozilla/mozilla-embed-single.cpp: Do not override the UA but set vendor prefs so that mozilla can build it correctly. * lib/ephy-dialog.c: (get_radio_button_active_index), (set_config_from_radiobuttongroup), (set_radiobuttongroup_from_config), (prefs_set_group_sensitivity), (impl_get_value): * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * lib/ephy-gui.c: * lib/ephy-gui.h: * lib/ephy-string.c: (ephy_string_shorten), (ephy_string_to_int), (ephy_string_strip_chr), (ephy_string_elide_underscores): * lib/ephy-string.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_context_menu_cb), (gnv_embed_location_cb), (gnv_view_from_popup), (gnv_popup_cmd_new_window), (gnv_popup_cmd_image_in_new_window), (gnv_popup_cmd_frame_in_new_window), (gnv_cmd_file_print), (gnv_embed_zoom_change_cb):
* Convenience function for displaying help. Remove unneeded include ofDavid Adam Bordoley2003-05-091-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-08 David Adam Bordoley <bordoley@msu.edu> * lib/ephy-gui.c: (ephy_gui_help): * lib/ephy-gui.h: Convenience function for displaying help. Remove unneeded include of gnome-dialog.h * src/ephy-history-window.c: (cmd_help_contents): * src/prefs-dialog.c: (prefs_dialog_show_help): * src/window-commands.c: (window_cmd_help_contents), (window_cmd_help_about): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_help), (bookmark_properties_response_cb): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_help_contents): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_help), (response_cb): Hook up help to windows/dialogs. Add the guilty parties to about. * help/C/epiphany.xml: Fixed the "To Create a New Bookmark" id.
* Use default widget color for smart bookmarks background. Fixes #107902.Dan Damian2003-03-101-8/+0
| | | | | | | | | | | | | | | | | 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.
* Remove old toolbar editor uiMarco Pesenti Gritti2003-03-011-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+79