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-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-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-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-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-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-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-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-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-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-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-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 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-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-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-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-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 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 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-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
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-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-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-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-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 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-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-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 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