2009-01-28 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-private/nautilus-directory.c:
(nautilus_directory_notify_files_moved):
Invalidate file attributes after it has been moved, so that
they are refreshed properly (#555234).
svn path=/trunk/; revision=14893
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-28 Cosimo Cecchi <cosimoc@gnome.org>
* eel-editable-label.c: (eel_editable_label_move_cursor):
make sure we take care about UTF-8/byte conversion when we move
around the cursor (#569165).
svn path=/trunk/; revision=14890
2009-01-27 Cosimo Cecchi <cosimoc@gnome.org>
* nautilus.desktop.in.in: set X-GNOME-AutoRestart=true, to make
Nautilus restart automatically when it crashes (#569288).
svn path=/trunk/; revision=14888
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 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-private/nautilus-icon-container.c:
(snap_position): make sure we don't snap icons to a grid marker
which is too near the right margin of the canvas (#527374).
svn path=/trunk/; revision=14881
2009-01-22 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-file-utilities.c
(nautilus_unique_temporary_file_name):
* libnautilus-private/nautilus-metafile.c (metafile_write_local):
Use g_mkstemp() instead of mkstemp(). Pointed out by Paolo Borelli.
svn path=/trunk/; revision=14879
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-21 A. Walton <awalton@gnome.org>
* eel-debug-drawing.c (eel_debug_show_pixbuf_in_external_viewer):
Last commit is wrong; mkstemp is not a drop in replacement for
mktemp.
svn path=/trunk/; revision=14874
2009-01-21 A. Walton <awalton@gnome.org>
* eel-debug-drawing.c (eel_debug_show_pixbuf_in_external_viewer):
Bug #568630: eel should use mkstemp() instead of mktemp()
mktemp() is deprecated and should not be used.
Patch by Jasper Lievisse Adriaanse.
svn path=/trunk/; revision=14873
2009-01-20 Cosimo Cecchi <cosimoc@gnome.org>
* configure.in: we require gnome-desktop 2.25.5 now, due to the new
GnomeBG crossfade API.
svn path=/trunk/; revision=14870
2009-01-15 Richard Hughes <richard@hughsie.com>
* libnautilus-private/nautilus-mime-actions.c:
(search_for_application_dbus_call_notify_cb),
(search_for_application_mime_type):
We've been working with the KDE devs, and we've come up with a slightly
changed specification that can be adopted by KPackageKit and also have
room for expansion in the future. There's only a couple of things
already using the old interface, nautilus being one of them.
I've patched nautilus to convert from the old interface to the new
interface. The new interface does not have the double confirm problem,
and now respects the users session policy on interaction.
svn path=/trunk/; revision=14862
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>
* libnautilus-private/nautilus-icon-container.c:
(get_icon_bounds_for_canvas_bounds):
When calculating bounds, don't ignore visible but unmapped items, becase
the root item is unmapped with the canvas, but we want to report the
same bounds independently on the canvas mapped state.
This caused problems when the canvas was unmapped due to being on an
invisible notebook page navigation tabs case, causing the
scrollbars to become invisible. (#542396)
svn path=/trunk/; revision=14857
* libnautilus-private/nautilus-trash-monitor.c (update_info_cb):
Only emit ::trash-state-changed when the state actually changes.
svn path=/trunk/; revision=14856
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>
* libnautilus-private/nautilus-debug-log.c:
(nautilus_debug_logv):
Make space for terminating zero
svn path=/trunk/; revision=14854
2009-01-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-debug-log.c:
Limit nr of URIs in log to 20 to avoid huge
logs and bad performance for e.g. select all
in a large dir.
svn path=/trunk/; revision=14853
2009-01-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-directory-private.h:
Use the monitor and call_when_ready counts to avoid
iterating over the potentially long lists.
svn path=/trunk/; revision=14851
2009-01-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-private.h:
Fixed type (& not &&).
Also add some paranthesises to args for macro safety.
svn path=/trunk/; revision=14849
2009-01-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-async.c:
Don't need the want_foo calls, can just pass in
the request type directly now.
svn path=/trunk/; revision=14848
2009-01-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-directory-private.h:
* libnautilus-private/nautilus-file.c:
Convert Request from struct of gboolean to guin32 bitfield.
This is both smaller and faster, plus it allows some further optimizations to come.
svn path=/trunk/; revision=14846
2009-01-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c:
* libnautilus-private/nautilus-icon-private.h:
Only send selection_changed once when removing lots of files.
svn path=/trunk/; revision=14845
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