Commit graph

12563 commits

Author SHA1 Message Date
Yair Hershkovitz bf1255166c updated hebrew translation
svn path=/trunk/; revision=14366
2008-07-16 13:33:15 +00:00
Christian Neumair 30d7f6778d Dynamically update buttons on file changes instead of hard-coding them
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.

svn path=/trunk/; revision=14365
2008-07-15 22:22:05 +00:00
Christian Neumair 3e236c23a6 Use NautilusFile instead of GFile for obtaining display name. Gets rid of
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.

svn path=/trunk/; revision=14364
2008-07-15 19:56:00 +00:00
Christian Neumair e471ec1568 Only use double click for left mouse button. The middle mouse button opens
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.

svn path=/trunk/; revision=14363
2008-07-15 18:13:17 +00:00
Christian Neumair 59d46c08d4 Add missing ChangeLog entry.
svn path=/trunk/; revision=14362
2008-07-15 06:53:02 +00:00
Christian Neumair 7a76d24586 Display emblems for small icon sizes, down to 16 pixels.
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.

svn path=/trunk/; revision=14361
2008-07-15 06:49:34 +00:00
Christian Neumair 82d2b78b23 Also support a mode where the target URI is NULL, and the target slot is
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.

svn path=/trunk/; revision=14360
2008-07-14 22:28:42 +00:00
A. Walton b187409327 Use the GLib gstdio functions here, suggested in bug 542819 by Thadeu Lima
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.


svn path=/trunk/; revision=14359
2008-07-14 08:16:40 +00:00
Jorge Gonzalez Gonzalez 5a1ff050d6 Updated Spanish translation
svn path=/trunk/; revision=14358
2008-07-13 21:04:02 +00:00
Christian Neumair 627d12c632 Include sys/stat.h for struct stat and S_ISUID and other macros. Thanks to
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>.

svn path=/trunk/; revision=14357
2008-07-13 20:44:02 +00:00
Christian Neumair d4f08bc033 Add simple slot drop proxy API to libnautilus-private, centered around
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.

svn path=/trunk/; revision=14356
2008-07-13 12:07:53 +00:00
Christian Neumair 88d90c73c4 Add function for receiving netscape URLs, clear colliding clipboard
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.

svn path=/trunk/; revision=14355
2008-07-13 12:02:09 +00:00
Christian Neumair 2126560b91 Add nautilus_window_slot_info_get_window() for getting current
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).

svn path=/trunk/; revision=14354
2008-07-13 12:00:02 +00:00
Christian Neumair 5ebe54583e Fix typo.
2008-07-12  Christian Neumair  <cneumair@gnome.org>

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

svn path=/trunk/; revision=14353
2008-07-12 21:14:04 +00:00
Daniel Nylander 742b45a669 sv.po: Updated Swedish translation
svn path=/trunk/; revision=14352
2008-07-12 15:51:49 +00:00
Christian Neumair 92d23d5c23 Use UTF-8 dash instead of "--". Fixes #542658. Thanks to Claude Paroz.
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.

svn path=/trunk/; revision=14351
2008-07-12 15:44:05 +00:00
Christian Neumair b6685a5b26 Completely rewrite button press detection. Finally fixes #542269 without
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.

svn path=/trunk/; revision=14350
2008-07-12 15:42:10 +00:00
Vladimer Sichinava 4eabe43b46 Updated Georgian language
svn path=/trunk/; revision=14347
2008-07-12 14:53:25 +00:00
Christian Neumair 7690b89480 Fix activation of previously selected icons (introduced when fixing bug
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.

svn path=/trunk/; revision=14342
2008-07-12 13:47:20 +00:00
Claude Paroz b92695430f Updated French translation by Bruno Brouard and Claude Paroz.
2008-07-12  Claude Paroz  <claude@2xlibre.net>

	* fr.po: Updated French translation by Bruno Brouard and Claude Paroz.

svn path=/trunk/; revision=14341
2008-07-12 13:18:40 +00:00
Gabor Keleman e948af036d Accelerator fix
svn path=/trunk/; revision=14340
2008-07-10 20:04:28 +00:00
Gabor Keleman 98e6d94142 Munkasztal must die
svn path=/trunk/; revision=14339
2008-07-10 19:47:07 +00:00
Gabor Kelemen e3139fec4c Translation updated by Máté Őry.
2008-07-10  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated by Máté Őry.

svn path=/trunk/; revision=14338
2008-07-10 19:27:48 +00:00
Matej Urbančič 263e01018e Updated Slovenian translation
svn path=/trunk/; revision=14337
2008-07-10 13:08:04 +00:00
Theppitak Karoonboonyanan 987c690837 Updated Thai translation.
2008-07-10  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.


svn path=/trunk/; revision=14336
2008-07-10 05:07:55 +00:00
Christian Neumair 589cf6f89f Revert my local screenshot modification.
svn path=/trunk/; revision=14335
2008-07-09 22:39:04 +00:00
Christian Neumair ff94ad31dc Do not bind CTRL+T to "Move to Trash".
2008-07-10  Christian Neumair  <cneumair@gnome.org>

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

svn path=/trunk/; revision=14334
2008-07-09 22:05:33 +00:00
Christian Neumair bb938882d3 Fix typo. Go forward instead of going back.
2008-07-09  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-navigation-window-menus.c (action_forward_callback):
	Fix typo. Go forward instead of going back.

svn path=/trunk/; revision=14333
2008-07-09 20:20:42 +00:00
Christian Neumair c1dde067de Bookmark DND fix galore. Properly handle reordering when non-existing
2008-07-09  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-places-sidebar.c (compute_drop_position),
	(drag_motion_callback), (reorder_bookmarks),
	(drag_data_received_callback), (nautilus_places_sidebar_init):
	Bookmark DND fix galore. Properly handle reordering when non-existing
	bookmarks are present. They are ignored by the view, but not by the
	Nautilus bookmark list. Make DND indication consistent with the GTK+
	file chooser.

svn path=/trunk/; revision=14332
2008-07-09 19:52:52 +00:00
Christian Neumair e56e2514d4 Actually add it.
2008-07-09  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-window-slot-info.h:
	Actually add it.

	* src/nautilus-navigation-window-slot.h:
	* src/nautilus-notebook.h:
	* src/nautilus-window-slot.h:
	Contents was added twice. Remove it once.

svn path=/trunk/; revision=14331
2008-07-09 17:53:35 +00:00
Kjartan Maraas 5e1a91d669 Add missing files. Updated Norwegian bokmål translation.
2008-07-09  Kjartan Maraas  <kmaraas@gnome.org>

	* POTFILES.in: Add missing files.
	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=14330
2008-07-09 09:28:25 +00:00
Christian Neumair 07cf7db47f Merge "multiview" tab branch. Fixes #48034.
2008-07-08  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/*.c:
	* src/*.c:
	Merge "multiview" tab branch. Fixes #48034.

svn path=/trunk/; revision=14328
2008-07-08 21:05:55 +00:00
Christian Neumair dc8f0ba5d2 Use GTK_ICON_SIZE_LARGE_TOOLBAR instead of hard coding the icon size to
2008-07-07  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-ui-utilities.c
	(nautilus_toolbar_action_from_menu_item):
	Use GTK_ICON_SIZE_LARGE_TOOLBAR instead of hard coding the icon size
	to 48. Fixes #541527. Thanks to Gilles Dartiguelongue.

svn path=/trunk/; revision=14324
2008-07-07 17:39:58 +00:00
Christian Neumair 9f5de079fd Always grab view focus on location change, even if it the old view is
2008-07-06  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-navigation-window.c (unset_focus_widget),
	(is_in_temporary_navigation_bar), (is_in_temporary_search_bar),
	(remember_focus_widget), (restore_focus_widget),
	(hide_temporary_bars), (navigation_bar_cancel_callback),
	(navigation_bar_location_changed_callback),
	(nautilus_navigation_window_destroy), (real_prompt_for_location),
	(search_bar_cancel_callback),
	(nautilus_navigation_window_show_search), (real_set_search_mode):
	* src/nautilus-window-manage-views.c (location_has_really_changed):
	* src/nautilus-window-private.h:
	* src/nautilus-window.c (nautilus_window_set_content_view_widget):
	Always grab view focus on location change, even if it the old view is
	re-used. Remember last focus widget when temporarily showing a bar,
	and re-focus it when hiding it. Fixes #500946. Thanks to Nelson
	Benítez León.

svn path=/trunk/; revision=14323
2008-07-06 10:37:31 +00:00
Priit Laes 601f5bfcef Translation updated by Ivar Smolin
2008-07-04  Priit Laes  <plaes at svn dot gnome dot org>

	* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=14322
2008-07-04 17:51:18 +00:00
Christian Neumair 6bb9a83161 Add eject button to places sidebar. Use multiple cell renderers for
2008-07-04  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-places-sidebar.c (add_place),
	(clicked_eject_button), (check_unmount_and_eject),
	(check_visibility), (rename_selected_bookmark), (do_unmount),
	(do_unmount_selection), (unmount_shortcut_cb), (do_eject),
	(eject_shortcut_cb), (eject_or_unmount_bookmark),
	(eject_or_unmount_selection), (bookmarks_key_press_event_cb),
	(bookmarks_button_press_event_cb), (nautilus_places_sidebar_init):
	Add eject button to places sidebar. Use multiple cell renderers for
	aligning the button with the items above the separator, but not below
	it. Thanks to Stefano Teso, Cosimo Cecchi, Juan Dapena Paz and Ignacio
	Casal Quinteiro. Fixes #343839.

svn path=/trunk/; revision=14321
2008-07-04 17:23:19 +00:00
Cosimo Cecchi b07c529465 Use g_mkdir() and g_chdir() instead of mkdir() and chdir() to fix some
2008-07-04  Cosimo Cecchi  <cosimoc@gnome.org>

	* libnautilus-private/nautilus-file-utilities.c:
	(nautilus_get_user_directory), (nautilus_get_desktop_directory),
	(nautilus_create_templates_directory),
	(nautilus_get_searches_directory):
	* libnautilus-private/nautilus-metafile.c:
	(construct_private_metafile_uri):
	* libnautilus-private/nautilus-mime-actions.c: (activate_files):
	* src/file-manager/fm-directory-view.c: (change_to_view_directory),
	(run_script_callback):
	Use g_mkdir() and g_chdir() instead of mkdir() and chdir() to fix
	some warnings under GCC 4.3.1.

svn path=/trunk/; revision=14320
2008-07-04 12:49:18 +00:00
Wouter Bolsterlee 494fd79322 Include <glib/gstdio.h> to fix the build. Some cleanup in header imports
2008-07-03  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* libnautilus-private/nautilus-emblem-utils.c:
	Include <glib/gstdio.h> to fix the build. Some cleanup
	in header imports to improve code legibility.

	* libnautilus-private/nautilus-file.c:
	Include <glib/gstdio.h> here as well.

svn path=/trunk/; revision=14319
2008-07-03 13:33:17 +00:00
Wouter Bolsterlee 49e48c8c2f Reverse previous commit, since the fix was incorrect.
svn path=/trunk/; revision=14318
2008-07-03 13:30:04 +00:00
Wouter Bolsterlee 452accc777 Include sys/stat.h to fix the build.
2008-07-03  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* libnautilus-private/nautilus-emblem-utils.c:
	* libnautilus-private/nautilus-file.c:
	Include sys/stat.h to fix the build.

svn path=/trunk/; revision=14317
2008-07-03 10:46:32 +00:00
Wouter Bolsterlee 323296f56e Don't reference cut-n-paste-code/widgets/ directory since it was removed
2008-07-03  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* configure.in: Don't reference
	cut-n-paste-code/widgets/ directory since it was removed
	in revision 14306.


svn path=/trunk/; revision=14316
2008-07-03 10:21:30 +00:00
Yannig MARCHEGAY 256291f2be Updated Occitan translation
svn path=/trunk/; revision=14315
2008-07-02 19:17:18 +00:00
Christian Neumair 5209289de4 Scale down huge pixbufs when loading. Massively speed up loading of
2008-06-30  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-directory-async.c (thumbnail_done),
	(thumbnail_loader_size_prepared), (get_pixbuf_for_content),
	(thumbnail_start):
	* libnautilus-private/nautilus-file.h:
	Scale down huge pixbufs when loading. Massively speed up loading of
	directories where the original image is used as thumbnail.
	Also try to write the whole file at once rather than writing in chunks.

	* libnautilus-private/nautilus-file-private.h:
	* libnautilus-private/nautilus-file.c (nautilus_file_get_icon):
	Rewrite some flaky parts of thumbnailing.

	Never scale any thumbnails up.
	Always compose thumbnail on the fly instead storing it once and
	scaling it up and down.
	Add flag to force that thumbnail size matches
	the output icon size for tree view.

	* src/file-manager/fm-list-model.c (fm_list_model_get_value):
	Use this flag.

svn path=/trunk/; revision=14309
2008-06-30 13:26:34 +00:00
Cosimo Cecchi d9156a3148 Remove reference to the need of a GNOME 2.4 environment to build Nautilus.
2008-06-29  Cosimo Cecchi  <cosimoc@gnome.org>

	* README: Remove reference to the need of a GNOME 2.4 environment
	to build Nautilus.

svn path=/trunk/; revision=14308
2008-06-29 13:44:45 +00:00
Cosimo Cecchi 371e680073 Update outdated information and mailing list address.
2008-06-29  Cosimo Cecchi  <cosimoc@gnome.org>

	* cut-n-paste-code/README: Update outdated information
	and mailing list address.

svn path=/trunk/; revision=14307
2008-06-29 13:33:23 +00:00
Cosimo Cecchi bf58445a41 Remove useless empty widgets directory.
2008-06-29  Cosimo Cecchi  <cosimoc@gnome.org>

	* cut-n-paste-code/Makefile.am:
	* cut-n-paste-code/widgets/Makefile.am:
	Remove useless empty widgets directory.

svn path=/trunk/; revision=14306
2008-06-29 13:30:07 +00:00
Cosimo Cecchi 744161046c Fix a huge leak as messages were pushed in the statusbar but almost never
2008-06-29  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-window.c: (nautilus_window_set_status):
	Fix a huge leak as messages were pushed in the statusbar but almost
	never popped. Patch by Vincent Untz. (#536968).

svn path=/trunk/; revision=14298
2008-06-29 11:03:44 +00:00
Christian Neumair 1e27bdf4d5 Use customized double click detection, for supporting double clicks on
2008-06-29  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(clicked_within_double_click_interval), (handle_icon_button_press):
	* libnautilus-private/nautilus-icon-private.h:
	Use customized double click detection, for supporting double clicks
	on half shown items, where the first click triggers a scroll event.
	Thanks to Nelson Benítez León. Fixes #347423.

svn path=/trunk/; revision=14297
2008-06-29 10:53:58 +00:00
A. Walton 2d38452c95 Move keyboard focus correctly after a file has been removed. Patch thanks
2008-06-28  A. Walton  <awalton@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(keyboard_arrow_key):
	Move keyboard focus correctly after a file has been
	removed. Patch thanks to Nelson Benitez. Closes bug #540107.


svn path=/trunk/; revision=14290
2008-06-28 18:12:42 +00:00
Christian Neumair 5381b42bad Stop loading of new view instead of just unreffing it when freeing a
2008-06-28  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-window-manage-views.c
	(nautilus_window_report_selection_changed),
	(nautilus_window_report_load_underway),
	(nautilus_window_report_load_complete), (free_location_change),
	(nautilus_window_report_view_failed),
	(nautilus_window_stop_loading):
	* src/nautilus-window-private.h:
	Stop loading of new view instead of just unreffing it when freeing a
	location change.
	Ignore view signals of new view when stopping it. Otherwise we'd have
	infinite recursion.

svn path=/trunk/; revision=14287
2008-06-28 12:20:22 +00:00