1. 15 Jul, 2008 1 commit
    • Christian Neumair's avatar
      Dynamically update buttons on file changes instead of hard-coding them · 30d7f677
      Christian Neumair authored
      2008-07-16  Christian Neumair  <cneumair@gnome.org>
      
      	* src/nautilus-pathbar.c (desktop_location_changed_callback),
      	(nautilus_path_bar_finalize), (reload_icons),
      	(get_custom_user_icon_info), (get_type_icon_info),
      	(nautilus_path_bar_update_button_appearance),
      	(nautilus_path_bar_update_button_state),
      	(button_data_file_changed), (make_directory_button),
      	(nautilus_path_bar_check_parent_path):
      	* src/nautilus-pathbar.h:
      	Dynamically update buttons on file changes instead of hard-coding them
      	once, both labels and icons. Refactor icon code.
      	Add TODO notice about reaction to XDG directory changes.
      	Comment out usage of custom icons for path bar buttons, due to
      	GDK pixbuf issues when scaling down large images #80925.
      
      svn path=/trunk/; revision=14365
      30d7f677
  2. 13 Jul, 2008 1 commit
    • Christian Neumair's avatar
      Add simple slot drop proxy API to libnautilus-private, centered around · d4f08bc0
      Christian Neumair authored
      2008-07-13  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-dnd.c
      	(nautilus_drag_uri_array_from_selection_list),
      	(nautilus_drag_uri_list_from_selection_list),
      	(nautilus_drag_uri_array_from_list),
      	(nautilus_drag_uri_list_from_array), (slot_proxy_drag_motion),
      	(drag_info_clear), (slot_proxy_drag_leave), (slot_proxy_drag_drop),
      	(slot_proxy_handle_drop), (slot_proxy_drag_data_received),
      	(nautilus_drag_slot_proxy_init):
      	* libnautilus-private/nautilus-dnd.h:
      	Add simple slot drop proxy API to libnautilus-private, centered
      	around nautilus_drag_slot_proxy_init().
      	The notebook tab label drop targets will later be ported to this API.
      
      	Add API for converting URI lists to URI arrays, and for constructing
      	URI lists and arrays from selection lists.
      
      	* src/nautilus-notebook.c (notebook_tab_drag_data_received):
      	Use nautilus_drag_uri_array_from_selection_list().
      
      	* src/nautilus-pathbar.c (slider_timeout),
      	(nautilus_path_bar_slider_drag_motion),
      	(nautilus_path_bar_slider_drag_leave), (nautilus_path_bar_init),
      	(nautilus_path_bar_finalize), (button_data_free),
      	(button_drag_data_get_cb), (setup_button_drag_source),
      	(make_directory_button):
      	* src/nautilus-pathbar.h:
      	Add path bar drop targets, use nautilus_drag_slot_proxy_init() for
      	setup.
      	Also offer GNOME icon lists as drag target.
      	Reveal hidden paths when hovering over the up/down sliders for some
      	time. Fixes #309842.
      
      svn path=/trunk/; revision=14356
      d4f08bc0
  3. 21 May, 2008 1 commit
  4. 13 May, 2008 1 commit
    • Christian Neumair's avatar
      Allow to open location popup menu for any location, and not just for · c3670555
      Christian Neumair authored
      2008-05-13  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-view.c
      	(nautilus_view_pop_up_location_context_menu):
      	* libnautilus-private/nautilus-view.h:
      	* src/file-manager/fm-actions.h:
      	* src/file-manager/fm-directory-view.c
      	(action_self_properties_callback),
      	(action_location_properties_callback),
      	(fm_directory_view_finalize),
      	(action_location_mount_volume_callback),
      	(action_location_unmount_volume_callback),
      	(action_location_eject_volume_callback),
      	(action_location_format_volume_callback),
      	(action_location_open_folder_window_callback),
      	(action_location_cut_callback), (action_location_copy_callback),
      	(action_location_trash_callback),
      	(action_location_delete_callback),
      	(real_update_location_menu_volumes), (real_update_location_menu),
      	(fm_directory_view_pop_up_background_context_menu),
      	(real_pop_up_location_context_menu),
      	(location_popup_file_attributes_ready),
      	(unschedule_pop_up_location_context_menu),
      	(schedule_pop_up_location_context_menu),
      	(fm_directory_view_pop_up_location_context_menu), (load_directory):
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/nautilus-location-bar.c (label_button_pressed_callback):
      	* src/nautilus-navigation-window.c
      	(nautilus_navigation_window_init),
      	(path_bar_button_pressed_callback), (path_bar_path_set_callback):
      	* src/nautilus-pathbar.c (nautilus_path_bar_class_init),
      	(nautilus_path_bar_update_path),
      	(nautilus_path_bar_get_path_for_button):
      	* src/nautilus-pathbar.h:
      	* src/nautilus-spatial-window.c (location_button_pressed_callback):
      	Allow to open location popup menu for any location, and not just for
      	currently open folder. Enable location popup menu for all path bar
      	buttons. Add volume operations to location context menu. Fix
      	separators in location context menu. Fixes #309844.
      	Do not unref file when opening properties dialog from background
      	context menu.
      
      svn path=/trunk/; revision=14156
      c3670555
  5. 14 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      Only use <gio/gio.h> include · 6559286c
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-bookmark.c:
              * libnautilus-private/nautilus-bookmark.h:
              * libnautilus-private/nautilus-desktop-icon-file.c:
              * libnautilus-private/nautilus-desktop-link-monitor.c:
              * libnautilus-private/nautilus-desktop-link.c:
              * libnautilus-private/nautilus-desktop-link.h:
              * libnautilus-private/nautilus-directory-private.h:
              * libnautilus-private/nautilus-directory.h:
              * libnautilus-private/nautilus-emblem-utils.h:
              * libnautilus-private/nautilus-file-changes-queue.h:
              * libnautilus-private/nautilus-file-operations.c:
              * libnautilus-private/nautilus-file-operations.h:
              * libnautilus-private/nautilus-file-utilities.c:
              * libnautilus-private/nautilus-file-utilities.h:
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-file.h:
              * libnautilus-private/nautilus-icon-info.c:
              * libnautilus-private/nautilus-icon-info.h:
              * libnautilus-private/nautilus-link.c:
              * libnautilus-private/nautilus-mime-actions.h:
              * libnautilus-private/nautilus-mime-application-chooser.c:
              * libnautilus-private/nautilus-monitor.c:
              * libnautilus-private/nautilus-monitor.h:
              * libnautilus-private/nautilus-open-with-dialog.c:
              * libnautilus-private/nautilus-open-with-dialog.h:
              * libnautilus-private/nautilus-program-choosing.c:
              * libnautilus-private/nautilus-program-choosing.h:
              * libnautilus-private/nautilus-progress-info.h:
              * libnautilus-private/nautilus-recent.h:
              * libnautilus-private/nautilus-search-directory.c:
              * libnautilus-private/nautilus-search-engine-simple.c:
              * libnautilus-private/nautilus-trash-monitor.c:
              * libnautilus-private/nautilus-trash-monitor.h:
              * libnautilus-private/nautilus-ui-utilities.c:
              * libnautilus-private/nautilus-view-factory.h:
              * src/file-manager/fm-directory-view.c:
              * src/file-manager/fm-directory-view.h:
              * src/file-manager/fm-icon-container.c:
              * src/file-manager/fm-icon-view.c:
              * src/file-manager/fm-tree-model.h:
              * src/file-manager/fm-tree-view.c:
              * src/nautilus-application.c:
              * src/nautilus-application.h:
              * src/nautilus-bookmark-list.c:
              * src/nautilus-bookmark-list.h:
              * src/nautilus-desktop-window.c:
              * src/nautilus-image-properties-page.c:
              * src/nautilus-location-entry.c:
              * src/nautilus-navigation-window.c:
              * src/nautilus-pathbar.c:
              * src/nautilus-pathbar.h:
              * src/nautilus-places-sidebar.c:
              * src/nautilus-property-browser.c:
              * src/nautilus-query-editor.c:
              * src/nautilus-window-menus.c:
      	Only use <gio/gio.h> include 
      
      
      svn path=/trunk/; revision=13529
      6559286c
  6. 30 Nov, 2007 1 commit
  7. 08 Jul, 2006 1 commit
    • Christian Neumair's avatar
      Add nautilus_find_existing_uri_in_hierarchy. Remove undefined · 092c35cb
      Christian Neumair authored
      2006-07-08  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-file-utilities.h:
      	Add nautilus_find_existing_uri_in_hierarchy.
      	Remove undefined in_gnome_path helper declarations.
      
      	* src/nautilus-pathbar.c:
      	* src/nautilus-pathbar.h:
      	Make nautilus_path_bar_clear_buttons public.
      
      	* src/nautilus-window-manage-views.c: (viewed_file_changed_callback):
      	If the displayed location was removed, and it has an existing parent,
      	navigate window to this parent. Fixes #336724.
      092c35cb
  8. 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