1. 20 Sep, 2000 21 commits
    • Maciej Stachowiak's avatar
      Finally fixed bug 1994; in the process I think I also ended up · c70683fe
      Maciej Stachowiak authored
      	fixing 2576, 2577, 2578, 2579 and 2580.
      
      	* components/adapter/nautilus-adapter-embed-strategy.h,
      	components/adapter/nautilus-adapter-embed-strategy.c: Abstract
      	interface for embedding various kinds of Bonobo components.
      	* components/adapter/nautilus-adapter-embed-strategy-private.h:
      	Header inclusing a `protected' call to emit a signal.
      	* components/adapter/nautilus-adapter-control-embed-strategy.h,
      	components/adapter/nautilus-adapter-control-embed-strategy.c:
      	Concrete subclass for embedding a Control.
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.h,
      	components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	Concrete subclass for embedding an Embeddable.
      	* components/adapter/Makefile.am: Add new files.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c
      	(nautilus_adapter_progressive_load_strategy_load_location): Fixed
      	incorrect GnomeVFSFIleInfo handling and removed a printf.
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_load_location,
      	nautilus_adapter_stream_load_strategy_stop_loading): Removed print
      	statements.
      
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy): Free stuff.
      
      	(nautilus_adapter_new): Use the new embed strategy stuff.
      
      	(nautilus_adapter_open_location_callback): callback for signal
      	handler attached to embed strategy.
      
      	* src/nautilus-view-frame-bonobo-control.c,
      	src/nautilus-view-frame-bonobo-embeddable.c: Removed.
      	* src/nautilus-view-frame-private.h, src/Makefile.am: Remove
      	mentions of the two preceding files.
      
      	* src/nautilus-view-frame.c (nautilus_view_frame_load_client): Use
      	the adapter to host non-nautilus-native components.
      
      	* nautilus-clean.sh: Added image view.
      c70683fe
    • Mike Engber's avatar
      Refactor/clean-up background blitting code · 8c66bc71
      Mike Engber authored
      
      	Refactor/clean-up background blitting code
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_copy_pixbuf_to_canvasbuf_helper),
      	(nautilus_copy_pixbuf_to_canvasbuf_helper_alpha),
      	(nautilus_copy_pixbuf_to_canvasbuf), (draw_pixbuf_centered_aa),
      	(draw_pixbuf_tiled_aa):
      8c66bc71
    • Darin Adler's avatar
      Fixed bug that happens when you drag the "Location:" part of the location · 934761a7
      Darin Adler authored
      	* src/nautilus-location-bar.c: (drag_data_received_callback),
      	(drag_data_get_callback): Fixed bug that happens when you drag the
      	"Location:" part of the location bar. I still think the feature is
      	of questionable value, but it was easy to fix it to keep it
      	working. The bug resulted from making assumptions about the widget
      	hierarchy.
      934761a7
    • Darin Adler's avatar
      Fixed bug that was preventing Show Properties from working. · 34347bce
      Darin Adler authored
      	* libnautilus-extensions/nautilus-icon-factory.c: (cache_icon_new):
      	Allow NULL for details to mean default details; keeps the fallback
      	icon code simpler.
      	(set_theme): A little more simplification.
      	(load_icon_for_scaling): Fix the fallback icon to create the cache
      	icon with cache_icon_new instead of rolling its own.
      34347bce
    • Maciej Stachowiak's avatar
      Handle GNOME_VFS_ERROR_EOF correctly. · aeaf819c
      Maciej Stachowiak authored
      	* libnautilus-extensions/bonobo-stream-vfs.c (vfs_read): Handle
      	GNOME_VFS_ERROR_EOF correctly.
      aeaf819c
    • Darin Adler's avatar
      Moved the shell quote function in here instead of trying to share the one · b1dcf6b9
      Darin Adler authored
      	* components/help/help-method.c: (shell_quote),
      	(help_uri_to_string): Moved the shell quote function in here
      	instead of trying to share the one in libnautilus-extensions. This
      	fixes bug 3163 (Nautilus crashes any time a help item in the
      	sidebar pane is double-clicked).
      b1dcf6b9
    • Maciej Stachowiak's avatar
      Another uninitialized variable. Another uninitialized variable. Thanks to · 82562d0f
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-file-load-strategy.c
      	(nautilus_adapter_file_load_strategy_destroy): Another
      	uninitialized variable.
      	* components/adapter/nautilus-adapter-stream-load-strategy.c
      	(nautilus_adapter_stream_load_strategy_destroy): Another
      	uninitialized variable. Thanks to Will LaShell for pointing these
      	out.
      82562d0f
    • Maciej Stachowiak's avatar
      Fix unuinitialized variable use (thanks to Will LaShell). · 6ceacfac
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c
      	(nautilus_adapter_progressive_load_strategy_destroy): Fix
      	unuinitialized variable use (thanks to Will LaShell).
      6ceacfac
    • Maciej Stachowiak's avatar
      More work towards fixing bug 1994; in the process I think I might · 3b9d7401
      Maciej Stachowiak authored
      	also end up fixing 2576, 2577, 2578 and 2579 (might also end up
      	fixing 2580 later).
      
      	* components/adapter/Makefile.am:
      
      	* components/adapter/nautilus-adapter-load-strategy.h,
      	components/adapter/nautilus-adapter-load-strategy.c: Abstract
      	class that gives the interface for loading up a component that
      	presents some particular interface.
      
      	* components/adapter/nautilus-adapter-file-load-strategy.h,
      	components/adapter/nautilus-adapter-file-load-strategy.c:
      	Concrete subclass for loading a component that has the
      	Bonobo::PersistFile interface.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.h,
      	components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	Concrete subclass for loading a component that has the
      	Bonobo::ProgressiveDataSink interface.
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c,
      	components/adapter/nautilus-adapter-stream-load-strategy.h:
      	Concrete subclass for loading a component that has the
      	Bonobo::PersistStream interface.
      
      	* components/adapter/nautilus-adapter.h,
      	components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy, nautilus_adapter_new,
      	nautilus_adapter_load_location_callback,
      	nautilus_adapter_stop_loading_callback): Use load strategies.
      
      	* libnautilus-extensions/bonobo-stream-vfs.c (vfs_read): Minor
      	formatting correction.
      3b9d7401
    • Christian Rose's avatar
      Updated Swedish translation. · 2cc972f5
      Christian Rose authored
      2cc972f5
    • Andy Hertzfeld's avatar
      fixed bug 2374, music view crashes when attempting to play non-local · 79237f92
      Andy Hertzfeld authored
      
      
      	* components/music/nautilus-music-view.c: (play_current_file):
      	fixed bug 2374, music view crashes when attempting to play non-local
      	files, by checking for non-local files and putting up a dialog instead.
      
      	* src/nautilus-property-browser.c: (ensure_uri_is_image),
      	(emblem_image_file_changed), (add_background_to_browser):
      	fixed bug 3173, adding an svg background fails, by checking for it
      	and not permitting it. Also made a few clean-ups.  We still need to
      	be more robust when non-images get places in ~/.nautilus/backgrounds,
      	which I'll work on soon.
      79237f92
    • Maciej Stachowiak's avatar
      Fixed an uninitialized variable use and cleaned up some nearby logic while · 600a3f64
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-icon-factory.c (set_theme):
      	Fixed an uninitialized variable use and cleaned up some nearby
      	logic while I was at it.
      
      	* src/nautilus-main.c (main): Removed a gratuitous puts call.
      600a3f64
    • Robey Pointer's avatar
      Since the default delete_files signal is the last called in the bootstrap · f6d21356
      Robey Pointer authored
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_emit_delete_files_default):
      
      	Since the default delete_files signal is the last called in the
      	bootstrap installer (which kinda sucks), it should always return
      	TRUE.
      
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_install_download_packages),
      	(eazel_install_start_transaction_make_rpm_argument_list):
      
      	Don't always assume we're downgrading.  Make sure "--oldpackage"
      	flag is passed to RPM when we are.
      
      	* components/services/trilobite/libtrilobite/trilobite-core-utils.c
      	: (trilobite_setenv):
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_setenv):
      
      	Fix "=" bug in setenv.
      
      	* nautilus-installer/src/installer.c: (eazel_installer_do_install),
      	(eazel_installer_initialize):
      	* nautilus-installer/src/main.c:
      	* nautilus-installer/src/prescript:
      
      	Set default CGI path for remote services (in the bootstrap
      	installer) and make a command-line option for setting it.  Remove
      	outdated /var stuff from the prescript.
      f6d21356
    • Mathieu Lacage's avatar
      doh, forgot to commit. This fixes a uninitialized variable. · 4c58bf39
      Mathieu Lacage authored
      2000-09-19  Mathieu Lacage  <mathieu@eazel.com>
      
      	* src/file-manager/fm-list-view.c: (fm_list_receive_dropped_icons):
      	doh, forgot to commit. This fixes a uninitialized variable.
      4c58bf39
    • Andy Hertzfeld's avatar
      fixed recently introduced bug where it would only use icons from the · e6e56b20
      Andy Hertzfeld authored
      
      	fixed recently introduced bug where it would only use icons from
      	the default theme.  Fixed by flipping the sense of a comparison
      	in set_theme.
      e6e56b20
    • John Sullivan's avatar
      Fixed bug 1860 (Switching to complex search bar leaves · 028de4a6
      John Sullivan authored
      	navigation bar too tall forever)
      
      	I never did fully figure out what was wrong, but I found
      	a workaround, and added a FIXME (bug 3171) about the fact
      	that the need for the workaround isn't well-understood.
      
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_set_mode):
      	* src/nautilus-switchable-search-bar.c:
      	(nautilus_switchable_search_bar_set_mode):
      	Added gtk_widget_queue_resize calls on the GNOME_DOCK
      	ancestor of the navigation bar and search bar when the
      	contents are swapped.
      028de4a6
    • Andy Hertzfeld's avatar
      fixed typos in the ChangeLog from my recent check-in. · b6e12adb
      Andy Hertzfeld authored
      
      	fixed typos in the ChangeLog from my recent check-in.
      b6e12adb
    • Andy Hertzfeld's avatar
      added a new theme for the classic GNOME icons, and made changed the · cd54f5f3
      Andy Hertzfeld authored
      
      	added a new theme for the classic GNOME icons, and made changed the
      	default document icons to the one's from the eazel theme that can
      	display embedded text.  This is a step on the way toward refining
      	the default theme.  I think Darin's recent check-in broke the
      	icon factory so it only displays icons from the default theme; I'll
      	try to fix that soon.
      cd54f5f3
    • Darin Adler's avatar
      Fixed bug 3157 (Going to a bogus URI crashes nautilus). · 25c1f5f7
      Darin Adler authored
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(nautilus_directory_async_state_changed): Add a ref/unref to keep
      	the directory around even if call_when_ready results in the last
      	ref to the directory going away.
      25c1f5f7
    • Darin Adler's avatar
      Fixed bug 640 (icon cache never frees images (awaiting GdkPixbuf · 1035b5ea
      Darin Adler authored
      	fix)). Also took care of bug 3145 (zillions of 'main_loops !=
      	NULL' assertion failures when quitting) and bug 3138 (Some code in
      	the icon factory is cut and pasted from elsewhere). And a few
      	unrelated things that came up while I was busy working on these.
      
      	* configure.in: Applied patch from Dan Winship to fix handling of
      	CFLAGS and LDFLAGS. Fixes some missing quoting and other mistakes.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-icon-factory-private.h:
      	* libnautilus-extensions/nautilus-thumbnails.c:
      	* libnautilus-extensions/nautilus-thumbnails.h:
      	Broke out the thumbnailing code into its own source file for
      	clarity.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_make_directory_and_parents):
      	Moved nautilus_make_directory_and_parents into a place where the
      	thumbnail code can share it instead of requiring its own copy.
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(destroy_global_prefs_dialog), (global_preferences_get_dialog),
      	(nautilus_global_preferences_dialog_update),
      	(nautilus_global_preferences_initialize):
      	* libnautilus-extensions/nautilus-preferences.h:
      	* libnautilus-extensions/nautilus-preferences.c:
      	(preferences_initialize_if_needed), (preferences_shutdown):
      	* src/nautilus-application.c: (nautilus_application_destroy):
      	Changed code so that it cleans up with g_atexit instead of with an
      	explicit shutdown call. This makes it sequence correctly with
      	other atexit code.
      
      	* libnautilus-extensions/nautilus-icon-canvas-item.h:
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_destroy),
      	(nautilus_icon_canvas_item_set_attach_points),
      	(emblem_layout_next):
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_update_icon):
      	Added a Nautilus prefix to the EmblemAttachPoints typedef, since
      	it's public.
      
      	* libnautilus-extensions/nautilus-icon-factory.h:
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	Changed the icon factory structure so that it will actually free
      	pixbufs when done with them. Made some other small fixes to the
      	icon factory in passing, including removing some redundant code
      	and fixing the logic for getting custom icons and deleting the
      	icon factory and g_atexit time.
      
      	* src/file-manager/fm-icon-view.c: (play_file), (preview_sound):
      	Restructured the logic for playing sound previews a little to get
      	rid of compiler warnings and close some loopholes in the old code.
      
      	* src/nautilus-main.c: (is_event_loop_needed),
      	(quit_if_in_main_loop), (nautilus_gtk_main_quit_all),
      	(event_loop_unregister), (nautilus_main_event_loop_register),
      	(nautilus_main_is_event_loop_mainstay),
      	(nautilus_main_event_loop_quit), (main): Fixed the main loop
      	quitting logic so that it is a bit simpler and works with the
      	gnome-vfs code that runs event handling after the last main loop
      	is gone.
      1035b5ea
    • John Sullivan's avatar
      Fixed bug 2519 (fix hideous queue_size_request hack) · 1a0af901
      John Sullivan authored
      	* src/nautilus-complex-search-bar.c: (fewer_options_callback):
      	It turns out that this most vile of lines was totally
      	unnecessary, so I deleted it.
      1a0af901
  2. 19 Sep, 2000 17 commits
    • J Shane Culpepper's avatar
      fixed spelling error · 214fc343
      J Shane Culpepper authored
      214fc343
    • J Shane Culpepper's avatar
      Removed the evil gtk_main_iteration crap so that the logged in state is · 17f025b5
      J Shane Culpepper authored
      2000-09-19  J Shane Culpepper  <pepper@eazel.com>
      
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (authn_cb_succeeded), (login_button_cb), (logout_button_cb),
      	(logged_in_callback), (logged_out_callback):
      
      	Removed the evil gtk_main_iteration crap so that the logged in state
      	is much more reliable.  Hooked up the logout button to do the right thing.
      17f025b5
    • Mike Engber's avatar
      First cut at speeding up background drawing. Images now scaled with · f444a544
      Mike Engber authored
      
      	First cut at speeding up background drawing. Images now scaled
      	with interpolation and image drawing is faster.
      	* libnautilus-extensions/nautilus-background.c:
      	(ensure_image_scaled), (nautilus_background_image_fully_obscures),
      	(nautilus_background_draw), (nautilus_art_rgb),
      	(nautilus_art_rgb_rgba), (nautilus_draw_pixbuf_to_canvasbuf),
      	(draw_pixbuf_centered_aa), (draw_pixbuf_tiled_aa),
      	(nautilus_background_draw_aa), (load_image_callback):
      f444a544
    • J Shane Culpepper's avatar
      Fixed view so that it queries ammonite for its current login state and the · 56db7d41
      J Shane Culpepper authored
      2000-09-19  J Shane Culpepper  <pepper@eazel.com>
      
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (generate_startup_form), (generate_summary_form),
      	(authn_cb_succeeded), (authn_cb_failed), (am_i_logged_in),
      	(preferences_button_cb):
      
      	Fixed view so that it queries ammonite for its current login state
      	and the login table is not drawn in a user is already logged in.
      56db7d41
    • Kjartan Maraas's avatar
      Updated Norwegian translation. Added some more missing files. · 72f33b78
      Kjartan Maraas authored
      2000-09-20  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian translation.
      	* POTFILES.in: Added some more missing files.
      72f33b78
    • Christian Rose's avatar
    • Darin Adler's avatar
      Use volatile to fix setjmp/longjmp vulnerability that was indicated by a · faee6f31
      Darin Adler authored
      	* components/image-viewer/io-png.c: (image_save): Use volatile to
      	fix setjmp/longjmp vulnerability that was indicated by a GCC
      	warning. For some reason this showed up only with new versions of
      	lbpng.
      faee6f31
    • John Sullivan's avatar
      Fixed bug 1244 (Nautilus window size is hardwired) · 6186ecb4
      John Sullivan authored
      	Fixed bug 2870 (Windows are too tall for 1024x480 screen of
      	Vaio C1XD picturebook)
      	Fixed bug 3025 (Can't shrink window smaller than large initial size)
      
      	* src/nautilus-window.c:
      	Added #defines for window minimum and default width & height.
      
      	(get_max_forced_height), (get_max_forced_width): New helper
      	functions, broken out of nautilus_window_size_request, that
      	return the maximum dimensions a window should be programatically
      	forced to. They return 90% of the screen width/height.
      
      	(set_initial_window_geometry): New function, broken out of
      	nautilus_window_constructed. Uses #defines and
      	get_max_forced_width/height to determine initial and minimum
      	window sizes. Set policy so that user can stretch window smaller,
      	but only down to sensible minimum size.
      	(nautilus_window_constructed): call set_initial_window_geometry.
      	(nautilus_window_size_request): call get_max_forced_width/height.
      6186ecb4
    • Andy Hertzfeld's avatar
      fixed build problem where someone apparently deleted nautilus-queue · e12922f9
      Andy Hertzfeld authored
      
      
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	fixed build problem where someone apparently deleted nautilus-queue
      	without deleting its self check function.  Fixed by deleting the check.
      
      	* components/music/mpg123_handler.c: (start_playing_file):
      	fixed bug 2262, nautilus doesn't play variable bit rate mp3s properly, by
      	adding the "-y" parameter to the mpg123 invocation, as suggested to me
      	by Jamie Manley in email.  This might also have fixed bug 2227, but I
      	don't have vbr files to test with.
      
      	* src/file-manager/fm-icon-view.c: (play_file):
      	added the "-y" parameter to mpg123 invocations to play variable bit
      	rate files better.  Also, fixed bug 2529 by checking for non-local
      	files and not trying to play them.
      e12922f9
    • Gene Z. Ragan's avatar
      Fixed bug 3019, renaming special icons should be impossible or harmless. · f7b31b3e
      Gene Z. Ragan authored
      2000-09-19  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 3019, renaming special icons should be
      	impossible or harmless.
      
      	You can't rename any NautilusLinks now.  This makes
      	sense given the way we use them.
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_can_rename):
      	Add a check to see if file is NautilusLink.
      
      	* src/file-manager/fm-icon-view.c:
      	(special_link_in_selection):
      	Check and see if selection contains link files.
      
      	(fm_icon_view_create_selection_context_menu_items):
      	Call above funcion and disable rename if it returns TRUE.
      f7b31b3e
    • Maciej Stachowiak's avatar
      Fix bugzilla.eazelc.om 674 2052 · 5a3843d0
      Maciej Stachowiak authored
      	* components/loser/content/nautilus-content-loser.oafinfo,
      	components/loser/sidebar/nautilus-sidebar-loser.oafinfo,
      	components/sample/nautilus-sample-content-view.oafinfo: Set
      	test_only attribute to TRUE.
      
      	* src/nautilus-main.c (main): Enable test components if
      	NAUTILUS_ENABLE_TEST_COMPONENTS evnironment variable is set.
      5a3843d0
    • Yukihiro Nakai's avatar
      Add Japanese entry. · 87261fe0
      Yukihiro Nakai authored
      87261fe0
    • J Shane Culpepper's avatar
      Added a gtk_main_iteration to block for the corba callback so that login · 16799473
      J Shane Culpepper authored
      2000-09-18  J Shane Culpepper  <pepper@eazel.com>
      
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (authn_cb_succeeded), (login_button_cb):
      
      	Added a gtk_main_iteration to block for the corba callback so that
      	login will wait until it gets a return value.  The summary view
      	actually works now but is still pretty unreliable and throws lots
      	of warnings.
      16799473
    • J Shane Culpepper's avatar
      Removing some debugging code and checking state fixes for a logged in · f4997ced
      J Shane Culpepper authored
      2000-09-18  J Shane Culpepper  <pepper@eazel.com>
      
      	* components/services/summary/lib/eazel-summary-shared.c:
      	(parse_a_service), (parse_a_eazel_news_item),
      	(parse_a_update_news_item):
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (generate_startup_form), (authn_cb_succeeded), (authn_cb_failed),
      	(login_button_cb), (nautilus_summary_view_load_uri):
      
      	Removing some debugging code and checking state fixes for a logged in
      	user.
      f4997ced
    • Mathieu Lacage's avatar
      cleanup. remove nautilus-queue.c/h from build process. · 6e8309db
      Mathieu Lacage authored
      2000-09-18  Mathieu Lacage  <mathieu@eazel.com>
      
      	* components/tree/nautilus-tree-view.c: cleanup.
      	* libnautilus-extensions/Makefile.am: remove nautilus-queue.c/h
      	from build process.
      6e8309db
    • Robey Pointer's avatar
      Un-hardcoded the CGI path (for the RPM database server) and made it a · 27324383
      Robey Pointer authored
      	* components/services/install/lib/eazel-install-metadata.c:
      	(init_default_transfer_configuration):
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_set_arg), (eazel_install_class_initialize),
      	(eazel_install_new_with_config):
      	* components/services/install/lib/eazel-install-protocols.c:
      	(http_fetch_remote_file), (eazel_install_fetch_file),
      	(eazel_install_fetch_package), (get_url_for_package),
      	(get_search_url_for_package):
      	* components/services/install/lib/eazel-install-public.h:
      	* components/services/install/lib/eazel-install-types.h:
      	* components/services/trilobite/doc/gconf.txt:
      	* components/services/trilobite/libtrilobite/trilobite-core-utils.c
      	: (trilobite_setenv):
      	* components/services/trilobite/libtrilobite/trilobite-core-utils.h
      	:
      
      	Un-hardcoded the CGI path (for the RPM database server) and made
      	it a gconf setting.  Use trilobite_setenv to set the user agent
      	string.
      27324383
    • John Sullivan's avatar
      Fixed bug 558 (Rubber-band selection of files in icon · d87a2ef3
      John Sullivan authored
      	view gradually degrades)
      
      	Now the menu-updating code does not run while rubberband
      	selecting (but does run immediately thereafter).
      
      	* libnautilus-extensions/nautilus-icon-container.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(start_rubberbanding), (stop_rubberbanding),
      	(nautilus_icon_container_initialize_class): New signals
      	"band_select_started" and "band_select_ended" emitted
      	just when you'd expect.
      
      	* src/file-manager/fm-directory-view.h:
      	Prototypes for new functions (intended to be called only
      	by subclasses) fm_directory_view_start_batching_selection_changes
      	and fm_directory_view_stop_batching_selection_changes.
      
      	* src/file-manager/fm-directory-view.c:
      	Added details fields: guint batching_selection_level,
      	gboolean selection_changed_while_batched, gboolean
      	menu_states_untrustworthy
      	(selection_contains_one_item_in_menu_callback),
      	(selection_not_empty_in_menu_callback): New helper functions
      	that report if the selection matches expectations and complain
      	via g_warning if they don't match and we trust the menu state.
      	(open_callback), (trash_callback), (duplicate_callback),
      	(create_link_callback),	(open_properties_window_callback):
      	Use these new helper functions to verify that the menu state
      	matches expectations but not crash if it doesn't.
      
      	(schedule_update_menus): Change timeout back to idle now that
      	it isn't affecting the band-select case; mark menu states as
      	untrustworthy.
      	(fm_directory_view_update_menus): mark menu states as
      	trustworthy.
      
      	(fm_directory_view_notify_selection_changed): If we're batching
      	selection changes, remember that the selection changed; otherwise,
      	do the work that you only do when not batching (update menus).
      
      	(fm_directory_view_start_batching_selection_changes): Increment
      	the batching level counter.
      	(fm_directory_view_stop_batching_selection_changes): Decrement
      	the batching level counter. If it reaches zero, and the selection
      	changed while batched, call notify_selection_changed.
      
      	* src/file-manager/fm-icon-view.c:
      	(band_select_started_callback): start batching selection changes.
      	(band_select_ended_callback): stop batching selection changes.
      	(create_icon_container): connect to band_select_started and
      	band_select_ended signals of icon container.
      d87a2ef3
  3. 18 Sep, 2000 2 commits
    • Gene Z. Ragan's avatar
      Fixed bug 3018, should not be able to remove special icons from desktop. · 49e4d7aa
      Gene Z. Ragan authored
      2000-09-18  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 3018, should not be able to remove special icons
      	from desktop.
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(is_special_link):
      	New function that checks if link is volume, home or trash.
      
      	(nautilus_file_operations_copy_move):
      	Call is_special_link() and prune special items from
      	operation list.
      49e4d7aa
    • Arlo Rose's avatar
      Fixed a glitch in the image. · ce640219
      Arlo Rose authored
      
      
              * icons/throbber/008.png:
              Fixed a glitch in the image.
      ce640219