1. 14 Dec, 2000 19 commits
    • Eskil Heyn Olsen's avatar
      Fixed 5169 and 5170 (install and verify didn't work). · ca859620
      Eskil Heyn Olsen authored
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_set_progress):
      	* components/rpmview/nautilus-rpm-view-private.h:
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (verify_failed_signal),
      	(nautilus_rpm_view_verify_files):
      	Fixed 5169 and 5170 (install and verify didn't work).
      ca859620
    • Andy Hertzfeld's avatar
      at Arlo's request, made the sidebar tabs activate on button release · 80f47351
      Andy Hertzfeld authored
      
      	* src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class),
      	(nautilus_sidebar_press_event), (nautilus_sidebar_release_event):
      	at Arlo's request, made the sidebar tabs activate on button release
      	instead of button press.
      80f47351
    • Martin Norback's avatar
      update · dae685e5
      Martin Norback authored
      dae685e5
    • Martin Norbäck's avatar
      reviewed by: Darin Adler <darin@eazel.com> · c245b4e0
      Martin Norbäck authored
      2000-12-14  Martin Norbäck  <d95mback@dtek.chalmers.se>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	* po/POTFILES.in, src/nautilus-complex-search-bar.c:
      	Marked strings for translation and adding file to POTFILES.in
      c245b4e0
    • Eskil Heyn Olsen's avatar
      Set toplevel to TRUE even if not downloading, fixes 5196. · 14565adb
      Eskil Heyn Olsen authored
      	* components/services/install/lib/eazel-install-logic.c:
      	(eazel_install_download_packages),
      	Set toplevel to TRUE even if not downloading, fixes 5196.
      	(eazel_install_do_transaction_all_files_check):
      	Only do interpackage file check in packages.size() > 1
      
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_initialize), (eazel_install_set_debug):
      	Set debug in packagesystem to FAIL, not VERBOSE. _set_debug raises
      	it to verbose.
      14565adb
    • Kenneth Christiansen's avatar
      Translations from Keld · 2073d751
      Kenneth Christiansen authored
      nautilus/po/da.po
      2073d751
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · 81bd8373
      Kjartan Maraas authored
      2000-12-14  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      81bd8373
    • Maciej Stachowiak's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · d6cf6754
      Maciej Stachowiak authored
      	Major boost in tree view performance, and startup/new window
      	performance when tree view is on. This fixes bugs 4922 (Opening
      	new windows is really slow when the tree view is enabled), 5149
      	(http://bugzilla.eazel.com/show_bug.cgi?id=5149) and 3936
      	(http://bugzilla.eazel.com/show_bug.cgi?id=3936).
      
      	* components/tree/nautilus-tree-change-queue.c,
      	components/tree/nautilus-tree-change-queue.h: New files that
      	implement a change queue, so the tree view can defer processing
      	changes until idle time but still handle them in order.
      	* components/tree/Makefile.am: Add to build.
      
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_initialize): Initialize change queue.
      	(nautilus_tree_view_enqueue_change),
      	(nautilus_tree_view_model_node_added_callback,
      	nautilus_tree_view_model_node_changed_callback,
      	nautilus_tree_view_model_node_removed_callback,
      	nautilus_tree_view_model_done_loading_callback): Do no real work,
      	just enqueue the changes and schedule the idle callback.
      	(reload_model_node, reload_model_node_recursive): Don't actually
      	update all nodes, just enqueue changes and schedule idle
      	callbacks.
      	(schedule_pending_idle_callback): Helper function to schedule an
      	idle callback to process the change queue.
      	(dequeue_pending_idle_callback): Process the head of the change
      	queue, and unschedule self when done (currently it will process at
      	most 100 changes at one go). Keep the tree frozen while doing the
      	changes, to minimize redraws.
      	(nautilus_tree_view_insert_model_node): Moved call to
      	notify_node_seen here from
      	nautilus_tree_view_model_node_added_callback.
      	(nautilus_tree_view_destroy): free change queue, dnd data.
      
      	* components/tree/nautilus-tree-view-dnd.c: Prune includes.
      	(nautilus_tree_view_free_dnd): New function so
      	nautilus-tree-view.c destroy function does not need to know
      	internal details of tree view.
      	* components/tree/nautilus-tree-node.h: Removed prototypes of
      	nonexistent functions.
      	* components/tree/nautilus-tree-view.h,
      	components/tree/nautilus-tree-view-private.h,
      	components/tree/nautilus-tree-view-dnd.h: Include necessary
      	headers, to make these standalone, and prune unneeded headers.
      d6cf6754
    • Martin Norback's avatar
      sv update · 47f8ccee
      Martin Norback authored
      47f8ccee
    • Andy Hertzfeld's avatar
      fixed bug 4219, using an image to represent itself bad when image is too · 0f9c08c6
      Andy Hertzfeld authored
      
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_update_icon):
      	fixed bug 4219, using an image to represent itself bad when image is
      	too small, by scaling up the image to a minimum size if necessary.
      0f9c08c6
    • Pavel Cisler's avatar
      Translated error messages to English (with John's help). · 1ad614ce
      Pavel Cisler authored
      2000-12-13  Pavel Cisler  <pavel@eazel.com>
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(build_error_string):
      	Translated error messages to English (with John's help).
      1ad614ce
    • Eskil Heyn Olsen's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 98a07476
      Eskil Heyn Olsen authored
      	This should fix 4891 and 4892 & 4454.
      
      	* components/services/install/command-line/eazel-test-packsys.c:
      	(test_query), (progress_signal), (main):
      	Also does a test on QUERY_FLAG_REQUIRES, by checking if more then
      	10 packages require glibc.
      	Fixed the wrong order of arguments for progress_signal.
      	main can now take a --debug=<int> which sets the debug level in
      	the EazelPackageSystem.
      
      	* components/services/install/lib/eazel-package-system-rpm3.h:
      	* components/services/install/lib/eazel-package-system-rpm3-private
      	.h:
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(eazel_package_system_rpm3_get_and_set_string_tag),
      	(eazel_package_system_rpm3_packagedata_fill_from_header),
      	(eazel_package_system_rpm3_get_db),
      	(eazel_package_system_rpm3_query_impl),
      	(eazel_package_system_rpm3_query_substr),
      	(eazel_package_system_rpm3_query_foreach),
      	(eazel_package_system_rpm3_query_requires),
      	(eazel_package_system_rpm3_query),
      	(eazel_package_system_rpm3_class_initialize),
      	(eazel_package_system_rpm3_initialize),
      	(eazel_package_system_rpm3_new):
      	Mindnumbing amounts of boilerplate code to make query_foreach and
      	query_impl virtual functions which the rpm4 class can override. I
      	weep for gnome and it's C usage of OO and long for the good ole
      	days of C++.
      	Also made the loops more unreadable but safer (I hope).
      
      	* components/services/install/lib/eazel-package-system-rpm4.c:
      	(eazel_package_system_rpm4_query_impl),
      	(eazel_package_system_rpm4_query_substr),
      	(eazel_package_system_rpm4_query_foreach),
      	(eazel_package_system_rpm4_class_initialize),
      	(eazel_package_system_rpm4_initialize):
      	The final juju to implement the EazelPackageSystemRpm4 class. I
      	will not bore you with more details.
      
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_query):
      	assert that the key is non-null.
      98a07476
    • Maciej Stachowiak's avatar
      Add -ui.xml.h generated files to .cvsignore. · dddbb43e
      Maciej Stachowiak authored
      	* components/loser/content/.cvsignore,
      	components/loser/sidebar/.cvsignore,
      	components/mozilla/.cvsignore, components/sample/.cvsignore,
      	libnautilus/.cvsignore, src/.cvsignore,
      	src/file-manager/.cvsignore: Add -ui.xml.h generated files to
      	.cvsignore.
      dddbb43e
    • Maciej Stachowiak's avatar
      New file documenting the directory layout of components/services. · 8711a099
      Maciej Stachowiak authored
      	* components/services/docs/directories: New file documenting the
      	directory layout of components/services.
      
      	* components/services/inventory/.cvsignore,
      	components/services/inventory/Makefile.am,
      	components/services/inventory/command-line/README,
      	components/services/inventory/lib/.cvsignore,
      	components/services/inventory/lib/Makefile.am,
      	components/services/inventory/lib/eazel-inventory-shared.c,
      	components/services/inventory/lib/eazel-inventory-shared.h,
      	components/services/inventory/nautilus-view/.cvsignore,
      	components/services/inventory/nautilus-view/Makefile.am,
      	components/services/inventory/nautilus-view/main.c,
      	components/services/inventory/nautilus-view/nautilus-inventory-view.c,
      	components/services/inventory/nautilus-view/nautilus-inventory-view.h,
      	components/services/inventory/nautilus-view/nautilus-inventory-view.oafinfo:
      	Remove old dead inventory code.
      
      	* components/services/login/command-line/README: Remove last file
      	in otherwise-empty directory.
      	* components/services/summary/command-line/README: Ditto.
      	* cut-n-paste-code/widgets/gtkclist/.cvsignore: Ditto.
      8711a099
    • Andy Hertzfeld's avatar
      fixed bug 3502, music icon doesn't scale well, by adding pre-scaled icons · a6090033
      Andy Hertzfeld authored
      
      	* icons/Makefile.am:
      	* icons/i-music-12.png:
      	* icons/i-music-12-aa.png:
      	* icons/i-music-24.png:
      	* icons/i-music-24-aa.png:
      	* icons/i-music-36.png:
      	* icons/i-music-36-aa.png:
      	fixed bug 3502, music icon doesn't scale well, by adding
      	pre-scaled icons from Susan.
      
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_icon_name_for_regular_file):
      	removed evil special-case of text files; now it uses
      	whatever is defined in the mime-type database.
      a6090033
    • John Harper's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 09db4304
      John Harper authored
      2000-12-13  John Harper  <jsh@eazel.com>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	* src/file-manager/fm-properties-window.c:
      	(select_image_button_callback):
      	* src/nautilus-property-browser.c: (add_new_pattern):
      	* src/nautilus-theme-selector.c: (add_new_theme_button_callback):
      
      	Added calls to gtk_window_set_transient_for for file selectors
      09db4304
    • J Shane Culpepper's avatar
      Fixing improper include. · bc18c3f1
      J Shane Culpepper authored
      2000-12-13  J Shane Culpepper  <pepper@eazel.com>
      
      	* components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
      
      	Fixing improper include.
      bc18c3f1
    • J Shane Culpepper's avatar
      More inventory gymnastics. Moving the md5 utils to libtrilobite where they · c2881864
      J Shane Culpepper authored
      	* components/services/install/lib/Makefile.am:
      	* components/services/install/lib/eazel-install-logic.c:
      	* components/services/install/lib/eazel-install-md5.c:
      	* components/services/install/lib/eazel-install-md5.h:
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	* components/services/install/lib/eazel-inventory-utils.c:
      	(add_package_info), (read_proc_info), (add_info), (add_io_info),
      	(add_hardware_info), (eazel_create_configuration_metafile),
      	(str_has_prefix):
      	* components/services/install/lib/eazel-inventory-utils.h:
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* components/services/trilobite/libtrilobite/trilobite-inventory-ut
      	ils.c:
      	* components/services/trilobite/libtrilobite/trilobite-inventory-ut
      	ils.h:
      	* components/services/trilobite/libtrilobite/trilobite-md5-tools.c:
      	(_byte_reverse), (md5_init), (md5_update), (md5_final),
      	(md5_transform), (md5_get_digest), (md5_get_digest_from_file),
      	(md5_get_digest_from_md5_string), (md5_get_string_from_md5_digest),
      	(main):
      	* components/services/trilobite/libtrilobite/trilobite-md5-tools.h:
      
      	More inventory gymnastics.  Moving the md5 utils to libtrilobite where
      	they belong and moving the rpm specific inventory code into libeps.
      	Still not hooked up to the build until I remove the hardcoded rpm
      	stuff.
      c2881864
    • Darin Adler's avatar
      reviewed by: Rebecca Shulman <rebecka@eazel.com> · 36a1b9e0
      Darin Adler authored
      	Fixed bug 2155 (type-selected icon is not successfully scrolled
      	into view). The code was using the wrong coordinate system.
      
      	* libnautilus-extensions/nautilus-icon-container.c: (reveal_icon):
      	Do the icon revealing with the
      	nautilus_gnome_canvas_item_get_current_canvas_bounds instead of
      	icon_get_bounding_box. The old code used item coordinates instead
      	of canvas coordinates.
      	(match_best_name): Added (guchar) casts to make tolower work
      	right, since it takes int parameters, not char.
      	(select_matching_name): Added (guchar) casts to make tolower work
      	right, since it takes int parameters, not char.
      	(undo_stretching): Broke out this function -- work was in-line in
      	key_press_event before.
      	(handle_typeahead): Renamed, added (guchar) casts to make isprint
      	work right, since it takes int parameters, not char.
      	(key_press_event): Use undo_stretching helper function.
      	(nautilus_icon_container_set_label_font_for_zoom_level): Remove
      	redundant NULL check.
      	(nautilus_icon_container_set_smooth_label_font): Ref new
      	font before unref'ing the old one in case they are the same.
      	(nautilus_icon_container_set_single_click_mode) Remove redundant
      	NULL check.
      	(nautilus_icon_container_get_is_fixed_size): Remove redundant
      	NULL check.
      	(nautilus_icon_container_set_is_fixed_size): Remove redundant
      	NULL check.
      	(check_compute_stretch), (nautilus_self_check_icon_container):
      	Renamed.
      
      	* libnautilus-extensions/nautilus-string.c:
      	(nautilus_istr_has_prefix), (nautilus_istr_has_suffix),
      	(nautilus_str_capitalize): Added (guchar) casts to make tolower
      	and toupper work right, since it they take int parameters, not
      	char. Removed unnecessary checks of isupper before calling tolower
      	and islower before calling toupper. We did the research a while
      	back and discovered that broken platforms like that where toupper
      	can munge non-lower-case-letter characters don't really exist in
      	practice any more.
      
      	* libnautilus-extensions/nautilus-file.c: (update_link),
      	(update_info_internal): Added FIXMEs to remind me to come back
      	here when I go fix bug 2044.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(nautilus_gnome_canvas_draw_pixbuf_helper),
      	(nautilus_gnome_canvas_draw_pixbuf_helper_alpha): Tweak
      	formatting.
      36a1b9e0
  2. 13 Dec, 2000 21 commits
    • Christian Rose's avatar
      Updated Swedish translation. · 08d1f9ce
      Christian Rose authored
      08d1f9ce
    • Martin Norbäck's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 881fff89
      Martin Norbäck authored
      2000-12-13  Martin Norbäck  <d95mback@dtek.chalmers.se>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize):
      
      	Added localisation of the clist titles.
      881fff89
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> (the patch; · 21fd1534
      John Sullivan authored
      	Eli reviewed the wording change since he spotted the
      	problem)
      
      	Fixed bug 3378 ("inadequate permissions" message when the
      	permissions were in fact adequate)
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_denies_access_permission):
      	Check for supplemental group permissions also. Thanks to
      	Martin Norback <d95mback@dtek.chalmers.se> for submitting
      	this patch.
      
      	* src/nautilus-shell-ui.xml: Reworded the tip for the
      	"Backgrounds and Emblems" menu item to not mention the
      	phrase "Property Browser"
      21fd1534
    • Martin Norback's avatar
      update · 9c84ad37
      Martin Norback authored
      9c84ad37
    • Valek Frob's avatar
      Updated russian translation. · 227f1ac2
      Valek Frob authored
      227f1ac2
    • Robey Pointer's avatar
      Move all GTK hackery into its own file (there are getting to be a lot of · 025ead48
      Robey Pointer authored
      	* nautilus-installer/src/Makefile.am:
      	* nautilus-installer/src/gtk-hackery.c:
      	* nautilus-installer/src/package-tree.c:
      	* nautilus-installer/src/installer.h:
      	* nautilus-installer/src/installer.c: (create_install_page),
      	(add_bullet_point_to_vbox), (jump_to_error_page),
      	(insert_info_page), (create_finish_page_good), (create_window),
      	(eazel_install_preflight), (eazel_installer_add_category),
      	(more_check_system), (draw_splash_text), (find_old_tmpdir),
      	(eazel_installer_initialize):
      	* nautilus-installer/src/link.sh:
      
      	Move all GTK hackery into its own file (there are getting to be a
      	lot of these, sadly).  Fix the installer to use the new package
      	system for now, though it will need to continue to change.  Add a
      	new page for customizing the package tree, and temporarily make it
      	mandatory.
      025ead48
    • Robey Pointer's avatar
      Don't try to open a user-specific rpmdb in slim mode. · 61c41774
      Robey Pointer authored
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_initialize):
      
      	Don't try to open a user-specific rpmdb in slim mode.
      
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_load_implementation):
      	* components/services/install/lib/eazel-package-system.h:
      
      	Allow direct linking with a package system in slim mode (so that
      	the bootstrap installer can be built linked statically against the
      	rpm3 package system).
      
      	* components/services/install/lib/makefile.staticlib.in:
      
      	Include different parts of the package system in the slim
      	version.  Eventually we're going to have to make this a little
      	more flexible to allow for building an rpm3 vs. rpm4 slim library.
      61c41774
    • Robey Pointer's avatar
      Fix some of the RPM descriptions and summaries so they're not · c1d6b7ca
      Robey Pointer authored
      	quite so wrong or vague.
      c1d6b7ca
    • Maciej Stachowiak's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · bb191981
      Maciej Stachowiak authored
      	* src/nautilus-profiler.c (dump_dialog_new): Replace call to the
      	obsolete `nautilus_gtk_extensions_set_up_close_accelerator' with a
      	call to `nautilus_gtk_window_set_up_close_accelerator', so the
      	profile build works.
      bb191981
    • Andy Hertzfeld's avatar
      gave Arlo the ability to control the sidebar text color for his new · ae59913c
      Andy Hertzfeld authored
      
      	* src/nautilus-sidebar-title.c:
      	(nautilus_sidebar_title_background_is_default),
      	(nautilus_sidebar_title_select_text_color):
      	gave Arlo the ability to control the sidebar text color for his new
      	sidebar by specifying the colors in the theme file.
      	* icons/eazel/eazel.xml:
      	specified the sidebar title text colors for the eazel theme
      
      	* src/nautilus-theme-selector.c: (make_theme_description):
      	fixed memory leak.
      ae59913c
    • Josh Barrow's avatar
      Make it actually use them again. A bit ago, Arlo (without a ChangeLog · 1045595d
      Josh Barrow authored
      
      2000-12-13  Josh Barrow  <josh@eazel.com>
      
          * icons/eazel/eazel.xml:
          Make it actually use them again.  A bit ago, Arlo (without a
          ChangeLog entry) checked in his new tabs, and accedently
          checked in the old eazel.xml file.
      1045595d
    • Arlo Rose's avatar
      Fixed incorrect images. · ad98b36a
      Arlo Rose authored
      
      Fixed incorrect images.
      ad98b36a
    • Josh Barrow's avatar
      reviewed by: <mjs@eazel.com> · 871ea0ac
      Josh Barrow authored
      
      2000-12-13  Josh Barrow  <josh@eazel.com>
      
          reviewed by: <mjs@eazel.com>
      
          * nautilus.spec.in:
      
          Update for Eazel theme sidebar pieces
      871ea0ac
    • Pavel Cisler's avatar
      reviewed by: Maciej Stachowiak <mjs@eazel.com> · 4fba1229
      Pavel Cisler authored
      2000-12-12  Pavel Cisler <pavel@eazel.com>
      
      	reviewed by: Maciej Stachowiak  <mjs@eazel.com>
      
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	(nautilus_gdk_window_bring_to_front):
      	Fix 5153: Make the call also handle showing iconified
      	windows.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_window_present):
      	Remove a FIXME.
      4fba1229
    • Josh Barrow's avatar
      Make it be nick when you update. · e7543e61
      Josh Barrow authored
      
      2000-12-13  Josh Barrow  <josh@eazel.com>
      
          * icons/eazel/sidebar_tab_pieces/.cvsignore:
      
          Make it be nick when you update.
      e7543e61
    • Josh Barrow's avatar
      Make everything work nicely. · b0b79003
      Josh Barrow authored
      
      2000-12-13  Josh Barrow  <josh@eazel.com>
      
          * configure.in:
          * icons/eazel/Makefile.am:
          * icons/eazel/sidebar_tab_pieces/Makefile.am:
      
          Make everything work nicely.
      b0b79003
    • Arlo Rose's avatar
      Added pieces for Eazel theme side bar tabs · 7dc85712
      Arlo Rose authored
      
      Added pieces for Eazel theme side bar tabs
      7dc85712
    • Eskil Heyn Olsen's avatar
      eh, I can't paste! not even shit-ins works! ack. · 02fbc1f7
      Eskil Heyn Olsen authored
      ah well, more rpm4 query joy, only need requires and substr.
      02fbc1f7
    • Gene Z. Ragan's avatar
      Fixed silly bug involving the new Sound Busy dialog. It now uses the · eb286929
      Gene Z. Ragan authored
      2000-12-12  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed silly bug involving the new Sound Busy dialog.
      	It now uses the proper routines to check the status of the
      	sound hardware.
      
      	* components/music/mpg123.c: (mpg123_stop), (mpg123_seek):
      	* components/music/nautilus-music-view.c: (play_current_file),
      	(go_to_next_track), (go_to_previous_track):
      eb286929
    • Arlo Rose's avatar
      Fixed corner radius in the selection. The incorrect radius was due to a · 906ed5e2
      Arlo Rose authored
      
              * icons/text-selection-frame.png:
              Fixed corner radius in the selection.
              The incorrect radius was due to a change in the way
              the image was being rendered.
      906ed5e2
    • Christian Rose's avatar
      Updated Swedish translation. · 460c9b10
      Christian Rose authored
      460c9b10