aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix fonts schema default values.Christian Persch2006-03-061-0/+1
| | | | | | | | | | | | | 2006-03-05 Christian Persch <chpe@cvs.gnome.org> * data/epiphany-fonts.schemas: * data/generate-font-schemas.py: Fix fonts schema default values. * embed/downloader-view.c: (downloader_view_build_ui): Forgotten commit.
* On session logout, check if there are downloads pending (since they're notChristian Persch2006-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2006-02-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/downloader-view.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_get_downloader_view_nocreate): * embed/ephy-embed-shell.h: * lib/ephy-gui.c: (ephy_gui_message_dialog_get_content_box): * lib/ephy-gui.h: * src/ephy-session.c: (confirm_shutdown_dialog_update_timeout_label), (confirm_shutdown_dialog_tick_cb), (confirm_shutdown_dialog_response_cb), (confirm_shutdown_dialog_accept_cb), (confirm_shutdown_dialog_weak_ref_cb), (confirm_shutdown_cb), (save_yourself_cb): On session logout, check if there are downloads pending (since they're not resumable, bug #128048). #if 0'd for now.
* Remove glade callbacks, and connect from code instead.Christian Persch2005-10-311-17/+44
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-30 Christian Persch <chpe@cvs.gnome.org> * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * data/glade/print.glade: * embed/downloader-view.c: (update_buttons), (downloader_view_build_ui), (download_dialog_pause), (download_dialog_stop), (download_dialog_response_cb), (download_dialog_delete_event_cb): * embed/print-dialog.c: (ephy_print_setup_dialog_response_cb), (ephy_print_setup_dialog_new): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/pdm-dialog.c: (show_cookies_properties), (cookies_properties_clicked_cb), (pdm_dialog_cookies_construct), (passwords_show_toggled_cb), (pdm_dialog_passwords_construct), (pdm_dialog_response_cb), (pdm_dialog_init), (pdm_dialog_finalize): * src/prefs-dialog.c: (create_language_section), (prefs_dialog_response_cb), (prefs_clear_cache_button_clicked_cb), (set_homepage_entry), (prefs_homepage_current_button_clicked_cb), (prefs_homepage_blank_button_clicked_cb), (prefs_dialog_init): Remove glade callbacks, and connect from code instead.
* Change downloader and pdm dialogue titles, bug #319843.Christian Persch2005-10-271-1/+1
| | | | | | | | | 2005-10-26 Christian Persch <chpe@cvs.gnome.org> * data/glade/epiphany.glade: * embed/downloader-view.c: (status_icon_popup_menu_cb): Change downloader and pdm dialogue titles, bug #319843.
* Don't display (guint64)-1 as filesize if it's not known yet. Part of bugChristian Persch2005-08-131-2/+6
| | | | | | | | | 2005-08-13 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Don't display (guint64)-1 as filesize if it's not known yet. Part of bug #313215.
* Better fix for bug #151037 to make session shutdown work again. Also fixChristian Persch2005-07-041-4/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (remove_download), (prepare_close_cb), (downloader_view_init), (downloader_view_finalize), (downloader_view_remove_download), (download_dialog_delete_cb): * embed/ephy-embed-shell.c: (ephy_embed_shell_prepare_close), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-favicon-cache.c: (prepare_close_cb), (ephy_favicon_cache_init), (kill_download): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * src/ephy-session.c: (ephy_session_init), (ephy_session_dispose), (ephy_session_autoresume), (close_dialog), (ephy_session_close): * src/ephy-shell.c: (ephy_shell_startup), (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Better fix for bug #151037 to make session shutdown work again. Also fix session shutdown while resuming, and preserve the session in this case.
* Common helper function to unref a GObject from idle.Christian Persch2005-06-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2005-06-10 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: * lib/ephy-object-helpers.c: * lib/ephy-object-helpers.h: Common helper function to unref a GObject from idle. * embed/downloader-view.c: (downloader_view_finalize): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-extensions-manager.c: (unload_extension): * src/ephy-main.c: (main): * src/ephy-shell.c: (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Always unref the shell from idle, never directly. That's because in case we hold the last reference, we would end up terminating embedding/XPCOM from a mozilla callback. Fixes bug #151037, and moz#236688.
* More changes for 64bit downloads.Christian Persch2005-04-091-11/+11
| | | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (format_interval), (update_download_row): * embed/ephy-download.c: (update_remaining_time), (ephy_download_get_remaining_time): * embed/ephy-download.h: * embed/mozilla/mozilla-download.cpp: More changes for 64bit downloads.
* Fix for MOZILLA_INTERNAL_API change, and for 64bit downloader change.Christian Persch2005-04-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/downloader-view.c: (update_download_row): * embed/ephy-download.c: * embed/ephy-download.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Fix for MOZILLA_INTERNAL_API change, and for 64bit downloader change.
* Add translator's comments to contextualised strings.Christian Persch2004-12-311-0/+6
| | | | | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (progress_cell_data_func): * embed/ephy-encodings.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/prefs-dialog.c: (get_name_for_lang_code): Add translator's comments to contextualised strings.
* Add comment for translatorsChristian Persch2004-12-221-0/+1
|
* Fix untranslated string. Fixes bug #161739.Christian Persch2004-12-201-1/+2
| | | | | | | | 2004-12-20 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix untranslated string. Fixes bug #161739.
* Implement context menu on tray icon, as per HIG. Fixes bug #152903.Christian Persch2004-12-171-3/+33
| | | | | | | | | | | | | | | | | | 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.
* Disable search. Fixes bug #157157.Christian Persch2004-12-161-0/+2
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Disable search. Fixes bug #157157.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-031-2/+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.
* Remove seconds remaining display from tooltip of tray icon. Fixes bugChristian Persch2004-11-011-49/+3
| | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_status_icon): Remove seconds remaining display from tooltip of tray icon. Fixes bug #145955.
* Use gtk_widget_get_settings on the EphyDialog's window, not on the dialogChristian Persch2004-10-271-1/+1
| | | | | | | | | 2004-10-26 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): Use gtk_widget_get_settings on the EphyDialog's window, not on the dialog itself.
* Use gtk_icon_size_lookup_for_settings() here.Christian Persch2004-10-251-1/+2
| | | | | | | | | | | | 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-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add varargs version of ephy_dialog_get_control to get more than oneChristian Persch2004-10-221-4/+7
| | | | | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_get_controls): * lib/ephy-dialog.h: Add varargs version of ephy_dialog_get_control to get more than one control at a time. * embed/downloader-view.c: (downloader_view_build_ui): * src/pdm-dialog.c: (pdm_dialog_show_help), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_dialog_show_help), (setup_add_language_dialog), (create_language_section), (prefs_dialog_init): Use that.
* Set the window icon.Christian Persch2004-10-051-6/+1
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Set the window icon.
* Arg 4 of gtk_icon_theme_lookup_icon is flags, not height.Christian Persch2004-10-051-7/+5
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): Arg 4 of gtk_icon_theme_lookup_icon is flags, not height.
* Fix download progress indicator in downloader view.Christian Persch2004-09-181-3/+10
| | | | | | | | | | 2004-09-18 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (progress_cell_data_func): * embed/mozilla/MozDownload.cpp: * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection): Fix download progress indicator in downloader view.
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-131-17/+46
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Fix invisible status icon. Fixes bug #151501; patch approved by RT.Christian Persch2004-09-021-2/+5
| | | | | | | | | 2004-09-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (show_status_icon): Fix invisible status icon. Fixes bug #151501; patch approved by RT.
* Don't load the status icon from the file, use the registered stock iconChristian Persch2004-07-241-5/+2
| | | | | | | | | 2004-07-24 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (show_status_icon): Don't load the status icon from the file, use the registered stock icon instead.
* Plug leak, thanks to Crispin.Xan Lopez2004-07-091-0/+1
| | | | | | * embed/downloader-view.c: (downloader_view_add_download): Plug leak, thanks to Crispin.
* If the MIME is unknown, use application/octet-stream.Xan Lopez2004-07-061-1/+0
| | | | | | | * embed/downloader-view.c: (downloader_view_add_download): * embed/mozilla/mozilla-download.cpp: If the MIME is unknown, use application/octet-stream.
* Scale the MIME icon.Xan Lopez2004-07-051-16/+19
| | | | | | * embed/downloader-view.c: (downloader_view_add_download): Scale the MIME icon.
* Some ordering/sizing tweakMarco Pesenti Gritti2004-07-051-11/+4
| | | | | | | | 2004-07-05 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Some ordering/sizing tweak
* Use regular return for valid error conditions, not g_return_if_fail.Christian Persch2004-07-041-3/+5
| | | | | | | | | 2004-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): Use regular return for valid error conditions, not g_return_if_fail.
* Add a MIME icon in the File column. Some indent fixes.Xan Lopez2004-07-041-71/+126
| | | | | | | | | | | | | | | | | | | | | | * embed/downloader-view.c: (downloader_view_get_type), (downloader_view_class_init), (downloader_view_init), (downloader_view_finalize), (format_interval), (downloader_view_add_download), (downloader_view_build_ui), (downloader_view_remove_download): Add a MIME icon in the File column. Some indent fixes. * embed/ephy-download.c: (ephy_download_get_mime): * embed/ephy-download.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: Implement the method to get the MIME of a download and port to nsEmbedString. * embed/mozilla/PrintingPromptService.cpp: Remove bogus nsString.h header.
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove unused field in structXan Lopez2004-05-251-1/+0
| | | | | | | | | | | * embed/downloader-view.c: (update_status_icon): Remove unused field in struct * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Fix build with 1.8a2
* merging pre-gnome-2-8 branchMarco Pesenti Gritti2004-03-171-1/+1
|
* Unset the GValue after we're done using what it contained.Christian Persch2004-03-041-3/+6
| | | | | | | | | | | | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (download_dialog_pause_cb), (download_dialog_abort_cb): Unset the GValue after we're done using what it contained. * embed/mozilla/MozDownload.cpp: Weak ref mEphyDownload, and assert that is has been finalised by the time we get to ~MozDownload. * embed/mozilla/mozilla-download.cpp: Debug output in _init and _finalize.
* Keep a ref for downloads in the view.Marco Pesenti Gritti2004-03-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-01 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_add_download), (downloader_view_remove_download): Keep a ref for downloads in the view. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Ensure the download directory exist. * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-download.h: Use a property to store MozDownload in the wrapper. The wrapper now keep a reference on the c++ implementation, that way references will be correctly propagated (unreffing the GObject will unref the c++ object). (Bug 135755)
* Prepare for 1.1.8Marco Pesenti Gritti2004-02-151-10/+0
| | | | | | | | | | | | | | 2004-02-15 Marco Pesenti Gritti <marco@gnome.org> * NEWS: * configure.in: Prepare for 1.1.8 * embed/downloader-view.c: (downloader_view_build_ui): Revert the timeout for now, I dont think it's mature for the release.
* Safety check.Christian Persch2004-02-131-1/+2
| | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (download_dialog_abort_cb): Safety check.
* Added timeout so that dialog won't disappear before 5 seconds is over.Chris Lahey2004-02-121-2/+67
| | | | | | | | 2004-02-11 Chris Lahey <clahey@rigger.boston.ximian.com> * embed/downloader-view.c: Added timeout so that dialog won't disappear before 5 seconds is over. Made Pause/Resume button update label properly.
* Make columns resizableMarco Pesenti Gritti2004-02-121-4/+3
| | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Make columns resizable
* David Bordoley <bordoley@msu.edu>Biggest Flake Ever2004-02-051-0/+2
| | | | | | | | | | | 2004-02-04 Biggest Flake Ever <flake@whataflake.com> David Bordoley <bordoley@msu.edu> * embed/downloader-view.c: (downloader_view_new): * src/prefs-dialog.c: (setup_add_language_dialog): Use a default width/height for dialogs with tree views that don't have a fixed requisition.
* Activating the status icon should only show it (HIG says so). Also set theXan Lopez2004-02-011-9/+2
| | | | | | | | * embed/downloader-view.c: (status_icon_activated), (downloader_view_build_ui): Activating the status icon should only show it (HIG says so). Also set the downloader view to BROSWE mode.
* Fix mem leak.Christian Persch2004-01-291-7/+6
| | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-271-3/+4
| | | | | | | | 2004-01-26 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-271-0/+1
| | | | | | | | 2004-01-26 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix mem leak.
* Add a persist-position property.Marco Pesenti Gritti2004-01-241-2/+3
| | | | | | | | | | | | | | | | | | | | 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add a persist-position property. * embed/downloader-view.c: (downloader_view_new): Persist downloader position. * src/prefs-dialog.c: (get_download_button_label): * embed/mozilla/MozDownload.cpp: * data/epiphany.schemas.in: Default to ~/Desktop/Downloads.
* Allow passing the translation domain to ephy_dialog_construct, to makeChristian Persch2004-01-241-2/+4
| | | | | | | | | | | | | | | | | | | | | 2004-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * lib/ephy-dialog.c: (impl_construct), (ephy_dialog_construct): * lib/ephy-dialog.h: * lib/ephy-glade.c: (ephy_glade_widget_new): * lib/ephy-glade.h: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (setup_add_language_dialog), (prefs_dialog_init): Allow passing the translation domain to ephy_dialog_construct, to make extension's dialogues translatable. Fix all callers.
* Call ephy_file() explicitly for each glade file, letting extensions load ↵Adam Hooper2004-01-221-1/+1
| | | | glade files from any path
* Use ngettext for number of downloads and remaining minutes display in thePiers Cornwell2004-01-211-7/+30
| | | | | | | | | | 2004-01-21 Piers Cornwell <piers@myrealbox.com> * embed/downloader-view.c: (update_status_icon), (downloader_view_remove_download): Use ngettext for number of downloads and remaining minutes display in the tooltip of the tray icon.
* Allow to show/hide downloader clicking on tray icon. Fixes #131012.Xan Lopez2004-01-141-1/+8
| | | | | | | * embed/downloader-view.c: (status_icon_activated): Allow to show/hide downloader clicking on tray icon. Fixes #131012.
* Add accelerator to Pause/Resume button.Christian Persch2004-01-131-2/+2
| | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (download_dialog_pause_cb): Add accelerator to Pause/Resume button.
* Re-implement Pause/Resume in downloader.Xan Lopez2003-12-211-0/+2
| | | | | | | | | | | | | * embed/downloader-view.c: (download_dialog_pause_cb): * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: Re-implement Pause/Resume in downloader. * src/window-commands.c: (window_cmd_help_about): Change mail address.
* Improved API and implementation of EphyDialog. Add support for new comboChristian Persch2003-11-301-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-30 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * embed/downloader-view.c: (downloader_view_build_ui): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_new_with_parent): * embed/ephy-encodings.c: (ephy_encodings_get_detectors): * embed/ephy-encodings.h: * embed/find-dialog.c: (update_navigation_controls), (set_properties), (impl_show), (find_dialog_class_init), (find_dialog_init), (find_dialog_new_with_parent): * embed/print-dialog.c: (impl_show), (print_dialog_init), (print_dialog_new_with_parent), (print_get_info): * lib/ephy-dialog.c: (ephy_dialog_get_type), (lookup_info), (set_sensitivity), (set_value_from_pref), (set_pref_from_value), (set_value_from_editable), (set_value_from_optionmenu), (set_value_from_combobox), (get_radio_button_active_index), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_value_from_info), (set_editable_from_value), (get_index_from_value), (set_optionmenu_from_value), (compare_values), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_spin_button_from_value), (set_togglebutton_from_value), (set_info_from_value), (set_pref_from_info), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (spinbutton_changed_cb), (changed_cb), (set_info_from_pref), (connect_signals), (disconnect_signals), (init_props), (load_info), (save_info), (setup_default_size), (dialog_destroy_cb), (impl_construct), (impl_show), (ephy_dialog_set_modal), (ephy_dialog_add_enum), (ephy_dialog_set_data_column), (ephy_dialog_set_pref), (ephy_dialog_set_size_group), (ephy_dialog_construct), (ephy_dialog_show), (ephy_dialog_run), (ephy_dialog_get_control), (ephy_dialog_get_value), (ephy_dialog_set_value), (free_prop_info), (ephy_dialog_init), (ephy_dialog_dispose), (ephy_dialog_finalize), (ephy_dialog_set_parent), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init), (ephy_dialog_new), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * src/ephy-encoding-dialog.c: (sync_embed_cb), (sync_parent_window_cb), (activate_choice), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_new): * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_pdm_dialog), (ephy_shell_get_prefs_dialog): * src/ephy-shell.h: * src/language-editor.c: (language_editor_get_type), (language_editor_class_init), (language_editor_update_pref), (language_editor_add_button_clicked_cb), (language_editor_set_view), (language_editor_init), (language_editor_new), (language_editor_set_model), (language_editor_add): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_show_help), (action_treeview_selection_changed_cb), (setup_action), (cookies_treeview_selection_changed_cb), (pdm_dialog_cookies_construct), (pdm_dialog_passwords_construct), (pdm_dialog_init), (show_cookies_properties): * src/prefs-dialog.c: (prefs_dialog_get_type), (prefs_dialog_class_init), (prefs_dialog_show_help), (setup_font_combo), (fonts_language_combo_changed_cb), (create_fonts_language_menu), (create_node_combo), (language_combo_changed_cb), (create_language_menu), (get_download_button_label), (create_download_path_label), (prefs_dialog_init), (prefs_dialog_response_cb), (set_homepage_entry), (prefs_homepage_current_button_clicked_cb), (prefs_homepage_blank_button_clicked_cb), (language_dialog_changed_cb), (prefs_language_more_button_clicked_cb), (download_path_response_cb), (prefs_download_path_button_clicked_cb): * src/prefs-dialog.h: * src/window-commands.c: (window_cmd_edit_prefs): Improved API and implementation of EphyDialog. Add support for new combo box, and removed optionmenu. Port all dialogues to new API and use combobox instead of optionmenus.
* Show total downloads and time in the tray icon tooltipMarco Pesenti Gritti2003-11-291-1/+40
| | | | | | | | | | 2003-11-28 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (status_icon_activated), (seconds_remaining_total), (update_status_icon), (download_changed_cb), (downloader_view_add_download): Show total downloads and time in the tray icon tooltip
* Try out a different layout for downloads rows. Make the file columnMarco Pesenti Gritti2003-11-261-42/+39
| | | | | | | | | | | | 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.
* Use gnome_vfs_format_file_size_for_display to display size, put UnknownXan Lopez2003-11-251-9/+13
| | | | | | | | * embed/downloader-view.c: (download_changed_cb): Use gnome_vfs_format_file_size_for_display to display size, put Unknown when size/remaining time are unknown instead of weird numbers.
* Very basic tray icon for downloader.Marco Pesenti Gritti2003-11-231-1/+33
| | | | | | | | | | | | | 2003-11-23 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * embed/downloader-view.c: (status_icon_activated), (show_status_icon), (downloader_view_init), (downloader_view_finalize), (download_dialog_delete_cb): * lib/egg/Makefile.am: * lib/egg/update-from-egg.sh: Very basic tray icon for downloader.
* Use kB, MB and GB for the total size of the files being downloaded. FixesXan Lopez2003-11-071-4/+14
| | | | | | | | | | | * embed/downloader-view.c: (download_changed_cb): Use kB, MB and GB for the total size of the files being downloaded. Fixes #126387 * embed/mozilla/ContentHandler.cpp: Small cleanup.
* Change some more i18n inclusion and remove several unused includes.Marco Pesenti Gritti2003-11-061-4/+0
| | | | | | | | | | | | | | | | | | 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-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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
* Implement smart selection in the downloader view.Xan Lopez2003-10-291-6/+40
| | | | | | | | | | | | | | | | | * embed/downloader-view.c: (downloader_view_remove_download): Implement smart selection in the downloader view. * data/epiphany.schemas.in: * embed/ephy-embed-popup-control.c: (embed_popup_download_link_cmd): * embed/mozilla/EphyHeaderSniffer.cpp: * lib/ephy-prefs.h: * src/popup-commands.c: (popup_cmd_download_link): Make persist downloads store the files in the download dir automatically without asking the user (key only accessible via gconf atm). CH downloads still need fixing.
* Port to new gtk+ file chooser.Christian Persch2003-10-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-26 Christian Persch <chpe@cvs.gnome.org> Port to new gtk+ file chooser. * data/epiphany.schemas.in: * lib/ephy-prefs.h: Add key for remembering upload path. * embed /Makefile.am: * embed/downloader-view.c: * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type), (ephy_embed_persist_set_dest), (ephy_embed_persist_set_embed), (ephy_embed_persist_set_fc_title), (ephy_embed_persist_set_fc_parent), (ephy_embed_persist_set_flags), (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_persist_key), (ephy_embed_persist_set_source), (ephy_embed_persist_get_dest), (ephy_embed_persist_get_embed), (ephy_embed_persist_get_fc_title), (ephy_embed_persist_get_fc_parent), (ephy_embed_persist_get_flags), (ephy_embed_persist_get_max_size), (ephy_embed_persist_get_persist_key), (ephy_embed_persist_get_source), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_finalize), (ephy_embed_persist_class_init), (ephy_embed_persist_cancel), (ephy_embed_persist_save), (ephy_embed_persist_new): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (save_property_url), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd): * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_new), (icon_is_obsolete), (icons_added_cb), (remove_obsolete_icons), (ephy_favicon_cache_init), (favicon_download_completed_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/mozilla/MozDownload.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: Simplify EphyEmbedPersist implementation. Augment it with properties for showing a file chooser to select persist destination. Port all callers to new interfaces. * embed/ephy-embed-single.c: (ephy_embed_single_remove_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: * embed/ephy-embed-utils.h: Obsolete and removed. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Misc cleanups. * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: Port to new file chooser class. * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type), (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_finalize), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_set_property), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: * src/bookmarks/ephy-bookmarks-editor.c: (import_from_file_response_cb), (import_dialog_response_cb): New file chooser wrapper class; ported file chooser callers to it.
* Remove a debug print, don't do anything on wm delete event.Xan Lopez2003-10-251-3/+1
| | | | | | | | * embed/downloader-view.c: (downloader_view_build_ui), (download_dialog_delete_cb): Remove a debug print, don't do anything on wm delete event.
* Remove open button, autclose when there are no downloads left.Xan Lopez2003-10-251-40/+15
| | | | | | | | | | | * data/glade/epiphany.glade: * embed/downloader-view.c: (downloader_view_init), (downloader_view_finalize), (get_row_from_download), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui), (downloader_view_remove_download), (download_dialog_delete_cb): Remove open button, autclose when there are no downloads left.
* unref the model once it's set in the viewMarco Pesenti Gritti2003-10-201-0/+1
| | | | | | | | | 2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * src/language-editor.c: (language_editor_set_view): unref the model once it's set in the view
* Merge new-downloader branch. We reworked the backend, the userMarco Pesenti Gritti2003-10-171-727/+140
| | | | interface is still incomplete.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-17/+11
|
* Do not try to remove completed downloads, fixes a crash.Marco Pesenti Gritti2003-08-201-2/+5
| | | | | | | | 2003-08-20 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (delete_pending_foreach): Do not try to remove completed downloads, fixes a crash.
* Fix mem leak.Christian Persch2003-08-091-3/+4
| | | | | | | | 2003-08-08 Christian Persch <chp@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): Fix mem leak.
* s/KB/kB/Xan Lopez2003-08-081-4/+4
| | | | s/KB/kB/
* Fix mem leaks; thanks to Xan for pointing this out.Christian Persch2003-07-141-0/+5
| | | | | | | | | | | | 2003-07-14 Christian Persch <chpe@cvs.gnome.org> * src/pdm-dialog.c: (pdm_dialog_cookies_properties_button_clicked_cb): * src/language-editor.c: (language_editor_update_pref): * embed/downloader-view.c: (controls_info_foreach), (download_dialog_pause_cb), (download_dialog_abort_cb), (downloader_treeview_selection_changed_cb), (open_selection_foreach): Fix mem leaks; thanks to Xan for pointing this out.
* Fix mem leaks.Christian Persch2003-07-141-9/+27
| | | | | | | | | | | | | | 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.
* Don't show -1 KB before download starts.Piers Cornwell2003-06-291-1/+1
| | | | | | | | 2003-06-28 Piers Cornwell <piersc@cogs.susx.ac.uk> * embed/downloader-view.c: (downloader_view_add_download): Don't show -1 KB before download starts.
* Set done size to total size on download completedMarco Pesenti Gritti2003-06-281-6/+10
| | | | | | | | | 2003-06-28 Marco Pesenti Gritti <marco@it.gnome.org> * embed/downloader-view.c: (downloader_view_update_controls), (downloader_view_set_download_info): Set done size to total size on download completed
* Pass elapsed times in seconds, more consistent and avoid overflow.Marco Pesenti Gritti2003-06-221-1/+1
| | | | | | | | | | 2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * embed/downloader-view.c: (downloader_view_update_details): * embed/mozilla/ProgressListener.cpp: Pass elapsed times in seconds, more consistent and avoid overflow.
* More cleanups, fix memleaks.Xan Lopez2003-06-191-1/+1
| | | | More cleanups, fix memleaks.
* Use g_list_prepend instead of g_list_append, and fix mem leaks along theChristian Persch2003-06-141-10/+9
| | | | | | | | | | | | | 2003-06-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-topic-action.c: (build_bookmarks_menu), (build_topics_menu): * src/language-dialog.c: (language_editor_remove_button_clicked_cb): * src/pdm-dialog.c: (pdm_dialog_remove_button_clicked_cb): * embed/downloader-view.c: (download_dialog_abort_cb): Use g_list_prepend instead of g_list_append, and fix mem leaks along the way.
* Add support for string enums.Marco Pesenti Gritti2003-06-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-13 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dialog.c: (set_config_from_editable), (set_config_from_optionmenu), (set_config_from_radiobuttongroup), (set_config_from_spin_button), (set_config_from_togglebutton), (set_config_from_color), (set_editable_from_config), (set_optionmenu_from_config), (set_radiobuttongroup_from_config), (set_spin_button_from_config), (set_togglebutton_from_config), (set_color_from_config), (prefs_togglebutton_clicked_cb), (prefs_radiobutton_clicked_cb), (prefs_spinbutton_timeout_cb), (prefs_color_changed_cb), (prefs_entry_changed_cb), (prefs_optionmenu_selected_cb), (ephy_dialog_init), (load_props), (save_props), (free_props), (ephy_dialog_finalize), (ephy_dialog_add_enum), (init_props), (impl_construct), (impl_show): Add support for string enums. * lib/ephy-dialog.h: * lib/ephy-prefs.h: * src/prefs-dialog.c: (prefs_dialog_init): * data/epiphany.schemas.in: * embed/downloader-view.c: * embed/ephy-embed-prefs.h: * embed/find-dialog.c: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/Makefile.am: Cleanup gconf prefs. This breaks compatibility but better now that later.
* Fix crash on pause.Xan Lopez2003-05-261-3/+22
| | | | Fix crash on pause.
* Add gettext call to l10nize string displayed in remaining column whenChristian Neumair2003-05-211-1/+1
| | | | | | | * embed/downloader-view.c: (downloader_view_set_download_info): Add gettext call to l10nize string displayed in remaining column when download is complete.
* data/glade/epiphany.glade data/glade/prefs-dialog.gladeChristian Neumair2003-05-211-33/+13
| | | | | | | | | | | * data/glade/epiphany.glade * data/glade/prefs-dialog.glade * data/epiphany.schemas.in * embed/downloader-view.c * embed/downloader-view.h: Applied patch from #113367 which inter alia removes the keep_open option from the download manager and does various download UI tweakage.
* Mark time format strings for translation.Christian Neumair2003-05-211-2/+4
| | | | | | * embed/downloader-view.c: (format_time): Mark time format strings for translation.
* Fix some warnings. Go back hardcoding defaults in the code, mozilla prefMarco Pesenti Gritti2003-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | 2003-05-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * embed/mozilla/Makefile.am: * embed/mozilla/default-prefs.js: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-prefs.cpp: * embed/mozilla/mozilla-prefs.h: * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-history-window.c: (ephy_history_window_construct): Fix some warnings. Go back hardcoding defaults in the code, mozilla pref api sucks :/ Cleanup mozilla prefs code, we can use mozilla api directly now, no need for a wrapper like in galeon1.
* Use stock icons instead of the files directly to set window border icons.David Bordoley2003-05-201-3/+7
| | | | | | | | | | | | | | 2003-05-19 David Bordoley <bordoley@msu.edu> * embed/downloader-view.c: (downloader_view_build_ui): * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-history-window.c: (ephy_history_window_construct): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Use stock icons instead of the files directly to set window border icons.
* Fixed many issues mentioned in #112781.Christian Neumair2003-05-171-3/+7
|
* Workaround to not act on every download, ongoing or finished, when weXan Lopez2003-05-021-97/+56
| | | | | | | | | | Workaround to not act on every download, ongoing or finished, when we click on Pause/Resume or Remove. Minor UI changes to the download dialog, including merging Pause and Resume in one button, and removing File: from the details view.
* Assume Pause/Resume is available for every channel, "fixes" resume forXan Lopez2003-04-191-8/+3
| | | | | Assume Pause/Resume is available for every channel, "fixes" resume for HTTP among others. Drop some useless code.
* Set and icon for the download windowDavid Bordoley2003-03-241-0/+8
| | | | | | | | | 2003-03-23 David Bordoley <bordoley@msu.edu> * data/art/Makefile.am: * data/art/epiphany-download.png: (new file from jimmac) * embed/downloader-view.c: Set and icon for the download window
* fix incorrect figures on small filesRob Clews2003-01-171-1/+4
| | | | | | | | | | 2003-01-16 Rob Clews <rjc@intercellsolutions.com> * embed/downloader-view.c: fix incorrect figures on small files 2003-01-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/FilePicker.cpp: Api change
* Make GaleonShell inherit from GaleonEmbedShell. Ref the shell when usingMarco Pesenti Gritti2003-01-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-05 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/art/epiphany.png: * data/epiphany.schemas.in: * data/glade/epiphany.glade: * embed/downloader-view.c: (downloader_view_init), (downloader_view_finalize): * embed/ephy-embed-favicon.c: (ephy_embed_favicon_set_property): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_impl), (ephy_embed_shell_get_type), (ephy_embed_shell_new): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_charsets_submenu): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/appearance-prefs.c: (setup_font_menu): * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-main.c: (main): * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_init), (ephy_shell_finalize), (build_homepage_url), (ephy_shell_get_autocompletion): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_location_cb), (ephy_tab_visibility_cb): * src/ephy-window.c: (favicon_cache_changed_cb), (ephy_window_init), (update_favicon_control): * src/general-prefs.c: (create_default_charset_menu): * src/history-dialog.c: (history_dialog_init): * src/pdm-dialog.c: (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_clear_memory_cache_button_clicked_cb), (prefs_clear_disk_cache_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Make GaleonShell inherit from GaleonEmbedShell. Ref the shell when using the downloader. Use favicons for the window icon when possible. This required to use jimmac icon as default, we still dont have his permission, I'll remove it later if necessary.
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+1100