1. 07 Jul, 2000 7 commits
    • Pavel Cisler's avatar
      Clean fix up action handling - respect suggested actions, handle actions · c2cfad09
      Pavel Cisler authored
      2000-07-07  Pavel Cisler <pavel@eazel.com>
      
      	* libnautilus-extensions/nautilus-drag.c:
      	(nautilus_drag_default_drop_action),
      	(nautilus_drag_drop_action_ask):
      	Clean fix up action handling - respect suggested actions, handle
      	actions better if they are different than GDK_ACTION_COPY and GDK_ACTION_MOVE.
      
      	* libnautilus-extensions/nautilus-drag.c:
      	(nautilus_drag_default_drop_action):
      	Fix a crash in the new drop context menu when Cancel gets selected.
      
      	* libnautilus-extensions/nautilus-drag.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(start_stretching), (button_release_event), (motion_notify_event),
      	(show_context_menu_callback), (handle_icon_button_press):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(nautilus_icon_container_receive_dropped_icons),
      	(nautilus_icon_container_get_drop_action):
      	* libnautilus-extensions/nautilus-icon-private.h:
      	Fix 1551 - Make drop context menu show up when drag started with
      	right click. Turned out to be a bit harder than estimated.
      	To do this I made the right-click context menu come up with a slight
      	delay - a drag may be started if the mouse is moved before the delay
      	expires.
      	Renamed and reworked the click/drag state machine a bit.
      c2cfad09
    • Ali Abdin's avatar
      Reverting last commit · e8e51dd2
      Ali Abdin authored
      2000-07-07  Ali Abdin  <aliabdin@aucegypt.edu>
      
              * components/html/ntl-web-browser.c:
              (main) Ack! The gtkhtml crew just removed gtkhtmllib_init - Reverting
              my change (must read cvs-commits before commiting)
      e8e51dd2
    • Ali Abdin's avatar
      Add gtkhtmllib_init to make gtkhtml work again (it still needs a lot of · 2944c665
      Ali Abdin authored
      2000-07-07  Ali Abdin  <aliabdin@aucegypt.edu>
      
              * components/html/ntl-web-browser.c:
              (main) Add gtkhtmllib_init to make gtkhtml work again (it still needs
               a lot of love though but at least not it works)
      2944c665
    • Andy Hertzfeld's avatar
      made it load custom icons for remote files by using · 13a565d8
      Andy Hertzfeld authored
      
      	made it load custom icons for remote files by using
      	nautilus_gdk_pixbuf_load instead of gdk_pixbuf_new_from_file.
      	Also, implemented thumbnailing for large svg files
      13a565d8
    • Andy Hertzfeld's avatar
      made color properties in the property browser have a label like Susan · bb607c74
      Andy Hertzfeld authored
      
      	made color properties in the property browser have a label like
      	Susan specified, plus some misc cleanups
      bb607c74
    • Gene Z. Ragan's avatar
      Fixed bug 1571, Need titles in history list instead of just URIs. · 0b661c0f
      Gene Z. Ragan authored
      2000-07-06  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 1571, Need titles in history list instead
      	of just URIs.
      
      	This was a result of sharing the NautilusWindow history list
      	information over CORBA.
      
      	* libnautilus/nautilus-view-component.idl:
      	Create new interface, Nautilus::HistoryFrame
      	Interface has method to get a sequence of
      	history information.  This sequence contains
      	structs that contain uri and name history
      	information.
      
      	* src/Makefile.am:
      	Added new file, NautilusHistoryFrame.c, to makefile.
      
      	* src/nautilus-history-frame.c:
      	* src/nautilus-history-frame.h:
      	(impl_Nautilus_HistoryFrame__destroy),
      	(impl_Nautilus_HistoryFrame__create),
      	(impl_Nautilus_HistoryFrame_get_history_list):
      	New files that imliments the functionality of the
      	Nautilus::HistoryFrame.
      
      	* components/history/nautilus-history-view.c:
      	(get_bookmark_from_row), (get_uri_from_row),
      	(history_view_frame_call_begin), (history_view_frame_call_end),
      	(history_view_update_icons), (get_history_list),
      	(hyperbola_navigation_history_load_location),
      	(hyperbola_navigation_history_select_row), (do_destroy),
      	(make_obj), (main):
      	Changes in the way that the history list is maintained.
      	We now use the info that is received by asking the view frame
      	for history information.
      
      	* src/nautilus-view-frame.c:
      	* src/nautilus-view-frame.h:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_load_client),
      	(nautilus_view_frame_get_history_list):
      	Added new signal GET_HISTORY_LIST and new
      	function that emits the signal when called.
      
      	* src/nautilus-window.c:
      	(nautilus_window_connect_view):
      	Create and add history interface to connected view.
      
      	(nautilus_window_get_history_list_callback):
      	New signal handler that connects to the get_history_list
      	signal of NautilusViewFrame.  Returns a Nautilus_HistoryList
      	created from the history list data.
      0b661c0f
    • Mike Engber's avatar
      Added fixme for redundant parent_class slot (pavel's request since we · 31f24b1e
      Mike Engber authored
      
      	* src/nautilus-window.c: (nautilus_window_class_init):
      	Added fixme for redundant parent_class slot (pavel's
      	request since we puzzled over this for some time)
      31f24b1e
  2. 06 Jul, 2000 10 commits
  3. 05 Jul, 2000 23 commits
    • Darin Adler's avatar
      Stop ignoring some no-longer-generated files. · 8aa27fb4
      Darin Adler authored
      	* components/services/trilobite/sample/service/.cvsignore:
      	Stop ignoring some no-longer-generated files.
      8aa27fb4
    • Darin Adler's avatar
      Wrote a script to check that the Makefile.am file matches what's actually · 11f5ae24
      Darin Adler authored
      	* check-headers-in-Makefile.pl: Wrote a script to check that the
      	Makefile.am file matches what's actually in the directories.
      
      	* components/html/main.c: Obsolete file.
      	* components/services/time/command-line/Makefile.am: Removed
      	mention of nonexistent trilobite-eazel-sample-service-common.c.
      	* components/services/time/nautilus-view/Makefile.am: Removed
      	mention of nonexistent trilobite-eazel-sample-service-common.c.
      	* libnautilus-extensions/nautilus-icon-grid.c: Obsolete file.
      	* libnautilus-extensions/nautilus-icon-grid.h: Obsolete	file.
      	* nautilus-installer/src/Makefile.am: Fixed typo; it said
      	"installer h" instead of "installer.h".
      	* src/Makefile.am: Added nautilus-search-bar-private.h.
      	* src/file-manager/fm-directory-list.h: Obsolete file.
      11f5ae24
    • Ramiro Estrugo's avatar
      Initialize gconf if needed before creating a gconf_client. · 1c23ea4d
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-user-level-manager.c:
      (user_level_manager_new):
      Initialize gconf if needed before creating a gconf_client.
      
      * src/nautilus-first-time-druid.c: (user_level_selection_changed),
      (set_up_user_level_page):
      Update the user level when its toggled by the user.
      1c23ea4d
    • Andy Hertzfeld's avatar
      at Susan's request, used a larger icon in the sidebar. also, made the · 33c776b3
      Andy Hertzfeld authored
      
      	at Susan's request, used a larger icon in the sidebar.
      	also, made the first-time-druid launch service signup if the
      	user selected that.
      33c776b3
    • Darin Adler's avatar
      Fix a divide-by-zero problem. (play_status_display), · 6263d07e
      Darin Adler authored
      	* components/music/nautilus-music-view.c: (fetch_play_time):
      	Fix a divide-by-zero problem.
      	(play_status_display), (slider_moved_callback),
      	(slider_release_callback): Added FIXMEs at other possible
      	divide-by-zero problems where I am less sure what the solution is.
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(allow_metafile), (nautilus_directory_request_read_metafile),
      	(nautilus_directory_request_write_metafile): Disable metafile
      	reading and writing for "pipe:" URIs for now. This turns off the
      	creation of alternate metafiles too. Hope this turns out to be
      	good.
      	(start_monitoring_file_list): Fixed a wrong assert.
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(nautilus_gnome_canvas_fill_with_gradient): Fixed a divide by zero
      	bug in here.
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
      	(directory_view_font_family_changed_callback),
      	(fm_icon_view_initialize): Changed spelling of "familiy" to the more
      	standard "family".
      	* src/nautilus-application.c: (nautilus_application_startup): Put
      	in some more verbose detailed error messages; we'll have to do more
      	iteration on these.
      6263d07e
    • Andy Hertzfeld's avatar
      added modifier parameter to high level icon factory calls used open folder · f29a0206
      Andy Hertzfeld authored
      
      	added modifier parameter to high level icon factory calls
      	used open folder in sidebar
      	new folder icons from Susan
      f29a0206
    • Ramiro Estrugo's avatar
      Remove an obsolete FIXME. · 60652175
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_get_sidebar_panel_view_identifiers):
      
      Remove an obsolete FIXME.
      60652175
    • Ramiro Estrugo's avatar
      libnautilus-extensions/nautilus-icon-container.c, Implement missing · 603052e9
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-icon-container.c,
      * libnautilus-extensions/nautilus-icon-container.h:
      (destroy), (nautilus_icon_container_initialize),
      (nautilus_icon_container_new),
      (nautilus_icon_container_set_label_font_for_zoom_level),
      (nautilus_icon_container_set_single_click_mode):
      Implement missing set_single_click_mode function.
      
      Its up to users of this widget to setup click policy and other
      attributes. We shouldnt peek/poke nautilus specific preferences
      in the icon container widget.
      
      * libnautilus-extensions/nautilus-list.c:
      * libnautilus-extensions/nautilus-list.h,
      (nautilus_list_set_single_click_mode), (nautilus_list_initialize),
      (nautilus_list_destroy), (nautilus_list_clear):
      Implement missing set_single_click_mode function.
      
      Its up to users of this widget to setup click policy and other
      attributes. We shouldnt peek/poke nautilus specific preferences
      in the list widget.
      
      * src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
      (text_attribute_names_changed_callback),
      (click_policy_changed_callback),
      (anti_aliased_mode_changed_callback), (fm_icon_view_initialize),
      (fm_icon_view_update_click_mode),
      (fm_icon_view_update_anti_aliased_mode), (create_icon_container):
      Keep track of changes in preferences that affect the icon
      container and update it when needed.
      
      * src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
      (fm_list_view_initialize), (fm_list_view_destroy), (create_list),
      (update_icons), (fm_list_view_update_click_mode),
      (click_policy_changed_callback):
      Keep track of changes in preferences that affect the list and
      update it when needed.
      603052e9
    • Ramiro Estrugo's avatar
      libnautilus-extensions/nautilus-icon-container.c, New function to set the · 1a3bf03d
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-icon-container.c,
      * libnautilus-extensions/nautilus-icon-container.h:
      (nautilus_icon_container_set_label_font_for_zoom_level):
      New function to set the font for a zoom level.
      
      (nautilus_icon_container_initialize),
      Initialize to fonts to a well known font.  Dont look at font
      preferences here.  Fonts should be suppied by the icon container
      user.
      
      * src/file-manager/fm-icon-view.c:
      (fm_icon_view_update_icon_container_fonts),
      New function to update the icon container's zoom level specific
      fonts.
      
      (directory_view_font_familiy_changed_callback),
      (fm_icon_view_initialize),
      (fm_icon_view_destroy),
      Keep track of font familiy preference changes and update the icon
      container fonts as needed.
      
      (create_icon_container):
      Update the fonts for the first time when the icon container is
      created.
      1a3bf03d
    • Ramiro Estrugo's avatar
      Changed string picker to use option menus instead of combo boxes. · fb853124
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-string-picker.c:
      (nautilus_string_picker_initialize_class),
      (nautilus_string_picker_initialize),
      (nautilus_string_picker_destroy), (option_menu_activate_callback),
      (nautilus_string_picker_set_string_list),
      (nautilus_string_picker_get_text),
      (nautilus_string_picker_set_text):
      * libnautilus-extensions/nautilus-string-picker.h:
      Changed string picker to use option menus instead of combo boxes.
      
      * test/test-nautilus-widgets.c: (test_string_picker),
      (string_picker_changed_callback):
      Changed widget test program to exercise more string picker
      functions.
      fb853124
    • Ramiro Estrugo's avatar
      Ignore generated files. · 4bfc47a7
      Ramiro Estrugo authored
      * components/services/install/command-line/.cvsignore:
      Ignore generated files.
      4bfc47a7
    • Jorge Godoy's avatar
      updated pt_BR translations · d63255b1
      Jorge Godoy authored
      d63255b1
    • Ramiro Estrugo's avatar
      Moved widgets and preferences test to nautilus/test. · a356df0d
      Ramiro Estrugo authored
      * libnautilus-extensions/test-nautilus-preferences.c:
      * libnautilus-extensions/test-nautilus-widgets.c:
      * libnautilus-extensions/test-preferences.c:
      Moved widgets and preferences test to nautilus/test.
      
      * test/.cvsignore:
      * test/Makefile.am:
      * test/test-nautilus-preferences.c: (main),
      (test_preferences_item), (test_preferences_group),
      (create_enum_item), (register_global_preferences):
      * test/test-nautilus-widgets.c: (main), (test_radio_group),
      (test_caption_table), (test_string_picker), (test_text_caption),
      (test_authenticate_boink_callback),
      (string_picker_changed_callback), (text_caption_changed_callback),
      (test_password_dialog), (test_radio_changed_callback),
      (test_caption_table_activate_callback):
      Ressurect my widgets/preferences test over here.  They got whacked
      in the nautilus-widgets -> libnautilus-extensions renamings.
      a356df0d
    • Ramiro Estrugo's avatar
      Change file utilities special directory access functions to always return · 5ed6ea8a
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-directory.c:
      (construct_alternate_metafile_uri):
      * libnautilus-extensions/nautilus-file-utilities.c:
      (nautilus_make_path), (nautilus_get_user_directory),
      (nautilus_get_desktop_directory),
      (nautilus_get_user_main_directory),
      (nautilus_get_pixmap_directory):
      * libnautilus-extensions/nautilus-file-utilities.h:
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_register_for_ui):
      * libnautilus-extensions/nautilus-icon-factory.c:
      (get_themed_icon_file_path):
      * libnautilus-extensions/nautilus-preferences-item.c:
      (add_icon_themes):
      * src/file-manager/fm-properties-window.c: (get_property_names):
      * src/nautilus-application.c:
      (nautilus_application_check_user_directories):
      * src/nautilus-bookmark-list.c:
      (nautilus_bookmark_list_get_file_path):
      * src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      * src/nautilus-first-time-druid.c: (druid_finished):
      * src/nautilus-property-browser.c:
      (nautilus_property_browser_drag_data_get), (make_drag_image),
      (remove_color), (remove_background), (remove_emblem),
      (get_xml_path), (add_background_to_browser), (add_color_to_file),
      (emblem_dialog_clicked), (make_properties_from_directory):
      Change file utilities special directory access functions to always
      return allocated strings.  Change all callers to match the new
      functions and free the results.
      
      Also change the file utilities functions to always create the
      special directories if needed.
      5ed6ea8a
    • Ramiro Estrugo's avatar
      Sort the sidebar panel names. · 9ac57fc3
      Ramiro Estrugo authored
      2000-07-05  Ramiro Estrugo  <ramiro@eazel.com>
      
      * libnautilus-extensions/nautilus-global-preferences.c:
      (compare_view_identifiers), (global_preferences_create_dialog):
       Sort the sidebar panel names.
      9ac57fc3
    • Ramiro Estrugo's avatar
      Dont install the currently broken components (websearch) · c7e49a83
      Ramiro Estrugo authored
      * components/Makefile.am:
      Dont install the currently broken components (websearch)
      
      * components/help/Makefile.am:
      * components/help/help-contents.oafinfo:
      * components/help/help-factory.oafinfo:
      * components/help/help-index.oafinfo:
      * components/help/help-search.oafinfo:
      * components/help/hyperbola.oafinfo:
      Split the oafinfo for help components into pieces so we can
      control which get intalled and which dont (like the broken onces)
      
      * configure.in:
      Fix a small dumb typo.
      c7e49a83
    • Valek Frob's avatar
      Updated russian translation. · c32699a6
      Valek Frob authored
      c32699a6
    • J Shane Culpepper's avatar
      more fixes to the progress meter · 2b7bfa4f
      J Shane Culpepper authored
      2b7bfa4f
    • Pavel Cisler's avatar
      Did most of bug 1371: Implemented a drop context menu that allows users to · 4b45756b
      Pavel Cisler authored
      2000-07-05  Pavel Cisler <pavel@eazel.com>
      
      	* libnautilus-extensions/nautilus-drag.c:
      	(nautilus_drag_modifier_based_action),
      	(nautilus_drag_drop_action_ask):
      	* libnautilus-extensions/nautilus-drag.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(motion_notify_event):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(nautilus_icon_container_receive_dropped_icons),
      	(nautilus_icon_dnd_init):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_initialize), (nautilus_list_drag_start):
      	* src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
      	Did most of bug 1371:
      	Implemented a drop context menu that allows users to choose between
      	Copy, Move and link.
      	Added the GDK_ACTION_ASK selector and added support for it.
      4b45756b
    • Andy Hertzfeld's avatar
      first cut at the first-time preferences druid. It's still not hooked-up · eec7aa25
      Andy Hertzfeld authored
      
      	first cut at the first-time preferences druid.  It's still not
      	hooked-up yet and it's appearance needs some work.
      eec7aa25
    • J Shane Culpepper's avatar
      1af470e9
    • Pavel Cisler's avatar
      Fix 1042 - "untitled folder" will not work on file systems with 8.3 names. · 590fcd21
      Pavel Cisler authored
      2000-07-04  Pavel Cisler <pavel@eazel.com>
      
      	* src/file-manager/dfos-xfer.c: (new_folder_xfer_callback):
      	Fix 1042 - "untitled folder" will not work on file systems with
      	8.3 names. Added code that handles GNOME_VFS_ERROR_NAME_TOO_LONG
      	and supplies a name in the 8.3 scheme instead.
      590fcd21
    • Pavel Cisler's avatar
      Fixed 1215 - inter-volume move now removes the source files. Made it so · 45e5a79f
      Pavel Cisler authored
      2000-07-04  Pavel Cisler <pavel@eazel.com>
      
      	* src/file-manager/dfos-xfer-progress-dialog.c:
      	* src/file-manager/dfos-xfer-progress-dialog.h:
      	(handle_xfer_ok),
      	(fs_xfer), (fs_move_to_trash), (fs_delete), (fs_empty_trash):
      	* src/file-manager/dfos-xfer-progress-dialog.c:
      	(dfos_xfer_progress_dialog_clear):
      	Fixed 1215 - inter-volume move now removes the source files.
      	Made it so that when an inter-volume copy has ended and source files
      	are removed, the progress dialog updates. Added a new cleanup phase
      	string.
      
      	* src/file-manager/dfos-xfer-progress-dialog.c:
      	(dfos_xfer_progress_dialog_new_file),
      	(set_text_unescaped_trimmed):
      	Added code to unescape paths in progress dialogs.
      
      	* src/file-manager/dfos-xfer.c:
      	* src/file-manager/dfos-xfer.h:
      	(nautilus_convert_to_unescaped_string_for_display),
      	(handle_xfer_vfs_error), (handle_xfer_overwrite):
      	Added code to unescape paths in error dialogs.
      
      	* libnautilus-extensions/nautilus-drag.c:
      	(nautilus_drag_default_drop_action),
      	(nautilus_drag_modifier_based_action):
      	* libnautilus-extensions/nautilus-drag.h:
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(handle_nonlocal_move), (nautilus_icon_container_find_drop_target),
      	(nautilus_icon_container_receive_dropped_icons),
      	(nautilus_icon_container_get_drop_action), (drag_motion_callback):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_drag_motion):
      	Reworked a whole lot to allow me to update the default copy action
      	based on the drag&drop context - an inter-volume drag&drop will now
      	suggest a copy as a default.
      	Moved out more sharable code into nautilus-drag.c.
      	Added a common routine for figuring out the drop target.
      
      	* src/file-manager/fm-directory-view.c: (fm_directory_is_trash),
      	(fm_directory_can_move_to_trash):
      	Fixed a bunch of asserts caused by unreffing NULL uris.
      45e5a79f