1. 04 Nov, 2001 1 commit
    • Darin Adler's avatar
      Many files. Update for change in Eel boilerplate macro names. · c9109022
      Darin Adler authored
      	* Many files.
      	Update for change in Eel boilerplate macro names.
      
      	* src/nautilus-application.c: (nautilus_application_startup):
      	GtkObject -> GObject.
      	* src/nautilus-shell.c: (nautilus_shell_class_init), (finalize),
      	(nautilus_shell_new):
      	GtkObject -> GObject.
      c9109022
  2. 03 Nov, 2001 2 commits
  3. 02 Nov, 2001 5 commits
    • Darin Adler's avatar
      Get rid of use of gnome_vfs_uri_get_basename. Not sure if I fixed this · fc05ed20
      Darin Adler authored
      	* src/nautilus-location-bar.c: (try_to_expand_path): Get rid of
      	use of gnome_vfs_uri_get_basename. Not sure if I fixed this
      	right. This could have been the one caller who really wanted a
      	basename-type call.
      fc05ed20
    • Havoc Pennington's avatar
      remove GtkText workaround (I'm also checking in a fix for the bug being · c91bb9d1
      Havoc Pennington authored
      2001-11-01  Havoc Pennington  <hp@pobox.com>
      
      	* libnautilus/nautilus-clipboard.c (select_all): remove GtkText
      	workaround (I'm also checking in a fix for the bug being worked
      	around)
      
      	* libnautilus-private/nautilus-bookmark.c
      	(nautilus_bookmark_menu_item_new): replace some PixmapMenuItem
      	with ImageMenuItem
      
      	* src/file-manager/fm-directory-view.c
      	(set_script_environment_variables): use
      	eel_gtk_window_get_geometry_string
      
      	* src/nautilus-zoom-control.c: just nuke the draw method, it ain't
      	coming back
      
      	* src/nautilus-window.c (set_initial_window_geometry): remove
      	gtk_window_set_policy() that was useless, and replace set_usize
      	with set_size_request.
      	(nautilus_window_constructed): remove menu_bar_no_resize_hack, I
      	have no idea what GTK bug it's talking about, neither does the
      	referenced bug report say, but if we see it
      	again we'll fix it. (plus it says the bug is unsigned math,
      	and GTK 2 pretty much did a global s/uint/int/, especially
      	in the size request/alloc code)
      
      	* src/nautilus-desktop-window.c (realize): just remove the
      	gnome_win_hints stuff, as the FIXME says, it's dead.
      	(realize): remove the set_decorations, set_functions, and
      	the move_resize, all cruft
      	(nautilus_desktop_window_init): simplify some cruft in here
      
      	* src/nautilus-bookmarks-window.c
      	(nautilus_bookmarks_window_save_geometry):
      	use eel_gtk_window_get_geometry_string
      
      	* src/nautilus-window.c (nautilus_window_save_geometry): ditto
      c91bb9d1
    • Darin Adler's avatar
      More changes to make Nautilus get closer to running. · 9ab32f9c
      Darin Adler authored
      	* libnautilus-private/nautilus-bonobo-extensions.h: Remove
      	NAUTILUS_BONOBO_X_BOILERPLATE, superceded by EEL_DEFINE_
      	BONOBO_BOILERPLATE
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-undo-context.c:
      	* libnautilus/nautilus-undo-transaction.c:
      	Same fixes Havoc did, formatted differently.
      
      	* libnautilus-private/nautilus-undo-manager.c: (corba_append),
      	(corba_forget), (corba_undo), (nautilus_undo_manager_new),
      	(finalize), (nautilus_undo_manager_class_init):
      	GtkObject -> GObject fixes. bonobo_object_from_servant fixes.
      
      	* nautilus-clean.sh: Not sure if we still need this, but
      	change gconfd-1 to gconfd-2 and oafd to bonobo-activation-server.
      
      	* nautilus.spec.in: Some updates, not sure if they are right.
      
      	* src/nautilus-application.c: (nautilus_application_new),
      	(nautilus_application_finalize), (nautilus_application_class_init):
      	GtkObject -> GObject fixes.
      
      	* src/nautilus-main.c: (main): Use gnome_program_init.
      
      	* src/Makefile.am: Define a bunch more stuff used by
      	GNOME_PROGRAM_STANDARD_PROPERTIES.
      9ab32f9c
    • Havoc Pennington's avatar
      fix EEL_DEFINE_BONOBO_BOILERPLATE call · 408dcac2
      Havoc Pennington authored
      2001-11-01  Havoc Pennington  <hp@pobox.com>
      
      	* src/nautilus-view-frame-corba.c: fix
      	EEL_DEFINE_BONOBO_BOILERPLATE call
      
      	* src/nautilus-property-browser.c
      	(nautilus_property_browser_init): mnemonics
      
      	* src/nautilus-complex-search-bar.c
      	(attach_criterion_to_search_bar): use gtk_widget_activate instead
      	of eel_gtk_button_auto_click
      
      	* src/nautilus-simple-search-bar.c
      	(nautilus_simple_search_bar_new): ditto
      
      	* src/nautilus-sidebar.c (nautilus_sidebar_update_buttons):
      	remove eel_gtk_button_set_standard_padding, add mnemonic to
      	button
      
      	* src/nautilus-bookmarks-window.c (create_bookmarks_window):
      	remove eel_gtk_button_set_standard_padding, add mnemonic to
      	button
      
      	* src/file-manager/fm-properties-window.c (create_basic_page):
      	remove eel_gtk_button_set_standard_padding, add mnemonics to
      	buttons
      
      	* src/file-manager/fm-directory-view.c (copy_or_cut_files): remove
      	use of eel_get_current_event_time()
      	(paste_files_callback): ditto
      
      	* Makefile.am (SUBDIRS): cut-n-paste-code seems to be required by
      	libnautilus-private, so move it before libnautilus-private
      
      	* libnautilus-private/nautilus-undo-manager.c: fix
      	EEL_DEFINE_BONOBO_BOILERPLATE call
      
      	* libnautilus-private/nautilus-undo-context.c: fix
      	EEL_DEFINE_BONOBO_BOILERPLATE call
      
      	* libnautilus-private/nautilus-program-chooser.c
      	(nautilus_program_chooser_new): axe
      	eel_gtk_button_set_standard_padding, add mnemonic to button
      	(nautilus_program_chooser_new): axe
      	eel_gtk_button_set_standard_padding, add mnemonic to button
      
      	* libnautilus-private/nautilus-metafile.c: fix
      	EEL_DEFINE_BONOBO_BOILERPLATE call
      
      	* libnautilus-private/nautilus-metafile-factory.c: fix
      	EEL_DEFINE_BONOBO_BOILERPLATE call
      
      	* libnautilus-private/nautilus-icon-dnd.c
      	(nautilus_icon_dnd_begin_drag): replace eel_drag_set_icon_pixbuf
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.c: fix
      	EEL_DEFINE_BONOBO_BOILERPLATE call
      
      	* libnautilus/nautilus-undo-transaction.c: fix
      	EEL_DEFINE_BONOBO_BOILERPLATE call
      408dcac2
    • Andraz Tori's avatar
      Updated Slovenian translation · 6a180863
      Andraz Tori authored
      6a180863
  4. 01 Nov, 2001 4 commits
  5. 31 Oct, 2001 1 commit
  6. 30 Oct, 2001 4 commits
  7. 29 Oct, 2001 1 commit
    • Darin Adler's avatar
      Locate glib-genmarshal. · 93359a3e
      Darin Adler authored
      	* configure.in: Locate glib-genmarshal.
      	* libnautilus-private/.cvsignore:
      	* libnautilus-private/Makefile.am:
      	* libnautilus-private/nautilus-marshal.list:
      	* src/nautilus-view-frame.c: (nautilus_view_frame_class_init):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_class_init):
      	Add marshalers used inside Nautilus only.
      
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_class_init):
      
      	* libnautilus-private/nautilus-horizontal-splitter.c:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	* libnautilus-private/nautilus-icon-text-item.h:
      	Put code in #if GNOME2_CONVERSION_COMPLETE.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(set_pending_icon_to_reveal), (nautilus_icon_container_class_init),
      	(nautilus_icon_container_init), (set_pending_icon_to_rename):
      	Convert signal-handling code.
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	(get_data_on_first_target_we_support): Update for GdkAtom changes.
      	(confirm_switch_to_manual_layout): Switch to GtkDialog.
      93359a3e
  8. 28 Oct, 2001 1 commit
  9. 24 Oct, 2001 4 commits
  10. 22 Oct, 2001 1 commit
  11. 21 Oct, 2001 1 commit
    • Benedikt Roth's avatar
      Use the localized string · ddebdf1e
      Benedikt Roth authored
      2001-10-21  Benedikt Roth  <Benedikt.Roth@gmx.net>
      
      	* libnautilus-private/nautilus-link-desktop-file.c:
      	(nautilus_link_desktop_file_get_link_name_from_desktop):
      	Use the localized string
      
      === nautilus 1.0.5 ===
      ddebdf1e
  12. 20 Oct, 2001 2 commits
  13. 19 Oct, 2001 3 commits
  14. 18 Oct, 2001 1 commit
    • Darin Adler's avatar
      Fixed a bunch of bugs that were causing directory display to be · 5d691d77
      Darin Adler authored
      	even slower than it ought to be. The hysteresis wasn't working at
      	all because of the confusion about when files were ready for
      	display. Also changed hysteresis to 1 second and file chunk to 300
      	files instead of 100.
      
      	* libnautilus-private/nautilus-directory-async.c:
      	(link_info_gmc_link_read_callback): Fix function so it uses the
      	actual URI, not the thing that starts with URL. The old way it
      	was always failing to read. There were some other backwards if
      	statements in here too.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize): Create "non-ready files" hash.
      	(fm_directory_view_destroy): Destroy it.
      	(real_file_still_belongs): Move this here from FMListView.
      	(still_should_show_file): New function, used to decide whether to
      	keep a file in the window or not.
      	(ready_to_load): New function, used to decide whether a file is
      	ready enough to show in the window.
      	(process_new_files): Move files from the "new files" lists to the
      	"old files" lists, filtering out ones that are not ready to load
      	and putting those into the "non-ready files" hash. Also sort the
      	added files so the ones that show up at the top are the first to
      	be added.
      	(split_off_first_n): Renamed to eliminate the "g" namespace.
      	(process_old_files): The guts of what used to be in
      	display_pending_files. Now we use a separate signal for remove
      	instead of just reusing the changed signal.
      	(display_pending_files): We're not done loading until all the
      	"non-ready files" are ready. Also reverse the sense of the return
      	value, so it returns TRUE if there is more work to do.
      	(display_pending_idle_callback): Don't zero out the idle ID if we
      	are going to return TRUE.
      	(display_pending_timeout_callback): If there are more files than
      	we can handle, do the remainder at idle time, not in another
      	timeout.
      	(schedule_idle_display_of_pending_files): Lower the priority so we
      	are more likely to get canvas updates between idles.
      	(done_loading_callback): We're not done until there are no
      	"non-ready files" left.
      	(fm_directory_view_queue_file_change): Tiny optimization.
      	(unref_key_and_remove): Helper function for clearing out the
      	"non-ready files" hash.
      	(fm_directory_view_stop): Clear out the 4 lists and the hash (it
      	used to just be 2 lists).
      	(real_sort_files): Default implementation, doesn't sort.
      	(fm_directory_view_initialize_class): Various new methods.
      
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_add_file): Do
      	less work, since the rules about which files should be shown and
      	which files are ready to be seen are now in FMDirectoryView.
      	(fm_icon_view_remove_file): New function.
      	(fm_icon_view_file_changed): Do way less work, since
      	FMDirectoryView does the heavy lifting now.
      	(play_file), (preview_audio): Some rudimentary fixes, still seems
      	to be broken.
      	(compare_files): New function.
      	(compare_files_cover): New function.
      	(fm_icon_view_sort_files): If automatic layout is on, sort the
      	files on their way in so the first ones displayed are the top left
      	ones.
      	(icon_container_compare_icons_callback): Share code by using the
      	new compare_files function.
      	(fm_icon_view_initialize_class): Various new methods.
      
      	* src/file-manager/fm-list-view.h:
      	* src/file-manager/fm-list-view.c:
      	(fm_list_view_initialize_class): Various new methods.
      	(fm_list_view_add_file): Do less work, since the rules about which
      	files should be shown and which files are ready to be seen are now
      	in FMDirectoryView.
      	(fm_list_view_file_changed): Do way less work, since
      	FMDirectoryView does the heavy lifting now.
      	(fm_list_view_remove_file): New function.
      	(fm_list_view_sort_files): This replaces the old override of
      	display_pending_files.
      
      	* src/file-manager/fm-search-list-view.c:
      	(fm_search_list_view_initialize_class): The file_still_belongs
      	method moved to FMDirectoryView.
      5d691d77
  15. 16 Oct, 2001 1 commit
    • Darin Adler's avatar
      Switch to require Mozilla 0.9.5 -- sadly this means we are · a59af0bc
      Darin Adler authored
      	now incompatible with any older verion. Thanks to frb@ximian.com
      	for his patch and help making it compile with 0.9.5.
      
      	* README: Tell people 0.9.5 is needed.
      	* configure.in: Various cleanup, and ask for 0.9.5.
      	* components/mozilla/mozilla-events.cpp:
      	* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
      	Work around gcc bug with the directory named string. Switch to use
      	new calls in cases where the old ones are gone.
      a59af0bc
  16. 13 Oct, 2001 2 commits
  17. 12 Oct, 2001 2 commits
  18. 11 Oct, 2001 4 commits