1. 11 Sep, 2001 1 commit
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · ede19226
      Alexander Larsson authored
      2001-09-05  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* eazel-logos/default.xml:
      	* icons/default.xml:
      	don't hardcode the title, title info, and
      	shadow colors; this prevented the auto-color-selection stuff
      	in nautilus-sidebar-title.c from working properly.
      	And the hardcoded values were the same thing the autoselector
      	would have chosen anyhow.
      
      	* libnautilus-private/nautilus-monitor.c:
      	Don't monitor files on read only volumes, they never change, and
      	will keep cdroms from being unmounted because fam has open file
      	descriptors on them.
      
      	* libnautilus-private/nautilus-thumbnails.c:
      	Always look for local thumbnails first.
      
      	* libnautilus-private/nautilus-volume-monitor.[ch]:
      	Add nautilus_volume_is_read_only() and
      	nautilus_volume_monitor_get_volume_for_path()
      
      	* src/nautilus-desktop-window.c:
      	(set_wmspec_desktop_hint): function to set _NET_WM_WINDOW_TYPE, to
      	avoid confusing kwin so badly, and also to go ahead and support
      	the Window Manager Hints Of The Future.
      	(set_gdk_window_background): only set root background to a pixel
      	if we retrieved a pixel property
      	(map): Set background of our child widgets in addition to our
      	own background. This gets rid of the last of the ugliness during
      	Nautilus startup, I believe.
      
      	* src/file-manager/fm-icon-view.c:
      	Don't read GMC position meta data -- it is never right for nautilus,
      	due to different size icons, additional icons, different placement
      	policies, so falling back to normal automatic placement works better.
      ede19226
  2. 10 Sep, 2001 1 commit
  3. 08 Sep, 2001 2 commits
  4. 07 Sep, 2001 2 commits
    • Kwok-Koon Cheung's avatar
      Usual update. · 0639c93d
      Kwok-Koon Cheung authored
      0639c93d
    • Owen Taylor's avatar
      Fix bug where the mount list was stored without full mount names. Don't · a06d3386
      Owen Taylor authored
      2001-09-06  Owen Taylor  <otaylor@redhat.com>
      
              * libnautilus-private/nautilus-volume-monitor.c (verify_current_mount_state):
              Fix bug where the mount list was stored without full mount
              names. Don't call mount_volume_make_name() on volumes that
              might not be on the system any more. Remove code that
              (unsuccesfully) tried to fix the old volume names up, since
              we now have the correct old volume names.
      
              Effect of these changes is to fix a race condition where
              'unmount /mnt/cdrom; eject /dev/cdrom' would leave a left-over
              icon on the deskop.
      a06d3386
  5. 05 Sep, 2001 2 commits
    • Maciej Stachowiak's avatar
      Converted to use the new module callback API. Use async callbacks instead · ab37e3b8
      Maciej Stachowiak authored
      	* libnautilus-private/nautilus-authn-manager.c:
      	(construct_password_dialog,
      	present_authentication_dialog_blocking, mark_callback_completed,
      	authentication_dialog_button_clicked,
      	present_authentication_dialog_nonblocking,
      	vfs_async_authentication_callback, vfs_authentication_callback,
      	nautilus_authentication_manager_initialize): Converted to use the
      	new module callback API. Use async callbacks instead of our own
      	mechanism to achieve the same effect.
      ab37e3b8
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · 47a2fa6e
      Alexander Larsson authored
      2001-09-04  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* libnautilus-private/nautilus-file-utilities.[ch]
      	(nautilus_user_main_directory_exists, nautilus_get_user_main_directory):
      	Get rid of these. No more ~/Nautilus
      
      	* libnautilus-private/nautilus-global-preferences.c:
      	(default_home_location_callback): Always use your normal homedir
      	as the home dir.
      
      	* src/nautilus-application.c (check_required_directories): Don't
      	create ~/Nautilus.
      	(create_starthere_link_callback, nautilus_application_startup):
      	Create a start here icon on the desktop.
      	Turn of first time druid (by setting first time flag).
      	(nautilus_application_startup, check_for_kdesktop, look_for_kdesktop_recursive,
      	has_wm_state, get_self_typed_prop)
      	Don't manage the desktop if kdesktop is running.
      
      	* src/nautilus-first-time-druid.[ch]:
      	Remove ~/Nautilus handling.
      	s/druid_set_first_time_file_flag/nautilus_set_first_time_file_flag/
      
      	* src/nautilus-shell-ui.xml:
      	* src/nautilus-window-menus.c:
      	Add start here to the go menu. Remove leftovers of the "support" menuimem.
      
      	* src/file-manager/fm-directory-view.c:
      	Move scripts to ~/.gnome/nautilus-scripts
      
      	* Makefile.am:
      	Add starthere icons
      
      	* data/Makefile.am:
      	* data/*.desktop.in:
      	* data/*.directory.in:
      	Add starthere desktop files.
      47a2fa6e
  6. 04 Sep, 2001 2 commits
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · a4cea258
      Alexander Larsson authored
      2001-09-04  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	Change signature of the "handle_uri_list" callback to include the
      	drag action.
      
      	* src/file-manager/fm-icon-view.c (icon_view_handle_uri_list):
      	Handle uri's more gracefully.
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(icon_view_handle_uri_list): Remove.  Now handled in the
      	parent class.
      a4cea258
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · c113f3a2
      Alexander Larsson authored
      2001-09-03  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* components/mozilla/nautilus-mozilla-embed-extensions.cpp
      	(mozilla_get_document_title): add this from Galeon
      
      	* components/mozilla/nautilus-mozilla-embed-extensions.cpp
      	(mozilla_unicode_to_locale): copy code from Galeon to use Mozilla
      	conversion features to convert unicode to locale encoding
      
      	* components/mozilla/nautilus-mozilla-content-view.c
      	(mozilla_title_changed_callback): set title in locale encoding
      
      	* libnautilus-private/nautilus-directory-metafile.c
      	(get_metafile): print error and exit if we fail to open the
      	metafile factory; somewhat cleaner than segfaulting.
      
      	* libnautilus-private/nautilus-file.c:
      	Cache user information to avoid many getpwuid calls etc.
      
      	* src/nautilus-complex-search-bar.c (load_find_them_pixmap_widget):
      	Don't leak pixmap and mask.
      
      	* libnautilus-private/nautilus-icon-container.c (lay_down_icons_tblr):
      	64bit clean. Use sizeof (int *), not sizeof (int).
      
      
      	* Makefile.am, nautilus-help.desktop.in: Add a help icon that uses
      	Nautilus
      
      	* components/help/help-method.c (help_name_to_local_path):
      	handle ghelp:toc to go to the default page gnome-help-browser used
      	to go to. kind of a lame hack, but so is this whole vfs module ;-)
      c113f3a2
  7. 03 Sep, 2001 1 commit
  8. 02 Sep, 2001 1 commit
    • Maciej Stachowiak's avatar
      Replace authn with authentication throughout. · 3dfb1edf
      Maciej Stachowiak authored
      	* libnautilus-private/nautilus-authn-manager.h,
      	libnautilus-private/nautilus-authn-manager.c:
      	(construct_password_dialog),
      	(present_authentication_dialog_blocking),
      	(authentication_dialog_button_clicked),
      	(authentication_dialog_closed), (authentication_dialog_destroyed),
      	(present_authentication_dialog_nonblocking),
      	(run_authentication_dialog_on_main_thread),
      	(vfs_authentication_callback),
      	(nautilus_authentication_manager_initialize):
      
      	Replace authn with authentication throughout.
      
      	* src/nautilus-application.c (finish_startup): Adjust to rename.
      
      	* RENAMING: Suggest renaming nautilus-authn-manager to
      	nautillus-authentication-manager.c
      3dfb1edf
  9. 01 Sep, 2001 3 commits
  10. 31 Aug, 2001 7 commits
    • Darin Adler's avatar
      Don't link in the libnautilus-private library for components that don't · 0e323670
      Darin Adler authored
      	* components/adapter/Makefile.am:
      	* components/image-viewer/Makefile.am:
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	Don't link in the libnautilus-private library for components that
      	don't use it.
      	* components/sample/Makefile.am: Pretty up the sample a bit.
      	Don't link with GConf since we're not using it directly.
      
      	* components/shell/shell.oafinfo: Remove this obsolete file.
      
      	* components/news/nautilus-news.c: (draw_rss_items): Fix a leak
      	by unref'ing the text layout object instead of just destroying it.
      	* src/nautilus-complex-search-bar.c:
      	(search_bar_criterion_type_changed_callback): Fix leak of the
      	criterion object by sinking it instead of destroying it. The
      	criterion object seems to be a widget that's never used as one.
      	It should be a GtkObject instead.
      
      	* src/nautilus-location-bar.c:
      	(nautilus_location_bar_set_location): Simplified code a bit by
      	getting rid of special cases for NULL.
      0e323670
    • Wang Jian's avatar
      *** empty log message *** · 579b34d6
      Wang Jian authored
      579b34d6
    • Wang Jian's avatar
      *** empty log message *** · ba91c8e8
      Wang Jian authored
      ba91c8e8
    • Yukihiro Nakai's avatar
      Update Japanese translation. · 19385a48
      Yukihiro Nakai authored
      19385a48
    • Kwok-Koon Cheung's avatar
    • Akira TAGOH's avatar
      Updated Japanese translation. · 26b2e8c5
      Akira TAGOH authored
      2001-08-31  Akira TAGOH  <tagoh@gnome.gr.jp>
      
      	* ja.po: Updated Japanese translation.
      
      2001-08-29  Wang Jian  <lark@linux.net.cn>
      
      	* zh_CN.GB2312.po: Translation update.
      
      2001-08-27  Ole Laursen  <olau@hardworking.dk>
      26b2e8c5
    • Darin Adler's avatar
      Add workaround for gnome-metadata bug that was causing a stat and mkdir of · beaa4d8d
      Darin Adler authored
      	* src/nautilus-main.c: (main): Add workaround for gnome-metadata bug
      	that was causing a stat and mkdir of NULL. (Yoann helped me find this).
      
      	* src/nautilus-window-manage-views.c: (update_title): Fix code that
      	was freeing the title and then using it afterward. (Yoann helped me
      	find this).
      
      	* src/nautilus-window.c: (refresh_stored_viewers): Fix code so that
      	it uses g_list_prepend and g_list_reverse instead of using
      	g_list_append, which is a bad habit.
      beaa4d8d
  11. 30 Aug, 2001 1 commit
  12. 29 Aug, 2001 2 commits
  13. 28 Aug, 2001 3 commits
    • Darin Adler's avatar
      Fix unused variable and expression warnings, and fix to match Nautilus · f0b87856
      Darin Adler authored
      	* components/help/hyperbola-filefmt.c: (get_locale_score),
      	(locale_score): Fix unused variable and expression warnings, and
      	fix to match Nautilus coding style.
      f0b87856
    • Vandoorselaere Yoann's avatar
      avoid un-needed string copy. · 11964ca1
      Vandoorselaere Yoann authored
      
              * libnautilus-private/nautilus-link.c (nautilus_link_local_get_image_uri):         avoid un-needed string copy.
      
              * components/help/hyperbola-filefmt.c (locale_score):
              free return of xmlGetProp on return. Do not use a char pointer
              to point on the returned value, use an xmlChar pointer.
      
              * libnautilus-private/nautilus-link.c (nautilus_link_local_get_link_type):         Free the value returned by local_get_root_property.
      11964ca1
    • Seth Nickell's avatar
      reviewed by: Maciej · c1475cb1
      Seth Nickell authored
      2001-08-27  Seth Nickell  <snickell@stanford.edu>
      
      	reviewed by: Maciej
      
      	* libnautilus-private/nautilus-link.c: (local_set_root_property):
      
      	change a const char * to an xmlChar *, since its being assigned
      	a newly allocated xml property and promptly freed (and hence isn't
      	being treated as a const at all).
      c1475cb1
  14. 27 Aug, 2001 2 commits
    • Vandoorselaere Yoann's avatar
      Don't leak a GtkBox. · 93d89f33
      Vandoorselaere Yoann authored
      
              * src/nautilus-switchable-search-bar.c (nautilus_switchable_search_bar_new):
              Don't leak a GtkBox.
      
              * src/nautilus-complex-search-bar.c (load_find_them_pixmap_widget):
              Do not check pixmap, check pixbuf. This also fix a leak.
      
              * libnautilus-private/nautilus-link.c (local_set_root_property):
              Fix a leak of the xmlProp returned data.
      93d89f33
    • Darin Adler's avatar
      Define VERSION for the preprocessor. · c4c8dd3b
      Darin Adler authored
      	* helper-utilities/error-dialog/Makefile.am:
      	Define VERSION for the preprocessor.
      c4c8dd3b
  15. 26 Aug, 2001 4 commits
    • Ole Laursen's avatar
      Updated Danish translation. · bdab7573
      Ole Laursen authored
      2001-08-27  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      bdab7573
    • Kwok-Koon Cheung's avatar
      Fixed ro and zh_CN translation. · ffeecefd
      Kwok-Koon Cheung authored
      ffeecefd
    • Darin Adler's avatar
      Some makefile cleanup. · 4599ec3e
      Darin Adler authored
      	* Makefile.am: Don't build intl since we don't need it the way we
      	use gettext.
      	* applets/launcher/Makefile.am: Remove redundant -I$(srcdir).
      	* applets/preferences-applet/Makefile.am: Remove redundant
      	-I$(srcdir).
      	* components/adapter/Makefile.am: Remove redundant -I.
      	* components/mozilla/Makefile.am: Mark private headers as SOURCES,
      	not noinst_HEADERS, as suggested by automake book and manual.
      	* components/news/Makefile.am: Remove unneeded
      	-I$(top_srcdir)/components/news.
      	* configure.in: Don't build intl since we don't need it the way we
      	use gettext.
      	* libnautilus-adapter/Makefile.am: Remove redundant -I.
      	* libnautilus-private/Makefile.am: Change -I for new
      	cut-n-paste-code scheme. Also mark private headers as SOURCES, not
      	noinst_HEADERS, as suggested by automake book and manual.
      	* libnautilus/Makefile.am: Remove redundant -I.
      	* src/Makefile.am: Change -I for new cut-n-paste-code scheme. Also
      	mark private headers as SOURCES, not noinst_HEADERS, as suggested
      	by automake book and manual.
      	* src/file-manager/Makefile.am: Mark private headers as SOURCES,
      	not noinst_HEADERS, as suggested by automake book and manual.
      
      	* check-THANKS.pl: Change Seth's preferred email address.
      
      	* cut-n-paste-code/widgets/e-paned/Makefile.am:
      	* cut-n-paste-code/widgets/gimphwrapbox/Makefile.am:
      	Don't use -static, since we plan to link
      	Remove unneeded -I directives now that we handle includes
      	differently. Also mark private headers as SOURCES, not
      	noinst_HEADERS, as suggested by automake book and manual.
      
      	* cut-n-paste-code/widgets/e-paned/e-hpaned.h:
      	* cut-n-paste-code/widgets/e-paned/e-vpaned.h:
      	* libnautilus-private/nautilus-horizontal-splitter.h:
      	* src/nautilus-complex-search-bar.c:
      	* src/nautilus-search-bar-criterion.c:
      	Simpler include scheme for cut-n-paste code.
      4599ec3e
    • Darin Adler's avatar
      Remove many unneeded -I directives. · 64636b6a
      Darin Adler authored
      	* gnome-db2html2/Makefile.am:
      	* gnome-db2html3/Makefile.am:
      	* gnome-info2html2/Makefile.am:
      	* gnome-man2html2/Makefile.am:
      	Remove many unneeded -I directives.
      64636b6a
  16. 25 Aug, 2001 1 commit
  17. 24 Aug, 2001 4 commits
    • Darin Adler's avatar
      Some new FIXMEs for I/O that's done at bad times -- these could contribute · d0b6b683
      Darin Adler authored
      	* libnautilus-private/nautilus-file.c:
      	(is_special_desktop_gmc_file), (nautilus_file_get_name):
      	Some new FIXMEs for I/O that's done at bad times -- these could
      	contribute to the performance problems that Alan Cox reported.
      d0b6b683
    • Darin Adler's avatar
      Separate this from the code to create the scripts directory. · 6ac5db4f
      Darin Adler authored
      	* src/file-manager/fm-directory-view.c:
      	(set_up_scripts_directory_global): Separate this from the code to
      	create the scripts directory.
      	(create_scripts_directory): New function.
      	(fm_directory_view_initialize): Use set_up_scripts_directory_global.
      	(open_scripts_folder_callback): Use create_scripts_directory.
      6ac5db4f
    • Darin Adler's avatar
      Added support for nested directories inside the scripts directory, · d31bf8d6
      Darin Adler authored
      	starting with a patch by David Emory Watson <dwatson@cs.ucr.edu>.
      
      	* src/file-manager/fm-directory-view.c: (get_scripts_directory):
      	Keep the scripts directory URI and string length in a global
      	variable.
      	(add_scripts_directory): New function, replaces
      	connect_script_handlers. Refs the directory, puts it on the
      	scripts directory list, and monitors more attributes than before.
      	(fm_directory_view_initialize): Use add_scripts_directory instead
      	of connect_script_handlers.
      	(fm_directory_view_destroy): Use remove_scripts_directory on the
      	entire list instead of disconnect_script_handlers.
      	(add_submenu): New function.
      	(add_script_to_script_menus): Change name, pass in path.
      	(add_submenu_to_script_menus): New function.
      	(directory_belongs_in_scripts_menu): New function.
      	(add_directory_to_scripts_directory_list): New function, high
      	level call used to turn a NautilusFile into a NautilusDirectory
      	and call add_scripts_directory.
      	(update_directory_in_scripts_menu): New function.
      	(update_scripts_menu): New function, replaces reset_scripts_menu
      	and uses new nautilus_directory_get_files_list rather than
      	nautilus_directory_call_when_ready.
      	(open_scripts_folder_callback): Use new global variable instead
      	of calling get_scripts_directory.
      	(real_update_menus): Call update_scripts_menu instead of
      	schedule_reset_scripts_menu.
      	(remove_scripts_directory): New function, replaces
      	disconnect_script_handlers. Removes the directory from the scripts
      	directory list and unrefs it after disconnecting handlers.
      
      	* libnautilus-private/nautilus-directory.h:
      	* libnautilus-private/nautilus-directory.c: (is_tentative): Moved
      	from nautilus-directory-async.c.
      	(nautilus_directory_get_file_list): New, made from formerly-
      	private get_non_tentative_file_list in nautilus-directory-async.c.
      	(nautilus_directory_list_ref): New.
      	(nautilus_directory_list_unref): New.
      	(nautilus_directory_list_free): New.
      	(nautilus_directory_list_copy): New.
      	(compare_by_uri), (compare_by_uri_cover),
      	(nautilus_directory_list_sort_by_uri): New. Sorrts directories by
      	URI, parents before children, and children sorted as if by
      	nautilus_file_list_sort_by_name.
      	* libnautilus-private/nautilus-directory-async.c:
      	(nautilus_directory_monitor_add_internal), (ready_callback_call):
      	Use nautilus_directory_get_file_list instead of
      	get_non_tentative_file_list.
      d31bf8d6
    • Ramiro Estrugo's avatar
      No longer need to check that we want to kill the nautilus shell before · e2341ed5
      Ramiro Estrugo authored
      	* src/nautilus-main.c: (main):
      	No longer need to check that we want to kill the nautilus shell
      	before initializing preferences.  I used to do this because of the
      	way visibilities and defaults were stored using gconf - which led
      	to problems about too early initialization for gconf.   It also
      	happens that some desktop prefernece checking code was just added
      	for a situation when the nautilus shell is about to be killed.
      	That was causing criticals, so thats the end of this now uneeded
      	check.
      e2341ed5
  18. 23 Aug, 2001 1 commit