1. 28 Jun, 2008 1 commit
    • Christian Neumair's avatar
      Stop loading of new view instead of just unreffing it when freeing a · 5381b42b
      Christian Neumair authored
      2008-06-28  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-window-manage-views.c
      	(nautilus_window_report_selection_changed),
      	(nautilus_window_report_load_underway),
      	(nautilus_window_report_load_complete), (free_location_change),
      	(nautilus_window_report_view_failed),
      	(nautilus_window_stop_loading):
      	* src/nautilus-window-private.h:
      	Stop loading of new view instead of just unreffing it when freeing a
      	location change.
      	Ignore view signals of new view when stopping it. Otherwise we'd have
      	infinite recursion.
      
      svn path=/trunk/; revision=14287
      5381b42b
  2. 25 Feb, 2008 1 commit
    • Alexander Larsson's avatar
      Don't display error on G_IO_ERROR_FAILED_HANDLED. · 043a073f
      Alexander Larsson authored
      2008-02-25  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-mime-actions.c (activation_mountable_mounted):
      	Don't display error on G_IO_ERROR_FAILED_HANDLED.
      
      2008-02-22  David Zeuthen  <davidz@redhat.com>
      
      	* libnautilus-private/nautilus-autorun.c:
      	(autorun_dialog_response), (do_autorun_for_content_type):
      	Actually handle when the user presses the Eject or Unmount button.
      
      	* src/nautilus-window-manage-views.c: (found_mount_cb),
      	(update_for_new_location):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c: (nautilus_window_finalize):
      	Find the mount for the window, used for determining if a x-content
      	clue bar should be shown, async.
      
      
      
      svn path=/trunk/; revision=13811
      043a073f
  3. 30 Nov, 2007 1 commit
  4. 05 Nov, 2007 1 commit
    • Jürg Billeter's avatar
      reviewed by: Alexander Larsson <alexl@redhat.com> · f68684cc
      Jürg Billeter authored
      2007-11-05  Juerg Billeter  <j@bitron.ch>
      
      	reviewed by: Alexander Larsson  <alexl@redhat.com>
      
      	* src/file-manager/fm-actions.h:
      	* src/file-manager/fm-directory-view.c:
      	(action_open_folder_window_callback), (open_one_in_folder_window),
      	(action_location_open_folder_window_callback),
      	(real_update_location_menu), (real_update_menus):
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/nautilus-actions.h:
      	* src/nautilus-navigation-window-menus.c:
      	(nautilus_navigation_window_update_spatial_menu_item),
      	(action_folder_window_callback),
      	(nautilus_navigation_window_initialize_menus):
      	* src/nautilus-navigation-window-ui.xml:
      	* src/nautilus-navigation-window.c:
      	(nautilus_navigation_window_init), (always_use_browser_changed):
      	* src/nautilus-window-private.h:
      	Add menu item to open spatial folder window from browser window to File
      	menu and context menus.
      
      svn path=/trunk/; revision=13406
      f68684cc
  5. 23 Jul, 2007 1 commit
    • Christian Persch's avatar
      Port to new gtk+ 2.11 tooltips API. Bug #458284 and bug #455616. · aab97ab5
      Christian Persch authored
      2007-07-23  Christian Persch  <chpe@gnome.org>
      
      	* configure.in:
      	* src/nautilus-navigation-action.c: (connect_proxy),
      	(disconnect_proxy):
      	* src/nautilus-navigation-window-menus.c: (connect_proxy_cb),
      	(refresh_go_menu):
      	* src/nautilus-navigation-window.c: (location_button_create),
      	(nautilus_navigation_window_init),
      	(nautilus_navigation_window_destroy),
      	(nautilus_navigation_window_finalize),
      	(nautilus_navigation_window_class_init):
      	* src/nautilus-query-editor.c: (nautilus_query_editor_dispose),
      	(nautilus_query_editor_add_row), (nautilus_query_editor_init),
      	(finish_first_line):
      	* src/nautilus-side-pane.c: (side_panel_free),
      	(nautilus_side_pane_class_init), (nautilus_side_pane_init),
      	(nautilus_side_pane_dispose), (nautilus_side_pane_finalize),
      	(nautilus_side_pane_add_panel), (create_shortcut):
      	* src/nautilus-trash-bar.c: (nautilus_trash_bar_class_init),
      	(nautilus_trash_bar_init):
      	* src/nautilus-window-private.h: Port to new gtk+ 2.11 tooltips API.
      	Bug #458284 and bug #455616.
      
      svn path=/trunk/; revision=13011
      aab97ab5
  6. 02 Mar, 2007 1 commit
    • Alexander Larsson's avatar
      Sparse cleanups from kjartan · ef3034fa
      Alexander Larsson authored
      2007-03-02  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-icon-canvas-item.c:
              * libnautilus-private/nautilus-icon-container.c:
              * libnautilus-private/nautilus-program-choosing.c:
              * libnautilus-private/nautilus-trash-file.c:
              * libnautilus-private/nautilus-tree-view-drag-dest.c:
              * src/file-manager/fm-desktop-icon-view.c:
              * src/file-manager/fm-directory-view.c:
              * src/file-manager/fm-list-model.c:
              * src/file-manager/fm-list-view.c:
              * src/file-manager/fm-tree-model.c:
              * src/nautilus-image-properties-page.c:
              * src/nautilus-navigation-bar.c:
              * src/nautilus-query-editor.c:
              * src/nautilus-search-bar.c:
              * src/nautilus-window-private.h:
      	Sparse cleanups from kjartan
      
      
      svn path=/trunk/; revision=12780
      ef3034fa
  7. 24 Jul, 2006 1 commit
    • Martin Wehner's avatar
      Add a location_button field. · 0db0e582
      Martin Wehner authored
      2006-07-25  Martin Wehner  <martin.wehner@gmail.com>
      
      	* src/nautilus-window-private.h (NautilusNavigationWindowDetails):
      	Add a location_button field.
      
      	* src/nautilus-navigation-window.c
      	(nautilus_navigation_window_instance_init): Create the
      	location_button.
      	(location_button_toggled_cb): New callback.  Changes the
      	preference for toggling between the path bar and the location bar.
      	(always_use_location_entry_changed): Toggle the button as
      	appropriate.
      
      	Add a button to the location bar to toggle betwen the path bar
      	and a location entry. (#347991)
      
      	Patch from Federico Mena Quintero  <federico@novell.com>
      0db0e582
  8. 21 Jun, 2006 1 commit
    • Christian Neumair's avatar
      Add complete session management, remember maximization state and type of · ac97cb95
      Christian Neumair authored
      2006-06-21  Christian Neumair  <chris@gnome-de.org>
      
      	Add complete session management, remember maximization state and type
      	of open windows, save history on quit.
      
      	* libnautilus-private/nautilus-global-preferences.c
      	* libnautilus-private/nautilus-global-preferences.h:
      	Add NAUTILUS_PREFERENCES_NAVIGATION_WINDOW_MAXIMIZED setting.
      
      	* libnautilus-private/nautilus-metadata.h:
      	Add NAUTILUS_METADATA_KEY_WINDOW_MAXIMIZED key.
      
      	* src/nautilus-application.c:
      	* src/nautilus-application.h:
      	Save session on session save request, add
      	nautilus_application_load_session(), move
      	initial navigational geometry handling to
      	nautilus_application_create_navigation_window,
      	maximize window if
      	NAUTILUS_PREFERENCES_NAVIGATION_WINDOW_MAXIMIZED
      	is set.
      
      	* src/nautilus-main.c:
      	Add "--load-session" parameter.
      
      	* src/nautilus-shell-interface.idl:
      	* src/nautilus-shell.c:
      	Add load_session CORBA method.
      
      	* src/nautilus-navigation-window.c:
      	* src/nautilus-spatial-window.c:
      	Save maximized state when appropriate.
      
      	* src/nautilus-window-manage-views.c:
      	Load maximized state for spatial windows,
      	remove navigation window geometry handling.
      
      	* src/nautilus-window.c:
      	* src/nautilus-window-private.h:
      	Add nautilus_add_to_history_list_no_notify.
      ac97cb95
  9. 20 Mar, 2006 1 commit
    • Federico Mena Quintero's avatar
      Don't set the visibility of the "burn CD" action here. · ceea7a03
      Federico Mena Quintero authored
      2006-03-14  Federico Mena Quintero  <federico@novell.com>
      
      	* src/nautilus-window-menus.c: (nautilus_window_initialize_menus):
      	Don't set the visibility of the "burn CD" action here.
      	(nautilus_window_initialize_menus_constructed): New public
      	function.  Only disable NAUTILUS_ACTION_GO_TO_BURN_CD if we are in
      	a window which has a menubar.  This prevents calling
      	have_burn_uri() unnecessarily for the desktop window, as this is
      	an expensive operation during login (up to 1 second!).  The way
      	have_burn_uri() works is by creating a "burn:///" URI and seeing
      	if it is valid, but this makes gnome-vfs load libmapping.so from
      	nautilus-cd-burner; this takes a long time during login.
      
      	* src/nautilus-window-private.h: Added prototype for
      	nautilus_window_initialize_menus_constructed().
      
      	* src/nautilus-window.h: New prototype for
      	nautilus_window_has_menubar_and_statusbar().
      
      	* src/nautilus-window.c
      	(nautilus_window_has_menubar_and_statusbar): New function; returns
      	whether the window should have a menubar and statusbar.  This
      	depends on the window_type from the class structure.
      	(nautilus_window_constructor): Call
      	nautilus_window_initialize_menus_constructed().  We do it here so
      	that its own call to nautilus_window_has_menubar_and_statusbar()
      	will already have the right value for class->window_type.
      ceea7a03
  10. 03 Mar, 2006 1 commit
  11. 12 Dec, 2005 1 commit
  12. 11 Jul, 2005 1 commit
    • Alexander Larsson's avatar
      Show busy cursor in browser mode too. (#97887) · b90ca972
      Alexander Larsson authored
      2005-07-11  Alexander Larsson  <alexl@redhat.com>
      
      	* src/nautilus-spatial-window.[ch]:
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c:
      	Show busy cursor in browser mode too. (#97887)
      
      	Patch from Christian Neumair <chris@gnome-de.org>
      b90ca972
  13. 08 Jul, 2005 1 commit
    • Alexander Larsson's avatar
      Patch from Jamie McCracken <jamiemcc@blueyonder.co.uk> · 5d20d56e
      Alexander Larsson authored
      2005-07-08  Alexander Larsson  <alexl@redhat.com>
      
              Patch from Jamie McCracken <jamiemcc@blueyonder.co.uk>
      
      	* src/Makefile.am:
      	* src/nautilus-pathbar.[ch]:
      	New pathbar widget. Based on code from gtk.
      
      	* src/nautilus-navigation-window.[ch]:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-private.h:
      	Use pathbar in browser window.
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	* libnautilus-private/nautilus-global-preferences.[ch]:
      	Add always_use_location_entry prefs.
      
      	* src/nautilus-navigation-window-menus.c:
      	Whitespace fixup.
      5d20d56e
  14. 23 Jun, 2005 1 commit
    • Alexander Larsson's avatar
      Fix handling of notification of .gtk-bookmark file changes. · 644877a5
      Alexander Larsson authored
      2005-06-23  Alexander Larsson  <alexl@redhat.com>
      
      	* src/nautilus-bookmark-list.c:
      	Fix handling of notification of .gtk-bookmark file changes.
      
      	* src/Makefile.am:
      	* src/nautilus-window-bookmarks.[ch]:
      	* src/nautilus-application.c:
      	* src/nautilus-navigation-window-menus.c:
      	* src/nautilus-navigation-window.[ch]:
      	* src/nautilus-spatial-window-ui.xml:
      	* src/nautilus-spatial-window.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.[ch]:
      	Move most bookmark stuff to nautilus-window-bookmarks and
      	put bookmarks in spatial windows too.
      644877a5
  15. 20 Jun, 2005 1 commit
  16. 22 Feb, 2005 1 commit
    • Alexander Larsson's avatar
      Remove unneeded startup_id. · 05cbfa5c
      Alexander Larsson authored
      2005-02-22  Alexander Larsson  <alexl@redhat.com>
      
      	* src/nautilus-application.c: (create_window):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c: (nautilus_window_init),
      	(nautilus_window_finalize):
      	Remove unneeded startup_id.
      05cbfa5c
  17. 14 Feb, 2005 1 commit
    • Alexander Larsson's avatar
      Enable startup notification. · 00858aa1
      Alexander Larsson authored
      2005-02-14  Alexander Larsson  <alexl@redhat.com>
      
      	* data/applications.desktop.in:
      	* data/favorites.desktop.in:
      	* src/network-scheme.desktop.in:
      	* nautilus-computer.desktop.in:
      	* nautilus-folder-handler.desktop.in:
      	* nautilus-home.desktop.in:
      	* nautilus.desktop.in:
      	Enable startup notification.
      
      	* src/nautilus-application.c:
      	* src/nautilus-application.h:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-connect-server-dialog-nonmain.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-main.c:
      	* src/nautilus-navigation-window-menus.c:
      	* src/nautilus-shell-interface.idl:
      	* src/nautilus-shell.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c:
      	Handle startup notification across corba activation.
      	Patch from Elijah Newren <newren@gmail.com>
      00858aa1
  18. 22 Nov, 2004 1 commit
  19. 21 Jun, 2004 1 commit
    • Alexander Larsson's avatar
      Based on patch by Jamie McCracken <jamiemcc@blueyonder.co.uk> · 4b2c8c84
      Alexander Larsson authored
      2004-06-21  Alexander Larsson  <alexl@redhat.com>
      
              Based on patch by Jamie McCracken <jamiemcc@blueyonder.co.uk>
      
      	* libnautilus-private/nautilus-metadata.h:
      	Add show hidden files metadata name
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.[ch]:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-tree-view.c:
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/nautilus-spatial-window.[ch]:
      	* src/nautilus-view-frame-corba.c:
      	* src/nautilus-view-frame.[ch]:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.[ch]:
      	Add per-window show hidden files setting, saved per folder
      	in spatial mode.
      
      2004-06-21  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-file-utilities.c (nautilus_get_vfs_method_display_name):
      	Handle dns-sd name
      4b2c8c84
  20. 07 Apr, 2004 1 commit
    • Alexander Larsson's avatar
      Make min height/width smaller for spatial windows. · e6177f87
      Alexander Larsson authored
      2004-04-07  Alexander Larsson  <alexl@redhat.com>
      
      	* src/nautilus-window-manage-views.c:
      	(position_and_show_window_callback):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c: (set_initial_window_geometry):
      	Make min height/width smaller for spatial windows.
      e6177f87
  21. 05 Mar, 2004 1 commit
    • Alexander Larsson's avatar
      Add nautilus_mime_get_default_fallback_component_for_file which ignores · 80d8c657
      Alexander Larsson authored
      2004-03-05  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-mime-actions.[ch]:
      	Add nautilus_mime_get_default_fallback_component_for_file which
      	ignores the metadata specified component.
      
      	* src/nautilus-applicable-views.[ch]:
      	Add fallback argument to nautilus_determine_initial_view.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-window-manage-views.c:
      	If the view fails to load, fall back to the non-metadata one.
      	If that fails also, make sure to destroy the window if this
      	was a new (non-visible) window.
      80d8c657
  22. 11 Jan, 2004 1 commit
  23. 01 Dec, 2003 1 commit
    • Sivaiah Nallagatla's avatar
      src/nautilus-navigation-window.c (real_get_default_size) · aa5e7ce6
      Sivaiah Nallagatla authored
      2003-12-01 Sivaiah Nallagatla <snallagatla@novell.com>
      
              * src/nautilus-navigation-window.c (real_get_default_size) (nautilus_navigation_window_class_init)
              * src/nautilus-spatial-window.c (real_get_default_size) (nautilus_spatial_window_class_init)
              * src/nautilus-window-private.h
              * src/nautilus-window.c (set_initial_window_geometry)
              * src/nautilus-window.h : make default size of navigation window bigger and different from that
              of spatial window. #127604 in b.g.o
      aa5e7ce6
  24. 30 Sep, 2003 1 commit
  25. 16 Apr, 2003 1 commit
    • Alexander Larsson's avatar
      Add the nautilus-cd-burner integration patch from RH. · af26751c
      Alexander Larsson authored
      2003-04-16  Alexander Larsson  <alexl@redhat.com>
      
      	* src/nautilus-information-panel.c: (burn_cd_callback),
      	(nautilus_information_panel_update_buttons):
      	* src/nautilus-shell-ui.xml:
      	* src/nautilus-window-manage-views.c: (update_burn_cd_items),
      	(update_for_new_location):
      	* src/nautilus-window-menus.c: (file_menu_burn_cd_callback),
      	(go_menu_go_to_burn_cd_callback),
      	(nautilus_window_initialize_menus_part_1):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_allow_reload), (nautilus_window_allow_burn_cd):
      	* src/nautilus-window.h:
      	Add the nautilus-cd-burner integration patch from RH.
      af26751c
  26. 10 Mar, 2003 1 commit
    • Alexander Larsson's avatar
      Make 50% the default list view zoom. · f4723e98
      Alexander Larsson authored
      2003-03-10  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-global-preferences.c:
      	* libnautilus-private/apps_nautilus_preferences.schemas:
      	Make 50% the default list view zoom.
      
      	* libnautilus-private/nautilus-bookmark.h:
      	* libnautilus-private/nautilus-bookmark.c:
      	(nautilus_bookmark_finalize),
      	(nautilus_bookmark_uri_known_not_to_exist),
      	(nautilus_bookmark_set_scroll_pos),
      	(nautilus_bookmark_get_scroll_pos):
      	Add scroll positions to bookmarks. Used for the window
      	back/forward history.
      
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_get_first_visible_icon),
      	(nautilus_icon_container_scroll_to_icon):
      	Add new functions.
      
      	* libnautilus/nautilus-view-component.idl:
      	Add Nautilus::ScollPositionable interface.
      
      	* libnautilus/Makefile.am:
      	* libnautilus/nautilus-scroll-positionable.h:
      	* libnautilus/nautilus-scroll-positionable.c:
      	Standard implementation of Nautilus::ScollPositionable.
      
      	* src/file-manager/fm-icon-view.c:
      	(icon_view_get_first_visible_file_callback),
      	(icon_view_scroll_to_file_callback), (fm_icon_view_instance_init):
      	Implement Nautilus::ScollPositionable for icon view.
      
      	* src/file-manager/fm-list-view.c:
      	(list_view_get_first_visible_file_callback),
      	(list_view_scroll_to_file_callback), (fm_list_view_instance_init):
      	Implement Nautilus::ScollPositionable for list view.
      
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c: (destroy_view),
      	(create_corba_objects),
      	(nautilus_view_frame_get_first_visible_file),
      	(nautilus_view_frame_scroll_to_file):
      	Add support for Nautilus::ScollPositionable.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-window-manage-views.c: (open_location),
      	(free_location_change), (end_location_change),
      	(begin_location_change), (nautilus_window_set_content_view),
      	(load_complete_callback), (nautilus_window_back_or_forward),
      	(nautilus_window_reload):
      	Save scroll position when changing location and switching
      	components. Scroll to the right place on back/forward.
      f4723e98
  27. 02 Mar, 2003 1 commit
    • Dave Camp's avatar
      Use bonobo_ui_component_widget_set for the back and forward dropdowns. · de8025c2
      Dave Camp authored
      2003-03-01  Dave Camp  <dave@ximian.com>
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-window-toolbars.c: (get_back_button),
      	(get_forward_button), (menu_position_under_widget),
      	(create_back_or_forward_toolbar_item): Use
      	bonobo_ui_component_widget_set for the back and forward dropdowns.
      
      	This is the nautilus end of a fix for bug #106457.
      de8025c2
  28. 06 Nov, 2002 1 commit
    • Jan Arne Petersen's avatar
      In single click mode use a hand cursor instead of underlining. · 4881e9cb
      Jan Arne Petersen authored
      2002-11-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(draw_or_measure_label_text), (create_label_layout),
      	(get_label_layout), (nautilus_icon_canvas_item_event):
      
      	In single click mode use a hand cursor instead of underlining.
      
      	* src/nautilus-window.c: (create_view_as_menu_item):
      	* src/Nautilus_shell.server.in:
      
      	Add mnemonics to the 'View as List' and 'View as Icons' entries.
      
      	* icons/Makefile.am:
      	* src/nautilus-window-manage-views.c: (compute_title),
      	(nautilus_window_update_icon), (set_displayed_location),
      	(viewed_file_changed_callback), (location_has_really_changed),
      	(title_changed_callback):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c: (icons_changed_callback),
      	(nautilus_window_instance_init):
      
      	Use the real file icons as window border icons in the nautilus window
      	and file properties dialog. Use a special desktop icon and title in
      	the Ctrl-Alt-Tab window.
      4881e9cb
  29. 04 Nov, 2002 1 commit
    • Alexander Larsson's avatar
      Remove click-on-throbber. Patch by Jan Arne Petersen · f094a7de
      Alexander Larsson authored
      2002-11-04  Alexander Larsson  <alexl@redhat.com>
      
      	* components/throbber/nautilus-throbber.c: (get_bonobo_properties),
      	(nautilus_throbber_instance_init), (nautilus_throbber_expose),
      	(nautilus_throbber_class_init),
      	(nautilus_throbber_accessible_get_type):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window-toolbars.c: (throbber_created_callback):
      	* src/nautilus-window.c: (nautilus_window_unrealize):
      
      	Remove click-on-throbber. Patch by Jan Arne Petersen <jpetersen@gnome-de.org>
      f094a7de
  30. 22 Sep, 2002 1 commit
    • Dave Camp's avatar
      Attach and detach the menu widget. (nautilus_side_pane_init), · 731c567a
      Dave Camp authored
      2002-09-22  Dave Camp  <dave@ximian.com>
      
      	* src/nautilus-side-pane.h:
      	* src/nautilus-side-pane.c: (menu_detach_callback),
      	(nautilus_side_pane_destroy), (nautilus_side_pane_init): Attach
      	and detach the menu widget.
      	(nautilus_side_pane_init), (update_current_image),
      	(switch_page_callback), (nautilus_side_pane_set_panel_image):
      	Allow the user to set images for each panel.
      	(nautilus_side_pane_add_panel), (nautilus_side_pane_remove_panel):
      	Added preconditions, use GtkImageMenuItem instead of GtkMenuItem
      	for panel menu items.
      	* src/nautilus-window-manage-views.c: (set_side_panel_image),
      	(side_panel_image_changed_callback), (connect_side_panel),
      	(view_loaded_callback): Listen to the "tab_image" property on side
      	panels, and update the side pane with the proper images.
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c: (side_panel_set_open),
      	(side_pane_switch_page_callback),
      	(nautilus_window_set_up_sidebar): Set the "close" property of
      	panels as they are shown and hidden.
      731c567a
  31. 21 Sep, 2002 1 commit
    • Dave Camp's avatar
      New files, container for the side panels. · b0facd37
      Dave Camp authored
      2002-09-21  Dave Camp  <dave@ximian.com>
      
      	* src/nautilus-side-pane.c:
      	* src/nautilus-side-pane.h: New files, container for the side
      	panels.
      	* src/nautilus-information-panel.c:
      	* src/nautilus-information-panel.h: Moved nautilus-sidebar.[ch] here,
      	converted it into just another panel, instead of a container.
      	* src/Makefile.am: Build nautilus-information-panel.[ch] and
      	nautilus-side-pane.[ch].
      	* src/nautilus-window-manage-views.c: (update_title),
      	(update_for_new_location), (handle_view_failure),
      	(nautilus_window_set_sidebar_panels):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (side_pane_close_requested_callback),
      	(side_pane_size_allocate_callback), (setup_side_pane_width),
      	(nautilus_window_set_up_sidebar),
      	(nautilus_window_add_sidebar_panel),
      	(nautilus_window_remove_sidebar_panel): Use the new information
      	panel and side pane.
      b0facd37
  32. 24 May, 2002 1 commit
    • Anders Carlsson's avatar
      Don't exit if the file is local. Sigh, won't people test their code? · 5146ed76
      Anders Carlsson authored
      2002-05-24  Anders Carlsson  <andersca@gnu.org>
      
      	* src/file-manager/fm-desktop-icon-view.c: (volume_ops_callback):
      	Don't exit if the file is local. Sigh, won't people test their code?
      
      	* src/file-manager/fm-directory-view.c: (activate_callback):
      	Special case "file" type URIs, so that people can still open
      	their nfs mounted directories.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-window-toolbars.c:
      	(nautilus_window_initialize_toolbars):
      	* src/nautilus-window.c: (nautilus_window_finalize):
      	Remove un-needed theme code.
      5146ed76
  33. 22 May, 2002 1 commit
  34. 13 May, 2002 1 commit
    • Michael Meeks's avatar
      activate the throbber in case we didn't earlier. · 03a2dbc3
      Michael Meeks authored
      2002-05-13  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window.c (nautilus_window_show_toolbar):
      	activate the throbber in case we didn't earlier.
      
      	* src/nautilus-window-toolbars.c
      	(nautilus_window_activate_throbber): split out of
      	(nautilus_window_initialize_toolbars): here,
      	only activate the throbber if we are starting
      	with a toolbar.
      
      	* src/nautilus-window.c:
      	(nautilus_window_show_toolbar, nautilus_window_hide_toolbar): move
      	into nautilus-window-toolbars.
      
      	* libnautilus/nautilus-view-standard-main.c
      	(object_destroyed): upd. comment.
      	(make_object): prune bogus comment.
      	(nautilus_view_instrument_for_failure): impl.
      	(object_destroyed): only do 1 destroy ever, rename
      	(view_object_destroy): to this.
      	(make_object): upd.
      	(nautilus_view_never_got_frame_timeout),
      	(nautilus_view_set_frame_callback),
      	(nautilus_view_cnx_broken_callback): impl.
      03a2dbc3
  35. 26 Apr, 2002 1 commit
    • Dave Camp's avatar
      Replace doubles in the zoom interfaces with floats to match the bonobo · 6470cc2f
      Dave Camp authored
      2002-04-24  Dave Camp  <dave@ximian.com>
      
      	* src/nautilus-view-frame.c: (nautilus_view_frame_set_zoom_level):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-window-manage-views.c:
      	(zoom_parameters_changed_callback):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c: (nautilus_window_zoom_to_level): Replace
      	doubles in the zoom interfaces with floats to match the bonobo
      	zoomable interface.
      
      	* src/nautilus-zoom-control.c:
      	(nautilus_zoom_control_expose): Draw the focus rectangle if the
      	zoom control is focused.
      	(nautilus_zoom_control_button_press_event): Grab focus.
      	(zoom_menu_callback), (create_zoom_menu_item),
      	(nautilus_zoom_control_change_value),
      	(nautilus_zoom_control_set_zoom_level),
      	(nautilus_zoom_control_set_parameters): Replace double with float.
      	(nautilus_zoom_control_class_init): Initialize keybindings.
      	(nautilus_zoom_control_get_accessible),
      	(nautilus_zoom_control_accessible_do_action),
      	(nautilus_zoom_control_accessible_get_n_actions),
      	(nautilus_zoom_control_accessible_action_get_description),
      	(nautilus_zoom_control_accessible_action_get_name),
      	(nautilus_zoom_control_accessible_action_interface_init),
      	(nautilus_zoom_control_accessible_get_current_value),
      	(nautilus_zoom_control_accessible_get_maximum_value),
      	(nautilus_zoom_control_accessible_get_minimum_value),
      	(nearest_preferred),
      	(nautilus_zoom_control_accessible_set_current_value),
      	(nautilus_zoom_control_accessible_value_interface_init),
      	(nautilus_zoom_control_accessible_get_name),
      	(nautilus_zoom_control_accessible_get_description),
      	(nautilus_zoom_control_accessible_class_init),
      	(nautilus_zoom_control_accessible_get_type): Implement the zoom
      	accessible.
      	* src/nautilus-zoom-control.h: Added the change_value signal.
      6470cc2f
  36. 05 Apr, 2002 1 commit
    • Michael Meeks's avatar
      impl. (nautilus_throbber_class_init): upd. · 0790b625
      Michael Meeks authored
      2002-04-05  Michael Meeks  <michael@ximian.com>
      
      	* components/throbber/nautilus-throbber.c
      	(nautilus_throbber_accessible_class_init),
      	(nautilus_throbber_accessible_initialize),
      	(nautilus_throbber_accessible_get_type),
      	(nautilus_throbber_get_accessible): impl.
      	(nautilus_throbber_class_init): upd.
      	(nautilus_throbber_accessible_image_get_size):
      	(nautilus_throbber_accessible_image_interface_init):
      	(nautilus_throbber_set_location): split out of
      	(nautilus_throbber_button_release_event): here.
      	(nautilus_icon_container_accessible_do_action): use it.
      	(nautilus_throbber_accessible_get_n_actions),
      	(nautilus_throbber_accessible_action_get_description),
      	(nautilus_throbber_accessible_action_get_name),
      	(nautilus_throbber_accessible_action_get_keybinding),
      	(nautilus_throbber_accessible_action_set_description),
      	(nautilus_throbber_accessible_action_interface_init): impl.
      
      2002-04-04  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window-toolbars.c
      	(create_back_or_forward_toolbar_item): add tooltip
      	parameter so we can get a11y descriptions.
      	(nautilus_window_initialize_toolbars): upd.
      
      	* src/nautilus-window.c
      	(nautilus_window_instance_init): create a tooltips object.
      	(nautilus_window_destroy): kill it.
      
      	* src/nautilus-shell-ui.xml: prune some cruft.
      
      	* components/music/nautilus-music-view.c
      	(nautilus_music_view_set_album_image): set image name.
      0790b625
  37. 08 Mar, 2002 1 commit
    • Michael Meeks's avatar
      create a UI component for the status, that is separate from the shell UI · ab381079
      Michael Meeks authored
      2002-03-08  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window.c
      	(nautilus_window_constructed): create a UI component for
      	the status, that is separate from the shell UI component.
      	(nautilus_window_finalize): release the status_ui.
      	(nautilus_window_clear_status): remove fixme #43597
      	(nautilus_window_set_status): upd.
      ab381079
  38. 07 Mar, 2002 1 commit
    • Michael Meeks's avatar
      impl. to cope with having a paned with no child2, without doing lots of · 6b579803
      Michael Meeks authored
      2002-03-07  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-horizontal-splitter.c
      	(nautilus_horizontal_splitter_size_allocate): impl. to
      	cope with having a paned with no child2, without doing
      	lots of bogus size re-allocation.
      	(nautilus_horizontal_splitter_class_init): upd.
      	(nautilus_horizontal_splitter_pack2): impl, since
      	gtkpaned relies on the re-size to generate an expose
      	to re-render it's splitter grabber thing.a
      
      	* src/nautilus-sidebar.c
      	(nautilus_sidebar_set_width): impl. moving all sidebar
      	preferences here,
      	(nautilus_sidebar_init): move auto value setup
      	here from class_init to save possible re-enterancy
      	issue. Request the size we want for the sidebar,
      	the pane will under-allocate if neccessary.
      	Set the old_width to the correct size so we don't
      	re-render the paned lots as it swiches about.
      
      	* src/nautilus-window.c
      	(nautilus_window_constructed): reflow to simplify,
      	call sidebar_set_width.
      	(nautilus_window_set_content_view_widget): use
      	nautilus_..._pack2 instead of gtk_paned to fix rendering.
      
      2002-03-06  Michael Meeks  <michael@ximian.com>
      
      	* components/notes/nautilus-notes.c
      	(make_notes_view): upd.
      
      	* components/news/nautilus-news.c
      	(rss_read_done_callback): parse the RTF, but don't spew
      	warnings everywhere.
      	(make_news_view): upd.
      
      	* components/throbber/main.c
      	(cb_create_throbber): impl.
      	(throbber_object_destroyed, throbber_make_object):
      	axe cut & paste.
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_create_from_get_type_function):
      	widen from NautilusView to BonoboObject, this
      	code has a much wider application.
      	(make_object): ditto.
      
      	* components/hardware/nautilus-hardware-view.c
      	(nautilus_hardware_view_get_nautilus_view): upd.
      
      	* components/throbber/nautilus-throbber.c
      	(nautilus_throbber_new): kill.
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_standard_main_multi): use gdk_get_display.
      
      	* libnautilus-private/nautilus-bonobo-extensions.c
      	(nautilus_bonobo_activation_register_for_display): impl.
      
      	* src/nautilus-application.c
      	(nautilus_application_startup): use it.
      
      	* src/nautilus-window-toolbars.c
      	(location_change_at_idle_callback),
      	(throbber_callback): move from nautilus-window.c
      	(nautilus_window_allow_stop): move this here,
      	prune redundant sets, simplify property bag
      	extraction.
      
      	* src/nautilus-window.c
      	(nautilus_window_constructed): move throbber
      	location changed code out of here.
      	(nautilus_window_unrealize): no explicit removal
      	from remote property bag neccessary & upd.
      
      	* libnautilus-private/nautilus-metafile-factory.c
      	(corba_open): reduce complexity.
      6b579803
  39. 24 Jan, 2002 1 commit
    • Darin Adler's avatar
      GNOME2_CONVERSION_COMPLETE eradication campaign · 5db444dc
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_init): Re-enable the property bag.
      
      	* components/image-viewer/Makefile.am: Remove io-png.[ch].
      	* components/image-viewer/io-png.c: Remove.
      	* components/image-viewer/io-png.h: Remove.
      	* components/image-viewer/nautilus-image-view.c:
      	(save_image_to_stream): Not implemented.
      
      	* libnautilus-private/nautilus-directory-metafile.c:
      	(nautilus_directory_register_metadata_monitor),
      	(nautilus_directory_unregister_metadata_monitor):
      	Wipe out some bonobo_object_corba_objref calls.
      
      	* src/nautilus-window.h: Make the throbber private.
      	* src/nautilus-window-private.h: Make the throbber private.
      	Use a listener object now, not a listener ID.
      
      	* src/nautilus-window-toolbars.c:
      	(nautilus_window_initialize_toolbars): Move the throbber
      	into details.
      
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_unrealize): Use the new listener calls that
      	use an object, not an ID.
      	(nautilus_window_allow_stop): Move the throbber into details.
      5db444dc
  40. 15 Sep, 2001 1 commit