Commit graph

3367 commits

Author SHA1 Message Date
Andy Hertzfeld
cc4db6ab8a better version of the non-anti-aliased music icon from Susan inadvertently
* icons/i-music.png:
	better version of the non-anti-aliased music icon from Susan
	inadvertently left out of my previous check-in
2000-10-04 08:36:29 +00:00
Andy Hertzfeld
03c38354e2 fixed bug 3463, get sound diagnostics when mousing over non-sound files,
fixed bug 3463, get sound diagnostics when mousing over non-sound
	files, by only testing for sound if we're over a sound file

	also, made the shadow type of the throbber frame be specified by the
	theme.
2000-10-04 08:26:51 +00:00
Robey Pointer
2b6b3a15dd Remove weird Danish text and replace with terse English text.
* nautilus-installer/src/prescript:

	Remove weird Danish text and replace with terse English text.
2000-10-04 04:09:52 +00:00
Robey Pointer
970092625c Needed XPM for the error page.
* nautilus-installer/src/error-symbol.xpm:

	Needed XPM for the error page.
2000-10-04 04:09:39 +00:00
Robey Pointer
639771b58f Catch (X) click on window and exit cleanly. Combine the two -d options
* nautilus-installer/src/callbacks.c: (druid_delete):
	* nautilus-installer/src/callbacks.h:
	* nautilus-installer/src/installer.c: (get_pixmap_x_y),
	(create_pixmap), (create_what_to_do_page), (jump_to_error_page),
	(create_window), (eazel_install_progress),
	(eazel_download_progress), (get_detailed_errors_foreach),
	(download_failed), (eazel_install_preflight),
	(eazel_install_dep_check), (eazel_install_delete_files),
	(install_done), (check_if_next_okay), (toggle_button_toggled),
	(check_system), (eazel_installer_do_install),
	(eazel_installer_finalize), (eazel_install_get_depends),
	(eazel_installer_initialize):
	* nautilus-installer/src/installer.h:
	* nautilus-installer/src/main.c:

	Catch (X) click on window and exit cleanly.  Combine the two -d
	options into one and consolidate the debug output.  Change default
	server to services.eazel.com.  Resize druid to the size of the
	background XPM and disallow resizes.  Remove the /tmp dir on
	failure.  Use only printable chars in /tmp dir name.  Remove the
	ability to do nonsensical browsing in the druid (backwards from
	page one, etc).
2000-10-04 04:09:11 +00:00
Robey Pointer
d70e110d31 Erase file if it didn't download correctly (was leaving around 0-length
* components/services/install/lib/eazel-install-protocols.c:
	(eazel_install_fetch_file), (eazel_install_fetch_package),
	(add_to_url), (get_url_for_package):

	Erase file if it didn't download correctly (was leaving around
	0-length files).  Quote weird characters in values when composing
	an URL.
2000-10-04 04:08:40 +00:00
Arlo Rose
01f98bd6d9 Added a couple of non-AA folder icons.
* icons/arlo/Makefile.am:
        * icons/arlo/i-directory-aa.png:
        * icons/arlo/i-directory.png:
        * icons/arlo/i-directory-72.png:
        Added a couple of non-AA folder icons.
2000-10-04 02:46:57 +00:00
Mathieu Lacage
3019dd19e1 initalize ret_val for optimized builds...
2000-10-03  Mathieu Lacage  <mathieu@eazel.com>

	* src/file-manager/fm-list-view.c: (fm_list_handle_dragged_items):
	initalize ret_val for optimized builds...
2000-10-04 02:09:56 +00:00
Andy Hertzfeld
0d1b4f57bf changed how layout works in the non-tighter-layout case by removing the
changed how layout works in the non-tighter-layout case by
	removing the powers of two padding and instead going with
	a fixed minimum size.
2000-10-04 01:16:11 +00:00
Darin Adler
7b9c610f8c Fixed window title. 2000-10-04 00:12:20 +00:00
Maciej Stachowiak
1f04158c8c Filed bugs for some FIXMEs
* check-THANKS.pl,
	components/adapter/nautilus-adapter-progressive-load-strategy.c,
	components/adapter/nautilus-adapter-stream-load-strategy.c,
	src/nautilus-view-frame.c: Filed bugs for some FIXMEs
2000-10-04 00:07:05 +00:00
Andy Hertzfeld
a96f72f012 fixed bug where there was an overflow computing the average pixel value
fixed bug where there was an overflow computing the average
	pixel value for large enough tiles; it manifested by choosing the
	wrong color text over certain backgrounds like clouds; fixed by
	using uints for the accumulators instead of ints.
2000-10-03 23:36:47 +00:00
Mathieu Lacage
9af23cad2b add function. add prototype.
2000-10-03  Mathieu Lacage  <mathieu@eazel.com>

	* libnautilus-extensions/nautilus-gtk-extensions.c:
	(nautilus_gtk_marshal_BOOL__INT_POINTER_INT_INT_UINT): add function.
	* libnautilus-extensions/nautilus-gtk-extensions.h: add prototype.

	* libnautilus-extensions/nautilus-list.c:
	(nautilus_list_initialize_class),
	(nautilus_list_prelight_if_necessary), (nautilus_list_drag_motion),
	(nautilus_list_drag_drop), (nautilus_list_drag_data_received):
	* libnautilus-extensions/nautilus-list.h:
	add the handle-dragged-items signal to handle prelighting when you
	drag.

	* src/file-manager/fm-list-view.c: (fm_list_handle_dragged_items),
	(set_up_list): hook to the handle-dragged-items signal.
2000-10-03 23:08:11 +00:00
John Sullivan
4bff3f57ad Fixed bug 3155 (need feedback item in Help menu)
Bud & co. decided this should be there all the time.

	* src/nautilus-window-menus.c:
	(help_menu_nautilus_feedback_callback),
	(nautilus_window_initialize_menus): Added menu item
	that opens a feedback web page.
2000-10-03 22:30:59 +00:00
Christian Rose
e56c3e97b6 Updated Swedish translation. 2000-10-03 21:50:24 +00:00
Kjartan Maraas
ea4a8a3757 Updated Norwegian translation.
2000-10-03  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.
2000-10-03 21:50:14 +00:00
John Sullivan
c612c157ee Fixed bug 3379 (crash leaving web page)
* libnautilus-extensions/nautilus-directory-async.c:
	(directory_load_done): When directory load returns an
	error, clear unconfirmed bit on all files in that directory
	so they won't be marked gone later.

	Fixed bug 3421 (web page with blank HTML title causes blank
	title in Nautilus)

	* components/mozilla/nautilus-mozilla-content-view.c:
	(mozilla_title_changed_callback): Don't call nautilus_view_set_title
	if the HTML title is NULL or "".
2000-10-03 21:02:19 +00:00
Pavel Cisler
adb5d03cb1 Work on 2036 - drawing glitches in ListView.
2000-10-03  Pavel Cisler  <pavel@eazel.com>

	Work on 2036 - drawing glitches in ListView.

	* configure.in:
	* cut-n-paste-code/widgets/Makefile.am:
	* cut-n-paste-code/widgets/nautilusclist/.cvsignore:
	* cut-n-paste-code/widgets/nautilusclist/Makefile.am:
	* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
	* cut-n-paste-code/widgets/nautilusclist/nautilusclist.h:
	(COLUMN_FROM_XPIXEL), (LIST_WIDTH), (nautilus_clist_get_type),
	(nautilus_clist_class_init), (nautilus_clist_set_arg),
	(nautilus_clist_get_arg), (nautilus_clist_init),
	(nautilus_clist_construct), (nautilus_clist_new),
	(nautilus_clist_new_with_titles), (nautilus_clist_set_hadjustment),
	(nautilus_clist_get_hadjustment), (nautilus_clist_set_vadjustment),
	(nautilus_clist_get_vadjustment),
	(nautilus_clist_set_scroll_adjustments),
	(nautilus_clist_set_shadow_type),
	(nautilus_clist_set_selection_mode), (nautilus_clist_freeze),
	(nautilus_clist_thaw), (nautilus_clist_column_titles_show),
	(nautilus_clist_column_titles_hide),
	(nautilus_clist_column_title_active),
	(nautilus_clist_column_title_passive),
	(nautilus_clist_column_titles_active),
	(nautilus_clist_column_titles_passive),
	(nautilus_clist_set_column_title),
	(nautilus_clist_get_column_title),
	(nautilus_clist_set_column_widget),
	(nautilus_clist_get_column_widget),
	(nautilus_clist_set_column_justification),
	(nautilus_clist_set_column_visibility),
	(nautilus_clist_set_column_resizeable),
	(nautilus_clist_set_column_auto_resize),
	(nautilus_clist_columns_autosize),
	(nautilus_clist_optimal_column_width):

	Had to create a copy of GtkCList to work around problems where the drawing
	code was getting called directly behind our derived classes back. Rebecka
	already set GtkCList up in the cut-n-paste directory. Move it to the Nautilus
	namespace so that it doesn't collide with the original.
	Add more methods to allow completely overriding all drawing by a
	derived class.
	Add not reached asserts in original GtkCList drawing code that was
	messing us up.

	* libnautilus-extensions/Makefile.am:
	* libnautilus-extensions/nautilus-list-column-title.c:
	(get_column_label_at), (get_column_frame_at),
	(nautilus_list_column_title_paint), (in_column_rect),
	(in_resize_rect):
	* libnautilus-extensions/nautilus-list.c:
	(nautilus_list_initialize_class), (activate_row),
	(nautilus_list_is_row_selected), (row_set_selected),
	(select_row_unselect_others), (nautilus_list_unselect_all),
	(nautilus_list_select_all), (nautilus_list_button_press),
	(nautilus_list_button_release),
	(nautilus_list_clear_keyboard_focus),
	(nautilus_list_set_keyboard_focus),
	(nautilus_list_keyboard_move_to), (nautilus_list_select_row),
	(keyboard_row_reveal_timeout_callback), (nautilus_list_reveal_row),
	(nautilus_clist_get_first_selected_row),
	(nautilus_clist_get_last_selected_row),
	(nautilus_list_keyboard_navigation_key_press),
	(nautilus_list_activate_selected_items), (nautilus_list_realize),
	(list_requisition_width), (nautilus_list_size_request),
	(new_column_width), (size_allocate_columns),
	(size_allocate_title_buttons), (nautilus_list_draw_focus),
	(get_cell_style), (get_cell_horizontal_start_position),
	(last_column_index), (get_cell_rectangle), (draw_cell), (draw_row),
	(nautilus_list_clear_from_row), (draw_rows), (draw_all),
	(nautilus_list_draw), (nautilus_list_expose),
	(nautilus_list_resize_column), (nautilus_list_mark_cell_as_link),
	(nautilus_list_set_cell_contents), (nautilus_list_set_pixbuf_list),
	(nautilus_list_track_new_column_width), (nautilus_list_motion),
	(nautilus_list_column_resize_track_start),
	(nautilus_list_column_resize_track),
	(nautilus_list_column_resize_track_end),
	(nautilus_list_real_scroll), (nautilus_list_clear),
	(nautilus_list_new_with_titles), (nautilus_list_row_at),
	(nautilus_list_get_selection), (nautilus_list_set_selection),
	(nautilus_list_each_selected_row),
	(nautilus_list_get_first_selected_row), (insert_row):
	* libnautilus-extensions/nautilus-list.h:
	* src/file-manager/fm-list-view.c: (column_clicked_callback),
	(fm_list_view_compare_rows), (compare_rows_by_name),
	(match_row_name), (context_click_selection_callback),
	(context_click_background_callback), (make_sorted_row_array),
	(select_row_common), (select_previous_next_common),
	(fm_list_nautilus_file_at), (row_get_data_binder),
	(fm_list_get_drag_pixmap), (create_list), (set_up_list),
	(add_to_list), (fm_list_view_clear),
	(fm_list_view_begin_adding_files), (fm_list_view_add_file),
	(remove_from_list), (fm_list_view_file_changed),
	(fm_list_view_done_adding_files), (real_is_empty),
	(fm_list_view_set_zoom_level), (fm_list_view_reset_row_height),
	(fm_list_view_select_all), (fm_list_view_sort_items),
	(install_row_images), (update_icons):

	Updated to match new renamings.

	* libnautilus-extensions/nautilus-list.h:
	* libnautilus-extensions/nautilus-list.c:
	(draw_rows), (draw_all):

	Make these a method, call them as such instead of calling them directly.
	Switch to the new NAUTILUS_CALL_VIRTUAL macro.
2000-10-03 20:54:42 +00:00
Mike Engber
36b6fdda33 Sped up background drawing for the tiled non-aa case.
Sped up background drawing for the tiled non-aa case.
	* libnautilus-extensions/nautilus-background.c:
	(update_drawable_with_pixbuf), (draw_pixbuf_tiled),
	(nautilus_background_draw), (draw_pixbuf_tiled_aa):
2000-10-03 20:40:51 +00:00
John Sullivan
53d5419a53 Fixed bug 3422 (Forward menu crashes after choosing from
Back menu (and vice-versa))

	* src/nautilus-window-manage-views.c:
	(handle_go_back), (handle_go_forward): Don't free the
	link whose data you're about to move to another list.
	This got broken in a recent leak-fixing pass.
2000-10-03 16:53:09 +00:00
John Sullivan
8da2f7ba50 Fixed bug 3420: "Show Sidebar" can leave sidebar at zero width
* libnautilus-extensions/nautilus-horizontal-splitter.h:
	New public functions nautilus_horizontal_splitter_expand,
	..._collapse, and ..._toggle_position.

	* libnautilus-extensions/nautilus-horizontal-splitter.c:
	(nautilus_horizontal_splitter_expand): Broken out of
	toggle_position, just does the expanding part (or nothing
	if already expanded).
	(nautilus_horizontal_splitter_collapse): Broken out of
	toggle_position, just does the collapsing part (or nothing
	if already collapsed).
	(nautilus_horizontal_splitter_toggle_position): renamed
	from toggle_splitter_position; now calls the broken-out
	functions.
	(nautilus_horizontal_splitter_button_release): Updated for
	name change.

	* src/nautilus-window.c: (nautilus_window_show_sidebar):
	Call nautilus_horizontal_splitter_expand when showing sidebar.
2000-10-03 15:57:31 +00:00
Ramiro Estrugo
304974cfe8 Retired.
* README:
	Retired.

	* components/mozilla/README:
	Added Mozilla component information.
2000-10-03 14:09:29 +00:00
Ramiro Estrugo
ce1c208721 Make sure the throbber graphics make it into the rpm.
* nautilus.spec.in:
	Make sure the throbber graphics make it into the rpm.
2000-10-03 13:41:00 +00:00
Ramiro Estrugo
de19fb283a Update for GConf HEAD (0.9)
* README:
	* components/mozilla/nautilus-mozilla-content-view.c:
	(nautilus_mozilla_content_view_initialize):
	* components/services/install/lib/eazel-install-metadata.c:
	(check_gconf_init), (get_conf_string), (get_conf_int),
	(get_conf_boolean):
	* components/services/install/lib/eazel-install-types.c:
	(categorydata_new):
	* components/services/nautilus-dependent-shared/Makefile.am:
	* components/services/trilobite/libtrilobite/trilobite-redirect.c:
	(check_gconf_init), (wipe_redirect_table), (add_redirect),
	(trilobite_redirect_lookup), (trilobite_get_services_address):
	* configure.in:
	* libnautilus-extensions/nautilus-global-preferences.c:
	(global_preferences_get_sidebar_panel_view_identifiers),
	(register_proxy_preferences):
	* libnautilus-extensions/nautilus-preferences-private.h:
	* libnautilus-extensions/nautilus-preferences.c:
	(preferences_hash_node_add_by_user_level_callbacks),
	(preferences_hash_node_add_callback),
	(preferences_make_make_gconf_key),
	(preferences_gconf_by_user_level_callback),
	(preferences_gconf_callback), (preferences_initialize_if_needed),
	(nautilus_preferences_set_boolean),
	(nautilus_preferences_get_boolean),
	(nautilus_preferences_set_string_list),
	(nautilus_preferences_get_string_list),
	(nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
	(nautilus_preferences_set), (nautilus_preferences_get),
	(nautilus_preferences_handle_error):
	* libnautilus-extensions/nautilus-user-level-manager.c:
	(user_level_manager_new), (user_level_set_default_if_needed),
	(gconf_user_level_changed_callback),
	(nautilus_user_level_manager_set_user_level),
	(user_level_manager_get_user_level_as_string),
	(nautilus_user_level_manager_set_default_value_if_needed),
	(nautilus_user_level_manager_compare_preference_between_user_levels
	):
	Update for GConf HEAD (0.9)
2000-10-03 12:55:56 +00:00
Andy Hertzfeld
c2ad81d0e6 made the music view use nautilus_sound for process management; get the
made the music view use nautilus_sound for process management;
	get the album cover to display from the CUSTOM_ICON metadata,
	ehich is preferred; otherwise, draft one if there's exactly
	one image in the directory.  The metadata part isn't working yet.
2000-10-03 09:56:21 +00:00
Robey Pointer
28f4eceff1 Remove last bits of unArloified screens in the bootstrap installer,
* nautilus-installer/src/callbacks.c: (begin_install):
        * nautilus-installer/src/installer.c: (gtk_label_new_with_font),
        (create_install_page), (create_pixmap_widget),
        (jump_to_error_page), (create_finish_page_good), (create_window),
        (eazel_install_progress), (eazel_download_progress),
        (get_detailed_errors_foreach), (get_detailed_errors),
        (download_failed), (eazel_install_preflight),
        (eazel_install_dep_check), (install_done), (check_if_next_okay),
        (toggle_button_toggled), (eazel_installer_add_category),
        (check_system), (eazel_installer_do_install),
        (eazel_installer_finalize), (eazel_install_get_depends),
        (eazel_installer_initialize):
        * nautilus-installer/src/installer.h:
        * nautilus-installer/src/link.sh:
        * nautilus-installer/src/main.c: (esd_open_sound),
        (esd_sample_getid), (esd_sample_play), (esd_sample_cache),
        (esd_sample_free), (esd_confirm_sample_cache), (esd_close),
        (afOpenFile), (afGetFrameCount), (afGetChannels), (afGetRate),
        (afGetSampleFormat), (afReadFrames), (afCloseFile):

        Remove last bits of unArloified screens in the bootstrap
        installer, including the error page.  Clean up download progress
        bars (and presumably the install ones too, though they haven't
        been tested yet) to follow the screenshots.  Tried to minimize
        flickering in the progress bars though that may be a lost cause.
        Stub out previous esd/esound requirements.
2000-10-03 09:39:22 +00:00
Robey Pointer
e15bb5e137 Text for the "finished" screen of the bootstrap installer can now be
* components/services/install/lib/eazel-install-rpm-glue.c:
        (install_new_packages):
        * components/services/install/lib/eazel-install-xml-package-list.c:
        (parse_local_xml_package_list):
        * components/services/install/lib/eazel-install-xml-package-list.h:

        Text for the "finished" screen of the bootstrap installer can now
        be changed in the XML file.
2000-10-03 09:36:52 +00:00
Andy Hertzfeld
f8618b63bb implemented sound process management using gconf to store the process ID
implemented sound process management using gconf to store the
	process ID of the currently playing sound, and switched sound
	previewing and part of the music view to use it.  This also fixed a
	process leaking bug, as each time a sound preview terminated, it
	was leaving a zombie process behind.
2000-10-03 07:31:50 +00:00
Darin Adler
b48cda8514 Saw the Tinderbox broken, so I just had to fix it. Also, I
couldn't compile, and check-THANKS.pl failed.

	* libnautilus-extensions/nautilus-string.c:
	(nautilus_istr_compare): Change back nautilus_istr_compare to its
	old meaning.
	* libnautilus-extensions/nautilus-glib-extensions.c:
	(compare_strings_case_breaks_ties),
	(nautilus_g_str_list_sort_case_insensitive): Make the case
	insensitive sort use nautilus_strcmp_case_breaks_ties.

	* components/services/install/lib/eazel-install-protocols.c:
	(eazel_install_fetch_package_by_id):
	* components/services/install/lib/eazel-install-query.c:
	(eazel_install_simple_query):
	* components/services/install/lib/eazel-install-rpm-glue.c:
	(install_new_packages), (eazel_install_prepare_package_system),
	(eazel_install_free_package_system),
	(eazel_install_add_to_rpm_set), (eazel_install_fetch_dependencies):
	* components/services/install/lib/eazel-install-rpm-signature.c:
	(trilobite_check_rpm_signature):
	* components/services/install/lib/eazel-install-types.c:
	(packagedata_status_str_to_enum),
	(packagedata_modstatus_enum_to_str),
	(packagedata_modstatus_str_to_enum):
	* components/services/install/lib/eazel-install-xml-package-list.c:
	(generate_xml_package_list):
	Fixed a bunch of uninitialized variable warnings. At least one was
	probably a real bug, so Eskil needs to review these changes.

	* components/rpmview/nautilus-rpm-view.c:
	(nautilus_rpm_view_update_from_uri): This didn't compile with the
	Red Hat 6.1 version of the rpm library. So I fixed it. I hope I
	did it right. Eskil needs to review this change.

	* THANKS: Victor's name needed another space between it and the
	email address.
	* check-THANKS.pl: Missing comma, also the misspelling of Josh's
	email address was not mapped to his new email address.
2000-10-03 06:33:41 +00:00
Maciej Stachowiak
10b8bae1c2 Fixed bug 3223.
* components/adapter/nautilus-adapter-file-load-strategy.c:
	(nautilus_adapter_file_load_strategy_new),
	(nautilus_adapter_file_load_strategy_load_location):
	* components/adapter/nautilus-adapter-file-load-strategy.h:
	* components/adapter/nautilus-adapter-load-strategy.c:
	(nautilus_adapter_load_strategy_initialize_class),
	(nautilus_adapter_load_strategy_get),
	(nautilus_adapter_load_strategy_stop_loading),
	(nautilus_adapter_load_strategy_report_load_underway),
	(nautilus_adapter_load_strategy_report_load_progress),
	(nautilus_adapter_load_strategy_report_load_complete),
	(nautilus_adapter_load_strategy_report_load_failed):
	* components/adapter/nautilus-adapter-load-strategy.h:
	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
	(nautilus_adapter_progressive_load_strategy_destroy),
	(nautilus_adapter_progressive_load_strategy_new), (stop_loading),
	(nautilus_adapter_progressive_load_strategy_load_location),
	(nautilus_adapter_progressive_load_strategy_stop_loading):
	* components/adapter/nautilus-adapter-progressive-load-strategy.h:
	* components/adapter/nautilus-adapter-stream-load-strategy.c:
	(nautilus_adapter_stream_load_strategy_new),
	(nautilus_adapter_stream_load_strategy_load_location):
	* components/adapter/nautilus-adapter-stream-load-strategy.h:
	* components/adapter/nautilus-adapter.c:
	(nautilus_adapter_destroy), (nautilus_adapter_new),
	(nautilus_adapter_load_underway_callback),
	(nautilus_adapter_load_progress_callback),
	(nautilus_adapter_load_complete_callback),
	(nautilus_adapter_load_failed_callback): Changed the load
	strategies to no longer depend on the view; instead, they emit
	appropriate signals at different stages of progress, which the
	NautilusAdapter object hooks into (connecting with
	_connect_object_while_alive). Also, the progressive load strategy
	now checks for cancellation around various CORBA calls, so it
	should actually respect the stop button.

	* AUTHORS, THANKS, check-THANKS.pl: Updated Josh Barrow's email
	address.
2000-10-03 04:12:50 +00:00
Ramiro Estrugo
f82a3ba61e Make the test program exit when its window is closed, so it can be
* test/test-nautilus-label.c: (delete_event), (main):
	Make the test program exit when its window is closed, so it can be
	profiled properly.
2000-10-03 04:11:09 +00:00
Eskil Heyn Olsen
b501e41501 Fixed the loading of files provided by the rpm.
* components/rpmview/nautilus-rpm-view.c:
	(nautilus_rpm_view_update_from_uri):

	Fixed the loading of files provided by the rpm.

	* components/services/install/command-line/eazel-alt-install-corba.
	c: (tree_helper), (md5_check_failed):
	Clarified the debug output.

	* components/services/install/lib/Makefile.am:
	Removed the evil CFLAGS assignment that remove -Werror

	* components/services/install/lib/eazel-install-corba-callback.c:
	(impl_md5_check_failed), (impl_uninstall_failed),
	(eazel_install_callback_unref):
	Fixed some warnings.

	* components/services/install/lib/eazel-install-private.h:
	Moved the funky glist_step into -private.h
	Removed some rpm vars.

	* components/services/install/lib/eazel-install-object.c:
	(eazel_install_initialize),
	Removed some of the rpm variables in the private part.
	(eazel_install_emit_preflight_check_default),
	(eazel_install_emit_delete_files_default), (string_list_copy):
	Fixing warnings

	* components/services/install/lib/eazel-install-protocols.c:
	(gnome_vfs_fetch_remote_file), (eazel_install_fetch_package),
	(get_url_for_package):
	Fixing warnings. And made fetch_package be more generel, as
	opposed to having three different fetchers. So I've removed
	_which_provides and I need to remove _by_id.

	* components/services/install/lib/eazel-install-protocols.h:
	Removed fetch_which_provides.

	* components/services/install/lib/eazel-install-public.h:
	Moved the funky glist_step into -private.h

	* components/services/install/lib/eazel-install-rpm-glue.c:
	(eazel_install_pre_install_packages), (install_new_packages),
	(eazel_install_download_packages),
	(eazel_install_check_for_file_conflicts),
	(eazel_install_do_install_packages), (hest),
	(eazel_install_add_to_rpm_set),
	(eazel_install_requirement_dep_compare),
	(eazel_install_package_version_compare),
	(eazel_install_check_if_related_package),
	(eazel_install_fetch_rpm_dependencies),
	(eazel_install_fetch_dependencies),
	(eazel_install_do_rpm_dependency_check),
	(eazel_install_do_dependency_check), (eazel_install_ensure_deps),
	(eazel_uninstall_upward_traverse):
	Fixed most of bug 3373, completely revamped the dep checking. Now
	theres a packagesystem dependent depchecker and a seperate filedep
	check afterwards. The packagesystem dependent returns a list of
	package pairs <a,b>, where a requires b. fetch_dependencies then
	traverses that list, downloads and makes the nessecary checks. The
	makes fetch_dependencies package independent, and also fixes bug
	1698.
	Also various debug message fixing etc.

	* components/services/install/lib/eazel-install-rpm-signature.c:
	(read_rpm_signature), (trilobite_check_rpm_signature):
	Warning fixing.

	* components/services/install/lib/eazel-install-types.h:
	* components/services/install/lib/eazel-install-types.c:
	(packagedata_new), (packagedata_fill_from_rpm_header),
	(packagedata_fill_from_file), (packagedata_destroy),
	(packagerequirement_new):
	Added three new fields, eazel_id for the SoftCat id (as opposed to
	using the name field, the conflicts_checked boolean to prevent
	doing file conflict checking more then once and a boolean flag for
	tagging a package as being a source package.
	Also fixed 3344, the file list is now read correctly.
 	Created	the PacakgeRequirement structure, used for bug 3373.
	Fixed warnings.

	* components/services/install/lib/eazel-install-xml-package-list.c:
	(parse_package), (parse_category), (osd_parse_implementation),
	(osd_parse_softpkg):
	Fixed the uses of xml_get_value since I changed the semantics to
	be a "const char*" function.

	* components/services/install/server/main.c: (main):
	Print a string when terminating.

	* components/services/summary/lib/eazel-summary-shared.c:
	(parse_a_service), (parse_a_update_news_item):
	Fixed the uses of xml_get_value since I changed the semantics to
	be a "const char*" function.

	* components/services/trilobite/libtrilobite/helixcode-utils.h:
	* components/services/trilobite/libtrilobite/helixcode-utils.c:
	Changed xml_get_value to return const char* (bug 2448).
2000-10-03 03:51:49 +00:00
Darin Adler
99785dd779 More work on whittling the state machine down to size.
* README: libunicode, libglade, and eog are no longer required.

	* components/history/nautilus-history-view.c:
	(history_title_changed):
	* libnautilus/nautilus-view-component.idl:
	* libnautilus/nautilus-view.c: (impl_Nautilus_View_title_changed),
	(nautilus_view_initialize_class):
	* libnautilus/nautilus-view.h:
	* src/nautilus-view-frame.c: (nautilus_view_frame_title_changed):
	* src/nautilus-view-frame.h:
	Added title parameter for the title_changed function.

	* src/nautilus-view-frame.c:
	(nautilus_view_frame_report_load_complete): Got rid of extra
	emission of report_load_complete, which is handled by
	view_frame_loaded now.

	* libnautilus-extensions/nautilus-background.c:
	(nautilus_background_initialize_class):
	* libnautilus-extensions/nautilus-entry.c:
	(nautilus_entry_initialize_class):
	* libnautilus-extensions/nautilus-icon-text-item.c:
	(iti_class_init):
	* libnautilus-extensions/nautilus-list.c:
	(nautilus_list_initialize_class):
	* src/nautilus-bookmark-list.c:
	(nautilus_bookmark_list_initialize_class):
	* src/nautilus-navigation-bar.c:
	(nautilus_navigation_bar_initialize_class):
	* src/nautilus-search-bar-criterion.c:
	(nautilus_search_bar_criterion_initialize_class):
	* src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class):
	* src/nautilus-switchable-navigation-bar.c:
	(nautilus_switchable_navigation_bar_initialize_class):
	Use GTK_RUN_LAST instead of GTK_RUN_FIRST.

	* libnautilus-extensions/nautilus-directory-background.c:
	* libnautilus-extensions/nautilus-link-set.c:
	* libnautilus-extensions/nautilus-link.c:
	* src/file-manager/fm-icon-text-window.c:
	* src/file-manager/fm-icon-view.c:
	* src/file-manager/fm-properties-window.c:
	* src/nautilus-complex-search-bar.c:
	* src/nautilus-link-set-window.c:
	* src/nautilus-simple-search-bar.c:
	* src/nautilus-switchable-search-bar.c:
	Add includes needed now that the #include <gnome.h> was removed
	from nautilus-global-preferences.h.

	* libnautilus-extensions/nautilus-string.h:
	* libnautilus-extensions/nautilus-string.c:
	(nautilus_strcmp_case_breaks_ties): Added function, like
	g_strcasecmp, but falls back on strcmp for strings that match
	case-insensitive-wise.
	(nautilus_istr_compare): Use nautilus_strcmp_case_breaks_ties
	instead of nautilus_strcasecmp.

	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_compare_by_name): Use
	nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
	(nautilus_file_compare_by_directory_name): Use
	nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
	(get_automatic_emblems_as_integer): Convert automatic emblems to
	integer form for simple sorting.
	(prepend_automatic_emblem_names): Separate out the code that puts
	on automatic emblem names, and make it put them first, before any
	keyword-based emblems.
	(nautilus_file_compare_by_emblems): Compare the automatic emblems
	first, using the integer form.
	(nautilus_file_compare_by_type): Use
	nautilus_strcmp_case_breaks_ties instead of nautilus_strcmp.
	(nautilus_file_compare_for_sort): Use
	nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
	(nautilus_file_compare_name): Use nautilus_strcmp_case_breaks_ties
	instead of g_strcasecmp.
	(nautilus_file_is_mime_type): Use nautilus_strcasecmp instead of
	nautilus_strcmp.
	(nautilus_file_get_emblem_names): Use
	prepend_automatic_emblem_names.
	(sort_keyword_list_and_remove_duplicates): Sort with
	nautilus_strcmp_case_breaks_ties instead of
	compare_emblem_names. Automatic emblem names are now dealt with
	elsewhere.

	* libnautilus-extensions/nautilus-icon-container.c:
	(compare_icons_by_name): Use nautilus_strcmp_case_breaks_ties
	instead of nautilus_strcasecmp.

	* libnautilus-extensions/nautilus-glib-extensions.c:
	(nautilus_g_str_list_sort): Use nautilus_str_compare.
	(nautilus_g_str_list_sort_case_insensitive): Use
	nautilus_istr_compare.

	* components/services/vault/command-line/main.c: (main):
	* test/test-nautilus-mime-actions-set.c: (str_to_action_type):
	Use g_strcasecmp, not strcasecmp, for portability.

	* libnautilus-extensions/nautilus-global-preferences.h:
	* libnautilus-extensions/nautilus-global-preferences.c:
	Removed _get_disabled_sidebar_panel_view_identifiers since the
	logic now removes any not in the enabled list instead.

	* libnautilus-extensions/nautilus-view-identifier.h:
	* libnautilus-extensions/nautilus-view-identifier.c:
	(nautilus_view_identifier_list_copy): New function.
	(nautilus_view_identifier_compare): Now sorts properly instead of
	returning 1 for any two identifiers that are !=.

	* nautilus-clean.sh: Removed unadorned gconfd now that it's
	ancient history and because it makes the script seem to fail all
	the time.

	* src/nautilus-window-manage-views.h:
	* src/nautilus-window-manage-views.c:
	(compute_title): Renamed to a shorter name since it's a local function.
	(update_title): Renamed to a shorter name since it's a local
	function and made it do nothing if the title is already correct.
	(nautilus_window_update_internals): Simplified code by using the
	new cached title.
	(nautilus_window_has_really_changed): Removed sidebar panel logic
	that is no longer needed.
	(nautilus_window_free_load_info): Remove some unused fields.
	(nautilus_window_open_location): Removed unused parameter.
	(nautilus_window_open_location_in_new_window): Removed unused
	parameter.
	(load_content_view): Renamed to shorter name since it's a local
	function.
	(handle_view_failure), (cancel_location_change),
	(load_view_for_new_location), (set_view_location_and_selection):
	Broke out big pieces of code used by the state machine. Soon we
	won't have a state machine at all, but we'll still need functions
	like these.
	(nautilus_window_update_state): Removed a lot of the code and
	broke the remaining bits into the above functions.
	(nautilus_window_set_state_info): Removed sidebar management code
	and some now-unused state variables.
	(nautilus_window_stop_loading): Moved this function in here and
	renamed it so the whole state machine is in one place.
	(nautilus_window_set_content_view): Moved this function in here
	and renamed it so the whole state machine is in one place.
	(compare_view_identifier_with_iid),
	(nautilus_window_set_sidebar_panels): Wrote new code to set up the
	sidebar panels based on a list of view identifiers, based on the
	code that was used before when preferences change. Moved here so
	the whole state machine is in one place.

	* src/nautilus-window-toolbars.c: (toolbar_stop_callback): Call
	the new function nautilus_window_stop_loading.

	* src/nautilus-window-private.h:
	* src/nautilus-window.h:
	* src/nautilus-window.c: (nautilus_window_initialize_class):
	Removed the "content_view" argument.
	(nautilus_window_goto_uri): Removed the view frame parameter from
	the open_location call.
	(nautilus_window_constructed): Set up sidebars based on
	preferences when the window is created.
	(nautilus_window_set_arg): Removed the "content_view" argument.
	(nautilus_window_get_arg): Removed the "content_view" argument.
	(view_menu_switch_views_callback): Call the new function
	nautilus_window_set_content_view.
	(chose_component_callback), Call the new function
	nautilus_window_set_content_view.
	(nautilus_window_open_location_callback): Removed the view frame
	parameter from the open_location call.
	(nautilus_window_open_location_in_new_window_callback): Removed
	the view frame parameter from the open_location_in_new_window
	call.
	(nautilus_window_connect_view): Don't connect to
	report_load_progress any more. The view frame now handles this for
	us.
	(nautilus_window_set_content_view_widget): Renamed this to avoid
	confusion with the new nautilus_window_set_content_view which is
	used to change content views, given a new view identifier.
	(update_sidebar_panels_from_preferences): Renamed and changed to
	use the new nautilus_window_set_sidebar_panels call.
2000-10-03 02:02:10 +00:00
Andy Hertzfeld
d226b053a6 made some throbber changes for Arlo: put the throbber into a gtk frame and
made some throbber changes for Arlo: put the throbber into a gtk frame
	and reset the frame count each time it's started.
2000-10-03 01:36:44 +00:00
Mike Engber
d78afbc31c More background drawing speedups - this time mainly for the non-aa case.
More background drawing speedups - this time mainly for
	the non-aa case.
	* libnautilus-extensions/nautilus-background-canvas-group.c:
	(nautilus_background_canvas_group_initialize_class),
	(nautilus_background_canvas_group_update),
	(nautilus_background_canvas_group_draw),
	(nautilus_background_canvas_group_render):
	* libnautilus-extensions/nautilus-background.c:
	(canvas_gradient_helper_v), (canvas_gradient_helper_h),
	(fill_canvas_from_gradient_buffer), (drawable_gradient_helper_v),
	(drawable_gradient_helper_h), (fill_drawable_from_gradient_buffer),
	(draw_pixbuf_tiled), (canvas_buf_from_pixbuf),
	(ensure_image_scaled), (nautilus_background_pre_draw),
	(nautilus_background_draw), (nautilus_background_draw_to_drawable),
	(draw_pixbuf_tiled_aa), (nautilus_background_draw_aa),
	(nautilus_background_draw_to_canvas),
	(nautilus_background_draw_flat_box):
	* libnautilus-extensions/nautilus-background.h:
	* libnautilus-extensions/nautilus-buffered-widget.c:
	(create_background_pixbuf_from_ancestor):
	* libnautilus-extensions/nautilus-directory-background.c:
	(image_loading_done_callback), (saved_settings_changed_callback):
	* libnautilus-extensions/nautilus-gdk-extensions.c:
	(nautilus_rgb16_to_rgb), (nautilus_rgb8_to_rgb),
	(nautilus_gdk_color_to_rgb):
	* libnautilus-extensions/nautilus-gdk-extensions.h:
	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
	* libnautilus-extensions/nautilus-gnome-extensions.c:
	(nautilus_gnome_canvas_draw_pixbuf_helper),
	(nautilus_gnome_canvas_draw_pixbuf_helper_alpha),
	(nautilus_gnome_canvas_draw_pixbuf):
	* libnautilus-extensions/nautilus-gnome-extensions.h:
2000-10-03 00:26:57 +00:00
Arlo Rose
b84d41df38 Doubled the frame rate of the throbber.
* icons/throbber/Makefile.am:
        * src/nautilus-throbber.c: (nautilus_throbber_start):
        Doubled the frame rate of the throbber.

        * icons/throbber/rest.png:
        * icons/throbber/001.png:
        * icons/throbber/002.png:
        * icons/throbber/003.png:
        * icons/throbber/004.png:
        * icons/throbber/005.png:
        * icons/throbber/006.png:
        * icons/throbber/007.png:
        * icons/throbber/008.png:
        * icons/throbber/009.png:
        * icons/throbber/010.png:
        * icons/throbber/011.png:
        * icons/throbber/012.png:
        * icons/throbber/013.png:
        * icons/throbber/014.png:
        * icons/throbber/015.png:
        * icons/throbber/016.png:
        * icons/throbber/017.png:
        * icons/throbber/018.png:
        * icons/throbber/019.png:
        * icons/throbber/020.png:
        * icons/throbber/021.png:
        * icons/throbber/022.png:
        * icons/throbber/023.png:
        * icons/throbber/024.png:
        * icons/throbber/025.png:
        * icons/throbber/026.png:
        * icons/throbber/027.png:
        * icons/throbber/028.png:
        Changed "rest", and states 1 - 10 and added states 11 - 28.
2000-10-03 00:23:03 +00:00
Andy Hertzfeld
8fac43db35 fixed bug 3283, bits of icons protrude outside the stretch box, by making
fixed bug 3283, bits of icons protrude outside the
	stretch box, by making drawing the box at the actual bounds
	instead of insetting three pixels like we were doing.
2000-10-03 00:19:52 +00:00
Kenneth Christiansen
8bdf0b57d1 Translations from Keld
balsa/po/da.po gimp/po/da.po gnome-applets/po/da.po
nautilus/po/da.po pan/po/da.po
2000-10-03 00:14:48 +00:00
John Sullivan
ec054c8098 Fixed the worst part of bug 2068 (dragging icon causes
immediate update of scroll area). Some related bugs
	remain, which I'll write up separately

	* libnautilus-extensions/nautilus-gnome-extensions.h:
	* libnautilus-extensions/nautilus-gnome-extensions.c:
	(nautilus_gnome_canvas_set_scroll_region_include_visible_area):
	New function, sets scroll region to given parameters,
	also forcing visible area to be included.

	* libnautilus-extensions/nautilus-icon-container.c:
	(update_scroll_region): New function, extracted from
	nautilus_icon_container_update_scroll_region, now takes
	boolean for whether to include the visible area.
	(nautilus_icon_container_update_scroll_region): Now calls
	update_scroll_region.
	(nautilus_icon_container_update_scroll_region_include_visible_area):
	New function, calls update_scroll_region.
	(size_allocate): Do no work if allocation hasn't changed. This
	didn't help with bug 2068 but is a worthwhile optimization.

	* libnautilus-extensions/nautilus-icon-private.h:
	Prototype for nautilus_icon_container_update_scroll_region_
	include_visible_area

	* libnautilus-extensions/nautilus-icon-dnd.c: (handle_local_move):
	call ..._include_visible_area when updating scroll region after
	drag & drop, instead of just ..._update_scroll_region, so no
	origin-shifting occurs.
2000-10-02 23:53:59 +00:00
Robey Pointer
8edfc9ca6a Convert a bunch of g_message calls to trilobite_debug.
* components/services/install/lib/eazel-install-protocols.c:
	(http_fetch_remote_file), (ftp_fetch_remote_file),
	(gnome_vfs_fetch_remote_file), (local_fetch_remote_file),
	(eazel_install_fetch_file):
	* components/services/install/lib/eazel-install-rpm-glue.c:
	(install_new_packages), (eazel_install_download_packages),
	(eazel_install_pre_install_packages), (uninstall_all_packages),
	(uninstall_packages), (eazel_install_do_transaction_save_report),
	(eazel_install_start_transaction),
	(eazel_install_prune_packages_helper),
	(eazel_install_free_rpm_system_close_db_foreach),
	(eazel_install_prepare_rpm_system),
	(eazel_install_prepare_package_system),
	(eazel_install_check_existing_packages),
	(eazel_install_fetch_rpm_dependencies),
	(eazel_install_ensure_deps):

	Convert a bunch of g_message calls to trilobite_debug.
2000-10-02 22:54:52 +00:00
Andy Hertzfeld
ac95f11b17 fixed bug 1280, music view needs alert when it can't iterate directory
fixed bug 1280, music view needs alert when it can't iterate
	directory

	fixed bug 3217, better separation of text in property browser so
	it can be translated (ie, "remove a emblem" isn't good); fixed by
	making an enum for the current category and using it to case out
	for separate messages where appropriate.
2000-10-02 22:48:52 +00:00
Christian Rose
80dee00522 Updated Swedish translation. 2000-10-02 22:43:24 +00:00
Andy Hertzfeld
7586070abf fixed the PR2 part of bug 2390, "command:" URI-activating security hole,
fixed the PR2 part of bug 2390, "command:" URI-activating security
	hole, by disallowing commands from remote locations. Downgrading
	the rest of the bug to usable, when we will implement Frank's other
	recommendations.

	also, tweaked the error message when we can't open the sound driver to
	better reflect reality.
2000-10-02 19:16:52 +00:00
John Sullivan
7a51cba133 Made the "switch to manual layout" dialog be a nautilus_yes_no_dialog
* libnautilus-extensions/nautilus-icon-dnd.c:
	(confirm_switch_to_manual_layout): Made the
	"switch to manual layout" dialog be a
	nautilus_yes_no_dialog instead of the uglier
	nautilus_simple_dialog.
2000-10-02 17:07:06 +00:00
John Sullivan
17874eaeb0 Turned a pair of FIXMEs into comments explaining why there's no need to
* libnautilus-extensions/nautilus-icon-container.c:
	(keyboard_icon_reveal_timeout_callback):
	* libnautilus-extensions/nautilus-list.c:
	(keyboard_row_reveal_timeout_callback): Turned a
	pair of FIXMEs into comments explaining why there's
	no need to fix.
2000-10-02 16:19:31 +00:00
John Sullivan
e2c0f4b718 Added NAUTILUS_NAVIGATION_RESULT_ACCESS_DENIED and gave it a unique error
* src/nautilus-applicable-views.c:
	(get_nautilus_navigation_result_from_gnome_vfs_result):
	* src/nautilus-applicable-views.h:
	* src/nautilus-window-manage-views.c:
	(nautilus_window_end_location_change_callback):
	Added NAUTILUS_NAVIGATION_RESULT_ACCESS_DENIED and gave it
	a unique error message.
2000-10-02 15:31:51 +00:00
Andy Hertzfeld
57fd2f1ea8 changed the sound ability test to use esd_audio_open instead of opening
changed the sound ability test to use esd_audio_open instead of
	opening the sound driver directly. We still need to test this
	on systems with no sound hardware.
2000-10-02 07:04:29 +00:00
Andy Hertzfeld
eaa7eb84b4 fishished bug 3239, stretchable icon needs bounding box in aa-mode, by
fishished bug 3239, stretchable icon needs bounding box
	in aa-mode, by adapting the routine that was used to draw
	the focus rectangle.
2000-10-02 00:32:08 +00:00
Kenneth Christiansen
3e7864a902 Translations from keld
nautilus/po/da.po
2000-10-01 21:10:53 +00:00
Pavel Cisler
4d1f9b1dbe Fix a case where "NULL" would be displayed for a file name in file copy
2000-09-30  Pavel Cisler  <pavel@eazel.com>

	* libnautilus-extensions/nautilus-file-operations.c:
	(handle_xfer_vfs_error):
	Fix a case where "NULL" would be displayed for a file name in file
	copy error alert.

	* libnautilus-extensions/nautilus-file-operations.c:
	(handle_xfer_vfs_error):
	Rework the "destination not writable" alert to not offer
	to try to continue. Add special alert for out of space on destination.
	Clean up some.

	* libnautilus-extensions/nautilus-file-operations.c: (handle_xfer_duplicate):
	Part 2 of fix to 1314 - Move to Trash faild if name conflict in trash.
	Handle move to Trash duplicates the same way as copy duplicates.

	* libnautilus-extensions/nautilus-file-operations.c:
	(nautilus_file_operations_copy_move):
	Make in-place copy properly create a duplicate.
	Clean up.

	* src/nautilus-theme-selector.c: (theme_select_row_callback):
	Replace a gnome_vfs_xfer call with a gnome_vfs_xfer_delete_list. The
	sync version of gnome_vfs_xfer does not support deleting like the async
	one does.
2000-09-30 20:50:59 +00:00