1. 30 May, 2000 1 commit
    • Ramiro Estrugo's avatar
      Change preferences startup code to occur in only one place. · 9a05e06f
      Ramiro Estrugo authored
      * components/history/nautilus-history-view.c: (main):
      * libnautilus-extensions/nautilus-global-preferences.c:
      (nautilus_global_preferences_startup):
      * libnautilus-extensions/nautilus-global-preferences.h:
      * src/nautilus-application.c: (nautilus_app_class_init):
      * src/nautilus-main.c: (main):
      
      Change preferences startup code to occur in only one place.
      9a05e06f
  2. 29 May, 2000 3 commits
    • Ramiro Estrugo's avatar
      Add preference for filename fonts. Not wired up to anything yet. · 428bf455
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_create_dialog),
      (global_preferences_register_for_ui):
      * libnautilus-extensions/nautilus-global-preferences.h:
      
      Add preference for filename fonts.  Not wired up to anything yet.
      
      * nautilus-widgets/nautilus-preferences-item.c,
      (preferences_item_construct),
      (preferences_item_create_font_family),
      (enum_radio_group_changed_callback),
      (boolean_button_toggled_callback), (font_family_changed_callback):
      * nautilus-widgets/nautilus-preferences-item.h:
      
      Add UI support for choosing a font family via preferences.
      
      * nautilus-widgets/nautilus-string-picker.c:
      (nautilus_string_picker_initialize),
      (nautilus_string_picker_destroy),
      (nautilus_string_picker_set_string_list),
      (nautilus_string_picker_get_text),
      (nautilus_string_picker_set_text):
      * nautilus-widgets/nautilus-string-picker.h:
      
      Add methods to set/get the current text.  Keep track of the string
      list ourselves so that we dont have to peek/poke into internal
      stuff in the gtkcombo.
      428bf455
    • Ramiro Estrugo's avatar
      Remove unneeded inclusion of nautilus-string-list.h · 7de61352
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.h:
      
      Remove unneeded inclusion of nautilus-string-list.h
      
      * libnautilus-extensions/nautilus-global-preferences.c:
      
      Fix a user visible typo in appearance/graphics.
      Add a better description for the sidebar panels pane (bug 304)
      7de61352
    • Andy Hertzfeld's avatar
      added preference for Susan's alternative toolbar icons, which still · 60f644a4
      Andy Hertzfeld authored
      
              added preference for Susan's alternative toolbar icons, which still
      	default to the standard Gnome ones.
      60f644a4
  3. 27 May, 2000 1 commit
    • Ramiro Estrugo's avatar
      Add a function that returns the disabled sidebar panels. Needed so that · 3e1a1af2
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.c:
      (nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
      (nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers):
      * libnautilus-extensions/nautilus-global-preferences.h:
      
      Add a function that returns the disabled sidebar panels.  Needed
      so that on-the-fly sidebar panel toggling can be smart about
      adding and removing views.
      
      Also rename some variabled to make it obvious which are the enabled
      and disabled lists.
      3e1a1af2
  4. 26 May, 2000 2 commits
    • John Sullivan's avatar
      Fixed bug 992 ("Fully Decorate Remote Views" is not a · cbf780ad
      John Sullivan authored
      	sensible preference). Note that before making the
      	quick wording fix Darin, Ian, and I came up with a
      	longer-term plan for handling this general kind of
      	thing well (bug 995).
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(state_changed):
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_create_dialog),
      	(global_preferences_register_for_ui):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_icon_for_file):
      	Changed "Fully Decorate Remote Views" to "Display text in
      	icons even for remote text files"
      	Changed NAUTILUS_PREFERENCES_REMOTE_VIEWS to
      	NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS
      cbf780ad
    • Ramiro Estrugo's avatar
      Expose only a single function to deal with sidebar panels. Return a list · 371919a9
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_create_dialog),
      (global_preferences_get_sidebar_panel_view_identifiers),
      (nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
      (global_preferences_register_sidebar_panels_preferences_for_ui),
      (global_preferences_is_sidebar_panel_enabled),
      (nautilus_global_preferences_shutdown):
      * libnautilus-extensions/nautilus-global-preferences.h:
      
      Expose only a single function to deal with sidebar panels.  Return
      a list of enabled view indentifiers, saving callers the work and
      complication of figuring out which panels are on.
      
      Make NAUTILUS_PREFERENCES_SIDEBAR_PANELS_NAMESPACE cause i need it
      to later keep track of sidebar panel changes in NautilusWindow.
      
      * src/ntl-uri-map.c: (got_file_info_callback),
      (nautilus_navigation_info_free):
      * src/ntl-uri-map.h:
      * src/ntl-window-msgs.c: (nautilus_window_update_state):
      Exorcise the 'sidebar_panel_identifiers' member.  Instead of
      complicating life by managing this list, simply obtain it when
      needed from global preferences.
      371919a9
  5. 25 May, 2000 1 commit
    • Ramiro Estrugo's avatar
      Cleanup cut-n-paste code for dealing the sidebar panels. · 8cbb5d30
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_create_dialog),
      (global_preferences_register_sidebar_panels_preferences_for_ui),
      (global_preferences_get_sidebar_panel_key),
      (nautilus_global_preferences_is_sidebar_panel_enabled),
      (global_preferences_register_for_ui),
      (user_level_changed_callback),
      (nautilus_global_preferences_startup):
      Added define for sidebar panels namespace.
      
      Rename preference defines to make it clear whether they are keys
      or namespaces.
      
      Add function to obtain a sidebar panel key from an iid.
      
      Use "sidebar panels" consistently in both code and preferences
      dialog.
      
      * libnautilus-extensions/nautilus-global-preferences.h:
      New public function
      nautilus_global_preferences_is_sidebar_panel_enabled () that
      returns whether a sidebar panel is enabled.
      
      * src/ntl-uri-map.c: (sidebar_panel_preference_is_on):
      Use nautilus_global_preferences_is_sidebar_panel_enabled() instead
      of hard-coding the namespace string.
      8cbb5d30
  6. 24 May, 2000 1 commit
    • Darin Adler's avatar
      [deleted] [deleted] · 70659f55
      Darin Adler authored
      	* libnautilus/Makefile.am:
      	* libnautilus/libnautilus.h:
      	* libnautilus/nautilus-meta-view-frame.c: [deleted]
      	* libnautilus/nautilus-meta-view-frame.h: [deleted]
      	* libnautilus/nautilus-view-component.idl:
      	* po/POTFILES.in:
      	* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
      	* src/ntl-window.c: (nautilus_window_add_meta_view):
      	Removed Nautilus::MetaView and all the related classes.
      	We still have Nautilus::MetaViewFrame (will go soon).
      
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_new):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_new):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new):
      	* components/history/ntl-history-view.c: (make_obj):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(loser_notify_location_change_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.h:
      	* components/notes/ntl-notes.c: (make_notes_view):
      	* components/websearch/ntl-web-search.c: (make_obj):
      	Changed to use just plain view insetad of meta_view.
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_create_dialog),
      	(nautilus_global_preferences_get_sidebar_panel_view_identifiers),
      	(nautilus_global_preferences_get_sidebar_view_iids),
      	(nautilus_preferences_register_sidebar_view_preferences_for_ui),
      	(global_preferences_register_for_ui):
      	Changed naming to call them sidebar views instead of meta views,
      	and got rid of code that depends on MetaView interface. We now
      	use the sidebar_panel_name to determine if a view should show
      	up in the sidebar.
      
      	* src/ntl-view.h: Fixed a comment to reflect the future
      	instead of the past.
      70659f55
  7. 23 May, 2000 1 commit
  8. 22 May, 2000 1 commit
  9. 20 May, 2000 1 commit
    • Maciej Stachowiak's avatar
      Fix bugzilla tasks #599 (hex number is bad default for meta view · cf21c9ee
      Maciej Stachowiak authored
      	names) and #631 (nead oaf query to determine metaviews).
      
      	* libnautilus-extensions/nautilus-view-identifier.h,
      	libnautilus-extensions/nautilus-view-identifier.c:
      	(nautilus_view_identifier_new, get_lang_list,
      	nautilus_view_identifier_new_from_oaf_server_info,
      	nautilus_view_identifier_free): Moved NautilusViewIdentifier code
      	here from ntl-uri-map.[ch].
      	(nautilus_view_identifier_new_from_content_view),
      	(nautilus_view_identifier_new_from_sidebar_panel),
      	(nautilus_view_identifier_free_callback),
      	(nautilus_view_identifier_free_list): New functions.
      	* libnautilus-extensions/Makefile.am: Add
      	nautilus-view-identifier.[ch] to build.
      	* src/ntl-types.h: Removed typedef for NautilusViewIdentifier.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c
      	(nautilus_g_list_free_deep_custom): New function, like
      	`nautilus_g_list_free_deep' but lets you pass your own free
      	function.
      	(nautilus_g_list_free_deep): Use `nautilus_g_list_free_deep_custom'
      	(nautilus_g_list_partition): New function to destructively
      	partition a GList into two, depending on whether they satisfy the
      	provided predicate or not.
      	(nautilus_test_predicate), (nautilus_self_check_glib_extensions):
      	Added unit tests for `nautilus_g_list_partition' and for
      	`nautilus_g_list_equal' since the `nautilus_g_list_partition'
      	tests rely on it.
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_notify_files_moved): Use
      	`nautilus_g_list_free_deep_custom'.
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c
      	(nautilus_gdk_pixbuf_list_free): Likewise.
      	* libnautilus-extensions/nautilus-icon-factory.c
      	(nautilus_scalable_icon_list_free): Likewise.
      	* libnautilus-extensions/nautilus-string-list.c
      	(nautilus_string_list_clear): Likewise.
      	* nautilus-widgets/nautilus-preferences.c (pref_hash_node_free,
      	prefs_hash_lookup_with_implicit_registration): Likewise.
      
      	* libnautilus-extensions/nautilus-global-preferences.c,
      	libnautilus-extensions/nautilus-global-preferences.h
      	(global_preferences_create_dialog,
      	nautilus_global_preferences_get_sidebar_panel_view_identifiers,
      	nautilus_global_preferences_get_meta_view_iids,
      	nautilus_preferences_register_meta_view_preferences_for_ui,
      	global_preferences_register_for_ui): Change things around to
      	determine the set of sidebar panel prefs at run time, and to pass
      	around NautilusViewIdentifiers rather than just iid strings so we
      	can use the statically defined name in the oafinfo.
      
      	* src/ntl-uri-map.h, src/ntl-uri-map.c: (set_initial_content_iid,
      	got_file_info_callback, sidebar_panel_preference_is_on,
      	(add_sidebar_panel_identifiers, nautilus_navigation_info_free):
      	Changed things around to better handle sidebar panel (AKA meta
      	view) selection, and pass around both name and iid.
      
      	* src/ntl-window-msgs.c:
      	(nautilus_window_request_selection_change,
      	nautilus_window_has_really_changed,
      	nautilus_window_load_meta_view, nautilus_window_update_state,
      	nautilus_window_set_state_info): Fixed everything to pass around
      	ViewIdentifiers instead of iids for sidebar panels and set the
      	label approrpiately when activating; replaced a whole bunch of
      	GSList usage with GList (we can always optimize this stuff later).
      	* src/ntl-window.h, src/ntl-window.c: (nautilus_window_destroy,
      	nautilus_window_load_content_view_menu,
      	nautilus_window_set_content_view, nautilus_window_add_meta_view,
      	nautilus_window_remove_meta_view_real,
      	nautilus_window_remove_meta_view): Deal with the above changes
      	(mostly GSList -> GList changes).
      
      	* src/ntl-view-bonobo-control.c, src/ntl-view-bonobo-subdoc.c,
      	src/ntl-view-nautilus.c, src/ntl-view-private.h: Remove all
      	get_label related calls since we get that from the oafinfo now.
      	* libnautilus/nautilus-meta-view-frame.h,
      	libnautilus/nautilus-meta-view-frame.c:
      	(nautilus_meta_view_frame_initialize,
      	nautilus_meta_view_frame_new_from_bonobo_control,
      	nautilus_meta_view_frame_destroy): Remove
      	`nautilus_meta_view_frame_set_label' machinery and associated
      	machinery since we now get the label statically from the oafinfo.
      	* components/history/ntl-history-view.c: (make_obj): Don't call
      	`nautilus_meta_view_frame_set_label' any more, the label is now
      	statically determined from the oafinfo file.
      	* components/notes/ntl-notes.c: (make_notes_view): Likewise.
      	* components/websearch/ntl-web-search.c: (make_obj): Likewise.
      	* components/help/hyperbola-nav-index.c: Likewise.
      	(hyperbola_navigation_index_new): Likewise.
      	* components/help/hyperbola-nav-search.c: Likewise.
      	(hyperbola_navigation_search_new): Likewise.
      	* components/help/hyperbola-nav-tree.c: Likewise.
      	(hyperbola_navigation_tree_new): Likewise.
      	* src/ntl-meta-view.h, src/ntl-meta-view.c:
      	(nautilus_meta_view_set_label),
      	(nautilus_meta_view_get_label): Have an explicit value to set,
      	rather than trying to get it through CORBA. This is kind of a
      	hack, really we should pass around a label and a NautilusMetaView
      	separately and remove this stuff.
      	* components/help/hyperbola.oafinfo,
      	components/notes/ntl-notes.oafinfo,
      	components/websearch/ntl-web-search.oafinfo,
      	components/history/ntl-history-view.oafinfo: Updated to include
      	latest Nautilus attributes.
      cf21c9ee
  10. 19 May, 2000 1 commit
    • John Sullivan's avatar
      Finished task 174 (make "Open in new window" preference · bc167f1a
      John Sullivan authored
      	sensible)
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_create_dialog),
      	(global_preferences_register_for_ui): Consolidated "Window
      	Options" pane & "Click Policy" pane into new "Directory
      	Views" pane, to make it clear that these preferences apply
      	just to directory views. Also removed unimplemented "use
      	existing window for same location" preference that is not
      	in our plans. Tweaked wording a little.
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(in_single_click_mode): New function, checks preference.
      	(draw_or_measure_label_text): Don't draw underlines on icons
      	if we're not in single-click mode.
      bc167f1a
  11. 10 May, 2000 1 commit
  12. 06 May, 2000 1 commit
  13. 27 Apr, 2000 1 commit
  14. 19 Apr, 2000 1 commit
    • Maciej Stachowiak's avatar
      OAF conversion. You must now build bonobo and gnome-vfs with --enable-oaf · f6e6b471
      Maciej Stachowiak authored
      
      	OAF conversion. You must now build bonobo and gnome-vfs with --enable-oaf
      
      	* configure.in: Check for OAF
      
      	* libnautilus/nautilus-view-component.idl: Inherit from
      	Bonobo::Unknown instead of GNOME::Unknown.
      
      	* libnautilus-extensions/nautilus-global-preferences.c,
      	libnautilus-extensions/nautilus-global-preferences.h: Refer to
      	meta views by OAFIID, not GOAD ID.
      
      	* src/ntl-uri-map.c (my_notify_when_ready): Replaced hardcoded
      	list of GOAD IDs with a hardcoded list of OAFIIDs.
      	(add_components_from_metadata): Changed the expected format; it is
      	now label=component instead of component:label since OAFIIDs
      	contain colons.
      
      	* src/ntl-view.c (nautilus_view_destroy_client): unref the
      	Zoomable interface of the View, if any.
      
      	* src/file-manager/dfos-corba.c, src/file-manager/dfos.c: replace
      	GOAD calls with OAF ones; untested since this code is not really
      	used right now.
      
      	* src/ntl-main.c: Use OAF calls to intialize CORBA.
      
      	* src/ntl-app.c: Replace GOAD IDs with OAFIIDs. Use
      	Bonobo_Generic_Factory instead of GNOME_Generic_Factory to make
      	the linker happy. Register the factory server with OAF, not GOAD.
      
      	* src/nautilus.h: Include <liboaf/liboaf.h> instead of <libgnorba/gnorba.h>
      
      
      	* components/help/Makefile.am, components/history/Makefile.am,
      	components/html/Makefile.am, components/mozilla/Makefile.am,
      	components/music/Makefile.am, components/notes/Makefile.am,
      	components/rpmview/Makefile.am, components/sample/Makefile.am,
      	components/services/startup/Makefile.am,
      	components/websearch/Makefile.am, libnautilus/Makefile.am,
      	libnautilus-extensions/Makefile.am, src/Makefile.am,
      	src/file-manager/Makefile.am: Updated for OAF; install .oafinfo
      	files instead of .gnorba.
      
      	* components/help/hyperbola-main.c,
      	components/history/ntl-history-view.c,
      	components/html/ntl-web-browser.c, components/mozilla/main.c,
      	components/music/main.c, components/notes/ntl-notes.c,
      	components/rpmview/main.c, components/sample/main.c,
      	components/services/startup/main.c,
      	components/websearch/ntl-web-search.c: Convert to OAF; use OAFIIDs
      	and oaf intialization functions.
      
      	* src/nautilus.oafinfo, components/help/hyperbola.oafinfo,
      	components/history/ntl-history-view.oafinfo,
      	components/html/ntl-web-browser.oafinfo,
      	components/music/nautilus-music-view.oafinfo,
      	components/notes/ntl-notes.oafinfo,
      	components/rpmview/nautilus-rpm-view.oafinfo,
      	components/services/startup/nautilus-service-startup-view.oafinfo,
      	components/websearch/ntl-web-search.oafinfo,
      	components/sample/nautilus-sample-content-view.oafinfo,
      	components/mozilla/nautilus-mozilla-content-view.oafinfo: New OAF
      	activation records.
      
      	* src/nautilus.goad, components/help/hyperbola.goad,
      	components/history/ntl-history-view.goad,
      	components/html/ntl-web-browser.goad,
      	components/music/nautilus-music-view.goad,
      	components/notes/ntl-notes.goad,
      	components/rpmview/nautilus-rpm-view.goad,
      	components/services/startup/nautilus-service-startup-view.goad,
      	components/websearch/ntl-web-search.goad,
      	components/sample/nautilus-sample-content-view.goad,
      	components/mozilla/nautilus-mozilla-content-view.goad: Removed.
      f6e6b471
  15. 18 Apr, 2000 2 commits
  16. 14 Apr, 2000 1 commit
    • Ramiro Estrugo's avatar
      Split libnautilus into two pieces. · 09b3bf22
      Ramiro Estrugo authored
      libnautilus now only contains the view interfaces needed by nautilus
      components.
      
      These are the interfaces defined in nautilus-view-component.idl.
      
      libnautilus-extensions containes the remainder of the stuff.
      
      Also used the cvs repository munging opportunity to do some of the
      ntl-* renaming outlined in the RENAIMING file.
      09b3bf22
  17. 05 Apr, 2000 1 commit
  18. 26 Mar, 2000 1 commit
  19. 16 Mar, 2000 1 commit
  20. 15 Mar, 2000 1 commit
  21. 13 Mar, 2000 1 commit
    • 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
  22. 12 Mar, 2000 3 commits
  23. 11 Mar, 2000 1 commit
    • 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
  24. 07 Jan, 2000 2 commits
  25. 03 Jan, 2000 1 commit
  26. 30 Dec, 1999 1 commit