commit 071f40683bda36eb47df8a2c536da282b9fb04e6 Author: Cosimo Cecchi Date: 2012-02-06 release: prepare for 3.3.5 M NEWS M configure.in commit b7a3fddf60aaeac95f85259b2d83fc3cde81959f Author: Cosimo Cecchi Date: 2012-02-06 places-sidebar: change the way we restore selection on update Instead of checking whether the URI of every item we add is a candidate for selection, cycle through all the added items after inserting. This also fixes a bug where the GtkTreeIter we used for keeping track of the last added item was not up-to-date with the actual cell, since the sort function we apply to the items will modify the position of the item in the tree itself, making the iter invalid. https://bugzilla.gnome.org/show_bug.cgi?id=668212 M src/nautilus-places-sidebar.c commit 7e7a21daf15055aab8639ba684ce34a6683073fa Author: Cosimo Cecchi Date: 2012-02-06 places-sidebar: don't use an additional GtkTreeModelFilter We were using it just for GtkTreeDragSourceIface, which we can implement ourselves. M src/nautilus-places-sidebar.c commit 7c5ebdbbd3c7778af230fc830b5bc6bd706f1d61 Author: Cosimo Cecchi Date: 2012-02-06 window-manage-views: fix a crash when middle-clicking desktop icons We were hitting an assertion when middle clicking a desktop icon, since we were trying to open it in a tab (same window), and we don't really want to do that on the desktop. https://bugzilla.gnome.org/show_bug.cgi?id=655576 M src/nautilus-window-manage-views.c commit 4abf11d07e8d8bc86523e105db9c6c76f29e9643 Author: Cosimo Cecchi Date: 2012-02-06 window: simplify code a bit Don't export nautilus_window_update_split_view_actions_sensitivity(), but alwauys call it from nautilus_window_update_show_hide_menu_items(), since that's what the code always does. https://bugzilla.gnome.org/show_bug.cgi?id=669189 M src/nautilus-window-menus.c M src/nautilus-window-private.h M src/nautilus-window.c commit 2626eacbd9883161d7d3b14f4e1c56a02e3eb7ce Author: Cosimo Cecchi Date: 2012-02-06 pane: don't forget to update the split view actions when closing a slot In case a slot close is requested, we should still update the split view actions sensitivity/state. https://bugzilla.gnome.org/show_bug.cgi?id=669189 M src/nautilus-window-pane.c commit e8c4685f033b11034fa24007c558b8fc347024d3 Author: Cosimo Cecchi Date: 2012-02-06 desktop-background: stop any pending crossfades on widget destruction Internally, GnomeBGCrossfade depends on the GdkWindow we pass on to gnome_bg_crossfade_start() to be available during the whole crossfade. If our widget is destroyed, we have to immediately stop the crossfade, without waiting our finalization step, which happens after the widget is already gone. M libnautilus-private/nautilus-desktop-background.c commit 91fc1674ae71d356b06b8b549e91782a2b06758a Author: Cosimo Cecchi Date: 2012-02-06 desktop-background: unref the GnomeBG on finalize This also prevents signals being emitted from it after our destruction, as in https://bugzilla.gnome.org/show_bug.cgi?id=665796 M libnautilus-private/nautilus-desktop-background.c commit 9d0f892656282519059d65f10db7504ad4910b22 Author: Cosimo Cecchi Date: 2012-02-06 pane: don't access invalid memory slot->pane is already cleared in nautilus_window_slot_dispose(), which will get called while the slot is destroyed; setting it here can cause an invalid memory access. M src/nautilus-window-pane.c commit 1bfe1dd449bdfb80e58f6f149d87c153f13962f2 Author: Piotr Drąg Date: 2012-02-04 Updated Polish translation M po/pl.po commit 6b2e19cb9957f0685eb561a6e22c1be6730e6fee Author: Cosimo Cecchi Date: 2012-01-31 undo: fix logic in the file operation callback This caused some actions not to be scheduled for redo. M libnautilus-private/nautilus-file-undo-operations.c commit c4099c1a20c0502dd7a12e0d1ffbfe70d4bf527a Author: Cosimo Cecchi Date: 2012-01-30 application: fix an unfortunate typo We were allocating the wrong size for the NautilusApplication private structure. M src/nautilus-application.c commit d60b724d5ee183b1074a137d9cc24c22b3a2259d Author: Cosimo Cecchi Date: 2012-01-30 undo: fix Redo Trash not updating the trashed mtime When we redo a trash operation, we should make sure our trashed files hash table stores the updated timestamp when we trashed the file again, or we won't be able to trash them again. M libnautilus-private/nautilus-file-undo-operations.c commit 2a02b02328e20ac66b8cb71140681fdd0ac384ff Author: Cosimo Cecchi Date: 2012-01-30 undo: make sure to correctly clear the undo state on operation finish Don't stack allocate the struct for the file operations return value, and make sure we don't return success for a failed operation. M libnautilus-private/nautilus-file-undo-operations.c commit 2944be953ef54717bb24968b0eebe468c9705db4 Author: Chao-Hsiung Liao Date: 2012-01-29 Updated Traditional Chinese translation(Hong Kong and Taiwan) M po/zh_HK.po M po/zh_TW.po commit 56a0b14e55239bf5076f1c73b30f534af1dd1a86 Author: Matej Urbančič Date: 2012-01-28 Updated Slovenian translation M po/sl.po commit f34c331ca81e4bafd6db4c6c36c7b3625c674278 Author: Matej Urbančič Date: 2012-01-28 Updated Slovenian translation M po/sl.po commit 3738ee50a11a2d3997c470cb19a23521c60c256e Author: Yaron Shahrabani Date: 2012-01-28 Updated Hebrew translation. M po/he.po commit 247a27a94b28304dbb0b4aaf2ff783d0d909a73c Author: Timo Jyrinki Date: 2012-01-24 Updated Finnish translation. M po/fi.po commit 9736b263c7830dad6c9de6b42f131395201b993b Author: Cosimo Cecchi Date: 2012-01-23 undo: remove some URI->GFile roundtrips in the trash undo operations We can just store GFiles directly in the hash table and use g_file_hash() and g_file_equal() instead of parsing the URIs ourselves. M libnautilus-private/nautilus-file-undo-operations.c commit 211d4429171e6d3e307cb175513077f61c86b640 Author: Cosimo Cecchi Date: 2012-01-23 undo: don't provide any free function for trashed hashtable values No need to call g_free() anymore. M libnautilus-private/nautilus-file-undo-operations.c commit 3c3096371bb8fda0766c59c9467eb8ed24ed67cf Author: Arthur Taylor Date: 2012-01-22 Make rubberband fade obey gtk animation setting. The rubberband fade-out effect should observe the gtk animation setting, intened to make life easier for people running resource contrained setups (like X11 over a network.) Signed-off-by: Arthur Taylor M libnautilus-private/nautilus-icon-container.c commit 125cc4026585b760071db630ffd6edcce1ad8c93 Author: Kjartan Maraas Date: 2012-01-23 Updated Norwegian bokmål translation M po/nb.po commit 7b74cfc6fd6279599753f777620e2537d1f23e61 Author: Daniel Mustieles Date: 2012-01-23 Updated Spanish translation M po/es.po commit 45a2f47e35002b316cb8ccb94073deaa6bb75850 Author: Fran Diéguez Date: 2012-01-22 Updated Galician translations M po/gl.po commit 362fb6464b62d6fed896d1bc53f6fc763f8fa6fb Author: Cosimo Cecchi Date: 2012-01-21 undo: rework undo for the trash operation to be asynchronous Also, make the mtime checks actually useful; we need to check the trash::deletion-date attribute and match it with the time we trashed the file (which we can easily know using g_get_current_time()). M libnautilus-private/nautilus-file-operations.c M libnautilus-private/nautilus-file-undo-operations.c M libnautilus-private/nautilus-file-undo-operations.h commit c063418e66ed0fdc40b4fd48bc5bd29c0cbefa09 Author: Cosimo Cecchi Date: 2012-01-21 undo: fix undo move to trash We were querying the mtime of the trashed file after it was already trashed, and we were also overflowing the guint64 assigning -1 to it. M libnautilus-private/nautilus-file-operations.c commit bf38d260d1011c08f5e36f3d7d78e10244627e16 Author: Cosimo Cecchi Date: 2012-01-21 undo: always complete the apply action in idle The action might be synchronous. M libnautilus-private/nautilus-file-undo-operations.c commit 89cc154cee3e64a771499d21f410854ecc5cd8ad Author: Piotr Drąg Date: 2012-01-21 Updated POTFILES.in M po/POTFILES.in commit f8e8507dcfa98e21a1454cb5290b071abec680e4 Author: Daniel Mustieles Date: 2012-01-21 Updated Spanish translation M po/es.po commit 5f338fc07e288dcc2ff6e141edc42aade01da284 Author: Cosimo Cecchi Date: 2012-01-20 undo: remove NautilusFileUndoTypes M libnautilus-private/Makefile.am D libnautilus-private/nautilus-file-undo-types.h commit 3f45de05a6a87c8d432e94375f714c3da1f8fc34 Author: Cosimo Cecchi Date: 2012-01-20 view: use NautilusFileUndoInfo directly Get the info object from the manager and use that to build menus. M src/nautilus-view.c commit aac633c6d66d7dd9753b645e88657a7f6257e8eb Author: Cosimo Cecchi Date: 2012-01-20 file/file-operations: adapt to changes in file undo manager And fix some typos. M libnautilus-private/nautilus-file-operations.c M libnautilus-private/nautilus-file-private.h M libnautilus-private/nautilus-file.c commit 1f758301ee89b5f96bcb650f039696a7049fac44 Author: Cosimo Cecchi Date: 2012-01-20 file-undo-manager: use NautilusFileUndoInfo Rework NautilusFileUndoManager to use the new NautilusFileUndoInfo objects. At the same time, make it use a single item instead of a queue, turning it into a state machine. This has various reasons; from a code perspective, if we keep a stack of operations, we should also keep track and invalidate items in there when something changes on the filesystem, but this can be very expensive. On the other hand in the UI we probably don't want to expose more than one item anyway. M libnautilus-private/nautilus-file-undo-manager.c M libnautilus-private/nautilus-file-undo-manager.h commit 69e79e2f9d3c8c2bbae4a0a32e58f42385c662b4 Author: Cosimo Cecchi Date: 2012-01-20 undo: turn NautilusFileUndoData into NautilusFileUndoInfo Make it a GObject with subclasses for each type of operations. This allows for easy sharing of the base class object with the view as well, for menu information, and provides an async API to the undo manager for the file operation. M libnautilus-private/nautilus-file-operations.c M libnautilus-private/nautilus-file-private.h M libnautilus-private/nautilus-file-undo-operations.c M libnautilus-private/nautilus-file-undo-operations.h M libnautilus-private/nautilus-file-undo-types.h M libnautilus-private/nautilus-file.c commit 44b695b9af6a26fbf2979a19fd638cc3682c89bb Author: Cosimo Cecchi Date: 2012-01-18 file-operations: first pass at passing on success information We want to know if a file operation failed for some reason, so that we don't add it in the redo queue. M libnautilus-private/nautilus-file-operations.c M libnautilus-private/nautilus-file-operations.h M libnautilus-private/nautilus-file-undo-manager.c M libnautilus-private/nautilus-file-undo-manager.h M libnautilus-private/nautilus-file-undo-operations.c M libnautilus-private/nautilus-file-undo-operations.h M libnautilus-private/nautilus-file-undo-types.h M src/nautilus-places-sidebar.c M src/nautilus-properties-window.c M src/nautilus-tree-sidebar.c M src/nautilus-view.c M test/test-copy.c commit f76844a3208033a97532222ce531bd9a04205871 Author: Cosimo Cecchi Date: 2012-01-16 undo: pass in a GtkWindow for undo operations So that dialogs triggered by the file operations can correctly be parented. M libnautilus-private/nautilus-file-undo-manager.c M libnautilus-private/nautilus-file-undo-manager.h M libnautilus-private/nautilus-file-undo-operations.c M libnautilus-private/nautilus-file-undo-types.h M src/nautilus-view.c commit dcf5d6796b5adc13a4b03d36f30d9f15025e9df9 Author: Amos Brocco Date: 2012-01-16 undo: introduce undo support M libnautilus-private/Makefile.am M libnautilus-private/nautilus-debug.c M libnautilus-private/nautilus-debug.h M libnautilus-private/nautilus-file-operations.c M libnautilus-private/nautilus-file-private.h A libnautilus-private/nautilus-file-undo-manager.c A libnautilus-private/nautilus-file-undo-manager.h A libnautilus-private/nautilus-file-undo-operations.c A libnautilus-private/nautilus-file-undo-operations.h A libnautilus-private/nautilus-file-undo-types.h M libnautilus-private/nautilus-file.c M src/nautilus-directory-view-ui.xml M src/nautilus-shell-ui.xml M src/nautilus-view.c M src/nautilus-window-menus.c commit 88f18618ba15b952a739e410b910508f244b1fc3 Author: Vincent Untz Date: 2012-01-19 build: Support build against tracker 0.13/0.14 https://bugzilla.gnome.org/show_bug.cgi?id=667853 M configure.in commit b65b13f59e0bb20497751a5c13ea85ccb7ebb2ba Author: Daniel Mustieles Date: 2012-01-17 Updated Spanish translation M po/es.po commit 01a2c0affada3157cf5b7b8147e27d6a0a0151dc Author: Fran Diéguez Date: 2012-01-17 Updated Galician translations M po/gl.po commit 3795ec8883676e367be1d7f9d6314a1a7e781fd7 Author: Cosimo Cecchi Date: 2012-01-16 notebook: use a symbolic icon for the tab close image M src/nautilus-notebook.c commit 1a5cc61ae329d3776e8d75fd46b0e9326f0e7654 Author: Kjartan Maraas Date: 2012-01-16 Updated Norwegian bokmål translation M po/nb.po