Commit graph

3820 commits

Author SHA1 Message Date
Alexander Larsson bcc1042a5f Bug 569668 – Don't allow changing default app for folders
2009-03-06  Alexander Larsson  <alexl@redhat.com>

        Bug 569668 – Don't allow changing default app for folders

        * src/file-manager/fm-properties-window.c:
	Don't show "open with" tab for folders. Accidentally changing
	the folder handler causes all sorts of weird issues when
	e.g. opening folders from the panel.



svn path=/trunk/; revision=15060
2009-03-06 10:37:54 +00:00
Alexander Larsson 1a2b53e763 Bug 574067 – context menu lists eject and unmount option
2009-03-04  Alexander Larsson  <alexl@redhat.com>

	Bug 574067 – context menu lists eject and unmount option

        * src/file-manager/fm-directory-view.c:
        * src/file-manager/fm-tree-view.c:
        * src/nautilus-places-sidebar.c:
	Never show unmount menu item if we're showing eject, as its a superset
	of unmount.


svn path=/trunk/; revision=15053
2009-03-04 18:52:12 +00:00
Cosimo Cecchi b42c590293 commit properly the previous ConsoleKit patch.
2009-03-03  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-application.c (nautilus_application_finalize),
	(ck_session_active_changed_cb), (ck_call_is_active_cb),
	(ck_get_current_session_cb), (do_initialize_consolekit),
	(finish_startup), (mount_added_callback):
	* src/nautilus-application.h: commit properly the previous
	ConsoleKit patch.

svn path=/trunk/; revision=15050
2009-03-03 19:55:05 +00:00
A. Walton b25c624aff Fix the build by reverting Cosimo's CK double-patch.
2009-03-03  A. Walton  <awalton@gnome.org>

	* src/nautilus-application.c (nautilus_application_finalize),
	(finish_startup), (mount_added_callback):
	* src/nautilus-application.h:
	Fix the build by reverting Cosimo's CK double-patch.


svn path=/trunk/; revision=15049
2009-03-03 19:42:48 +00:00
Cosimo Cecchi 1d8916a0dc use ConsoleKit to find out whether we are on the currently active session.
2009-03-03  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-application.c (nautilus_application_finalize),
	(ck_session_active_changed_cb), (ck_call_is_active_cb),
	(ck_get_current_session), (do_initialize_consolekit),
	(ck_get_current_session_cb), (finish_startup),
	(mount_added_callback):
	* src/nautilus-application.h: use ConsoleKit to find out whether
	we are on the currently active session. If we don't, inhibit autorun
	dialogs (#573577).

svn path=/trunk/; revision=15046
2009-03-03 13:56:28 +00:00
Alexander Larsson 23474d5f06 Don't ref pixbuf if it is NULL
2009-02-26  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-directory-view.c (add_submenu):
	Don't ref pixbuf if it is NULL


svn path=/trunk/; revision=15022
2009-02-26 07:35:49 +00:00
Alexander Larsson a0f7bb5f2e Use $XDG_DATA_HOME/.converted-launchers as marker for one-time desktop
2009-02-25  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-application.c:
	Use $XDG_DATA_HOME/.converted-launchers as marker for
	one-time desktop file trust operation.

        * libnautilus-private/nautilus-file-utilities.[ch]:
	Add nautilus_is_in_system_dir() to check if path is in
	XDG_DATA_DIR or in ~/.gnome2.

        * libnautilus-private/nautilus-directory-async.c:
        (is_link_trusted):
	Use new nautilus_is_in_system_dir() instead of open coding it.

        * libnautilus-private/nautilus-file-operations.c:
	When copying a desktop file from a trusted location to the desktop,
	mark it as trusted.


svn path=/trunk/; revision=15018
2009-02-25 14:10:26 +00:00
Alexander Larsson 1e1c916f55 Add "interactive" argument to nautilus_file_mark_desktop_file_trusted.
2009-02-24  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-file-operations.c:
        * libnautilus-private/nautilus-file-operations.h:
        * libnautilus-private/nautilus-mime-actions.c:
        Add "interactive" argument to
	nautilus_file_mark_desktop_file_trusted.

        * src/nautilus-application.c:
	Mark all desktopfiles on the desktop trusted on first
	run.



svn path=/trunk/; revision=15009
2009-02-24 15:51:54 +00:00
Paolo Borelli 20b787c9a5 do not leak the columns list.
2009-02-23  Paolo Borelli  <pborelli@katamail.com>

	* src/file-manager/fm-list-view.c (sort_criterion_changes_due_to_user):
	do not leak the columns list.


svn path=/trunk/; revision=14998
2009-02-23 16:42:37 +00:00
Christian Neumair 2f959ea975 Treat vertical scroll events as horizontal ones if compact view is
2009-02-20  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-directory-view.c
	(fm_directory_view_handle_scroll_event),
	(fm_directory_view_scroll_event):
	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-icon-view.c (fm_icon_view_scroll_event),
	(fm_icon_view_class_init):
	Treat vertical scroll events as horizontal ones if compact view is
	enabled, and if they do not bump the zoom level. Fixes #571770.

svn path=/trunk/; revision=14979
2009-02-20 11:05:25 +00:00
Alexander Larsson fbe7bdd104 Set the glibc MMAP limit to a static value to avoid the dynamic limit
2009-02-17  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
        * src/nautilus-main.c:
	Set the glibc MMAP limit to a static value to avoid the dynamic
	limit hitting bad behaviour due to the large temporary allocations
	when creating the desktop background. It would raise the limit
	to a large value causing several large allocations on the
	heap which are then not returned to the OS.


svn path=/trunk/; revision=14963
2009-02-17 10:55:00 +00:00
David Zeuthen 498596add8 Don't use shadowed mounts.
2009-02-10  David Zeuthen  <davidz@redhat.com>

	Don't use shadowed mounts.

	* libnautilus-private/nautilus-desktop-link-monitor.c (has_mount),
	(create_mount_link), (remove_mount_link), (mount_added_callback),
	(mount_removed_callback), (mount_changed_callback):
	* libnautilus-private/nautilus-directory-async.c (get_mount_at):
	* src/file-manager/fm-tree-view.c (add_root_for_mount):
	* src/nautilus-pathbar.c (is_file_path_mounted_mount):
	* src/nautilus-places-sidebar.c (update_places):
	Honor g_mount_is_shadowed().


svn path=/trunk/; revision=14953
2009-02-16 10:07:54 +00:00
Cosimo Cecchi 74eaafd2fa require intltool 0.40.1. use C_() to handle translator comments. Patch by
2009-02-13  Cosimo Cecchi  <cosimoc@gnome.org>

	* configure.in: require intltool 0.40.1.
	* src/file-manager/fm-properties-window.c
	(value_field_update_internal): use C_() to handle translator
	comments. Patch by A. Walton (#542658).

svn path=/trunk/; revision=14937
2009-02-12 23:04:57 +00:00
Thomas Hindoe Paaboel Andersen 178c1bef77 Replace deprecated gdk_pixbuf_unref with g_object_unref
svn path=/trunk/; revision=14930
2009-02-09 14:15:40 +00:00
Cosimo Cecchi 9d7917aafb Don't use unique_app_watch_window(), as we don't have a default window to
2009-02-04  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-application.c: (create_window):
	Don't use unique_app_watch_window(), as we don't have a default
	window to present (#570377).

svn path=/trunk/; revision=14917
2009-02-04 10:11:47 +00:00
Cosimo Cecchi 0fa45e385b Use G_DEFINE_TYPE_* instead of hand-written nautilus_foo_get_type()
2009-02-02  Cosimo Cecchi  <cosimoc@pluto>

	* libnautilus-extension/nautilus-column.c:
	(nautilus_column_finalize), (nautilus_column_init),
	(nautilus_column_class_init):
	* libnautilus-extension/nautilus-menu.c: (nautilus_menu_finalize):
	* libnautilus-private/nautilus-cell-renderer-pixbuf-emblem.c:
	(nautilus_cell_renderer_pixbuf_emblem_class_init),
	(nautilus_cell_renderer_pixbuf_emblem_finalize):
	* libnautilus-private/nautilus-cell-renderer-text-ellipsized.c:
	(nautilus_cell_renderer_text_ellipsized_init),
	(nautilus_cell_renderer_text_ellipsized_class_init),
	(nautilus_cell_renderer_text_ellipsized_get_size):
	* libnautilus-private/nautilus-entry.c: (nautilus_entry_finalize),
	(nautilus_entry_key_press), (nautilus_entry_motion_notify),
	(nautilus_entry_button_press), (nautilus_entry_button_release),
	(nautilus_entry_selection_clear), (nautilus_entry_class_init):
	* libnautilus-private/nautilus-file.c: (nautilus_file_init),
	(nautilus_file_constructor), (finalize),
	(nautilus_file_class_init):
	* libnautilus-private/nautilus-icon-canvas-item.c:
	(nautilus_icon_canvas_item_finalize),
	(nautilus_icon_canvas_item_update),
	(nautilus_icon_canvas_item_class_init):
	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_new):
	* libnautilus-private/nautilus-icon-container.h:
	* libnautilus-private/nautilus-mime-application-chooser.c:
	(nautilus_mime_application_chooser_finalize),
	(nautilus_mime_application_chooser_destroy),
	(nautilus_mime_application_chooser_class_init),
	(nautilus_mime_application_chooser_init):
	* libnautilus-private/nautilus-open-with-dialog.c:
	(nautilus_open_with_dialog_finalize),
	(nautilus_open_with_dialog_destroy),
	(nautilus_open_with_dialog_class_init),
	(nautilus_open_with_dialog_init):
	* src/file-manager/fm-icon-container.c:
	* src/file-manager/fm-list-model.c: (fm_list_model_dispose),
	(fm_list_model_finalize), (fm_list_model_class_init):
	* src/file-manager/fm-tree-model.c: (fm_tree_model_finalize),
	(fm_tree_model_class_init):
	Use G_DEFINE_TYPE_* instead of hand-written nautilus_foo_get_type()
	functions where possible.

svn path=/trunk/; revision=14911
2009-02-02 16:47:17 +00:00
Cosimo Cecchi 49cd912bad remove this, it's useless now that we don't use Bonobo anymore (#570125).
2009-02-01  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/Nautilus_shell.server.in: remove this, it's useless now that
	we don't use Bonobo anymore (#570125).

svn path=/trunk/; revision=14906
2009-02-01 19:38:18 +00:00
Cosimo Cecchi 8f976b5f28 Follow the "OnlyShowIn" and "NotShowIn" == GNOME keys for .desktop files,
2009-01-31  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/nautilus-directory-async.c (lacks_link_info),
	(monitor_includes_file), (link_info_done), (link_info_got_data),
	(link_info_start):
	* libnautilus-private/nautilus-file-private.h:
	* libnautilus-private/nautilus-file.c (nautilus_file_clear_info),
	(nautilus_file_should_show),
	(filter_hidden_and_backup_partition_callback),
	(nautilus_file_is_foreign_link):
	* libnautilus-private/nautilus-file.h:
	* libnautilus-private/nautilus-link.c (string_array_contains),
	(nautilus_link_get_link_info_given_file_contents):
	* libnautilus-private/nautilus-link.h:
	* src/file-manager/fm-desktop-icon-view.c
	(fm_desktop_icon_view_init):
	* src/file-manager/fm-directory-view.c (fm_directory_view_init),
	(fm_directory_view_should_show_file),
	(fm_directory_view_set_show_foreign):
	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-tree-model.c (should_show_file):
	Follow the "OnlyShowIn" and "NotShowIn" == GNOME keys for
	.desktop files,	when they are put on the desktop.
	Thanks to Federico Mena Quintero and Jared Moore (#338933).

svn path=/trunk/; revision=14905
2009-01-31 19:06:37 +00:00
Cosimo Cecchi 3b0dd97936 Remove "note-indicator.png" and use the themable icon we just added to
2009-01-28  Cosimo Cecchi  <cosimoc@pluto>

	* icons/Makefile.am:
	* src/nautilus-notes-viewer.c: (nautilus_notes_viewer_init):
	Remove "note-indicator.png" and use the themable icon we just
	added to display the emblem in the sidebar.

svn path=/trunk/; revision=14892
2009-01-28 14:40:21 +00:00
Cosimo Cecchi 6ea5ee4b32 Bring icon handling to the 21th century. Add an emblem-note icon, this is
2009-01-28  Cosimo Cecchi  <cosimoc@gnome.org>

	* data/icons/*:
	Bring icon handling to the 21th century.
	Add an emblem-note icon, this is copied from g-i-t "stock_note"
	icon right now, but we might change this later.
	* src/nautilus-application.c: (nautilus_application_init):
	add a lookup path for custom themable icons.

	This also fixes bug #569407. Thanks to Lapo Calamandrei for
	the tips on icon naming.

svn path=/trunk/; revision=14891
2009-01-28 11:49:20 +00:00
Cosimo Cecchi 7df107e725 don't rely on GTK+ implementation details when getting a GtkAction. Thanks
2009-01-23  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-window-menus.c
	(menu_item_select_cb): don't rely on GTK+ implementation details
	when getting a GtkAction.
	Thanks to Christian Persch (#568880).

svn path=/trunk/; revision=14884
2009-01-23 20:26:23 +00:00
Paolo Borelli 1b6f5b79ff add utility function to get a GtkMenuToolButton's button
2009-01-22  Paolo Borelli  <pborelli@katamail.com>

	* eel/eel-gtk-extensions.[ch]: add utility function
	to get a GtkMenuToolButton's button

	* src/nautilus-window-menus.c:
	* src/nautilus-navigation-action.c:
	Use the above util function that doesn't leak the children
	list.


svn path=/trunk/; revision=14877
2009-01-22 13:12:22 +00:00
A. Walton 491494fcbd Bug 568503 – Misspelled word "progam"->"program"
2009-01-20  A. Walton  <awalton@gnome.org>

	* src/nautilus-main.c (main):
	Bug 568503 – Misspelled word "progam"->"program"


svn path=/trunk/; revision=14871
2009-01-21 02:12:01 +00:00
Cosimo Cecchi 027152fb62 Support fading between backgrounds. Bug #552859, patch by Ray Strode.
2009-01-20  Cosimo Cecchi  <cosimoc@gnome.org>

	* eel-background.c: (on_bg_changed), (on_bg_transitioned),
	(eel_background_init), (free_fade), (eel_background_finalize),
	(set_root_pixmap), (fade_to_pixmap),
	(eel_background_set_up_widget), (on_background_changed),
	(init_fade), (eel_widget_queue_background_change),
	(widget_style_set_cb), (widget_realized_setup),
	(on_widget_destroyed), (eel_get_widget_background):
	Support fading between backgrounds.
	Bug #552859, patch by Ray Strode.

svn path=/trunk/; revision=14869
2009-01-20 11:47:54 +00:00
A. Walton 859b208f68 Fix another crasher when attempting to get properties on a damaged Desktop
2009-01-14  A. Walton  <awalton@gnome.org>

	* src/file-manager/fm-ditem-page.c (create_page):
	Fix another crasher when attempting to get properties 
	on a damaged Desktop Entry file.


svn path=/trunk/; revision=14860
2009-01-14 14:25:27 +00:00
A. Walton 3b7bbbef84 Unbreak build when building with --enable-empty-view. Closes bug #558537.
2009-01-13  A. Walton  <awalton@gnome.org>

	* src/file-manager/fm-empty-view.c (fm_empty_view_end_loading),
	(fm_empty_view_create), (fm_empty_view_register):
	Unbreak build when building with --enable-empty-view.
	Closes bug #558537. Patch by Emmanuel Fleury.


svn path=/trunk/; revision=14859
2009-01-13 18:21:57 +00:00
Alexander Larsson 5a4f860df8 Remove Go to Burn menu items to avoid error spew.
2009-01-13  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-navigation-window-ui.xml:
        * src/nautilus-spatial-window-ui.xml:
	Remove Go to Burn menu items to avoid error spew.



svn path=/trunk/; revision=14855
2009-01-13 13:49:29 +00:00
Alexander Larsson afadb31464 Only set window icon if it really changed.
2009-01-13  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-window-slot.c (nautilus_window_slot_update_icon): 
	Only set window icon if it really changed.


svn path=/trunk/; revision=14844
2009-01-13 09:08:08 +00:00
Alexander Larsson 296eaec5af Don't get selection unless debugging is really turned on. (For performance
2009-01-13  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-directory-view.c (fm_directory_view_notify_selection_changed):
	Don't get selection unless debugging is really turned on.
	(For performance reasons)


svn path=/trunk/; revision=14842
2009-01-13 08:53:46 +00:00
Alexander Larsson f36869dfa3 Don't update emblems when trash dir changes. It changes a lot (due to file
2009-01-12  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-directory-view.c (file_changed_callback):
	Don't update emblems when trash dir changes.
	It changes a lot (due to file count attribute) but never
	changes writeability status.



svn path=/trunk/; revision=14840
2009-01-12 20:06:24 +00:00
Alexander Larsson 915fd601dc Allow deleting of custom emblems. (#112292) Patch from DESSAI Imrane
2008-12-19  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-property-browser.c:
	Allow deleting of custom emblems. (#112292)
	Patch from DESSAI Imrane 


svn path=/trunk/; revision=14826
2008-12-19 11:35:20 +00:00
Bastien Nocera 6e7b7eaf30 Remove the CD/DVD creator from the places menu, and the places sidebar
2008-12-16  Bastien Nocera  <hadess@hadess.net>

	* src/nautilus-window-menus.c:
	* src/nautilus-window-private.h:
	* src/nautilus-window.c (nautilus_window_constructor):
	Remove the CD/DVD creator from the places menu, and the
	places sidebar (Closes: #508384)


svn path=/trunk/; revision=14824
2008-12-16 15:52:40 +00:00
Matthias Clasen d4b4c188e1 Remove code that supports KDE2 style trash handling.
* src/nautilus-application.c: Remove code that supports KDE2
        style trash handling.


svn path=/trunk/; revision=14814
2008-12-15 15:52:54 +00:00
Alexander Larsson d5a8c169ec Update the 2GB and 4GB thumbnail limits to the new prefs API and make sure
2008-12-10  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-file.c:
        * libnautilus-private/nautilus-global-preferences.c:
        * src/nautilus-file-management-properties.c:
        * src/nautilus-file-management-properties.ui:
	Update the 2GB and 4GB thumbnail limits to the new prefs API and
	make sure they actually work.


svn path=/trunk/; revision=14806
2008-12-10 10:40:44 +00:00
Cosimo Cecchi 7fce8f06d6 Use single GLib/GTK+ includes. Patch by Maxim Ermilov (#560432).
2008-12-06  Cosimo Cecchi  <cosimoc@gnome.org>

	* cut-n-paste-code/libegg/eggtreemultidnd.c:
	* cut-n-paste-code/libegg/eggtreemultidnd.h:
	* libnautilus-extension/nautilus-menu.c:
	* libnautilus-private/nautilus-directory-notify.h:
	* libnautilus-private/nautilus-file-operations.c:
	* libnautilus-private/nautilus-file.c:
	* libnautilus-private/nautilus-icon-info.h:
	* libnautilus-private/nautilus-idle-queue.h:
	* libnautilus-private/nautilus-monitor.h:
	* libnautilus-private/nautilus-search-engine-simple.c:
	* src/file-manager/fm-list-model.c:
	* src/file-manager/fm-list-model.h:
	* src/file-manager/fm-list-view.c:
	* src/nautilus-emblem-sidebar.h:
	* src/nautilus-notebook.c:
	* src/nautilus-notebook.h:
	Use single GLib/GTK+ includes. Patch by Maxim Ermilov (#560432).

svn path=/trunk/; revision=14797
2008-12-06 10:26:20 +00:00
Alexander Larsson 3772f8f6dc Update
2008-12-01  Alexander Larsson  <alexl@redhat.com>

        * POTFILES.in:
        * POTFILES.skip:
	Update

2008-12-01  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-main.c:
	Don't crash if nautilus.desktop is not installed (i.e. at make check)


svn path=/trunk/; revision=14793
2008-12-01 11:14:13 +00:00
Cosimo Cecchi 63590365be Don't unref the SMClient (#561402).
2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-application.c: (nautilus_application_finalize):
	Don't unref the SMClient (#561402).

svn path=/trunk/; revision=14787
2008-11-21 09:54:12 +00:00
Cosimo Cecchi 6e42f56013 Plug two memory leaks.
2008-11-18  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-main.c: (main):
	* src/nautilus-window-slot.c: (nautilus_window_slot_dispose):
	Plug two memory leaks.

svn path=/trunk/; revision=14786
2008-11-18 15:17:32 +00:00
A. Walton 20de984c17 Remove two duplicate asserts.
2008-11-11  A. Walton  <awalton@gnome.org>

	* src/file-manager/fm-directory-view.c
	(metadata_for_directory_as_file_ready_callback),
	(metadata_for_files_in_directory_ready_callback):
	Remove two duplicate asserts.
	
	Patch by Rui Matos (bug #555044).


svn path=/trunk/; revision=14785
2008-11-11 17:37:14 +00:00
Cosimo Cecchi 1b81919a37 Update the about dialog description. Thanks to Matthew Paul Thomas
2008-10-28  Cosimo Cecchi  <cosimoc@gnome.org>

        * src/nautilus-window-menus.c:
        (action_about_nautilus_callback):
	Update the about dialog description.
	Thanks to Matthew Paul Thomas (#551483).

svn path=/trunk/; revision=14769
2008-10-28 17:14:17 +00:00
A. Walton 04f223d45c Use normal weighting in the tree view sidebar. Closes bug #311786.
2008-10-22  A. Walton  <awalton@gnome.org>

	* src/file-manager/fm-tree-model.c (fm_tree_model_get_column_type),
	(fm_tree_model_get_value):
	* src/file-manager/fm-tree-model.h:
	* src/file-manager/fm-tree-view.c (create_tree):
	Use normal weighting in the tree view sidebar. Closes bug #311786.


svn path=/trunk/; revision=14756
2008-10-22 08:06:34 +00:00
Cosimo Cecchi 0d5452cce1 Mark two strings for translation (#557156).
2008-10-21  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/file-manager/fm-tree-view.c: (create_popup_menu):
	Mark two strings for translation (#557156).

svn path=/trunk/; revision=14753
2008-10-21 08:28:37 +00:00
Andre Klapper 453583dd62 Fix broken mnemonic for "Create _Folder" context menu entry (bug #555016)
2008-10-17  Andre Klapper  <a9016009@gmx.de>

	* /src/file-manager/fm-tree-view.c:
	Fix broken mnemonic for "Create _Folder" context menu entry (bug #555016)


svn path=/trunk/; revision=14737
2008-10-17 17:57:54 +00:00
Alexander Larsson d4ec79bdf2 Don't unref NULL, which can happen if !do_load_location
2008-10-17  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-window-manage-views.c
	(nautilus_window_slot_open_location_full):
	Don't unref NULL, which can happen if !do_load_location



svn path=/trunk/; revision=14732
2008-10-17 10:24:53 +00:00
Alexander Larsson 778efbaa54 Don't access NULL slot->viewed_file if its not been set yet.
2008-10-17  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-spatial-window.c:
        (nautilus_spatial_window_save_scroll_position):
        (nautilus_spatial_window_save_show_hidden_files_mode):
        (real_window_close):
	Don't access NULL slot->viewed_file if its not been set yet.


svn path=/trunk/; revision=14730
2008-10-17 09:47:30 +00:00
Christian Persch f7cddea837 Plug a mem leak. Bug #552691.
* src/nautilus-image-properties-page.c: Plug a mem leak. Bug #552691.

svn path=/trunk/; revision=14726
2008-10-13 12:49:19 +00:00
Nelson Benítez León 2a68862ef2 Reveal the selection after the user sorts by some type or clicks the
2008-10-12  Nelson Benítez León  <nbenitez@svn.gnome.org>

	* src/file-manager/fm-icon-view.c
	(set_sort_criterion_by_sort_type)
	(action_reversed_order_callback):
	Reveal the selection after the user sorts by some type or clicks the
	"reverse order" sort action. Fixes #45588.

svn path=/trunk/; revision=14718
2008-10-12 14:57:45 +00:00
Alexander Larsson 95c54a990f Save spatial geometry on window close, not slot close. Slot close is to
2008-10-09  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-spatial-window.c:
        (real_window_close):
        (nautilus_spatial_window_class_init):
	Save spatial geometry on window close, not slot close.
	Slot close is to late in the close by window destry case,
	as the windows have then been unrealized.



svn path=/trunk/; revision=14714
2008-10-09 12:49:01 +00:00
Alexander Larsson e017923a6e Make sure uri list is NULL terminated
2008-10-09  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-main.c (main):
	Make sure uri list is NULL terminated


svn path=/trunk/; revision=14713
2008-10-09 11:38:09 +00:00
Alexander Larsson 2f340fc517 Don't use eel_gdk_color_parse anymore. We don't have any colors left not
2008-10-09  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-property-browser.c:
        (nautilus_property_browser_drag_data_get):
	Don't use eel_gdk_color_parse anymore. We don't have any colors
	left not supported by gdk_color_parse.
	


svn path=/trunk/; revision=14709
2008-10-09 09:28:02 +00:00