1. 27 Jan, 2001 1 commit
    • Andy Hertzfeld's avatar
      fixed bug 5750, accepting drops by folders quirky at zoom levels below · 3968d02a
      Andy Hertzfeld authored
      
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(nautilus_icon_container_item_at):
      	fixed bug 5750, accepting drops by folders quirky at zoom levels
      	below 100%. The problem was that nautilus_icon_container_item_at
      	was constructing a single pixel rectangle for hit-testing, that
      	sometimes turned into a zero pixel rectangle when scaled down,
      	depending on how things rounded off.  Fixed by using the
      	canvas scale factor when building the rectangle, ensuring that
      	it never becomes empty.
      3968d02a
  2. 26 Jan, 2001 26 commits
    • Rebecca Schulman's avatar
      Fix bugs 4094, 4425, 5201 and 4106 about inappopriate applications being · 5dfee0c3
      Rebecca Schulman authored
      2001-01-27  Rebecca Schulman  <rebecka@eazel.com>
      	Fix bugs 4094, 4425, 5201 and 4106 about inappopriate
      	applications being offered to view remote files.
      	This change filters applications that don't support
      	a uri scheme from a file's short list.
      
      	reviewed by: Pavel Cisler <pavel@eazel.com>
      
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_actions_get_minimum_file_attributes),
      	(nautilus_mime_get_short_list_applications_for_file),
      	(application_supports_uri_scheme):
      	Filter out applications from the short list that do not
      	support the uri scheme for the file in question.
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_launch_application):
      	Change "can_open_uris" to "expects_uris" to go along with
      	the gnome vfs change
      	* test/test-nautilus-mime-actions.c: (append_comma_and_scheme),
      	(format_supported_uri_schemes_for_display), (print_application):
      	update the tests similarly to the way the gnome-vfs tests were
      	updated, so that all of the fields of the GnomeVFSMimeApplication
      	structure are correctly printed.
      
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	Correct spelling and naming error in a comment
      5dfee0c3
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 2717a5cd
      Darin Adler authored
      	Some preparation work for doing async. activation. This amounts
      	to another pass cleaning up the legendary "state machine" as well
      	as some other cleanups in the async. activation code.
      
      	* libnautilus-extensions/nautilus-bonobo-extensions.h:
      	* libnautilus-extensions/nautilus-bonobo-extensions.c:
      	(oaf_activation_callback), (nautilus_bonobo_activate_from_id),
      	(nautilus_bonobo_activate_cancel): Fix interface of activation to
      	be cleaner. Also handle case where callback is called right away.
      
      	Add queuing to NautilusView so that all incoming CORBA calls are
      	dispatched at idle time. This can fix some otherwise-difficult
      	re-entrancy problems. The widget destroy call can still come in at
      	any time though. Also this same fix may be needed for the
      	NautilusViewFrame side.
      
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c: (execute_queued_calls): Function
      	to dequeue and execute calls.
      	(dequeue_calls_at_idle): Cover to call it at idle time.
      	(discard_queued_calls): Discard calls without executing them, for
      	use at destroy time.
      	(queue_incoming_call): Simple cover to queue and schedule an
      	idle-time dequeue pass.
      	(nautilus_g_list_from_uri_list): Need to make a full copy, not
      	a shallow copy, now that we are queuing things for a hile.
      	(call_load_location), (call_stop_loading),
      	(call_selection_changed), (call_title_changed),
      	(call_history_changed): Simple functions that get queued.
      	(list_deep_free_cover): GDestroyNotify-compatible function for one
      	destroy case.
      	(history_dup): Function to copy the history list, since that is
      	now queued instead of used right away.
      	(impl_Nautilus_View_load_location),
      	(impl_Nautilus_View_stop_loading),
      	(impl_Nautilus_View_selection_changed),
      	(impl_Nautilus_View_title_changed),
      	(impl_Nautilus_View_history_changed): Change these all to queue
      	the incoming call instead of doing work right away.
      	(nautilus_view_destroy): Discard the queue.
      
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame_open_location_force_new_window),
      	(impl_Nautilus_ViewFrame_report_selection_change): These calls now
      	use the deep copy, since the shallow one is no longer available.
      	This is good since we probably will be doing queuing here later,
      	so we'll need the deep copy.
      
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class): Set up a map default signal
      	handler to activate the control. This is better than the old way,
      	where we had an explicit call to do it.
      	(nautilus_view_frame_destroy_client): Remove unused
      	CORBA_Environment.
      	(view_frame_activated): Remove unneeded ACTIVATING state. Also
      	send the client_loaded signal in here, so you can't "forget".
      	(view_frame_wait), (view_frame_underway),
      	(view_frame_wait_is_over), (view_frame_loaded),
      	(view_frame_failed): Remove unneeded ACTIVATING state.
      	(check_if_view_is_gone): Simplify logic and make sure to check the
      	value of the exception and not just the function result.
      	(attach_client): Fix CORBA_Exception that was allocated twice and
      	that could also be allocated and not freed in some cases.
      	(activation_callback), (nautilus_view_frame_load_client_async):
      	Better names, use new API, still not tested.
      	(nautilus_view_frame_load_client): Get rid of function result and
      	use unified interface for telling about success and failure so that
      	sync. and async. interfaces will be the same.
      	(nautilus_view_frame_stop): Renamed this single function, which
      	will soon stop either activation that's in process or loading
      	that's in process with a single call. For now it's just the same
      	as the old stop_loading call.
      	(nautilus_view_frame_map): New override to activate the control.
      	This replaces the old explicit activate call.
      	(send_history), (nautilus_view_frame_get_is_underway): Remove
      	unneeded ACTIVATING state.
      
      	* src/nautilus-window.h:
      	* src/nautilus-window-manage-views.c:
      	(location_has_really_changed): Assume that new_content_view is not
      	NULL. The old code was trying to be inappropriately "general".
      	(disconnect_destroy_unref_view): Remove now-unused function.
      	(load_content_view): Don't use a return value any more, since it's
      	important to set up new_content_view before any signals happen.
      	Get rid of code that handles failure right at the start, since
      	we now get all failures through the signal handler.
      	(handle_view_failure): Add FIXME comments. Minor refactoring.
      	(cancel_location_change): Eliminated now-uneeded views_shown and
      	view_bombed_out booleans.
      	(load_view_for_new_location): New load_content_view doesn't return
      	a value any more.
      	(update_state): Changed this to be a loop instead of returning a
      	boolean and always being called in a loop. Also simplified logic
      	so that views_shown and view_bombed_out aren't needed any more.
      	(nautilus_window_end_location_change_callback): Use update_state
      	directly instead of calling the old clunky change_state cover.
      	(nautilus_window_begin_location_change): Use update_state directly
      	instead of calling the old clunky change_state cover.
      	(stop_loading): Call the new simple nautilus_view_frame_stop
      	instead of nautilus_view_frame_stop_loading.
      	(natuilus_window_stop_loading): Use update_state directly instead
      	of calling the old clunky change_state cover.
      	(nautilus_window_set_content_view): Use update_state directly instead
      	of calling the old clunky change_state cover.
      	(nautilus_window_set_sidebar_panels): Handle failures with
      	callback instead of looking at return value (which no longer
      	exists).
      	(client_loaded_callback): Add this new callback that's done when
      	the view is activated and ready to go.
      	(failed_callback): Use update_state directly instead of calling
      	the old clunky change_state cover.
      	(load_underway_callback): Use update_state directly instead of
      	calling the old clunky change_state cover.
      	(load_complete_callback): Use update_state directly instead of
      	calling the old clunky change_state cover.
      
      	* src/nautilus-window.c:
      	(nautilus_window_set_content_view_widget): Get rid of explicit
      	activation, no longer needed now that NautilusViewFrame handles it
      	directly.
      
      	* test/test-nautilus-async-activation.c: (activation_callback),
      	(main): Change to use new async. API.
      
      	* user-guide/gnufdl/.cvsignore: Add to ignore some missing files.
      2717a5cd
    • Pablo Saratxaga's avatar
      Added Azeri file · 3d2e3094
      Pablo Saratxaga authored
      3d2e3094
    • Valek Frob's avatar
      Updated russian translation. · f3fec952
      Valek Frob authored
      f3fec952
    • Stano Visnovsky's avatar
      Updated Slovak translation · 23cc19d3
      Stano Visnovsky authored
      23cc19d3
    • Yuri Syrota's avatar
      Updated Ukrainian translation · ad8d903a
      Yuri Syrota authored
      ad8d903a
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 59625375
      Yuri Syrota authored
      59625375
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 1c4fb0c3
      Yuri Syrota authored
      1c4fb0c3
    • Yuri Syrota's avatar
      Updated Ukrainian translation · abf1f8aa
      Yuri Syrota authored
      abf1f8aa
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 2283ef67
      Yuri Syrota authored
      2283ef67
    • Maciej Stachowiak's avatar
      Fix build (I suck). · 5993da1f
      Maciej Stachowiak authored
      	* src/nautilus-window-manage-views.c
      	(disconnect_and_destroy_sidebar_panel): Fix build (I suck).
      5993da1f
    • Maciej Stachowiak's avatar
      reviewed by: John Harper <jsh@eazel.com> · 651fad89
      Maciej Stachowiak authored
      	Fix bug 5997 (Segmentation fault when enabling then disabling tree
      	panel) two different ways (one is useful for future robustness).
      
      	* components/tree/nautilus-tree-expansion-state.c: Move expansion
      	state preference from "sidebar-panels/tree/expansion_state" to
      	"tree-sidebar-panel/expansion_state" to avoid making Nautilus
      	think the set of active sidebar panels is changing when this
      	setting gets set.
      
      	* src/nautilus-window-manage-views.c: (handle_view_failure,
      	nautilus_window_set_sidebar_panels): Call
      	`disconnect_and_destroy_sidebar_panel' instead of
      	`disconnect_view_and_destroy' followed by
      	`nautilus_window_remove_sidebar_panel', which left the possibility
      	of an inconsistent state where a destroyed view is in the sidebar
      	panel list.
      	(disconnect_and_destroy_sidebar_panel): New function that
      	disconnects signal handlers, removes the sidebar panel from the
      	window, and then finally destroys it, to avoid the possibility of
      	the sidebar panel list being in an inconsistent state.
      651fad89
    • Mike Fleming's avatar
      Merging Mike Fleming's partial fix for 5968 from branch. This · b52782db
      Mike Fleming authored
      	updates all the user agent strings in Nautilus.
      
      	2001-01-24  Mike Fleming  <mfleming@eazel.com>
      
      	        reviewed by: <robey@eazel.com>
      
      		User-Agent Changes for PR3
      
      		"Trilobite/" --> "Trilobite/0.2.0"
      		"Nautilus/1.0" (in the Mozilla User-Agent) --> "Nautilus/1.0PR3"
      
      		* components/mozilla/nautilus-mozilla-content-view.c:
      		(mozilla_content_view_one_time_happenings):
      		* components/services/install/lib/eazel-install-protocols.c:
      		(http_fetch_remote_file),
      		(eazel_install_fetch_definitive_package_info):
      		* components/services/install/lib/eazel-softcat.c:
      		(eazel_softcat_get_info):
      		* components/services/inventory/eazel-inventory-service.c:
      		(impl_Trilobite_Eazel_Inventory_upload):
      		* components/services/trilobite/libtrilobite/Makefile.am:
      		* components/services/trilobite/libtrilobite/trilobite-core-network
      		-slim.c: (trilobite_fetch_uri):
      		* components/services/trilobite/libtrilobite/trilobite-core-network
      		.c: (trilobite_open_uri):
      		* components/services/trilobite/libtrilobite/trilobite-core-utils.c
      		: (trilobite_get_useragent_string):
      		* components/services/trilobite/libtrilobite/trilobite-core-utils.h
      		:
      b52782db
    • Robey Pointer's avatar
      Remove cruft. · 076f4684
      Robey Pointer authored
      	* components/services/install/command-line/.cvsignore:
      
      	Remove cruft.
      
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	* components/services/install/lib/eazel-install-corba-types.c:
      	(corba_packagedatastruct_from_packagedata),
      	(packagedata_from_corba_packagedatastruct):
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(osd_parse_implementation):
      	* components/services/install/lib/eazel-package-system-types.c:
      	(packagedata_initialize), (packagedata_finalize),
      	(packagedata_copy), (packagedata_fill_in_missing),
      	(packagedata_dump_int):
      	* components/services/install/lib/eazel-package-system-types.h:
      
      	Add "filesize" item to the PackageData struct, and the corba one,
      	and parse it out of the softcat XML.
      
      	* components/services/install/lib/eazel-install-logic2.c:
      	(eazel_install_check_existing_packages), (dedupe_foreach_depends),
      	(is_satisfied):
      	* components/services/install/lib/eazel-softcat.c:
      	(remove_directories_from_provides_list):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (install_message_new), (generate_install_form):
      
      	Retrofit some PR3 patches to the trunk.
      
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_matches_versioning):
      
      	Compress Eskil's package version comparison function into
      	something a bit smaller and easier to follow for mere mortals like
      	myself. :)
      
      	* nautilus-installer/src/installer.c: (create_install_page),
      	(eazel_install_progress), (eazel_download_progress),
      	(get_detailed_errors_foreach), (get_detailed_errors),
      	(download_failed), (eazel_install_preflight),
      	(eazel_install_dep_check):
      	* nautilus-installer/src/installer.h:
      	* nautilus-installer/src/main.c: (segv_handler), (main):
      	* nautilus-installer/src/prescript:
      
      	First bit of 1.0 installer fixes: Bring it up to speed with
      	changes in the install library.
      076f4684
    • Pavel Cisler's avatar
      reviewed by: Michael Engber <engber@eazel.com> · 7379412e
      Pavel Cisler authored
      2001-01-25  Pavel Cisler  <pavel@eazel.com>
      
      	reviewed by: Michael Engber  <engber@eazel.com>
      
      	Fix 5879 (Close copy source & destination windows -> crash at
      		  end of copy operation).
      
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	(nautilus_directory_remove_file_metadata):
      	Merge a fix from PR3 branch.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(null_the_reference), (nautilus_gtk_null_reference_if_destroyed),
      	(nautilus_gtk_stop_null_reference_if_destroyed):
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	Add new magic calls that set up a reference to get nulled out
      	when the object it points to is destroyed.
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(transfer_info_new), (transfer_info_destroy),
      	(handle_transfer_ok), (nautilus_file_operations_copy_move),
      	(nautilus_file_operations_move_to_trash),
      	(nautilus_file_operations_delete), (do_empty_trash):
      	Null out a saved reference to the parent window so
      	that we don't try to use it after the window gets closed.
      	Clean up creation and destruction of TransferInfo.
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(handle_transfer_ok):
      	Fix a case where TransferInfo could get leaked.
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(new_folder_transfer_callback),
      	(nautilus_file_operations_new_folder):
      	Rework to make deleting of NewFolderTransferState cleaner.
      	Set up parent_view to get nulled out when the view gets closed.
      
      	* libnautilus-extensions/nautilus-preferences-dialog.c:
      	(dialog_clicked), (dialog_show), (dialog_destroy),
      	Tweaks. Get rid of unneeded casts.
      
      	* src/nautilus-property-browser.c: (add_new_pattern),
      	(show_color_selection_window), (add_new_color), (add_new_emblem):
      	* src/nautilus-theme-selector.c: (add_new_theme_button_callback):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create):
      	Use new magic calls to null out references.
      
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_destroy):
      	Disconnect from the destroy-watching signal.
      
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(set_pending_icon_to_reveal):
      	(nautilus_preferences_dialog_construct):
      	* src/file-manager/fm-directory-view.c: (copy_move_done_data_free),
      	(pre_copy_move), (copy_move_done_partition_func),
      	(copy_move_done_callback):
      	Use new magic calls to null out references.
      	Fix a memory trasher where CopyMoveDoneData was being destroyed too
      	early.
      7379412e
    • Gene Z. Ragan's avatar
      Fixed bug 5981, Desktop Eazel-Services link won't work without Mozilla · f7f1d37a
      Gene Z. Ragan authored
      2001-01-25  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 5981, Desktop Eazel-Services link won't work without
      	Mozilla installed
      
      	* src/nautilus-first-time-druid.c: (druid_finished):
      	Use the eazel: protocol instead of the http: services
      	URI.
      f7f1d37a
    • Gene Z. Ragan's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · b980d2bf
      Gene Z. Ragan authored
      2001-01-25  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: Pavel Cisler <pavel@eazel.com>
      
      	Fixed bug 6002, programs run from Nautilus Link files leave zombie processes
      
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	(nautilus_gnome_shell_execute):
      	Rename function and make it available to outside callers
      
      	(nautilus_gnome_open_terminal):
      	Rename function calls to nautilus_gnome_shell_execute
      
      	* src/file-manager/fm-directory-view.c: (activate_callback):
      	Call nautilus_gnome_shell_execute instaed of calling forking
      	and calling exec.  Using nautilus_gnome_shell_execute does the
      	right thing and avoids creating zombie processes.
      b980d2bf
    • John Harper's avatar
      doh! forgot to remove an unused variable.. · dcc3f043
      John Harper authored
      dcc3f043
    • John Harper's avatar
      forgot to add reviewer.. · 3dea3dcd
      John Harper authored
      3dea3dcd
    • John Harper's avatar
      Fix bug 5590 (List view uses anti-aliased graphics always) · 7544f777
      John Harper authored
      2001-01-25  John Harper  <jsh@eazel.com>
      
      	Fix bug 5590 (List view uses anti-aliased graphics always)
      
      	* src/file-manager/fm-list-view.c
      	(fm_list_view_update_smooth_graphics_mode): new function, put
      	into the FMDirectoryView method table, and called by
      	set_up_list ()
      
      	* libnautilus-extensions/nautilus-list.c (NautilusListDetails):
      	added an `anti_aliased_mode' boolean field
      
      	(draw_cell_pixbuf): support both normal and anti-aliased
      	drawing styles
      
      	* libnautilus-extensions/nautilus-list.[ch]
      	(nautilus_list_set_anti_aliased_mode): new function
      
      	* libnautilus-extensions/nautilus-list.c
      	(nautilus_list_set_single_click_mode): call
      	gtk_widget_queue_draw () on the list widget. Fixes the
      	(unfiled?) bug where toggling the `Activate items with a foo
      	click' doesn't immediately change how the list view is drawn
      7544f777
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · e0adba1c
      John Sullivan authored
      	Fixed bug 5569 (Desktop should not show up in history list)
      
      	I also prevented Control-B on the desktop from adding the
      	desktop to the Bookmarks list.
      
      	* src/file-manager/nautilus-desktop-icon-view-ui.xml:
      	overrode command "Add Bookmark" to be insensitive.
      
      	* src/nautilus-window.h: Declare function pointer for
      	add_current_location_to_history_list.
      
      	* src/nautilus-window-private.h: Declare private function
      	nautilus_window_add_current_location_to_history_list.
      
      	* src/nautilus-window.c:
      	(nautilus_window_initialize_class),
      	(real_add_current_location_to_history_list): Fill in
      	add_current_location_to_history_list function pointer
      	with simple function.
      	(nautilus_window_add_current_location_to_history_list):
      	wrapper for calling the new virtual function.
      	(nautilus_forget_history):
      	Call nautilus_window_add_current_location_to_history_list
      	where it was doing the work directly, to get the indirection.
      
      	* src/nautilus-window-manage-views.c: (update_for_new_location):
      	Call nautilus_window_add_current_location_to_history_list
      	where it was doing the work directly, to get the indirection.
      
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(real_add_current_location_to_history_list): Override
      	add_current_location_to_history_list to do nothing.
      e0adba1c
    • Mike Engber's avatar
      reviewed by: John Harper · a1b67bf8
      Mike Engber authored
      
      	reviewed by: John Harper
      
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(initialize_background_from_settings),
      	(saved_settings_changed_callback),
      	(nautilus_connect_background_to_file_metadata):
      	Fixed trying to set the background on a window before it was realized.
      a1b67bf8
    • Michael Fleming's avatar
      reviewed by: <sullivan@eazel.com> · 27ee242c
      Michael Fleming authored
       	Bug 6032: summary view was crashing because widget was being
       	destroyed during finish_button_activation.
      
       	Added a ref to the button across the timer callback and
       	avoided calling gtk_button_clicked and gtk_button_released
       	if the widget is already destroyed.
      
       	* libnautilus-extensions/nautilus-gtk-extensions.c:
       	(finish_button_activation), (nautilus_gtk_button_auto_click):
      27ee242c
    • John Harper's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 831b2c68
      John Harper authored
      2001-01-25  John Harper  <jsh@eazel.com>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	Fix bug 5561 (Add a function to nautilus to iterate through
      	windows in stacking order):
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c,
      	libnautilus-extensions/nautilus-gtk-extensions.h
      	(nautilus_get_window_list_ordered_front_to_back): new function,
      	returns a list of all top-level windows in stacking order (from
      	top to bottom)
      
      	Fixed parts of bug 5553 (Enlightenment-related problems)
      
      	* src/nautilus-desktop-window.c
      	(nautilus_desktop_window_delete_event): connected to
      	`delete_event' signal of the desktop window. Unconditionally
      	returns TRUE. This stops GTK+ deleting the window in response
      	to WM_DELETE_WINDOW requests, and thus fixes the bug where it's
      	possible to delete the desktop window in Enlightenment
      
      	* src/nautilus-desktop-window.c (realize): added SKIP_FOCUS to
      	the _WIN_HINTS we set (even though, ages ago, I told Gene not
      	to. Otherwise Enlightenment includes the desktop window in its
      	M-TAB list)
      831b2c68
    • Mike Engber's avatar
      reviewed by: John Harper · 159c3eef
      Mike Engber authored
      
      	reviewed by: John Harper
      
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(saved_settings_changed_callback), (background_reset_callback):
      	The root & desktop pixmaps are now updated in response to changes
      	in the gnome_config settings - bug 6033.
      159c3eef
    • Mike Engber's avatar
      reviewed by: John Harper · 6801f7c9
      Mike Engber authored
      
      	reviewed by: John Harper
      
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_draw_pixbuf_free), (nautilus_background_draw):
      	Background are now always drawn with the aa code, ensuring
      	their gradients are never striated - bug 5584.
      6801f7c9
  3. 25 Jan, 2001 13 commits
    • Josh Barrow's avatar
      Updated for the new k-rad look of the default theme. · 695eb58e
      Josh Barrow authored
      
      2001-01-25  Josh Barrow  <josh@eazel.com>
      
              * icons/theme_preview.png:
              Updated for the new k-rad look of the default theme.
      695eb58e
    • John Sullivan's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 06f8cb1a
      John Sullivan authored
      	Fixed bug 5506 (Show Properties always shows full path,
      	making window ludicrously wide)
      
      	Also made some other contents of the properties
      	window handle window-stretching more attractively.
      
      	* libnautilus-extensions/nautilus-ellipsizing-label.h:
      	* libnautilus-extensions/nautilus-ellipsizing-label.c:
      	(nautilus_ellipsizing_label_initialize_class),
      	(nautilus_ellipsizing_label_initialize), (real_destroy),
      	(nautilus_ellipsizing_label_new), (recompute_ellipsized_text),
      	(nautilus_ellipsizing_label_set_text), (real_size_request),
      	(real_size_allocate), (real_style_set): New files. This is
      	a subclass of GtkLabel that requests no specific width, and
      	ellipsizes the text to fit whatever width it is given.
      
      	* libnautilus-extensions/Makefile.am: Add new files to build.
      
      	* src/file-manager/fm-properties-window.c:
      	(value_field_update_internal): New function, contains code
      	formerly in value_field_update but takes boolean to handle
      	ellipsized case.
      	(value_field_update): Now just a simple wrapper for
      	value_field_update_internal for the non-ellipsized case.
      	(ellipsizing_value_field_update): New function, simple wrapper
      	for value_field_update_internal for the ellipsized case.
      	(attach_label): added an ellipsize_text boolean to this
      	bottleneck function.
      	(attach_value_label), (attach_title_field): pass FALSE for
      	ellipsize_text to attach_label
      	(attach_ellipsizing_value_label): new function, pass TRUE for
      	ellipsize_text to attach_label
      	(attach_value_field_internal): New function, contains code
      	formerly in attach_value_field but takes boolean to handle
      	ellipsized case.
      	(attach_value_field): Now just a simple wrapper for
      	attach_value_field_internal for the non-ellipsized case.
      	(attach_ellipsizing_value_field): New function, simple wrapper for
      	attach_value_field_internal for the ellipsized case.
      	(attach_option_menu): Don't use GTK_EXPAND, so option menu gets no
      	wider than it needs to be.
      	(append_separator): Don't use GTK_EXPAND, so the presence of
      	separators doesn't cause table columns to stretch.
      	(append_title_and_ellipsizing_value): New function, like
      	append_title_value_pair but uses ellipsizing label.
      	(create_basic_page): Change gtk_table_attach options for icon
      	and name field so that they don't cause table columns
      	to stretch.
      06f8cb1a
    • Arik Devens's avatar
    • Andy Hertzfeld's avatar
      fixed bug 5817, removing the extension from images makes their thumbnails · 7856bf73
      Andy Hertzfeld authored
      
      	* libnautilus-extensions/nautilus-thumbnails.c:
      	(make_thumbnail_path):
      	fixed bug 5817, removing the extension from images makes their
      	thumbnails show up.  Fixed by correcting where it tests for the
      	presence of an extension in make_thumbnail_path by only looking
      	for periods in the leaf part of the path instead of in the
      	entire path.
      7856bf73
    • Darin Adler's avatar
      Add missing xml-i18n-tools to list of modules needed to build from cvs. · 75dcba7a
      Darin Adler authored
      	* README: Add missing xml-i18n-tools to list of modules
      	needed to build from cvs.
      75dcba7a
    • Christian Rose's avatar
      Updated Swedish translation. · bccbdb95
      Christian Rose authored
      bccbdb95
    • Laszlo Kovacs's avatar
    • Laszlo Kovacs's avatar
    • John Sullivan's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 66302114
      John Sullivan authored
      	Tweaked the recent menu-updating speedup.
      
      	* src/file-manager/fm-directory-view.c:
      	(remove_update_menus_timeout_callback): New helper function,
      	removes timeout callback if non-zero.
      	(fm_directory_view_destroy): Use helper function where it was
      	calling the guts directly.
      	(update_menus_if_pending): New function, does nothing if
      	no menu update is pending, otherwise removes callback and
      	does an update now.
      	(fm_directory_view_pop_up_selection_context_menu),
      	(fm_directory_view_pop_up_background_context_menu): Use
      	update_menus_if_pending instead of directly updating. This both
      	avoids an unnecessary update if none is pending and prevents an
      	unnecessary future update is one is pending.
      66302114
    • Laszlo Kovacs's avatar
    • Laszlo Kovacs's avatar
    • Laszlo Kovacs's avatar
      Various changes in hyperbola component. · bb9419b5
      Laszlo Kovacs authored
      bb9419b5
    • Laszlo Kovacs's avatar
      Added various changes to the hyperbola component, some of these are... · 9ac6fec4
      Laszlo Kovacs authored
      Added various changes to the hyperbola component, some of these are Scrollkeeper related and disabled as Scrollkeeper is not in Eazel-hacking yet.
      Scrollkeeper related changes:
          - remove empty branches for Scrollkeeper generated
            category tree
          - remove old way of populating of the Applications
            branch with the Gnome help docs
      Not Scrollkeeper related changes:
          - fix in manpath handling when looking for man pages
            and manpath does not return anything
          - fix in title extraction from man page names
          - moving all the Man pages below the Manuals branch
            (in pages.map)
      9ac6fec4