1. 06 Sep, 2000 17 commits
    • Darin Adler's avatar
      Added checks in Nautilus to guarantee we will notice leaks · 307bafbb
      Darin Adler authored
      	of UI handlers in the future.
      
      	The check will fire unless you get new Bonobo, since I just fixed
      	a UI handler leak bug in Bonobo.
      
      	* src/nautilus-window.c: (nautilus_window_real_set_content_view):
      	Added code to check for a still-merged Open menu item in the file
      	menu. This will catch leaks of UI handlers fairly quickly, instead
      	of the traditional way we discover them, after long debugging
      	sessions.
      
      	* components/history/nautilus-history-view.c:
      	(history_view_frame_call_end):
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(release_transaction), (nautilus_undo_manager_undo):
      	* libnautilus/nautilus-clipboard.c: (add_menu_items_callback):
      	* libnautilus/nautilus-undo.c: (undo_manager_unref_cover),
      	(nautilus_undo_attach_undo_manager):
      	* libnautilus/nautilus-view.c: (view_frame_call_end):
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_control_activate_callback):
      	* src/nautilus-application.c: (nautilus_application_startup):
      	* src/nautilus-view-frame-bonobo-embeddable.c:
      	(bonobo_subdoc_load_location):
      	* src/nautilus-view-frame-nautilus-view.c:
      	(nautilus_view_try_load_client):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_load_client):
      	Use bonobo_object_dup_ref and bonobo_object_release_unref to
      	simplify some code.
      
      	* components/loser/content/nautilus-content-loser.c:
      	(loser_merge_bonobo_items_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(loser_merge_bonobo_items_callback):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_merge_bonobo_items_callback):
      	* components/sample/nautilus-sample-content-view.c:
      	(sample_merge_bonobo_items_callback):
      	Add missing unref to avoid leaking a UI handler.
      
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
      	Remove a bunch of code inside #if 0, which had out of date copies
      	of the sample code. I decided this was better than trying to fix
      	it.
      307bafbb
    • Matthias Warkus's avatar
      Fixes and updates. · c9ec59f1
      Matthias Warkus authored
      c9ec59f1
    • John Sullivan's avatar
      Fixed bug 2377 (Menu separators in search date criterion · 48675e99
      John Sullivan authored
      	look wrong and are selectable)
      
      	* src/nautilus-search-bar-criterion.c:
      	(get_date_modified_location_for): Replaced "--" with
      	"" when defining menu item text.
      	(nautilus_search_bar_criterion_new_from_values): When
      	constructing option menu items, treat empty string specially
      	by not translating it and making an insensitive separator.
      48675e99
    • Christian Rose's avatar
      Updated Swedish translation. · 140dc006
      Christian Rose authored
      140dc006
    • Daniel Egger's avatar
      A small beatification. · c9701f72
      Daniel Egger authored
      
      
       A small beatification.
      c9701f72
    • Eskil Heyn Olsen's avatar
      Removed \n's for g_print/warnings/messages · 389f648f
      Eskil Heyn Olsen authored
      
      	* components/services/install/lib/eazel-install-metadata.c:
      	(create_default_metadata), (create_default_configuration_metafile),
      	(xml_doc_sanity_checks):
      	Removed \n's for g_print/warnings/messages
      
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_finalize),
      	Changed to call parents finalize
      	(eazel_install_alter_mode_on_temp),
      	(eazel_install_lock_tmp_dir), (eazel_install_unlock_tmp_dir),
      	Calls to chmod all the downloaded files and the tmpdir.
      	(eazel_install_delete_downloads),
      	(eazel_install_install_packages):
      	Moved the deletion of downloads to a seperate call, so revert can
      	also reap it's benefits.
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(gnome_vfs_xfer_callback), (eazel_install_fetch_file),
      	Fixed download progress emission to only emit with amount==0 once
      	for gnome-vfs downloads.
      	Also checks for existence of package prior to download. This
      	should be safe once md5 checking is done, and prevents
      	fetch_dependencies from fetching the same file over and over
      	(which maybe should be solver in another way).
      	(eazel_install_fetch_package),
      	Moved the md5 checking code into eazel_install_start_transaction.
      	(eazel_install_fetch_package_which_provides),
      	Fixed evil bug I found now that i modified rpmsearch.cgi to
      	support ?provides= searches.
      	(get_url_for_package):
      	Fixed a packagedata_destroy_foreach call.
      
      	* components/services/install/lib/eazel-install-public.h:
      	Prototypes for the calls to chmod unchmod tmpdir + downloads.
      
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_install_flatten_categories),
      	Reversed the order of list concatenation.
      	(install_new_packages),
      	Creates tmpdir, needed for reverttransaction.
      	(eazel_install_download_packages),
      	Removed the EAZEL_INSTALL_DOWNLOADS status flag, check the
      	downloaded_files list in private instead.
      	(eazel_install_monitor_rpm_propcess_pipe),
      	Moved a comment reg. parsing rpm --percent here.
      	(eazel_install_monitor_subcommand_pipe),
      	(eazel_install_do_transaction_md5_check),
      	(eazel_install_start_transaction),
      	Moved the md5 checking to be near the installtion routine.
      	(eazel_install_check_existing_packages),
      	Modified some strings to be more i18n friendly
      	(eazel_install_fetch_rpm_dependencies),
      	Do a check so the some packages isn't added several times.
      	(eazel_install_ensure_deps):
      	list append rather then prepend. Seems rpm isn't as nonchalant
      	about the order of rpm's as we were led to believe.
      
      	* components/services/install/lib/eazel-install-rpm-glue.h:
      	Removed the EAZEL_INSTALL_DOWNLOADS status flag, check the
      	downloaded_files list in private instead.
      
      	* components/services/install/lib/eazel-install-types.h:
      	* components/services/install/lib/eazel-install-types.c:
      	(packagedata_new), (packagedata_destroy):
      	Made the md5 a pointer rather then char[16];
      
      	* components/services/install/lib/makefile.staticlib.in:
      	* components/services/trilobite/libtrilobite/makefile.staticlib.in:
      	* components/services/trilobite/libtrilobite/trilobite-core-utils.c:
      	I needed some cpp loving to keep the gnome-vfs stuff out of
      	nautilus-installer.
      
      	* components/services/trilobite/sample/service/sample-service-impl.
      	c: (sample_service_finalize), (sample_service_unref),
      	(sample_service_class_initialize):
      	* components/services/trilobite/sample/command-line/main.c: (main):
      	* components/services/trilobite/sample/lib/sample-service-public.h:
      	* components/services/trilobite/sample/service/main.c:
      	(trilobite_service_factory_destroy):
      	Fixed the destroy mechanism's of sample-service (bug 967)
      
      	* configure.in:
      	Added the mystic libtrilobite/makefile/staticlib.in
      
      	* nautilus-installer/src/Makefile:
      	* nautilus-installer/src/callbacks.c: (begin_install),
      	(prep_install), (prep_finish):
      	* nautilus-installer/src/callbacks.h:
      	* nautilus-installer/src/installer.c: (create_finish_page_good),
      	(create_finish_page_evil), (create_window),
      	(eazel_installer_initialize):
      	* nautilus-installer/src/link.sh:
      	More installer loving. Now it enables/disables the next/back
      	buttons in a more sane manner, plus handles lack of
      	package-list.xml better.
      389f648f
    • Robey Pointer's avatar
      fix bug 2684 that would cause an occasional crash if running as root (freeing... · 4a7394c7
      Robey Pointer authored
      fix bug 2684 that would cause an occasional crash if running as root (freeing a password that had never been collected)
      4a7394c7
    • Ramiro Estrugo's avatar
      Add arguments and setter functions to set the font and font size in smooth · cb9b641a
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_initialize_class),
      	(nautilus_icon_canvas_item_initialize),
      	(nautilus_icon_canvas_item_destroy),
      	(nautilus_icon_canvas_item_set_arg),
      	(nautilus_icon_canvas_item_get_arg), (icon_canvas_item_is_smooth),
      	(nautilus_icon_canvas_item_get_max_text_width),
      	(nautilus_icon_canvas_item_set_smooth_font),
      	(nautilus_icon_canvas_item_set_smooth_font_size):
      	* libnautilus-extensions/nautilus-icon-canvas-item.h:
      	Add arguments and setter functions to set the font and font size
      	in smooth mode.  Also added a function to determine whether we are
      	in smooth mode or not.
      cb9b641a
    • Pavel Cisler's avatar
      Add hooks for metadata removal. · 49708b8a
      Pavel Cisler authored
      2000-09-05  Pavel Cisler  <pavel@eazel.com>
      
      	* libnautilus-extensions/nautilus-directory-notify.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_direcotry_copy_move_metadata_key),
      	(nautilus_directory_move_metadata),
      	(nautilus_directory_copy_metadata),
      	(nautilus_directory_schedule_metadata_copy),
      	(nautilus_directory_schedule_metadata_move),
      	(nautilus_directory_schedule_metadata_remove):
      	* libnautilus-extensions/nautilus-file-changes-queue.c:
      	(nautilus_file_changes_queue_schedule_metadata_remove),
      	(nautilus_file_changes_consume_changes):
      	* libnautilus-extensions/nautilus-file-changes-queue.h:
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(sync_xfer_callback):
      	Add hooks for metadata removal.
      49708b8a
    • Ramiro Estrugo's avatar
    • Ramiro Estrugo's avatar
      Add support for rendering text on pixbufs without alpha channels. · 2be9f8a6
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_draw_text),
      	(nautilus_scalable_font_draw_text_lines_with_dimensions),
      	(nautilus_scalable_font_draw_text_lines),
      	(initialize_global_stuff_if_needed):
      	Add support for rendering text on pixbufs without alpha channels.
      
      	* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
      	No longer need to create a pixbuf with alpha channel duplicate.
      
      	* test/test-nautilus-font.c: (main):
      	Paint the pixbuf white before drawing stuff to it.
      2be9f8a6
    • Andy Hertzfeld's avatar
      fixed bug 2504, active tabs don't prelight, by adding, loading and drawing · f1d24775
      Andy Hertzfeld authored
      
      	fixed bug 2504, active tabs don't prelight, by adding, loading
      	and drawing the appropriate tab pieces.  Also, moved the text
      	down one pixel at Arlo's request.
      f1d24775
    • Arlo Rose's avatar
      icons/arlo/sidebar_tab_pieces/left-bumper.png · 469f3db5
      Arlo Rose authored
      
              * icons/arlo/sidebar_tab_pieces/left-bumper.png
              * icons/arlo/sidebar_tab_pieces/left-bumper-active.png
              * icons/arlo/sidebar_tab_pieces/left-bumper-prelight.png
              Took off left side pixel in order to get rid of the double
              black line that was there.
      469f3db5
    • Ramiro Estrugo's avatar
      Add a dumb script to make it easy to run the font test. · 01e90c35
      Ramiro Estrugo authored
      	* test/Makefile.am:
      	* test/font-test.sh:
      	Add a dumb script to make it easy to run the font test.
      
      	* test/test-nautilus-font.c: (main):
      	Make the clipping test better; clip both vertically and
      	horizontally.
      01e90c35
    • John Sullivan's avatar
      Much context-menu-related cleanup and some bug fixes. · 51f099ca
      John Sullivan authored
      	2734: comment fm_directory_view_add_context_menu_item
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h,
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_menu_append_separator): New convenience function
      	for appending a separator to a GtkMenu.
      	(nautilus_gtk_menu_set_item_visibility): New convenience function
      	for hiding/showing a menu item in a GtkMenu.
      
      	* src/file-manager/fm-directory-view.h:
      	Removed overridable function pointers for
      	create_background_context_menu_zoom_items and
      	create_background_context_menu_background_items; I made sure the
      	API supports what these were used for in a more general way.
      	Added overridable function pointer for supports_zooming. Now the
      	base class handles disabling/removing things for subclasses that
      	don't support zooming.
      	Changed fm_directory_view_add_context_menu_item to
      	_insert_context_menu_item and gave it a position parameter.
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize_class): removed function pointer
      	assignment for deleted calls; added function pointer assignment
      	for new supports_zooming call.
      	(select_all_callback): Removed this function because I removed
      	the item from the context menu (as per bug 1794).
      	(fm_directory_view_bump_zoom_level),
      	(fm_directory_view_zoom_to_level),
      	(fm_directory_view_set_zoom_level),
      	(fm_directory_view_restore_default_zoom_level),
      	(fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out):
      	Bail out without calling overridable function pointer for these
      	calls if supports_zooming is FALSE.
      	(finish_inserting_menu_item): New function, generalization of
      	finish_appending_menu_item that takes a position.
      	(finish_appending_menu_item): Now calls finish_inserting_menu_item.
      	Also, renamed this from finish_adding_menu_item.
      	(compute_menu_item_info): Removed ellipsis from "Show Properties"
      	and added comment explaining why it needs no ellipsis.
      	(append_gtk_menu_item_with_view),
      	(append_selection_menu_subtree): Update for adding -> appending rename.
      	(fm_directory_view_insert_context_menu_item): Generalization of
      	_append_context_menu_item that takes a position parameter.
      	(fm_directory_view_append_context_menu_item): Renamed from
      	_add_context_menu_item, and now calls _insert_context_menu_item.
      	(real_create_background_context_menu_zoom_items),
      	(real_create_background_context_menu_background_items):
      	Removed these functions. These menu items are no longer treated as
      	special cases.
      	(fm_directory_view_real_create_background_context_menu_items):
      	Now inserts zooming items only if supports_zooming is TRUE;
      	resurrected the accidentally-obliterated "Reset Background" item.
      	(add_separator): Removed this function in favor of
      	nautilus_gtk_menu_append_separator.
      	(add_application_to_gtk_menu), (add_component_to_gtk_menu),
      	(create_open_with_gtk_menu),
      	Update for API renames.
      	(fm_directory_view_real_create_selection_context_menu_items):
      	Use nautilus_gtk_menu_append_separator.
      	(fm_directory_view_supports_zooming): New function, calls
      	virtual function.
      	(fm_directory_view_real_supports_zooming): New function,
      	returns TRUE.
      
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_create_background_context_menu_items):
      	Remove "Icon Captions..." item per bug 1794
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_create_background_context_menu_zoom_items),
      	(fm_desktop_icon_view_create_background_context_menu_background_items),
      	(bump_zoom_level), (zoom_to_level), (restore_default_zoom_level),
      	(can_zoom_in), (can_zoom_out): Removed these functions due to
      	reworking the responsibilities of super- and subclass.
      	(real_supports_zooming): New function, returns FALSE.
      	(fm_desktop_icon_view_initialize_class): Remove overrides of various
      	functions; add override for supports_zooming.
      	(new_folder_menu_item_callback): Removed this now that it inherits
      	New Folder from parent.
      	(fm_desktop_icon_view_create_background_context_menu_items):
      	Cleaned this up to start with inherited and make modifications
      	as necessary rather than reimplementing the whole thing.
      51f099ca
    • Robey Pointer's avatar
      fix small bug in eazel-install (don't set the downloaded flag if the rpm... · 2e015a5e
      Robey Pointer authored
      fix small bug in eazel-install (don't set the downloaded flag if the rpm didn't get downloaded); correct FIXME comment; clean up install main to have the right log domain and remove unused code
      2e015a5e
    • Mike Engber's avatar
      We now update the gnome_config settings that store the list of background · 3931344e
      Mike Engber authored
      
      	We now update the gnome_config settings that store the list
      	of background images that populate the background capplet's
      	popup menu. bug 2343.
      
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(nautilus_directory_background_write_desktop_settings):
      3931344e
  2. 05 Sep, 2000 23 commits
    • Mathieu Lacage's avatar
      remove some little debugging output · 9872379b
      Mathieu Lacage authored
      9872379b
    • Mathieu Lacage's avatar
      implement task bugzilla.eazel.com 2416 · fe7bbe2d
      Mathieu Lacage authored
      2000-09-05  Mathieu Lacage  <mathieu@eazel.com>
      
      	* components/tree/nautilus-tree-view.c: implement task bugzilla.eazel.com
      	2416
      fe7bbe2d
    • Josh Barrow's avatar
      *** empty log message *** · 03ae0eb6
      Josh Barrow authored
      03ae0eb6
    • Andy Hertzfeld's avatar
      fixed bug 2610, can't delete duplicate colors from property browser. Also, · 31d78268
      Andy Hertzfeld authored
      
      
      	fixed bug 2610, can't delete duplicate colors from property browser.
      	Also, made property browser use anti-aliased item labels
      31d78268
    • Mathieu Lacage's avatar
      add some dnd UI nicety. GtkCTreeNode now hold a pointer to their · c1165520
      Mathieu Lacage authored
      2000-09-05  Mathieu Lacage  <mathieu@eazel.com>
      
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_insert_model_node): add some dnd UI nicety.
      	GtkCTreeNode now hold a pointer to their NautilusTreeNode instead
      	of their char *uri.
      
      	* libnautilus-extensions/nautilus-search-uri.c:
      	(nautilus_self_check_search_uri): fix tests after rebecka
      	second break of them :)
      c1165520
    • Darin Adler's avatar
      Removed some special-case file names that aren't needed any more. · 700232e5
      Darin Adler authored
      	* check-FIXME.pl: Removed some special-case file names
      	that aren't needed any more.
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(get_link_name): Added comments to help localizers.
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_date_as_string): Added comments to help
      	localizers. Deals with bug 2720 (Please add a comment to help
      	localizers do date translations)
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(draw_or_measure_label_text): Added a comment to help localizers.
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_display_selection_info): Unmarked one string
      	that doesn't make sense to translate and adding a comment to
      	another to explain why it is marked for translation.
      	(add_separator): Changed add_open_with_gtk_menu_item into this
      	function, which deals with bug 2735 (add_open_with_gtk_menu_item
      	only called to create separator?).
      	(create_open_with_gtk_menu): Call the new add_separator function.
      	* src/nautilus-zoom-control.c: (create_zoom_menu_item): Added a
      	comment to help localizers.
      
      	* libnautilus-extensions/nautilus-link.c: (make_local_path): Fixed
      	logic here that was doing strange things with URIs.  This deals
      	with bugs 2492 (Incorrect unescaping when dealing with link
      	files), 2493 (Mysterious and probably incorrect "+7" when escaping
      	URI for link file), and 2737 (link code must make path into URI).
      
      	* libnautilus-extensions/nautilus-search-bar-criterion.c:
      	* libnautilus-extensions/nautilus-search-bar-criterion.h:
      	* po/POTFILES.in:
      	Removed these duplicate files. Rebecca moved them to src, but she
      	didn't remove the old ones. I didn't have to remove them from the
      	makefile, since they were already removed, but I had to remove
      	them from the list of files to translate.
      
      	* src/nautilus-search-bar-criterion.h:
      	* libnautilus-extensions/nautilus-search-uri.h:
      	Moved some of the stuff from nautilus-search-bar-criterion.h to
      	here, since it's really about search URIs, not specific to the
      	search bar. Over time we will move more.
      
      	* src/nautilus-search-bar-criterion.c: Added include of the
      	nautilus-search-uri.h header now that stuff was moved there.
      
      	* src/file-manager/fm-search-list-view.c:
      	Fixed includes to get the nautilus-search-bar-criterion.h from its
      	new location. This is not a real solution to the problem that was
      	exposed by moving the search bar code. The bug 2815 covers this.
      	* src/nautilus-complex-search-bar.c: Fix search bar so it gets
      	the real location of the header. It was including the old one.
      	* src/nautilus-simple-search-bar.c: Fix search bar so it gets
      	the real location of the header. It was including the old one.
      
      	* src/nautilus-main.c: (main): Some small cleanups including some
      	additional parameter checking and returning a failure code to
      	the invoking shell in the case where the parameters are not
      	consistent.
      700232e5
    • Ramiro Estrugo's avatar
      Add hook for scalable fonts test which im going to add soon. · b01779bf
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	Add hook for scalable fonts test which im going to add soon.
      
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_text_width), New convenience function to
      	measure just the text width.
      	(nautilus_self_check_scalable_font): Add hook for scalable fonts
      	test which im going to add soon.
      b01779bf
    • Pavel Cisler's avatar
      Remove the -Wuninitialized to unbreak the build. (It should be part of · 0ab047ad
      Pavel Cisler authored
      2000-09-05  Pavel Cisler  <pavel@eazel.com>
      
      	* configure.in:
      	Remove the -Wuninitialized to unbreak the build.
      	(It should be part of -Wall so it's probably not needed anyhow).
      0ab047ad
    • Pavel Cisler's avatar
      Fix all the warnings -Wuninitialized found. Quite a number of them were · add78396
      Pavel Cisler authored
      2000-09-05  Pavel Cisler  <pavel@eazel.com>
      
      	* components/help/converters/gnome-db2html2/gdb3html.c:
      	(xml_parse_document):
      	* components/help/hyperbola-nav-index.c: (end_element):
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (logout_button_cb):
      	* components/services/time/service/trilobite-eazel-time-service.c:
      	(trilobite_eazel_time_service_do_http_request):
      	* components/tree/nautilus-tree-view.c:
      	* configure.in:
      	* libnautilus-extensions/bonobo-stream-vfs.c:
      	(bonobo_stream_vfs_open):
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_draw), (nautilus_background_draw_aa):
      	* libnautilus-extensions/nautilus-customization-data.c:
      	(nautilus_customization_data_new):
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(nautilus_directory_background_write_desktop_settings):
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(nautilus_file_operations_move_to_trash), (do_empty_trash):
      	* libnautilus-extensions/nautilus-file.c: (nautilus_file_dump):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(draw_or_measure_label_text), (emblem_layout_next):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_image_from_cache):
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	(iti_paint_text):
      	* libnautilus-extensions/nautilus-list.c: (draw_cell), (draw_row):
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_add_application_to_short_list_for_uri):
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(program_file_pair_get_short_status_text),
      	(program_file_pair_get_long_status_text):
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_choose_component_for_file),
      	(nautilus_choose_application_for_file):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_draw_text_lines_with_dimensions):
      	* libnautilus-extensions/nautilus-theme.c:
      	(nautilus_theme_make_selector):
      	* librsvg/rsvg-ft.c: (rsvg_ft_get_glyph):
      	* librsvg/test-ft-gtk.c: (set_text):
      	* librsvg/test-ft.c: (save_pixbuf_to_file_internal),
      	(save_pixbuf_to_file):
      	* librsvg/test-rsvg.c: (save_pixbuf_to_file_internal),
      	(save_pixbuf_to_file):
      	* src/file-manager/fm-directory-view.c: (display_pending_files),
      	(compute_menu_item_info):
      	* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
      	* src/file-manager/fm-list-view.c: (get_column_from_attribute):
      	* src/nautilus-application.c: (nautilus_application_startup):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_next_new),
      	(nautilus_search_bar_criterion_get_location),
      	(get_date_modified_location_for):
      	* src/nautilus-sidebar-tabs.c: (draw_one_tab_themed),
      	(draw_or_layout_all_tabs):
      	* src/nautilus-toolbar.c: (nautilus_toolbar_size_allocate):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_get_current_location_title):
      	* test/test-nautilus-label.c: (justification_changed_callback):
      
      	Fix all the warnings -Wuninitialized found.
      	Quite a number of them were actual bugs.
      	Turn on -Wuninitialized in configure.in now that ORBit generates
      	warning-free code.
      add78396
    • John Sullivan's avatar
      Fixed bug 1247 ("Edit Novice Settings" menu item · 1b18a656
      John Sullivan authored
      	needs to be handled better)
      
      	Now this menu item is enabled, and choosing it explains
      	that you can't edited the Novice settings but offers
      	to switch to Intermediate and let you edit those
      	settings.
      
      	* libnautilus-extensions/nautilus-user-level-manager.c,
      	* libnautilus-extensions/nautilus-user-level-manager.h:
      	Made the #defines for the user level ints public, so
      	code elsewhere could use them rather than hardwiring
      	a bunch of 0s, 1s, and 2s.
      
      	* libnautilus-extensions/nautilus-caption-table.h:
      	* libnautilus-extensions/nautilus-caption.h:
      	* libnautilus-extensions/nautilus-font-picker.h:
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-password-dialog.h:
      	* libnautilus-extensions/nautilus-preference.h:
      	* libnautilus-extensions/nautilus-preferences-box.h:
      	* libnautilus-extensions/nautilus-preferences-dialog.h:
      	* libnautilus-extensions/nautilus-preferences-group.h:
      	* libnautilus-extensions/nautilus-preferences-item.h:
      	* libnautilus-extensions/nautilus-preferences-pane.h:
      	* libnautilus-extensions/nautilus-preferences-private.h:
      	* libnautilus-extensions/nautilus-preferences.h:
      	* libnautilus-extensions/nautilus-radio-button-group.h:
      	* libnautilus-extensions/nautilus-string-picker.h:
      	* libnautilus-extensions/nautilus-text-caption.h:
      	Changed the closing BEGIN_GNOME_DECLS in these header files
      	to END_GNOME_DECLS.
      
      	* src/nautilus-window-menus.c:
      	(get_user_level_string_for_display): New function, extracted
      	from get_customize_user_level_string. Returns the user level
      	string to be put into user messages or menu item names.
      	(get_customize_user_level_string): Now calls
      	get_user_level_string_for_display
      	(switch_and_show_intermediate_settings_callback): New function,
      	switches to intermediate level and displays the user level
      	settings dialog.
      	(user_level_customize_callback): If the current user level is
      	NAUTILUS_USER_LEVEL_NOVICE, puts up a dialog telling the user
      	that the Novice settings can't be changed, and asking them if
      	they want to switch to Intermediate and edit those settings.
      	(get_user_level_image), (user_level_changed_callback),
      	(nautilus_window_initialize_menus),
      	(convert_menu_path_to_user_level),
      	(convert_user_level_to_menu_path):
      	Use #defines for user levels instead of hardwiring integers.
      	(switch_to_user_level): New function, extracted from
      	user_level_menu_item_callback. Switches to a specified user
      	level and updates menu items & title image appropriately.
      	(user_level_menu_item_callback): Now calls switch_to_user_level.
      	(update_user_level_menu_items): Don't desensitize the Edit
      	Settings item at Novice user level anymore.
      1b18a656
    • Andy Hertzfeld's avatar
      made the caveat dialog use anti-aliased text. · 18587fcb
      Andy Hertzfeld authored
      
      	made the caveat dialog use anti-aliased text.
      18587fcb
    • Gene Z. Ragan's avatar
      Added a check for a NULL image tag returned by am XML property retrieval. · 6f7b91bd
      Gene Z. Ragan authored
      2000-09-05  Gene Z. Ragan  <gzr@eazel.com>
      
      	* libnautilus-extensions/nautilus-link.c:
      	(nautilus_link_get_image_uri):
      	Added a check for a NULL image tag returned
      	by am XML property retrieval.
      6f7b91bd
    • Pavel Cisler's avatar
      Work on metadata copying. For now hardcode the metadata keys that get · 4d631083
      Pavel Cisler authored
      2000-09-05  Pavel Cisler  <pavel@eazel.com>
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_direcotry_copy_move_metadata_key),
      	(nautilus_directory_copy_metadata_key),
      	(nautilus_directory_move_metadata_key),
      	(nautilus_directory_move_metadata),
      	(nautilus_directory_copy_metadata),
      	(nautilus_directory_schedule_metadata_copy),
      	(nautilus_directory_schedule_metadata_move):
      	Work on metadata copying.
      	For now hardcode the metadata keys that get copied.
      	Metadata move does not remove old metadata in source location yet.
      4d631083
    • Ramiro Estrugo's avatar
      Fix a bug I just introduced drawing embedded text in the non smooth case. · 6cbbd65c
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
      	Fix a bug I just introduced drawing embedded text in the non
      	smooth case.  We need to make sure the pixbuf we feed to the text
      	rendering code has an alpha channel.
      6cbbd65c
    • Ramiro Estrugo's avatar
      More work on task 1588. · 0b9c656d
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
      	Use NautilusScalableFont to render embedded text.
      0b9c656d
    • Ramiro Estrugo's avatar
      Add a FIXME for a performance issue. · c734c13b
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_draw_text_lines):
      	Add a FIXME for a performance issue.
      c734c13b
    • Ramiro Estrugo's avatar
      Simpify the text line drawing function to not reuqire passing in the · e5b8f548
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_draw_text_lines_with_dimensions),
      	(nautilus_scalable_font_draw_text_lines):
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	Simpify the text line drawing function to not reuqire passing in
      	the number of lines or their dimensions.  Compute these when
      	needed.  An alternate function that accepts the dimensions is
      	available as well.
      
      	* test/test-nautilus-font.c: (main):
      	Draw both text lines and single line clipped text to test more
      	stuff.
      e5b8f548
    • Ramiro Estrugo's avatar
      Complete task 1733 - need mozilla component support for grokking · 486c860a
      Ramiro Estrugo authored
      	eazel: uris.
      
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(nautilus_mozilla_content_view_initialize),
      	(nautilus_mozilla_content_view_destroy), (bonobo_mozilla_callback),
      	(mozilla_net_state_callback), (mozilla_open_uri_callback),
      	(mozilla_dom_mouse_click_callback):
      	For mozilla M17, add support for registering the eazel protocol
      	handler.  For mozilla M18, add support for peeking dom events -
      	this is the preffered way to deal with these special uris, however
      	we cant turn this on until mozilla M18 is released.
      486c860a
    • Ramiro Estrugo's avatar
      Damn, some of this code only builds with mozilla M18. Updating for that. · 9a5ca45a
      Ramiro Estrugo authored
      	* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.cpp:
      	Damn, some of this code only builds with mozilla M18.  Updating
      	for that.
      9a5ca45a
    • Ramiro Estrugo's avatar
      Duh, changelog for last checkin. · edffe63b
      Ramiro Estrugo authored
      edffe63b
    • Ramiro Estrugo's avatar
      More work on task 1733. · d20069e6
      Ramiro Estrugo authored
      	* components/mozilla/eazel-protocol-handler/.cvsignore:
      	* components/mozilla/eazel-protocol-handler/Makefile.am:
      	* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.cpp:
      	* components/mozilla/eazel-protocol-handler/eazel-protocol-channel.h:
      	* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.cpp:
      	* components/mozilla/eazel-protocol-handler/eazel-protocol-handler.h:
      	* components/mozilla/eazel-protocol-handler/eazel-protocol-module.cpp:
      	New files.  A mozilla XPCOM component to grok eazel: protocol uris.
      
      	* components/mozilla/Makefile.am:
      	Build the eazel-protocol-handler
      
      	* configure.in:
      	Build the eazel-protocol-handler
      d20069e6
    • Ramiro Estrugo's avatar
      Ignore generated files. · 4598da90
      Ramiro Estrugo authored
      	* components/tree/.cvsignore:
      	Ignore generated files.
      4598da90
    • Ramiro Estrugo's avatar
      More work on task 1588. · 4025fec5
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_draw_text),
      	(nautilus_scalable_font_measure_text_lines),
      	(nautilus_scalable_font_draw_text_lines):
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	Change text rendering api to take in x,y coordinates along with a
      	clip_area.
      
      	Remove some #if 0 code i left in before.
      
      	Also change the text lines rendering api to optionally do its own
      	line measuring - for the convenience of the caller.
      
      	* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
      	Update for text rendering changes.
      	Fix the justification bug.
      	Fix the multiple newlines bug.
      
      	* src/nautilus-about.c: (draw_aa_string):
      	Update for text rendering changes.
      
      	* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
      	(draw_one_tab_themed):
      	Update for text rendering changes.
      
      	* test/test-nautilus-font.c: (main):
      	Update for text rendering changes.
      	Also add multiple new lines test and clipping test.
      
      	* test/test-nautilus-label.c: (main):
      	Update for text rendering changes.
      4025fec5