1. 13 Mar, 2000 2 commits
    • Ramiro Estrugo's avatar
      libnautilus/nautilus-global-preferences.c, Add a table of meta view iids · e58c19a4
      Ramiro Estrugo authored
      * libnautilus/nautilus-global-preferences.c,
      * libnautilus/nautilus-global-preferences.h:
      (nautilus_global_preferences_get_meta_view_iids) Add a table of
      meta view iids and a function to retrieve them.  This is a hack
      until we have better runtime detection of components.
      Add some better defaults for which meta views are shown.  By
      default none were shown.  Undo a previous gnome_config default
      hack.  There is now a better fix in place in the prefs code.
      
      * nautilus-widgets/nautilus-preferences.c:
      (nautilus_preferences_make_gnome_config_string) A new function to
      make a string as expected by gnome_config with a trailing default
      value.  Use this string to fetch the value of the preferences.
      
      * src/Makefile.am,
      src/ntl-prefs.c,
      src/ntl-prefs.h,
      src/nautilus-window-menus.c,
      src/nautilus.h:
      Retire ntl-prefs.c and ntl-prefs.h.  Remove these 2 from build and
      all references to them.
      
      * src/ntl-app.c:
      (nautilus_app_startup, nautilus_app_destroy) No need to call
      retired ntl-prefs functions.
      
      * src/ntl-uri-map.c:
      (add_meta_view_iids_from_preferences): New function.  Factor out
      meta iid setup code into one place.  Replace the static meta iid
      setup code with something that looks in preferences to see which
      meta views are enabled.  Next step is to make the meta view
      respond to pref changes.
      e58c19a4
    • Ramiro Estrugo's avatar
  2. 12 Mar, 2000 17 commits
  3. 11 Mar, 2000 4 commits
    • Darin Adler's avatar
      Fixed typo that broke all hit testing except for rubber band selection! · 374870d5
      Darin Adler authored
      	* libnautilus/nautilus-icons-view-icon-item.c
      	(nautilus_icons_view_icon_item_point):
      	Fixed typo that broke all hit testing except for rubber band
      	selection! (Sorry.)
      
      	* libnautilus/gnome-icon-container-dnd.c
      	(set_gnome_icon_list_selection, set_uri_list_selection),
      	libnautilus/gnome-icon-container-private.h,
      	libnautilus/gnome-icon-container.h,
      	libnautilus/gnome-icon-container.c
      	(gnome_icon_container_get_icon_uri,
      	gnome_icon_container_initialize_class, gnome_icon_container_new,
      	update_icon, gnome_icon_container_update,
      	gnome_icon_container_request_update),
      	src/file-manager/fm-directory-view-icons.c (create_icon_container,
      	get_icon_images_cb, get_icon_uri_cb, get_icon_text_cb,
      	get_icon_property_cb): Change code that used to use a separate
      	controller object to just use signals on the icon container
      	instead.
      
      	* libnautilus/nautilus-gtk-extensions.h,
      	libnautilus/nautilus-gtk-extensions.c,
      	src/file-manager/fm-directory-view.c: Add new signal marshal
      	functions as needed and changed the name of one of the old
      	functions.
      
      	* libnautilus/Makefile.am,
      	libnautilus/nautilus-icons-controller.h,
      	libnautilus/nautilus-icons-controller.c,
      	src/file-manager/Makefile.am,
      	src/file-manager/fm-icons-controller.h,
      	src/file-manager/fm-icons-controller.c: Removed the old controller
      	object, it was a bad idea.
      374870d5
    • Ramiro Estrugo's avatar
      Fix dumbass typo. · 42b61c2e
      Ramiro Estrugo authored
      42b61c2e
    • Ramiro Estrugo's avatar
      src/Makefile.am Moved prefs things to nautilus-widgets. Use · 00f9035c
      Ramiro Estrugo authored
      	* src/Makefile.am
      	Moved prefs things to nautilus-widgets.
      	Use alphabetization technology on the source list.
      
      	* src/nautilus-global-preferences.c,
      	  src/nautilus-global-preferences.h:
      	New files that to deal with preferences that are
      	global to nautilus.
      
      	* src/nautilus-window-menus.c:
      	Use the new preferences dialog.
      
      	* src/ntl-window-state.c:
      	Go to a different home directory based on the user level.
      	Commented off until andy makes a nice default home directory
      	for novice users.
      
      	* src/nautilus-prefs-box.c
      	  src/nautilus-prefs-box.h,
      	  src/nautilus-prefs-dialog.c,
      	  src/nautilus-prefs-dialog.h,
      	  src/nautilus-prefs-group-check.c,
      	  src/nautilus-prefs-group-check.h,
      	  src/nautilus-prefs-group-radio.c,
      	  src/nautilus-prefs-group-radio.h,
      	  src/nautilus-prefs-group.c,
      	  src/nautilus-prefs-group.h,
      	  src/nautilus-prefs-pane.c,
      	  src/nautilus-prefs-pane.h,
      	  src/ntl-prefs.c,
      	  src/ntl-prefs.h:
      	Moved prefs widegtry things to nautilus-widgets.
      00f9035c
    • Ramiro Estrugo's avatar
      Moved all the preference widetry to nautilus-widgets. · b9488278
      Ramiro Estrugo authored
      Added a test program for preferences (not built).
      Renamed files to user "preference" instead of "prefs".
      b9488278
  4. 10 Mar, 2000 16 commits
    • Darin Adler's avatar
      Fixed rubber banding to hit test with all the parts of the icon, not just · bddcc07d
      Darin Adler authored
      	* libnautilus/Makefile.am, libnautilus/gnome-icon-container-dnd.c
      	  (set_gnome_icon_list_selection,
      	  gnome_icon_container_dnd_begin_drag),
      	  libnautilus/gnome-icon-container.c (icon_is_in_region,
      	  start_stretching), libnautilus/nautilus-icons-view-icon-item.h,
      	  libnautilus/nautilus-icons-view-icon-item.c (hit_stretch_handle,
      	  hit_test_pixbuf, hit_test, nautilus_icons_view_icon_item_point,
      	  nautilus_icons_view_icon_item_get_icon_world_rectangle,
      	  nautilus_icons_view_icon_item_get_icon_rectangle,
      	  nautilus_icons_view_icon_item_get_icon_window_rectangle,
      	  nautilus_icons_view_icon_item_get_hit_stretch_handle,
      	  hit_stretch_handle,
      	  nautilus_icons_view_icon_item_hit_test_stretch_handles,
      	  nautilus_icons_view_icon_item_hit_test_rectangle):
      	Fixed rubber banding to hit test with all the parts of the icon,
      	not just the icon pixbuf itself. Did this by changing all the
      	internal hit testing to use rects instead of points. At the same
      	time changed the external interface to always use world
      	coordinates for clarity.
      
      	* libnautilus/nautilus-directory.c (compare_file_with_name),
      	libnautilus/nautilus-file.c (nautilus_file_set_keywords): Fixed
      	some void * problems that upset newer versions of GCC but not the
      	older one that I'm using.
      
      	* libnautilus/nautilus-gtk-extensions.h,
      	libnautilus/nautilus-gtk-extensions.c: Formatting and include
      	statements fix up.
      bddcc07d
    • Jonathan Blandford's avatar
      Avoid a bug where we get stuck grabs when you double click. · d21681ac
      Jonathan Blandford authored
      2000-03-10  Jonathan Blandford  <jrb@redhat.com>
      
      	* libnautilus/gnome-icon-container.c (button_press_event): Avoid a
      	bug where we get stuck grabs when you double click.
      d21681ac
    • Ramiro Estrugo's avatar
      Add nautilis-widgets to the tree. · 0932a669
      Ramiro Estrugo authored
      0932a669
    • Ramiro Estrugo's avatar
      38519354
    • Ramiro Estrugo's avatar
      Adding nautilus-widgets to the tree - a place to put generic widgets that are · 9b1a0871
      Ramiro Estrugo authored
      not necessarily coupled to nautilus.
      9b1a0871
    • Maciej Stachowiak's avatar
      Fix omission · 852b8ec5
      Maciej Stachowiak authored
      852b8ec5
    • Maciej Stachowiak's avatar
      store zoom_control object in the window. · c81f075c
      Maciej Stachowiak authored
      	* src/ntl-window.c, src/ntl-window.h: store zoom_control object in
      	the window.
      
      	* src/nautilus-zoomable-frame-svr.c: New file; implement CORBA
      	server for Nautilus::ZommableFrame interface.
      	* src/ntl-view-private.h: prototypes for shared stuff needed to make
      	this work.
      	* src/ntl-view.c: Attach a Nautilus::ZoomableFrame interface to
      	the Nautilus::ViewFrame.
      
      	* libnautilus/nautilus-gtk-extensions.h,
      	libnautilus/nautilus-gtk-extensions.c
      	(nautilus_gtk_marshal_NONE__DOUBLE): New function.
      c81f075c
    • Maciej Stachowiak's avatar
      Enable both html-appropriate and directory-appropriate views for · fc3403b7
      Maciej Stachowiak authored
              * src/ntl-uri-map.c (my_notify_when_ready): Enable both
              html-appropriate and directory-appropriate views for
      	special/webdav-directory mime type (temporary hack).
      fc3403b7
    • Darin Adler's avatar
      It turns out that you aren't intended to reset the scroll region once you · 5f4af6f1
      Darin Adler authored
      	* libnautilus/gnome-icon-container.c (set_scroll_region):
      	It turns out that you aren't intended to reset the scroll region
      	once you have items in the canvas. We need to do that, so I had
      	to write some code that would update all the items when that happens.
      
      	* libnautilus/nautilus-icons-view-icon-item.c:
      	(recompute_bounding_box): Rewrote this to not assume that the
      	icon items are all top-level items.
      	(compute_text_rectangle, hit_test,
      	nautilus_icons_view_icon_item_bounds): Change hit testing so
      	it includes hits on the text. The rubberband still has to be
      	fixed so it doesn't have the same problem.
      
      	* libnautilus/nautilus-file.c: Improved a comment.
      
      	* RENAMING: Some more name changes.
      5f4af6f1
    • John Sullivan's avatar
      Fixed mistake in recent bug fix. · 30433daf
      John Sullivan authored
      30433daf
    • John Sullivan's avatar
    • Andy Hertzfeld's avatar
      2 small fixes: tweaked constants used for pre-lighting icons and fixed bug · 5515799d
      Andy Hertzfeld authored
      
              2 small fixes:  tweaked constants used for pre-lighting icons and
      	fixed bug in music view where track numbers were displayed as -1 if
      	they were not present in the id3 data; now they are blank.
      5515799d
    • Maciej Stachowiak's avatar
      Added a suggestion. · 81d7ee4c
      Maciej Stachowiak authored
      81d7ee4c
    • Maciej Stachowiak's avatar
      Pass the correct thing as the servant to avoid crashing on instantiation. · 7d9696ef
      Maciej Stachowiak authored
      	* libnautilus/nautilus-zoomable.c
      	(impl_Nautilus_Zoomable__create): Pass the correct thing as the
      	servant to avoid crashing on instantiation.
      	(nautilus_zoomable_real_set_bonobo_control): ref and sink the
      	BonoboControl Gtk object.
      	(nautilus_zoomable_destroy): unref the control instead of
      	destroying.
      7d9696ef
    • Maciej Stachowiak's avatar
      Reformat, add emacs magic to maintain indent style. · 37e83093
      Maciej Stachowiak authored
      	* idl/nautilus.idl: Reformat, add emacs magic to maintain indent
      	style.
      37e83093
    • Darin Adler's avatar
      Moved the code that loads the background color from clear to · 99c66c69
      Darin Adler authored
      	* src/file-manager/fm-directory-view-icons.c
      	(fm_directory_view_icons_clear,
      	fm_directory_view_icons_begin_loading),
      	src/file-manager/fm-directory-view-list.c
      	(fm_directory_view_list_clear,
      	fm_directory_view_list_begin_loading): Moved the code that loads
      	the background color from clear to begin_loading. Otherwise the
      	background color from one directory affects another.
      99c66c69
  5. 09 Mar, 2000 1 commit
    • Darin Adler's avatar
      Andy's check-in yesterday accidentally rolled out some changes to this · bcf419e8
      Darin Adler authored
      	* nautilus-icons-view-icon-item.c (emblem_layout_next,
      	nautilus_icons_view_icon_item_bounds):
      	Andy's check-in yesterday accidentally rolled out some changes
      	to this file. The changes include the typos that John and I had
      	fixed in emblem_layout_next and nautilus_icons_view_icon_item_bounds.
      
      	* nautilus-icons-view-icon-item.c:
      	As Andy was about to do anyway, I tightened up the emblem
      	positioning so they are closer to each other by changing the
      	hard-coded constant EMBLEM_SPACING.
      bcf419e8