aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
Commit message (Collapse)AuthorAgeFilesLines
* 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