ChangeLog 534 KB
Newer Older
1 2 3 4 5 6 7
2008-12-15  Matthias Clasen  <mclasen@redhat.com>

	Bug 564207 – don't look for old kde trash

	* src/nautilus-application.c: Remove code that supports KDE2 
	style trash handling.

8 9 10 11 12 13 14
2008-12-15  Tomas Bzatek  <tbzatek@redhat.com>

	* libnautilus-private/nautilus-mime-actions.c:
	(activation_mount_not_mounted):
	Fix new windows not appearing after successful mount
	(needed for #524485)

15 16 17 18 19 20 21
2008-12-12  A. Walton  <awalton@gnome.org>

	* libnautilus-private/nautilus-mime-actions.c
	(application_unhandled_file):
	Fix the build for OSes with format security turned on.
	(Ubuntu).

22 23 24 25 26 27
2008-12-11  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-mime-actions.c:
        (search_for_application_dbus_call_notify_cb):
	Don't warn if we found no applications to install.
	
28 29 30 31 32 33
2008-12-11  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-mime-actions.c:
	Ref the dbus proxy over the call, this means we actually get the callback, so
	remove the got_reply stuff.

Alexander Larsson's avatar
Alexander Larsson committed
34 35 36 37 38 39
2008-12-10  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-mime-actions.c:
        (search_for_application_mime_type):
	Fix warning

40 41 42 43 44 45 46 47 48 49
2008-12-10  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
        * libnautilus-private/apps_nautilus_preferences.schemas.in:
        * libnautilus-private/nautilus-global-preferences.c:
        * libnautilus-private/nautilus-global-preferences.h:
        * libnautilus-private/nautilus-mime-actions.c:
	Support PackageConfig application install for unsupported mime types.
	Based on patch from Richard Hughes

50 51 52 53 54 55 56 57 58
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.

59 60 61 62 63 64
2008-12-09  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file-operations.c (copy_move_file):
	Don't use G_FILE_COPY_ALL_METADATA, as we changed glib to
	copy the file by default (#515777)

65 66 67 68 69
2008-12-09  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-global-preferences.c:
	10GB overflows the uint, add 2 and 4 GB instead.

Alexander Larsson's avatar
Alexander Larsson committed
70 71 72 73 74
2008-12-09  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-global-preferences.c:
	Add 10GB size.

75 76 77 78 79 80
2008-12-08  Tomas Bzatek  <tbzatek@redhat.com>

	* libnautilus-private/nautilus-mime-actions.c:
	(activation_mount_not_mounted):
	Fix callback connection to GtkMountOperation

81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
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).

Alexander Larsson's avatar
Alexander Larsson committed
101 102 103 104 105 106 107
2008-12-01  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Post release version bump

=== nautilus 2.25.1 ===

Alexander Larsson's avatar
Update  
Alexander Larsson committed
108 109 110 111 112
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)

Alexander Larsson's avatar
Alexander Larsson committed
113 114 115 116 117
2008-12-01  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release

118 119 120 121
2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>

	* configure.in: completely remove librsvg checks.

122 123 124 125 126
2008-11-21  Cosimo Cecchi  <cosimoc@gnome.org>

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

Cosimo Cecchi's avatar
Cosimo Cecchi committed
127 128 129 130 131 132
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.

Andrew Walton's avatar
Andrew Walton committed
133 134 135 136 137 138 139 140 141
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).

142 143 144 145 146 147 148 149
2008-11-06  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-icon-container.c:
        (nautilus_icon_container_ensure_interactive_directory):
	Set correct hint on search popup window. (#536804)

	Patch from Danny Baumann

150 151 152 153 154 155 156
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).

157 158 159 160 161 162 163 164
2008-10-27  Christian Persch  <chpe@gnome.org>

	* libnautilus-extension/nautilus-location-widget-provider.h:
	* libnautilus-extension/nautilus-menu-provider.h:
	* libnautilus-extension/nautilus-property-page.h: Only include
	gtk/gtk.h, to allow extensions to build with
	*_DISABLE_SINGLE_INCLKUDES. Bug #558070.

165 166 167 168 169 170 171 172 173
2008-10-23  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-file.c:
        * libnautilus-private/nautilus-icon-info.[ch]:
	Manually fall back to default fallback icon for
	files if not found. Goes with the corresponding
	glib/gvfs change to not add the fallback icon to
	the end of files icons. (#528320)

174 175 176 177 178 179 180 181
2008-10-22  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file.c
	(nautilus_file_get_symbolic_link_target_uri/path):
	Don't assert on symbolic links always marked as symlinks.
	Some broken backends will give this (like the archive backend).
	Fixes crash in #547468

182 183 184 185 186 187 188 189
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.

190 191 192 193 194
2008-10-21  Cosimo Cecchi  <cosimoc@gnome.org>

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

195 196 197 198 199 200 201 202 203 204
2008-10-20  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-mime-actions.c:
        (pause_activation_timed_cancel):
        (unpause_activation_timed_cancel):
        (activate_mount_op_active):
        (activate_files):
	Don't show timeout-based cancel when showing the "run or display"
	dialog. (#539954)

205 206 207 208 209
2008-10-18  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/apps_nautilus_preferences.schemas.in:
	Add a comment for translators (#548389).

210 211 212 213 214
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)

215 216 217 218 219 220 221 222 223 224 225 226 227 228
2008-10-17  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-directory-async.c:
        * libnautilus-private/nautilus-directory-private.h:
        Add nautilus_directory_has_active_request_for_file which returns true
	if monitoring or call_when_ready the file or all the files in the directory.
        * libnautilus-private/nautilus-directory.c:
        (nautilus_directory_add_file):
	When adding a file to a directory, if there is an outstanding request
	for the file, add it to the work queue so we make sure to do i/o on it.
	Otherwise we could for instance block a call_when_ready with file=NULL
	because we're waiting for something to happen on all files in the dir
	but the newly added file never has any i/o happen to it.

229 230 231 232 233 234 235 236 237
2008-10-17  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-bookmark.c:
        (bookmark_file_changed_callback):
	Don't immediately recreate NautilusFile for the
	bookmark when the file is deleted, as this can
	cause loops if the file is monitored.
	See https://bugzilla.redhat.com/show_bug.cgi?id=465479

238 239 240 241 242 243
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

244 245 246 247 248 249 250 251
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.

252 253 254 255 256 257 258 259 260 261
2008-10-13  Nelson Benítez León  <nbenitez@svn.gnome.org>

	* libnautilus-private/nautilus-file-operations.c
	(copy_move_file)
	(copy_move_directory)
	(copy_files):
	Pass G_FILE_COPY_TARGET_DEFAULT_PERMS flag to copy
	operations when the source file is in a readonly
	filesystem (eg. CDROM). Fixes #550816.

262 263 264 265
2008-10-13  Christian Persch  <chpe@gnome.org>

	* src/nautilus-image-properties-page.c: Plug a mem leak. Bug #552691.

266 267 268 269 270 271
2008-10-13  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-mime-application-chooser.c:
	Allow resetting file associations (#545356)
	Patch from Matthias Clasen 

Alexander Larsson's avatar
Alexander Larsson committed
272 273 274 275 276 277 278 279 280
2008-10-13  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Require glib 2.19.0
	
        * libnautilus-private/nautilus-open-with-dialog.c:
	Allow removal of custom applications (#545354)
	Patch from Matthias Clasen

281 282 283 284 285 286 287
2008-10-13  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-open-with-dialog.c:
        (add_or_find_application):
	Don't set default when opening with other app, just
	add to open with list.

288 289 290 291 292 293 294 295
2008-10-12  Nelson Benítez León  <nbenitez@svn.gnome.org>

	* libnautilus-private/nautilus-dnd.c
	(nautilus_drag_default_drop_action_for_icons):
	Add new function source_is_deletable.
	When DnD'ing, change the drop action to COPY instead of MOVE, when
	the source is not deletable. Fixes #314139.

296 297 298 299 300 301 302 303
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.

304 305 306 307 308 309
2008-10-11  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file-operations.c
	(make_file_name_valid_for_dest_fs):
	Chop trailing space characters when moving to FAT file system. Fixes #555813.

310 311 312 313 314 315 316 317 318
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.

319 320 321 322 323
2008-10-09  Alexander Larsson  <alexl@redhat.com>

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

324 325 326 327 328 329 330 331
2008-10-09  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-horizontal-splitter.c:
        (nautilus_horizontal_splitter_button_press):
        (nautilus_horizontal_splitter_button_release):
	Don't toggle the splitter when dragging (#555619)
	Patch from Christoph Reiter
	
332 333 334 335 336 337 338 339
2008-10-09  Alexander Larsson  <alexl@redhat.com>

        * cut-n-paste-code/libegg/eggdesktopfile.c:
        * cut-n-paste-code/libegg/eggdesktopfile.h:
        * cut-n-paste-code/libegg/eggsmclient-xsmp.c:
        * cut-n-paste-code/libegg/eggsmclient.c:
	Update EggSMClient from libegg

340 341 342 343 344 345 346
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.
	
347 348 349 350 351 352 353 354
2008-10-08  Christian Persch  <chpe@gnome.org>

	* libnautilus-private/nautilus-mime-application-chooser.c:
	(create_tree_view), (refresh_model): Put the GIcon in the tree model
	and make the cell renderer display it directly instead of manually
	resolving the GIcon to a pixbuf and putting that into the model. Bug
	#552682.

355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
2008-10-07  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Require trunk eel.
	Drop libgnome* and librsvg deps.
	
        * libnautilus-private/nautilus-customization-data.c:
        (nautilus_customization_data_get_next_element_for_display):
        * libnautilus-private/nautilus-icon-canvas-item.c:
        (real_map_pixbuf):
        * src/nautilus-property-browser.c:
        (make_drag_image):
	Use librsvg indirectly via gdk-pixbuf loader.
	
        * libnautilus-private/nautilus-thumbnails.c:
	Use thumbnail factory from gnome-desktop.
	
        * libnautilus-private/nautilus-undo.c:
        (nautilus_undo_get_undo_manager):
	Kill references to gnome canvas.
	
        * libnautilus-private/nautilus-vfs-file.c:
	Don't include removed eel-mount-operation.h header

        * src/file-manager/fm-properties-window.c:
        (update_preview_callback):
	Use thumbnail utils from gnome-desktop.

        * src/Makefile.am:
        * src/nautilus-bookmarks-window.c:
        * src/nautilus-bookmarks-window.glade: Removed.
        * src/nautilus-bookmarks-window.ui: Added.
        * src/nautilus-file-management-properties.c:
        * src/nautilus-file-management-properties.glade: Removed.
        * src/nautilus-file-management-properties.ui: Added.
	Switch from libglade to gtkbuilder.

        * libnautilus-private/nautilus-file-operations.c:
        * src/nautilus-emblem-sidebar.c:
        * src/nautilus-navigation-window.h:
        * test/test-nautilus-wrap-table.c:
        * test/test.c:
        * test/test.h:
	Drop old unused libgnome/librsvg includes

400 401 402 403 404 405
2008-10-07  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-property-browser.c:
	Don't use eel_gnome_icon_selector_new()
	Instead just use file selector with preview.

406 407 408 409 410
2008-10-06  Alexander Larsson  <alexl@redhat.com>

        * src/file-manager/fm-ditem-page.c:
	Replace GnomeDesktopItem use with GKeyFile

Matthias Clasen's avatar
Matthias Clasen committed
411 412 413 414 415
2008-10-06  Matthias Clasen  <mclasen@redhat.com>

	* libnautilus-private/nautilus-open-with-dialog.c (set_uri_and_type):
	Fix the build

416 417 418 419 420 421 422
2008-10-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 553084 – leaks content type description

	* libnautilus-private/nautilus-open-with-dialog.c (set_uri_and_type):
	Don't leak the content type description.

423 424 425 426 427 428 429
2008-10-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 553073 – invalid strcmp

	* libnautilus-private/nautilus-file.c (update_info_internal):
	Use eel_ref_str_peek where appropriate.

430 431 432 433 434 435
2008-10-06  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-link.[ch]:
        * src/file-manager/fm-properties-window.c:
	Use GKeyFile instead of GnomeDesktopItemp

436 437 438 439 440
2008-10-06  Alexander Larsson  <alexl@redhat.com>

        * src/nautilus-main.c:
	Don't set application name twice (avoids warning)

441 442 443 444 445 446 447 448 449
2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>

        * libnautilus-private/nautilus-file-operations.c:
        * libnautilus-private/nautilus-mime-actions.c:
        * src/file-manager/fm-directory-view.c:
        * src/nautilus-connect-server-dialog-main.c:
        * src/nautilus-window-manage-views.c:
	use GtkMountOperation instead of EelMountOperation

450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477
2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>

        * libnautilus-private/nautilus-customization-data.c:
        * libnautilus-private/nautilus-dnd.c:
        * libnautilus-private/nautilus-file-utilities.c:
        * libnautilus-private/nautilus-file.c:
        * libnautilus-private/nautilus-global-preferences.c:
        * libnautilus-private/nautilus-icon-dnd.c:
        * libnautilus-private/nautilus-icon-private.h:
        * libnautilus-private/nautilus-monitor.c:
        * src/file-manager/fm-desktop-icon-view.c:
        * src/file-manager/fm-ditem-page.c:
        * src/file-manager/fm-error-reporting.h:
        * src/file-manager/fm-list-view.c:
        * src/file-manager/fm-properties-window.c:
        * src/nautilus-history-sidebar.c:
        * src/nautilus-image-properties-page.c:
        * src/nautilus-information-panel.c:
        * src/nautilus-location-bar.c:
        * src/nautilus-location-entry.c:
        * src/nautilus-main.c:
        * src/nautilus-navigation-window-menus.c:
        * src/nautilus-navigation-window.c:
        * src/nautilus-places-sidebar.c:
        * src/nautilus-window-manage-views.c:
        * src/nautilus-window-toolbars.c:
	Remove unnecessary includes of libgnome

Cosimo Cecchi's avatar
Cosimo Cecchi committed
478 479 480 481 482
2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>

        * src/nautilus-property-browser.c:
	Don't use gnome_icon_entry

483 484 485 486 487 488 489 490 491
2008-10-06  Alexander Larsson  <alexl@redhat.com>

	Based on patch from  Cosimo Cecchi
	
        * src/file-manager/fm-tree-view.c:
        * src/nautilus-emblem-sidebar.c:
	Use gtk_menu_popup instead of gnome_popup_menu_do_popup_modal
	Don't use GNOME_PAD

492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509
2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>

        * libnautilus-private/nautilus-bookmark.c:
        * libnautilus-private/nautilus-desktop-directory.c:
        * libnautilus-private/nautilus-icon-container.c:
        * libnautilus-private/nautilus-merged-directory.c:
        * libnautilus-private/nautilus-module.c:
        * libnautilus-private/nautilus-module.h:
        * libnautilus-private/nautilus-search-directory.c:
        * libnautilus-private/nautilus-signaller.c:
        * libnautilus-private/nautilus-tree-view-drag-dest.c:
        * src/file-manager/fm-icon-container.c:
        * src/nautilus-application.c:
        * src/nautilus-desktop-window.c:
        * src/nautilus-file-management-properties-main.c:
        * src/nautilus-zoom-control.c:
	Use G_DEFINE_TYPE instead of libgnome macros.

510 511 512 513 514 515 516 517 518 519
2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>

        * src/file-manager/fm-directory-view.c:
        * src/file-manager/fm-properties-window.c:
        * src/nautilus-bookmarks-window.c:
        * src/nautilus-connect-server-dialog.c:
        * src/nautilus-file-management-properties.c:
        * src/nautilus-location-dialog.c:
	Use gtk_show_uri instead of gnome_help

520 521 522 523 524 525
2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>

        * src/nautilus-application.c:
        (initialize_kde_trash_hack):
	Replace GnomeConfig use with GKeyFile

526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542
2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>

        * src/nautilus-window-menus.c:
        (action_nautilus_manual_callback):
	Use gtk_show_uri instead of gnome_help
	
        * src/nautilus-file-management-properties-main.c:
        * src/nautilus-connect-server-dialog-main.c:
        * src/nautilus-autorun-software.c:
        * test/test-nautilus-mime-actions-set.c:
        * test/test-nautilus-mime-actions.c:
	Use GOption instead of GnomeProgram
	
        * src/nautilus-property-browser.c:
	Use GtkColorButton instead of GnomeColorPicker
	Use gtk_show_uri instead of gnome_help

543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577
2008-10-02  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * nautilus-browser.desktop.in.in:
        * nautilus.desktop.in.in:
	Renamed nautilus.desktop to nautilus-browser.desktop
	(this is what it does, launch a browser window with no desktop)
	Created new NoDisplay nautilus.desktop file that is used
	for autostarting nautilus from gnome-session.
	
        * configure.in:
	Pull in the right cflags/libs for libegg
	Add nautilus-browser.desktop.in to output
	
        * cut-n-paste-code/libegg/Makefile.am:
        * cut-n-paste-code/libegg/eggdesktopfile.[ch]: Added.
        * cut-n-paste-code/libegg/eggsmclient-private.h: Added.
        * cut-n-paste-code/libegg/eggsmclient-xsmp.c: Added.
        * cut-n-paste-code/libegg/eggsmclient.[ch]: Added.
	Import eggsmclient from libegg.
	Save data in desktop file instead of a separate file as per the
	new gnome-session.
	
        * cut-n-paste-code/libegg/eggtreemultidnd.c:
	Minor update from libegg
	
        * src/nautilus-application.[ch]:
	Use eggsmclient for session handling instead of gnome-client.
	
        * src/nautilus-main.c:
	Don't use gnome_program, instead use eggsmsession and
	g_option_context_parse directly.
	This removes support for some internal commandline arguments
	that are not used anymore.

578 579 580 581 582
2008-10-02  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-extension/libnautilus-extension-uninstalled.pc.in:
	Remove gnome-vfs from the required libs.

583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617
2008-10-01  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Remove direct deps on bonobo, bonobo-activation, orbit2, startup-notification
	Add dependency on libunique
	
        * src/Makefile.am:
        * src/nautilus-shell-interface.idl:
        * src/nautilus-shell.[ch]:
	Remove NautilusShell
	
        * src/nautilus-application.[ch]:
	Make NautilusApplication a normal GObject
	Remove NautilusShell use.
	Implement unique application functionallity using libunique
	Remove manual startup notification handling (mostly handled by libunique)
	
        * src/nautilus-main.c:
	Remove bonobo initialization
	Remove manual startup notification handling
	Move command line arg to uri parsing here
	Remove weird idle handling now that we don't use bonobo anymore

        * libnautilus-private/nautilus-undo-manager.c:
        * libnautilus-private/nautilus-undo-manager.h:
        * libnautilus-private/nautilus-undo.c:
        * src/nautilus-window-private.h:
	Remove all leftover spurious use of bonobo
	
        * src/nautilus-window-slot.h:
        * src/nautilus-desktop-window.c:
        * src/nautilus-location-dialog.c:
        * src/nautilus-window-bookmarks.c:
	Add required includes of gi18n.h
	
618 619 620 621 622 623
2008-10-01  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Bump version to 2.25.1.
	Stable version lives on the gnome-2-24 branch.
	
624 625 626 627 628 629 630
2008-09-28  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_set_zoom_level):
	Invalidate label, rather than its allocated size. Fixes zoom level
	changes not being applied to label sizes.

631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650
2008-09-27  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-directory-async.c
	(link_info_got_data):
	Pass link info's URI to
	nautilus_link_get_link_info_given_file_contents().

	* libnautilus-private/nautilus-link.c
	(nautilus_link_get_link_uri_from_desktop),
	(nautilus_link_get_link_info_given_file_contents):
	* libnautilus-private/nautilus-link.h:
	Add an input parameter for the link info's URI to
	nautilus_link_get_link_info_given_file_contents().
	In nautilus_link_get_link_uri_from_desktop(), when
	a desktop icon has an "URI=filename" entry resolve
	it like a symbolic link name relative to the link
	info parent. Ideally, we'd have
	g_file_parse_name_relative() which could do that for us,
	but it would mangle URI's fragments and queries anyway.

651 652 653 654 655 656 657 658 659 660
2008-09-24  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-application.c (count_slots_of_windows),
	(get_first_navigation_slot), (mount_removed_callback):
	* src/nautilus-navigation-window-slot.c
	(nautilus_navigation_window_slot_should_close_with_mount):
	* src/nautilus-navigation-window-slot.h:
	When unmounting, close all slots that only displayed locations on the
	mount. Never close all open slots, though. 

661 662 663 664 665 666 667 668 669
2008-09-24  Cosimo Cecchi  <cosimoc@gnome.org>

	* configure.in:
	* libnautilus-private/nautilus-file-operations.c:
	(copy_move_directory), (copy_move_file), (copy_files),
	(move_files):
	Revert latest commit, as we can't depend on GLib 2.19.0 before
	branching.

670 671 672 673 674 675 676 677 678 679 680 681 682
2008-09-22  Nelson Benítez León  <nbenitez@svn.gnome.org>

	* libnautilus-private/nautilus-file-operations.c
	(copy_move_file)
	(copy_move_directory)
	(copy_files):
	Pass G_FILE_COPY_TARGET_DEFAULT_PERMS flag to copy
	operations when the source file is in a readonly
	filesystem (eg. CDROM). Fixes #550816.

	* configure.in: Bump required glib version to 2.19.0
	to make use of aforementioned GFileCopyFlag.

683 684 685 686 687 688 689 690 691
2008-09-22  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c
	(nautilus_file_get_emblem_icons):
	* libnautilus-private/nautilus-icon-info.c:
	* libnautilus-private/nautilus-icon-info.h:
	Support emblem file names that do not start with “emblem-”. Fixes
	#350643.

692 693 694 695 696 697
2008-09-22  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-window-slot.c
	(nautilus_window_slot_update_query_editor):
	Add weak ref for query editor pointer.

698 699 700 701 702 703
2008-09-22  Christian Neumair  <cneumair@gnome.org>

	* configure.in: post-release bump to 2.24.1.

=== nautilus 2.24.0 ===

Christian Neumair's avatar
Christian Neumair committed
704 705 706 707 708
2008-09-22  Christian Neumair  <cneumair@gnome.org>

	* NEWS:
	Update for release.

709 710 711 712 713 714 715 716 717 718 719
2008-09-22  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-window-manage-views.c:
	* src/nautilus-window-manage-views.h:
	* src/nautilus-window.c (nautilus_window_destroy),
	(nautilus_window_close_slot), (nautilus_window_slot_close):
	Remove nautilus_window_manage_views_destroy(), since everything it
	does is achieved by nautilus_window_close_slot(). Also ensure that
	slots are removed from the active slot history as they are closed.
	Fixes #553081.

720 721 722 723 724 725
2008-09-18  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/nautilus-file.c: (finalize),
	(nautilus_file_invalidate_extension_info_internal):
	Don't leak the list of pending info providers (#552310).

726 727 728 729 730 731 732 733 734
2008-09-17  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-list-model.c
	(fm_list_model_multi_drag_data_get),
	(fm_list_model_get_drag_target_list):
	* src/file-manager/fm-list-model.h:
	* src/file-manager/fm-list-view.c (motion_notify_callback):
	Enable text drag target for list view. Fixes #552474.

735 736 737 738 739 740 741 742
2008-09-17  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c (nautilus_file_rename):
	When deciding whether name actually changed, compare target
	filename with display name for desktop files, and desktop icon
	files, instead of comparing it with the filename.
	Fixes #552112.

743 744 745 746 747 748
2008-09-16  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-application.c (mount_removed_callback):
	Let navigation slot go home, instead of its window. Properly
	initialize window variable.

749 750 751 752 753 754 755 756 757
2008-09-16  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c
	(nautilus_file_compare_for_sort_internal),
	(nautilus_file_compare_for_sort),
	(nautilus_file_compare_for_sort_by_attribute_q):
	Also sort folders before files when the sort criterion is reversed.
	Fixes #310919.

758 759 760 761 762 763
2008-09-16  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-autorun.c
	(do_autorun_for_content_type):
	Center autorun dialog on screen.

764 765 766 767 768 769 770
2008-09-13  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-properties-window.c (file_has_prefix),
	(directory_contents_value_field_update):
	Don't count file size twice if a folder and a nested file is selected
	at once. Fixes #552015.

771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787
2008-09-12  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_set_is_visible),
	(nautilus_icon_canvas_item_invalidate_label):
	* libnautilus-private/nautilus-icon-canvas-item.h:
	* libnautilus-private/nautilus-icon-container.c
	(invalidate_labels), (nautilus_icon_container_set_layout_mode),
	(nautilus_icon_container_set_label_position),
	(nautilus_icon_container_set_font),
	(nautilus_icon_container_set_font_size_table),
	(nautilus_icon_container_set_all_columns_same_width):
	Add nautilus_icon_canvas_item_invalidate_label(), which removes the
	associated PangoLayout - used when resetting attributes, e.g. when the
	zoom level changes or when switching from “text below” to “text
	besides” mode. Fixes #551862.

788 789 790 791 792 793 794
2008-09-12  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-directory.c
	(nautilus_directory_is_local):
	Always assume that directories in trash are local. Fixes #546353.
	Thanks to lvaro Vilanova Vidal.

795 796 797 798 799 800 801 802 803 804 805 806
2008-09-10  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-icon-container.c
	(fm_icon_container_get_icon_text_attributes_from_preferences):
	Use eel_preferences_add_auto_string_array_as_quarks(), instead of
	registering a custom callback function - which is not guaranteed to be
	run before other (instance) callbacks. Thanks to Cosimo Cecchi for the
	problem analysis. Fixes #551576.

	* configure.in:
	Depend on eel 2.24.0.

807 808 809 810 811 812
2008-09-08  Christian Neumair  <cneumair@gnome.org>

	* configure.in: post-release bump to 2.24.0.

=== nautilus 2.23.92 ===

Christian Neumair's avatar
Christian Neumair committed
813 814 815 816 817
2008-09-08  Christian Neumair  <cneumair@gnome.org>

	* NEWS:
	Update for release.

818 819 820 821 822 823 824 825
2008-09-08  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c (select_range),
	(keyboard_move_to), (handle_icon_button_press):
	Allow to select range additively when pressing ctrl and shift, i.e.
	don't unselect the old selection. Fixes #410497, at least for icon
	view.

826 827 828 829 830 831 832 833 834 835 836 837 838 839
2008-09-06  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c
	(nautilus_file_is_date_sort_attribute_q):
	* libnautilus-private/nautilus-file.h:
	Add nautilus_file_is_date_sort_attribute_q().

	* src/file-manager/fm-list-view.c
	(sort_criterion_changes_due_to_user),
	(sort_column_changed_callback):
	When manually switching to a date column, or to the default column
	with “default_sort_in_reverse_order” active, auto-reverse sort order.
	Fixes #533189.

Matthias Clasen's avatar
Matthias Clasen committed
840 841 842 843 844 845 846
2008-09-05  Matthias Clasen  <mclasen@redhat.com>

	Bug 550009 – small leaks

	* libnautilus-private/nautilus-directory-background.c: Plug 
	three small memory leaks.

847 848 849 850 851 852 853 854 855
2008-09-04  Cosimo Cecchi  <cosimoc@gnome.org>

	* configure.in: Bump GTK+ required version to 2.13.0.
	* libnautilus-private/nautilus-program-choosing.c:
	(nautilus_launch_application), (nautilus_launch_desktop_file):
	* src/nautilus-connect-server-dialog-main.c: (show_uri):
	Use GdkAppLaunchContext instead of EelAppLaunchContext.
	This also fixes bug #550864.

856 857 858 859 860 861 862
2008-09-04  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(finish_adding_new_icons):
	Set layout timestamp when fixating semi-positioned icons. Fixes
	#550807.

863 864 865 866 867
2008-09-04  Robert-André Mauchin  <zebob.m@pengzone.org>

	* po/LINGUAS:
	* po/ps.po: Added Pashto translations by Zabeeh Khan.

868 869 870 871 872 873 874 875 876 877 878 879 880 881
2008-09-04  Gilles Dartiguelongue  <gdartigu@svn.gnome.org>

	* configure.in:
	* docs/reference/Makefile.am:
	* docs/reference/libnautilus-extension/Makefile.am:
	* docs/reference/libnautilus-extension/libnautilus-extension-docs.x
	ml:
	* libnautilus-extension/nautilus-column.c:
	* libnautilus-extension/nautilus-menu-item.c:
	* libnautilus-extension/nautilus-property-page.c:
	(nautilus_property_page_get_type):
	* libnautilus-extension/nautilus-property-page.h:
	include some documentation, bug #396929.

882 883 884 885 886 887
2008-09-03  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file-operations.c (create_job):
	Use file name duplication helper, unless we create directories. Also
	consider maximal file name length. Fixes #240116.

888 889 890 891 892 893 894
2008-09-03  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-navigation-window-menus.c
	(forget_history_if_confirmed):
	Remove scary secondary dialog message. Fixes #550567.
	Also remove easter egg, which isn't translatable.

895 896 897 898 899 900
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* configure.in: post-release bump to 2.23.92.

=== nautilus 2.23.91 ===

Christian Neumair's avatar
Christian Neumair committed
901 902 903 904 905
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* NEWS:
	Update for release.

906 907 908 909 910 911 912 913 914 915 916
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_update_scroll_region),
	(nautilus_icon_container_get_first_visible_icon),
	(nautilus_icon_container_scroll_to_icon):
	Adapt manual layout borders to auto layout borders, improve horizontal
	RTL scrolling to items. Unfortunately, programmatical scrolling is
	still somewhat broken due to subsequent relayouts as the horizontal
	scroll bar is shown/hidden.

917 918 919 920 921 922 923 924
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(rightmost_in_top_row), (keyboard_right), (keyboard_left),
	(keyboard_down), (keyboard_up):
	In LTR mode, always jump to the top-left icon if no icon is selected.
	In RTL mode, always jump to the top-right icon if no icon is selected.

925 926 927 928 929 930
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_scroll_to_icon):
	Also reveal entire rows/columns, and ensure a nice padding around icons.

931 932 933 934 935 936
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_update_scroll_region):
	Fix RTL scroll region calculation.

937 938 939 940 941
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c (key_press_event):
	Reset event window before freeing event.

942 943 944 945 946 947
2008-09-01  Bastien Nocera  <hadess@hadess.net>

	* src/file-manager/nautilus-audio-mime-types.h: Update with
	latest changes from Totem, we can preview midi, XM, speex
	and FLAC files

948 949 950 951 952 953 954 955 956 957 958 959 960 961
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(item_get_canvas_bounds), (icon_get_row_and_column_bounds),
	(reveal_icon), (nautilus_icon_container_update_scroll_region),
	(lay_down_icons_horizontal):
	Improve icon view and compact view appearance:

	Always reveal entire rows and columns, i.e. ensure that all items
	are displayed, and a little safety padding around them is displayed.

	Increase vertical top and bottom container space for vertical layout,
	and horizontal bottom container space for horizontal layout.

962 963 964 965 966 967
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-application.c (volume_added_callback):
	Make autorun work for blank CDs. Fixes #548221. Thanks to Jerry Yu
	<jijun.yu@sun.com>.

968 969 970 971 972 973
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file-operations.c
	(confirm_empty_trash), (prompt_empty_trash):
	Use "Empty Trash" buttons in empty trash dialogs. Fixes #524020.

974 975 976 977 978 979 980 981 982 983 984 985 986 987
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-customization-data.c
	(format_name_for_display), (load_name_map_hash_table):
	* src/file-manager/fm-directory-view.c
	(add_template_to_templates_menus):
	* src/nautilus-property-browser.c
	(nautilus_property_browser_drag_data_get),
	(make_properties_from_directories):
	* test/test-nautilus-wrap-table.c (main):
	Strip extensions using eel_filename_strip_extension(). Fixes #309510.
	Thanks to Paolo Borelli <pborelli@katamail.com> and Jared Moore
	<jaredm@gmx.com>.

Christian Neumair's avatar
Christian Neumair committed
988 989 990 991 992 993 994 995 996 997
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	Require eel 2.23.91.

	* libnautilus-private/nautilus-icon-info.c
	(nautilus_icon_info_lookup):
	Use eel_gdk_pixbuf_load_from_stream_at_size() for loading SVG icons at
	the desired size. Fixes #529371.

998 999 1000 1001 1002 1003
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-directory-view.c (done_loading):
	Only report that loading is complete and schedule selection 
	if all files are seen. Fixes #421759.

1004 1005 1006 1007 1008 1009
2008-08-31  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/nautilus-icon-container.c: (key_press_event):
	Don't leak a GdkEvent.
	Thanks to Huang Peng (#548448).

1010 1011 1012 1013 1014 1015
2008-08-31  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-file-management-properties.glade:
	Modify "Behavior" category on "Behavior" tab: Use 12 pixels of
	vertical padding between click and window preferences. Fixes #158802.

1016 1017 1018 1019 1020 1021 1022 1023 1024 1025
2008-08-31  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-names.h:
	* src/file-manager/fm-directory-view.c (real_update_location_menu),
	(real_update_menus):
	* src/file-manager/fm-tree-view.c (create_popup_menu):
	Use "edit-delete" icon for delete actions, and "user-trash-full" icon
	for trash actions. Partially fixes #325945.
	Also make some mnemonics consistent.

1026 1027 1028 1029 1030 1031
2008-08-31  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-main.c (main):
	Detect restart requests by the session manager (i.e. after crashes),
	only show default window if no desktop window is shown. Fixes #99221.

1032 1033 1034 1035 1036 1037 1038
2008-08-31  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-directory-view.c
	(get_file_names_as_parameter_array), (run_script_callback):
	Get script file name as script parameter relative to current
	view directory. Fixes #320215.

1039 1040 1041 1042 1043
2008-08-30  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-icon-view.c (fm_icon_view_set_property):
	Set icon layout to T_B_R_L iff widget's text direction is RTL.

1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060
2008-08-30  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c:
	Add T_B_R_L to IS_COMPACT_VIEW() macro.

	* libnautilus-private/nautilus-icon-container.c
	(lay_down_one_column), (compare_icons_horizontal),
	(compare_icons_vertical), (previous_column_highest),
	(previous_column_lowest), (keyboard_right), (keyboard_left),
	(keyboard_down), (keyboard_up):
	Support vertical icon container RTL layout. Make RTL keynav useful.
	For wrap-around on pressing the down button in RTL mode
	compare_icons_horizontal() and compare_icons_vertical() had to be
	added for not breaking previous_column_highest(). I.e. consider both
	coordinates separately. There is probably a sort algorithm bug involved
	that only occurs in this situation.

1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090
2008-08-30  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c (get_cmp_point_x),
	(compare_with_start_row), (compare_with_start_column),
	(next_row_rightmost), (next_column_bottommost),
	(same_column_below_highest), (keyboard_home), (keyboard_end),
	(record_arrow_key_start), (keyboard_arrow_key), (keyboard_right),
	(keyboard_left), (keyboard_down), (keyboard_up),
	(button_press_event):
	Split out fallback function that determine the rightmost icon on the
	bottom row, which used to be inside same_column_below_highest().
	Add a similar concept for the vertical layout.

	Vertical layout: Move to the last item when pressing the right arrow
			 key in the penultimate column, below the last item.
				next_row_rightmost().

	Horizontal layout: Move to the last item when pressing the down arrow
			   key in the penultimate row, right to the last item.
				next_column_bottommost().

	Remove arrow_key_start, and use arrow_key_axis_x/_y, for
	horizontal/vertical position constraints in
	compare_with_start_column() and compare_with_start_row().

	Fixes #549686, at least for LTR.

	* libnautilus-private/nautilus-icon-private.h:
	Remove unused arrow_key_axis and arrow_key_start variables.

1091 1092 1093 1094 1095 1096 1097
2008-08-28  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/file-manager/fm-directory-view.c:
	(update_restore_from_trash_action):
	Fix a typo in a plural string.
	Patch by Petr Kovar (#549662).

1098 1099 1100 1101 1102 1103 1104 1105 1106
2008-08-25  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(icon_set_position):
	Fix icon container size calculation (consider margins),
	use unified container clamping code for RTL and LTR, that considers
	the entire item dimensions, instead of measuring just the icon
	rectangle.

1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150
2008-08-24  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-directory.c
	(nautilus_directory_schedule_position_set):
	* libnautilus-private/nautilus-file.c (get_time_from_time_string),
	(nautilus_file_get_time_metadata),
	(nautilus_file_set_time_metadata):
	* libnautilus-private/nautilus-file.h:
	* libnautilus-private/nautilus-icon-container.c
	(lay_down_icons_vertical_desktop),
	(nautilus_icon_container_class_init),
	(nautilus_icon_container_instance_init),
	(nautilus_icon_container_clear), (finish_adding_new_icons),
	(is_old_or_unknown_icon_data), (nautilus_icon_container_add),
	(nautilus_icon_container_begin_loading),
	(store_layout_timestamps_now),
	(nautilus_icon_container_end_loading),
	(nautilus_icon_container_get_store_layout_timestamps),
	(nautilus_icon_container_set_store_layout_timestamps):
	* libnautilus-private/nautilus-icon-container.h:
	* libnautilus-private/nautilus-icon-dnd.c (handle_local_move):
	* libnautilus-private/nautilus-icon-private.h:
	* libnautilus-private/nautilus-metadata.h:
	* src/file-manager/fm-desktop-icon-view.c
	(fm_desktop_icon_view_init):
	* src/file-manager/fm-directory-view.c (done_loading),
	(display_pending_files), (fm_directory_view_end_loading),
	(fm_directory_view_stop), (fm_directory_view_class_init):
	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-icon-view.c (fm_icon_view_add_file),
	(fm_icon_view_begin_loading), (fm_icon_view_end_loading),
	(fm_icon_view_screen_changed), (get_stored_layout_timestamp),
	(store_layout_timestamp), (create_icon_container):
	No more overlapping desktop icons.

	Implement a layout timestamp concept where each file on the desktop
	and the desktop directory itself is timestamped when a full layout
	happened. Iff files were not part of the last layout (or added more
	recently, through DND), they are treated as being “semi-positioned“
	(cf. 2005-11-07).
	This means that they may be freely shifted around, starting from their
	last position, until they don't overlap and fully laid out items.
	Should inter alia fix #330298.

1151 1152 1153 1154 1155 1156 1157
2008-08-24  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(find_empty_location), (lay_down_icons_vertical_desktop):
	Only use relative item measures for bounds check until absolute item
	positions are figured out.

1158 1159 1160 1161 1162 1163 1164
2008-08-22  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(prepare_pango_layout_for_draw), (draw_label_text):
	Always clear text background and display entire text
	if an icon is prelit or has the keyboard focus.

1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202
2008-08-22  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_invalidate_label_size),
	(nautilus_icon_canvas_item_set_property), (compute_text_rectangle),
	(nautilus_icon_canvas_item_update_bounds), (layout_get_full_size),
	(layout_get_size_for_layout), (prepare_pango_layout_width),
	(prepare_pango_layout_for_measure_entire_text),
	(prepare_pango_layout_for_draw), (measure_label_text),
	(draw_label_text), (create_label_layout),
	(nautilus_icon_canvas_item_get_bounds_for_entire_item),
	(nautilus_icon_canvas_item_ensure_bounds_up_to_date),
	(nautilus_icon_canvas_item_get_text_rectangle),
	(nautilus_icon_canvas_item_accessible_get_offset_at_point):
	* libnautilus-private/nautilus-icon-canvas-item.h:
	* libnautilus-private/nautilus-icon-container.c
	(icon_get_bounding_box), (get_icon_bounds_for_canvas_bounds),
	(get_all_icon_bounds),
	(nautilus_icon_container_update_scroll_region),
	(compare_icons_by_position), (placement_grid_mark_icon),
	(find_empty_location), (lay_down_icons_vertical_desktop),
	(finish_adding_new_icons):
	Rework large chunks of canvas item text handling. Split text drawing
	and measuring function.

	Always calculate the size required to render the entire layout, then
	limit the number of lines to the allowed maximum.

	Introduce new bound calculation semantics. Introduce three item and
	text size usage and calculation contexts:
		layout: used for grid layout algorithms (ex. horizontal auto
		layout)

		entire text: for displaying the entire text (ex. canvas bound
		calculation for scroll area)

		display: actually used size (ex. text drawing)

1203 1204 1205 1206 1207 1208 1209
2008-08-21  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/file-manager/fm-directory-view.c: (real_update_menus):
	Don't show "Browse Folders" in spatial mode if no folders are
	selected.
	Patch by Paweł Paprota (#351431).

1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224
2008-08-21  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(layout_get_full_size), (draw_or_measure_label_text):
	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_constructor),
	(nautilus_icon_container_get_max_layout_lines_for_pango),
	(nautilus_icon_container_get_max_layout_lines):
	* libnautilus-private/nautilus-icon-container.h:
	Add helper for getting max. number of layout lines, which does not use
	the negative PangoLayout height convention. Use it in
	layout_get_full_size() instead of hardcoding three lines.
	Only connect GConf text ellipsis preferences container callbacks while
	the containers are alive.

1225 1226 1227 1228 1229 1230 1231
2008-08-21  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/file-manager/fm-properties-window.c:
	(value_field_update_internal):
	Add context for translators.
	Thanks to Bob Mauchin (#548446).

1232 1233 1234 1235 1236 1237
2008-08-21  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/apps_nautilus_preferences.schemas.in:
	Fix typo in the schemas type description.
	Patch by F. Steinel (#548740).

1238 1239 1240 1241 1242 1243 1244
2008-08-20  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(draw_or_measure_label_text):
	Clear underlying items if text overlaps them when displaying full
	PangoLayout.

Christian Neumair's avatar
Christian Neumair committed
1245 1246 1247 1248 1249
2008-08-20  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	Post release version bump.

Christian Neumair's avatar
Christian Neumair committed
1250 1251
=== nautilus 2.23.90 ===

Christian Neumair's avatar
Christian Neumair committed
1252 1253 1254 1255 1256
2008-08-20  Christian Neumair  <cneumair@gnome.org>

	* NEWS:
	Update for release.

1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281
2008-08-20  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-program-choosing.c
	(nautilus_launch_application_from_command),
	(nautilus_launch_application_from_command_array):
	* libnautilus-private/nautilus-program-choosing.h:
	Use vararg list for nautilus_launch_application_from_command().
	Add nautilus_launch_application_from_command_array() which takes a
	parameter string array. Quote each parameter separately.

	* libnautilus-private/nautilus-mime-actions.c (activate_files):
	* src/file-manager/fm-desktop-icon-view.c
	(action_new_launcher_callback),
	(action_change_background_callback):
	* src/file-manager/fm-directory-view.c
	(action_new_launcher_callback),
	(get_file_names_as_parameter_array), (run_script_callback):
	* src/file-manager/fm-tree-view.c (got_activation_uri_callback):
	Pass each parameter separately to
	nautilus_launch_application_from_command(_array)().
	The _array() variant is used for running scripts, where the file names
	of the selection are passed separately.

	Fixes #341657. Thanks to Cosimo Cecchi.

1282 1283 1284 1285 1286 1287 1288
2008-08-20  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-search-engine-simple.c
	(visit_directory):
	Make content type search criterion useful, by fixing typo from GIO
	migration. Fixes #548645.

1289 1290 1291 1292 1293 1294 1295 1296 1297 1298
2008-08-19  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(draw_or_measure_label_text),
	(nautilus_icon_canvas_item_set_entire_text):
	* libnautilus-private/nautilus-icon-canvas-item.h:
	* libnautilus-private/nautilus-icon-container.c
	(lay_down_one_line), (lay_down_icons_horizontal):
	Never ellipsise text in last line of a line-wise layout.

1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322
2008-08-18  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/apps_nautilus_preferences.schemas.in:
	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	Add "icon_view/text_ellipsis_limit" and "desktop/text_ellipsis_limit".
	They specify the maximum number of lines to display before the file
	names should be ellipsized.

	* libnautilus-private/nautilus-icon-canvas-item.c
	(draw_or_measure_label_text):
	* libnautilus-private/nautilus-icon-container.c
	(text_ellipsis_limit_changed_container_callback),
	(nautilus_icon_container_constructor),
	(nautilus_icon_container_class_init),
	(get_text_ellipsis_limit_for_zoom),
	(text_ellipsis_limit_changed_callback),
	(desktop_text_ellipsis_limit_changed_callback),
	(nautilus_icon_container_instance_init),
	(nautilus_icon_container_get_layout_height):
	* libnautilus-private/nautilus-icon-container.h:
	* libnautilus-private/nautilus-icon-info.h:
	Connect icon container to text ellipsis limit preferences.

1323 1324 1325 1326 1327 1328
2008-08-18  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_event):
	Raise icon when hovering with the mouse over it.

1329 1330 1331 1332 1333 1334
2008-08-17  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(draw_or_measure_label_text):
	Obey one-line constraint in compact mode.

1335 1336 1337 1338 1339 1340 1341
2008-08-16  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-navigation-window.c (real_sync_zoom_widgets):
	* src/nautilus-window.c (real_sync_zoom_widgets):
	Properly calculate zoom level. Issue was imported from old
	"zoom-parameters-change" cruft. Fixes #548036.

1342 1343 1344 1345 1346 1347 1348
2008-08-16  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(draw_or_measure_label_text), (nautilus_icon_canvas_item_event):
	Also display whole icon text when hovering with the mouse over the
	icon.

1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369
2008-08-16  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_invalidate_label_size),
	(nautilus_icon_canvas_item_set_property), (compute_text_rectangle),
	(nautilus_icon_canvas_item_update_bounds), (layout_get_full_size),
	(draw_or_measure_label_text), (create_label_layout),
	(nautilus_icon_canvas_item_get_bounds_for_layout),
	(nautilus_icon_canvas_item_bounds),
	(nautilus_icon_canvas_item_ensure_bounds_up_to_date),
	(nautilus_icon_canvas_item_get_text_rectangle):
	* libnautilus-private/nautilus-icon-canvas-item.h:
	* libnautilus-private/nautilus-icon-container.c
	(icon_get_bounding_box_for_layout), (lay_down_icons_horizontal),
	(get_max_icon_dimensions), (lay_down_icons_vertical),
	(placement_grid_mark_icon), (find_empty_location),
	(lay_down_icons_vertical_desktop), (reload_icon_positions),
	(nautilus_icon_container_start_renaming_selected_item):
	Truncate icon label to three lines if it is not selected. Fixes
	#84390, at least in text-below-icon mode. 

1370 1371 1372 1373 1374 1375 1376
2008-08-16  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-directory-view.c
	(update_restore_from_trash_action):
	Ensure that hash table is not NULL before getting keys if the
	selection does not contain exactly one item.

1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392
2008-08-16  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-directory-view.c
	(action_restore_from_trash_callback), (locations_from_file_list),
	(restore_from_trash),
	(action_location_restore_from_trash_callback),
	(get_original_directories), (files_are_all_directories),
	(files_is_none_directory), (update_restore_from_trash_action),
	(real_update_location_menu), (real_update_menus):
	* src/nautilus-window-manage-views.c (begin_location_change),
	(got_file_info_for_view_selection_callback),
	(free_location_change):
	Support restoring of multiple items from trash at once. Group them by
	original directory, and start a file operation for each original
	directory. Display appropriate tooltips. Fixes #547977.

1393 1394 1395 1396 1397 1398 1399 1400 1401
2008-08-16  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-pathbar.c (slider_timeout),
	(nautilus_path_bar_init), (nautilus_path_bar_class_init),
	(nautilus_path_bar_scroll), (nautilus_path_bar_scroll_down),
	(nautilus_path_bar_scroll_up), (nautilus_path_bar_scroll_timeout),
	(nautilus_path_bar_slider_button_press):
	Handle scroll events. Fixes #547990.

1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413
2008-08-13  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-info.h:
	* src/file-manager/fm-directory-view.c (file_should_show_foreach),
	(file_should_show_self), (real_update_menus_volumes):
	* src/file-manager/fm-tree-view.c (button_pressed_callback),
	(fm_tree_view_unmount_cb), (fm_tree_view_eject_cb),
	(create_popup_menu):
	Make eject and unmount labels consistent between tree side pane and
	places side pane, display both eject and unmount for volumes supporting
	both. Partially fixes #547275.

1414 1415 1416 1417 1418 1419 1420
2008-08-13  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-dnd.c
	(nautilus_drag_default_drop_action_for_icons):
	Use correct target file for same filesystem check when dropping to
	desktop. Fixes #547282.

1421 1422 1423 1424 1425 1426 1427
2008-08-11  A. Walton  <awalton@gnome.org>

	* libnautilus-private/nautilus-file-operations.c
	(nautilus_file_operations_copy_move):
	Use g_file_has_uri_scheme() instead of rolling our own.
	Fixes bug #539780.

1428 1429 1430 1431 1432 1433
2008-08-07  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c (nautilus_file_is_archive):
	Add more supported MIME types, since file-roller trunk can handle them
	for remote locations. Thanks to Nelson Benítez León.

1434 1435 1436 1437 1438 1439
2008-08-06  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-view.c (nautilus_view_base_init):
	* libnautilus-private/nautilus-view.h:
	Remove unused "zoom-parameters-changed" signal.

1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470
2008-08-06  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-navigation-window.c (real_sync_zoom_widgets),
	(nautilus_navigation_window_class_init):
	* src/nautilus-window-manage-views.c (create_content_view),
	(location_has_really_changed), (update_for_new_location),
	(free_location_change), (nautilus_window_report_view_failed),
	(nautilus_window_manage_views_destroy),
	(nautilus_window_manage_views_close_slot):
	* src/nautilus-window-private.h:
	* src/nautilus-window-slot.c (real_active),
	(title_changed_callback),
	(nautilus_window_slot_connect_content_view),
	(nautilus_window_slot_disconnect_content_view),
	(nautilus_window_slot_set_content_view_widget):
	* src/nautilus-window-slot.h:
	* src/nautilus-window.c (nautilus_window_set_active_slot),
	(real_sync_zoom_widgets), (nautilus_window_sync_zoom_widgets),
	(zoom_level_changed_callback),
	(nautilus_window_connect_content_view),
	(nautilus_window_disconnect_content_view),
	(nautilus_window_class_init):
	* src/nautilus-window.h:
	Consolidate zoom handling. Add nautilus_window_sync_zoom_level(),
	and sync_zoom_level() method to NautilusWindow. Use it to sync both
	the menu state, and the toolbar state. Remove NautilusWindow's
	(dis)connect_content_view(), and use unified code in
	nautilus_window_(dis)connect_content_view(), wrapped by
	nautilus_window_slot_(dis)connect_content_view(), which also handles
	the (notebook) title sync. Fixes #546333.

1471 1472 1473 1474 1475 1476 1477
2008-08-06  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-bookmarks-window.c: (on_selection_changed),
	(update_bookmark_from_text):
	Show the parse name instead of the URI in the bookmark editor
	location entry (#546267).

1478 1479 1480 1481 1482 1483
2008-08-05  Jens Granseuer  <jensgr@gmx.net>

	* src/nautilus-window.h: fix "parameter has incomplete type"
	warning by moving the type declarations before the functions that
	use them (#546310)

1484 1485 1486 1487 1488 1489
2008-08-05  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/file-manager/fm-list-view.c: (create_column_editor):
	HIG improvements for the "Visible Columns" dialog.	
	Initial patch by Vincent Geddes (#457451).

Christian Neumair's avatar
Christian Neumair committed
1490 1491 1492 1493 1494 1495 1496
2008-08-03  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	Post release version bump.

=== nautilus 2.23.6.1 ===

Christian Neumair's avatar
Christian Neumair committed
1497 1498 1499 1500 1501 1502 1503 1504
2008-08-04  Christian Neumair  <cneumair@gnome.org>

	* NEWS:
	Update for release.

	* configure.in:
	Change version to 2.23.6.1.

1505 1506 1507 1508 1509 1510 1511
2008-08-04  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c (update_info_internal):
	When changing the file name, only clear the display name if the new
	file info has a NULL display name, i.e. it hasn't been set before with
	nautilus_file_set_display_name(). Fixes icon names of computer:/// items.

Christian Neumair's avatar
Christian Neumair committed
1512 1513 1514 1515 1516 1517 1518
2008-08-03  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	Post release version bump.

=== nautilus 2.23.6 ===

Christian Neumair's avatar
Christian Neumair committed
1519 1520 1521 1522 1523
2008-08-03  Christian Neumair  <cneumair@gnome.org>

	* NEWS:
	Update for release.

1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534
2008-08-03  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file-operations.c (str_replace),
	(make_file_name_valid_for_dest_fs), (get_unique_target_file),
	(get_target_file_for_link), (get_target_file), (create_dest_dir),
	(copy_move_directory), (query_fs_type), (copy_move_file),
	(copy_files), (move_file_prepare), (move_files_prepare),
	(move_files), (move_job), (link_file), (link_job), (create_job):
	Support transfer of files with reserved characters to FAT. Auto-escape
	them to the unreserved underscore character. Fixes #448148.

1535 1536 1537 1538 1539
2008-08-02  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c (keyboard_move_to):
	Never use linear selection in manual layout.

1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551
2008-08-02  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c (get_cmp_point_x),
	(same_column_below_highest), (keyboard_move_to),
	(keyboard_arrow_key), (is_rectangle_selection_event),
	(keyboard_right), (keyboard_left), (keyboard_down), (keyboard_up):
	Use linear selection instead of rectangular when pressing shift, use
	rectangular selection using shift and control at the same time.
	Do not wrap around vertically in horizontal layout mode, do not wrap
	around horzontally in vertical layout mode, never wrap around during
	rectangle selection. Fixes #338298 and #545493.

1552 1553 1554 1555 1556 1557 1558 1559 1560
2008-08-02  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-pathbar.c (update_button_types),
	(button_data_file_changed), (nautilus_path_bar_check_parent_path),
	(nautilus_path_bar_update_path), (nautilus_path_bar_set_path):
	* src/nautilus-pathbar.h:
	Handle moves in the path bar hierarchy. Fixes #545941.
	Thanks to Diego Escalante Urrelo.

1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573
2008-08-02  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(rubberband_timeout_callback), (realize),
	(nautilus_icon_container_get_first_visible_icon),
	(nautilus_icon_container_scroll_to_icon),
	(nautilus_icon_container_update_visible_icons),
	(handle_vadjustment_changed), (handle_hadjustment_changed):
	* libnautilus-private/nautilus-icon-private.h:
	Implement visible icon handling for horizontal scrolling, i.e.
	vertical icon layout. This will properly scroll to the last displayed
	icons when reloading a directory in vertical layout.

1574 1575 1576 1577 1578 1579 1580 1581 1582
2008-07-31  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-autorun.c
	(remove_elem_from_str_array), (add_elem_to_str_array),
	(nautilus_autorun_set_preferences), (combo_box_changed),
	(nautilus_autorun_prepare_combo_box):
	Handle NULL string arrays, and fix combo box model reference counting.
	Fixes #545658.

1583 1584 1585 1586 1587 1588 1589
2008-07-31  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-tree-view-drag-dest.c
	(set_widget_highlight):
	Only queue a redraw if widget state actually changed. Fixes massive
	flickering issues when dragging over list view. Fixes #524282.

1590 1591 1592 1593 1594 1595 1596 1597
2008-07-30  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-search-directory-file.c
	(nautilus_search_directory_file_update_display_name),
	(nautilus_search_directory_file_init):
	Correctly claim that the display name for the search directory is a
	custom one.

1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612
2008-07-30  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c
	(nautilus_file_clear_display_name), (nautilus_file_clear_info),
	(update_info_internal), (update_name_internal):
	When changing the file name, clear display name if it is not a custom
	one. Custom means “not provided by GFileInfo”.

2008-07-30  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-navigation-window-slot.c
	* src/nautilus-window-slot.c (real_update_query_editor),
	(nautilus_window_slot_update_query_editor):
	Use weak pointer for being notified about query editor destruction.

1613 1614 1615 1616 1617 1618 1619 1620 1621 1622
2008-07-30  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-navigation-window.c
	(path_bar_button_pressed_callback),
	(path_bar_button_released_callback),
	(path_bar_button_drag_begin_callback),
	(path_bar_path_set_callback):
	Open new window when control-clicking on a path bar button, open new
	tab when middle-clicking on a path bar button. Fixes #545397.

1623 1624 1625 1626 1627 1628
2008-07-30  Christian Neumair  <cneumair@gnome.org>

	* nautilus.desktop.in.in:
	Identify to GNOME session as file manager, and not as generic desktop
	application. Fixes #525056. Matthias Clasen.

1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655
2008-07-29  David Zeuthen  <davidz@redhat.com>

	* configure.in:
	Require gio 2.17.5 for g_mount_guess_content_type().

	* data/nautilus.xml.in:
	Delete x-content/* definitions; these are in shared-mime-info 0.50
	and greater.

	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	* libnautilus-private/apps_nautilus_preferences.schemas.in:
	Remove /apps/nautilus/preferences/media_autorun_x_content_ask
	and add /apps/nautilus/preferences/media_autorun_x_content_start_app
	instead since we're inverting the logic. Now, by default (except
	for x-content/software for which we're shipping an app ourselves)
	we default to asking the user what action to take.

	* libnautilus-private/nautilus-autorun.c:
	* libnautilus-private/nautilus-autorun.h:
	Use g_mount_guess_content_type() instead of using our own
	sniffing code. Also provide an option for the user to select
	an application to use (#532474).

	* src/nautilus-file-management-properties.c:
	Catch up with API changes to nautilus_autorun_prepare_combo_box()

1656 1657 1658 1659 1660 1661 1662 1663 1664
2008-07-28  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-file-management-properties.c:
	(nautilus_file_management_properties_dialog_setup):
	* src/nautilus-navigation-window.c: (real_get_icon):
	Use standard icon name, as gnome-icon-theme no longer ships
	the "file-manager" icon.
	Patch by Matthias Clasen (#545062).

1665 1666 1667 1668 1669
2008-07-24  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-pathbar.c: (setup_button_drag_source):
	Enable middle-click dragging a path bar button (#532475).

1670 1671 1672 1673 1674 1675 1676 1677 1678
2008-07-24  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/file-manager/fm-icon-view.c:
	(get_stored_icon_position_callback),
	(icon_position_changed_callback):
	Don't use setlocale () just to printf a float, but use
	g_ascii_dtostr () instead.
	Initial patch by Christian Persch (#461804).

1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693
2008-07-24  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/nautilus-file-operations.c:
	(is_all_button_text), (do_run_simple_dialog),
	(run_simple_dialog_va), (run_error), (run_warning), (run_question),
	(confirm_delete_from_trash), (confirm_empty_trash),
	(confirm_delete_directly), (delete_dir), (delete_file),
	(trash_files), (scan_dir), (scan_file), (verify_destination),
	(create_dest_dir), (copy_move_directory),
	(remove_target_recursively), (copy_move_file), (move_file_prepare),
	(move_files_prepare), (link_file), (link_job), (create_job):
	Show "All" buttons in the file operations dialogs only if more than one
	file is involved in the process.
	Initial patch by Christian Neumair (#518616).

Christian Neumair's avatar
Christian Neumair committed
1694 1695 1696 1697 1698 1699 1700
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	Post release version bump.

=== nautilus 2.23.5.1 ===

Christian Neumair's avatar
Christian Neumair committed
1701 1702 1703 1704 1705
2008-07-22  Christian Neumair  <cneumair@gnome.org>

	* NEWS:
	Update for release.

1706 1707 1708 1709 1710 1711 1712 1713
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	* src/file-manager/fm-properties-window.c
	(value_field_update_internal):
	Revert Q_() -> C_() migration due to an intltool bug.
	Do not require intltool 0.36.3 (#542658).

Christian Neumair's avatar
Christian Neumair committed
1714 1715 1716 1717 1718 1719 1720 1721
2008-07-22  Christian Neumair  <cneumair@gnome.org>

	* NEWS:
	Update for release.

	* configure.in:
	Change version to 2.23.5.1.

1722 1723 1724 1725 1726 1727
2008-07-22  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-directory-view.c (reset_open_with_menu):
	Display submenu for more than two associated applications when all
	files are folders.

1728 1729 1730 1731 1732 1733 1734
2008-07-22  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-directory-view.c
	(action_save_search_as_callback):
	Make save button the default widget, and proxy entry activation to the
	default widget.

1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747
2008-07-22  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-spatial-window.c (save_window_geometry_timeout),
	(nautilus_spatial_window_unrealize),
	(nautilus_spatial_window_save_geometry),
	(nautilus_spatial_window_save_scroll_position),
	(nautilus_spatial_window_save_show_hidden_files_mode),
	(real_close_slot), (nautilus_spatial_window_class_init):
	* src/nautilus-spatial-window.h:
	Make geomtry save methods per slot, rather than per window. The active
	slot is set to NULL before they are closed. Fixes #542656.
	Thanks to Frederic Peters.

1748 1749 1750 1751 1752 1753 1754 1755 1756 1757
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-places-sidebar.c (enable_tabs_changed_callback),
	(bookmarks_check_popup_sensitivity), (bookmarks_build_popup_menu),
	(nautilus_places_sidebar_init):
	Add separator after "Open in ..." popup menu items.

	Only show "Open in New Tab" menu item if the preference is enabled.
	Update popup menu sensitivity when tabs preference changes.

1758 1759 1760 1761 1762 1763 1764
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-places-sidebar.c (clicked_eject_button),
	(nautilus_places_sidebar_init):
	Fix eject icon click detection, also make it work in RTL locales.
	Ellipsize sidebar text. Slightly reduce eject icon xpad. 

Christian Neumair's avatar
Christian Neumair committed
1765 1766 1767 1768 1769 1770 1771
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	Post release version bump.

=== nautilus 2.23.5 ===

1772 1773 1774 1775 1776
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-query-editor.h:
	Fix NautilusWindowInfo header inclusion.

1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-actions.h:
	* src/file-manager/fm-directory-view.c
	(action_location_open_alternate_callback),
	(action_location_open_in_new_tab_callback),
	(real_update_location_menu), (real_update_menus):
	* src/file-manager/nautilus-directory-view-ui.xml:
	Add "Open in New Tab" item to location popup, and consolidate labels in
	case both spatial and browser mode are available.

Christian Neumair's avatar
Christian Neumair committed
1788 1789 1790 1791 1792
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* NEWS:
	Update for release.

1793 1794 1795 1796 1797 1798 1799
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	* src/file-manager/fm-properties-window.c
	(value_field_update_internal):
	Use C_() instead of Q_(). Require intltool 0.36.3.

1800 1801 1802 1803 1804 1805
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	Allow to disable XMP support. Thanks to Mikel Olasagasti and Gilles
	Dartiguelongue.

1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file-private.h:
	* libnautilus-private/nautilus-file.c (update_info_internal),
	(nautilus_file_get_trash_original_file):
	* libnautilus-private/nautilus-file.h:
	* src/file-manager/fm-actions.h:
	* src/file-manager/fm-directory-view.c
	(action_restore_from_trash_callback), (restore_from_trash),
	(action_location_restore_from_trash_callback),
	(update_restore_from_trash_action), (real_update_location_menu),
	(real_update_menus):
	* src/file-manager/nautilus-directory-view-ui.xml:
	Support restoring from trash (one item at a time).

1821 1822 1823 1824 1825 1826 1827 1828 1829
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-window-menus.c:
	* src/nautilus-zoom-control.c
	(nautilus_zoom_control_instance_init):
	Add tooltips to the zoom controls, make menu tooltips consistent with
	and a11y description consistent with Epiphany. Related to #543935.
	Thanks to Diego Escalante Urrelo.

1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-icon-view.c (fm_icon_view_register),
	(fm_compact_view_register):
	* src/file-manager/fm-icon-view.h:
	* src/nautilus-application.c (nautilus_application_instance_init):
	* src/nautilus-file-management-properties.c:
	* src/nautilus-file-management-properties.glade:
	Display compact view after list view, rather than before it. Fixes
	keybindings, and #543934. Thanks to Diego Escalante Urrelo.

1841 1842 1843 1844
2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-location-bar.c (editable_activate_callback),
	(nautilus_location_bar_init):
1845 1846
	Do not emit "location-changed" if the entry is empty. Fixes #527552.
	Thanks to Pedro Villavicencio, Cosimo Cechi and others.
1847

1848 1849 1850 1851 1852 1853
2008-07-20  David Zeuthen  <davidz@redhat.com>

	* libnautilus-private/nautilus-file-operations.c
	(unmount_mount_callback):
	Call the correct finish function.

1854 1855 1856 1857 1858 1859 1860
2008-07-20  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-pathbar.c (nautilus_path_bar_check_parent_path),
	(nautilus_path_bar_update_path):
	Do not treat top-level mounts (i.e. sftp://server/) as fake roots, and
	consequently do not display up slider.

1861 1862 1863 1864 1865 1866
2008-07-20  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-pathbar.c (get_type_icon_info):
	Use NautilusFile icon for normal buttons, rather than forcing folder
	icon. Fixes special location icons like network:///, computer:/// etc.

1867 1868 1869 1870 1871
2008-07-20  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c (update_info_internal):
	Only update referenced MIME type if it actually changed.

1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883
2008-07-20  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-dnd.c (check_same_fs),
	(nautilus_drag_default_drop_action_for_icons):
	* libnautilus-private/nautilus-file-private.h:
	* libnautilus-private/nautilus-file.c (nautilus_file_clear_info),
	(finalize), (update_info_internal),
	(nautilus_file_get_filesystem_id):
	* libnautilus-private/nautilus-file.h:
	Query filesystem ID, as referenced string. Use it to determine whether
	two files are on the same FS during DND. Gets rid of synchronous I/O.

1884 1885 1886 1887 1888
2008-07-20  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-notebook.c (nautilus_notebook_sync_tab_label):
	Use full location name as tab tooltip.

1889 1890 1891 1892 1893 1894 1895
2008-07-19  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-places-sidebar.c (add_place),
	(nautilus_places_sidebar_init):
	Only align eject icons with ejectable rows, instead of aligning them
	with all icons above the seperator.

1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912
2008-07-19  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file-operations.c
	(mount_callback_data_notify), (volume_mount_cb),
	(nautilus_file_operations_mount_volume),
	(nautilus_file_operations_mount_volume_full):
	* libnautilus-private/nautilus-file-operations.h:
	Add nautilus_file_operations_mount_volume_full(), which
	will issue a callback with an optional user data object,
	if the object is still alive after mounting.

	* src/nautilus-places-sidebar.c (add_place),
	(clicked_eject_button), (volume_mounted_cb),
	(open_selected_bookmark), (nautilus_places_sidebar_init),
	(nautilus_places_sidebar_dispose):
	Open files after mounting them.

1913 1914 1915 1916 1917 1918 1919 1920
2008-07-17  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-program-choosing.c
	(nautilus_launch_application):
	Pass textual URIs instead of GFiles to GAppInfo for remote files,
	similar to nautilus_launch_desktop_file(). Fixes #543448.
	Discovered by Kamil Páral.

1921 1922 1923 1924 1925
2008-07-16  A. Walton  <awalton@gnome.org>

	* src/file-manager/fm-properties-window.c (create_basic_page):
	Small touchup to r14351 (bug #542658) caught by Claude Paroz.

1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941
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.

1942 1943 1944 1945 1946 1947 1948 1949
2008-07-15  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-pathbar.c (button_data_free),
	(button_data_file_changed), (make_directory_button),
	(nautilus_path_bar_update_path):
	Use NautilusFile instead of GFile for obtaining display name. Gets rid
	of sync I/O.

1950 1951 1952 1953 1954 1955 1956 1957
2008-07-15  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(button_press_event), (nautilus_icon_container_did_not_drag),
	(handle_icon_double_click), (handle_icon_button_press):
	Only use double click for left mouse button. The middle mouse button
	opens a new tab or window on one click. Fixes #543136.

1958 1959 1960 1961 1962 1963 1964
2008-07-15  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-info.c
	(nautilus_icon_get_emblem_size_for_icon_size):
	* src/file-manager/fm-list-model.c (fm_list_model_get_value):
	Display emblems for small icon sizes, down to 16 pixels.

1965 1966 1967 1968 1969 1970 1971 1972 1973 1974
2008-07-15  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-dnd.c (slot_proxy_drag_motion),
	(nautilus_drag_slot_proxy_init):
	Also support a mode where the target URI is NULL, and the target slot is
	set.

	* src/nautilus-notebook.c (build_tab_label):
	Set up notebook labels as slot drag proxy, replace old DND code.

1975 1976 1977 1978 1979 1980 1981 1982
2008-07-14  A. Walton  <awalton@gnome.org>

	* libnautilus-private/nautilus-emblem-utils.c
	(nautilus_emblem_install_custom_emblem),
	(nautilus_emblem_can_remove_emblem):
	Use the GLib gstdio functions here, suggested in bug 542819
	by Thadeu Lima de Souza Cascardo.

1983 1984 1985 1986 1987 1988 1989
2008-07-13  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file.c:
	* libnautilus-private/nautilus-emblem-utils.c:
	Include sys/stat.h for struct stat and S_ISUID and other macros.
	Thanks to Thadeu Lima de Souza Cascardo  <cascardo@minaslivre.org>.

1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023
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.

2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035
2008-07-13  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-view.c
	(nautilus_view_drop_proxy_received_netscape_url):
	* libnautilus-private/nautilus-view.h:
	* src/file-manager/fm-directory-view.c
	(fm_directory_view_init_view_iface),
	(fm_directory_view_drop_proxy_received_uris),
	(fm_directory_view_drop_proxy_received_netscape_url):
	Add function for receiving netscape URLs, clear colliding clipboard
	contents when receiving dropped URIs.

2036 2037 2038 2039 2040 2041 2042 2043 2044 2045
2008-07-13  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-window-slot-info.c
	(nautilus_window_slot_info_get_current_view):
	* libnautilus-private/nautilus-window-slot-info.h:
	* src/nautilus-window-slot.c (real_slot_info_get_current_view),
	(nautilus_window_slot_info_iface_init):
	Add nautilus_window_slot_info_get_window()
	for getting current NautilusView (one ref count added).

Christian Neumair's avatar
Christian Neumair committed
2046 2047 2048 2049 2050 2051
2008-07-12  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(handle_icon_double_click):
	Fix typo.

2052 2053 2054 2055 2056 2057 2058
2008-07-12  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-properties-window.c (create_basic_page),
	(create_simple_permissions), (create_advanced_permissions),
	(create_permissions_page):
	Use UTF-8 dash instead of "--". Fixes #542658. Thanks to Claude Paroz.

2059 2060 2061 2062 2063 2064 2065 2066
2008-07-12  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(button_press_event):
	* libnautilus-private/nautilus-icon-private.h:
	Completely rewrite button press detection. Finally fixes #542269
	without any side effects.

2067 2068 2069 2070 2071 2072 2073
2008-07-12  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(handle_icon_button_press):
	Fix activation of previously selected icons (introduced when fixing
	bug #347423). Fixes #542269. Thanks to Tomasz Sałaciński.

2074 2075 2076 2077 2078
2008-07-10  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-directory-view.c:
	Do not bind CTRL+T to "Move to Trash".