Commit graph

11308 commits

Author SHA1 Message Date
Federico Mena Quintero 3b44116754 Use the write-to-a-pipe trick from the signal handler instead of queueing
2006-11-23  Federico Mena Quintero  <federico@novell.com>

	Use the write-to-a-pipe trick from the signal handler instead of
	queueing an idle handler from there.

	* src/nautilus-main.c (setup_debug_log_signals): Set up a pair of
	pipes for the SIGUSR1 handler; set up a GIOChannel on them.
	(sigusr1_handler): Write a byte to our pipe instead of queueing an
	idle handler.
	(debug_log_io_cb): Replaces dump_debug_log_idle_cb().  Read from
	the pipe, and dump the debug log.

	Add a configuration file for the logging mechanism.  You create
	~/nautilus-debug-log.conf as a GKeyFile.

	* libnautilus-private/nautilus-debug-log.c
	(nautilus_debug_log_load_configuration): New function; loads the
	configuration from a key file like this:

		[debug log]
		enable domains = foo; bar; baz
		max lines = 1000

	* libnautilus-private/nautilus-debug-log.c (dump_configuration):
	New utility function.
	(nautilus_debug_log_dump): At the end of the log, dump the
	configuration used for the debug log so that the user can
	re-create it later.

	* libnautilus-private/nautilus-debug-log.h: New prototype for
	nautilus_debug_log_load_configuration().

	* src/nautilus-main.c (setup_debug_log): Load the debug log's
	configuration from ~/nautilus-debug-log.conf
	(setup_debug_log_domains): Removed.

	* src/nautilus-main.c (log_override_cb): If the log level of the
	message is G_LOG_LEVEL_DEBUG, don't log it as a milestone.  We'll
	use this log level for miscellaneous debugging messages from
	gnome-vfs.  Also, don't send G_LOG_LEVEL_DEBUG messages to the
	default log handler, to avoid a huge ~/.xsession-errors.
	(setup_debug_log_domains): Enable logging for
	NAUTILUS_DEBUG_LOG_DOMAIN_GLOG.
2006-11-23 16:26:05 +00:00
Christian Persch 8ffdd1423d Fix inconsistent label boleding. (#372550)
2006-11-23  Christian Persch  <chpe@cvs.gnome.org>

	* src/nautilus-search-bar.c: (nautilus_search_bar_init):
	Fix inconsistent label boleding. (#372550)
2006-11-23 15:18:44 +00:00
Alexander Larsson 84a3f90cf2 A11y fix for handing renames better (#338353)
2006-11-23  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-canvas-item.c:
	A11y fix for handing renames better (#338353)
2006-11-23 14:08:43 +00:00
Alexander Larsson 378823d2d8 2006-11-23 Alexander Larsson <alexl@redhat.com>
* Commit federicos debug logging patch:
2006-11-23 13:57:04 +00:00
Alexander Larsson 0965e0f9cf Bump version to 2.17.1 Gnome 2.16 work continues on gnome-2-16 branch
2006-11-23  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Bump version to 2.17.1
	Gnome 2.16 work continues on gnome-2-16 branch
2006-11-23 13:25:31 +00:00
Yair Hershkovitz bac1115f97 updated hebrew translation 2006-11-23 05:33:22 +00:00
Alexander Larsson 0fe70f4540 Look for Beagle before looking for Tracker. Since Tracker autostarts and
2006-11-22  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-search-engine.c:
	Look for Beagle before looking for Tracker. Since Tracker
	autostarts and Beagle doesn't this means you can have both
	installed and configured and pick which one to use.
2006-11-22 13:29:44 +00:00
Pawan Chitrakar 3414d769f8 Updated Nepali Translation 2006-11-21 08:42:26 +00:00
Alexander Larsson 79627559e5 Post release version bump
2006-11-20  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Post release version bump

=== nautilus 2.16.3 ===
2006-11-20 11:40:01 +00:00
Alexander Larsson 8352208e9b Update for release.
2006-11-20  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release.
2006-11-20 11:29:09 +00:00
Alexander Larsson 4a2aced610 Revert federicos patch from 2006-11-06, as it was causing problems.
2006-11-20  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c:
	* src/file-manager/fm-icon-view.c:
	Revert federicos patch from 2006-11-06, as it was causing problems.
2006-11-20 09:01:36 +00:00
Wouter Bolsterlee 44f25ad6c8 Translation updated by wadim dziedzic.
2006-11-19  Wouter Bolsterlee  <wbolster@cvs.gnome.org>

	* pl.po: Translation updated by wadim dziedzic.
2006-11-19 18:41:56 +00:00
Matic Zgur 5db85306c1 Updated Slovenian translation.
2006-11-19  Matic Zgur  <mr.zgur@gmail.com>

	* sl.po: Updated Slovenian translation.
2006-11-19 13:48:13 +00:00
Djihed Afifi f90e6461e7 Updated Arabic Translation. QA'ed by Khaled Hosny 2006-11-18 20:29:44 +00:00
Djihed Afifi f0e3284133 Updated Arabic Translation. . QA by Khaled Hosny. 2006-11-16 07:38:23 +00:00
Alexander Larsson 60fc1617b6 Ref the NautilusDirectory during call_ready_callbacks_at_idle. Fixes
2006-11-13  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-directory-async.c:
	Ref the NautilusDirectory during call_ready_callbacks_at_idle.
	Fixes #372471
2006-11-13 11:51:09 +00:00
Djihed Afifi 5c838750f4 Updated Arabic Translation. 2006-11-10 21:57:32 +00:00
Hendrik Richter 61a37ef7dc Updated German translation, fix #372962.
2006-11-09  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation, fix #372962.
2006-11-09 15:39:14 +00:00
Djihed Afifi 6e12f940f9 Updated Arabic Translation. 2006-11-09 00:42:34 +00:00
Priit Laes d29bf3a670 Translation updated by Ivar Smolin.
2006-11-08  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2006-11-08 17:48:04 +00:00
Alexander Larsson e0e33bb42e Post release version bump
2006-11-07  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Post release version bump

=== nautilus 2.16.2 ===
2006-11-07 14:26:00 +00:00
Alexander Larsson a4e0129507 Update for release
2006-11-07  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release

	* libnautilus-private/nautilus-directory-async.c:
	* libnautilus-private/nautilus-directory.c:
	Unschedule call_ready callbacks on directory finalize, not
	on file finalize.
	Keep monitors around until we call the call_when_ready callback
	at idle time.
	Call async_state_changed and update_metadata_monitors after
	call_when_ready callbacks have been called at idle.

	(fixes make check)
2006-11-07 14:10:22 +00:00
Alexander Larsson fe6e7d4c8c Make the session restart work again (from 2006-11-03 change) Make the
2006-11-07  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-application.c:
	* src/nautilus-shell.c:
	* src/nautilus-main.[ch]:
	Make the session restart work again (from 2006-11-03 change)
	Make the session not restart nautilus on --quit
2006-11-07 10:50:33 +00:00
Alexander Larsson 3dfdf85c6d Update for desktop.in.in change.
2006-11-07  Alexander Larsson  <alexl@redhat.com>

	* POTFILES.in:
	Update for desktop.in.in change.
2006-11-07 09:35:57 +00:00
Priit Laes f776e3f506 Translation updated by Ivar Smolin.
2006-11-06  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2006-11-06 19:58:40 +00:00
Federico Mena Quintero fb0ea9c65a http://bugzilla.gnome.org/show_bug.cgi?id=330298
2006-11-06  Federico Mena Quintero  <federico@novell.com>

	http://bugzilla.gnome.org/show_bug.cgi?id=330298

	Fix the use of lazy positioning, and the saving of metadata for
	lazily-positioned icons.  Fixes
	https://bugzilla.novell.com/show_bug.cgi?id=155337 and
	https://bugzilla.novell.com/show_bug.cgi?id=174766.

	* src/file-manager/fm-icon-view.c (file_has_lazy_position): Only
	desktop icon files (not "real" files) have lazy positions.  Don't
	consider whether the directory is loading; this is not the right
	place to check that.
	(fm_icon_view_begin_loading): Tell the icon container that we
	just started reloading.
	(fm_icon_view_end_loading): Tell the icon container that we
	finished loading.

	* libnautilus-private/nautilus-icon-private.h
	(NautilusIconContainerDetails): New flag "is_reloading".

	* libnautilus-private/nautilus-icon-container.h: New prototype for
	nautilus_icon_container_set_is_reloading().

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_set_is_reloading): New function; sets an
	is_reloading flag in the icon container.
	(icon_set_position): Clear icon->has_lazy_position, since the icon
	will be well-positioned once this function exits.
	(finish_adding_new_icons): Do not ignore already-placed lazy
	position icons when filling the placement grid!  Save the value of
	icon->has_lazy_position before calling assign_icon_position().
	Since that function may call icon_set_position() (which will clear
	the flag), we need to keep the original value of the flag.
	(finish_adding_new_icons): Don't clear icon->has_lazy_position
	here; let icon_set_position() do it.
	(finish_adding_new_icons): Emit the icon_position_changed signal
	so that the parent knows that we moved an icon under it.  This has
	the effect of updating/preserving the position metadata for
	has_lazy_position icons.
2006-11-06 19:10:01 +00:00
Alexander Larsson 6508bd717c Add X-GNOME-Bugzilla-Version marking to desktop files.
2006-11-06  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	* nautilus-computer.desktop.in:
	* nautilus-computer.desktop.in.in:
	* nautilus-file-management-properties.desktop.in:
	* nautilus-file-management-properties.desktop.in.in:
	* nautilus-folder-handler.desktop.in:
	* nautilus-folder-handler.desktop.in.in:
	* nautilus-home.desktop.in:
	* nautilus-home.desktop.in.in:
	* nautilus.desktop.in:
	* nautilus.desktop.in.in:
	Add X-GNOME-Bugzilla-Version marking to desktop files.
2006-11-06 17:27:32 +00:00
Alexander Larsson 270f44ecd1 Cancel rubberbanding if we get a grab shadow event. This happens when a
2006-11-06  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c:
	Cancel rubberbanding if we get a grab shadow event.
	This happens when a modal dialog (e.g. an error or auth dialog)
	appears. (Partially fixes #122688)
2006-11-06 16:31:54 +00:00
Alexander Larsson 6529dfeb75 Don't close handle and free buffer twice on error. (#321175)
2006-11-06  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-icon-view.c (play_file):
	Don't close handle and free buffer twice on error. (#321175)
2006-11-06 13:04:51 +00:00
Alexander Larsson 6246b5ccff Don't crash on old desktop dir and search dir uris. (#349840)
2006-11-06  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file.c (nautilus_file_new_from_relative_uri):
	Don't crash on old desktop dir and search dir uris. (#349840)
2006-11-06 12:58:58 +00:00
Djihed Afifi fac360f4f0 Added/Updated Arabic Translation. 2006-11-06 12:56:24 +00:00
Martin Wehner f41b909d43 Specify label-for and labelled-by atk relations. (#356124)
2006-11-06  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-file-management-properties.glade:
	Specify label-for and labelled-by atk relations. (#356124)

	Patch from Padraig O'Briain  <padraig.obriain@sun.com>
2006-11-06 01:19:00 +00:00
Priit Laes c3f02d6adb Translation updated by Ivar Smolin.
2006-11-05  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2006-11-05 08:54:47 +00:00
Alexander Larsson 11ad437c16 Always use the in-process metafile factory. We don't need it oop, since
2006-11-03  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-directory-metafile.c:
	Always use the in-process metafile factory. We don't need it
	oop, since nautilus is single process these days. This fixes
	some strange races with bonobo-activation that caused #351713

	* src/nautilus-application.[ch]:
	* src/nautilus-shell.h:
	Change the way we use bonobo-activation to get the NautilusShell
	so that we don't rely on bonobo-activation-server to spawn nautilus,
	as this could lead to some strange duplicate processes.
	We now directly try to register the app-wide shell object with
	bonobo-activation manually and activate it with
	Bonobo_ACTIVATION_FLAG_EXISTING_ONLY.

	* src/nautilus-shell.c:
	Handle all corba calls from the NautilusShell in an idle handler.
	This fixes some crashes where we reentered badly into e.g. quit
	when calling gconf.

	* src/nautilus-main.c:
	Since we now handle the initial open_window shell calls via an idle
	we need to delay until idle time to know if we can quit or not.
2006-11-03 16:34:12 +00:00
Hendrik Richter 01784c45de Updated German translation, fix #369439.
2006-11-03  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation, fix #369439.
2006-11-03 15:44:40 +00:00
Priit Laes fd6f9fb5f4 Translation updated by Ivar Smolin.
2006-11-03  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2006-11-03 07:31:39 +00:00
Alexander Larsson 54b31824b4 Sleep shorter, for more torture
2006-11-02  Alexander Larsson  <alexl@redhat.com>

	* test/file-torture.py (main):
	Sleep shorter, for more torture
2006-11-02 18:23:13 +00:00
Alexander Larsson bf955becf2 Call all call_when_ready callbacks from an idle handler. This fixes
2006-11-02  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-directory-private.h:
	* libnautilus-private/nautilus-directory-async.c:
	Call all call_when_ready callbacks from an idle handler.
	This fixes problems with reentrancy, like bug #348161
2006-11-02 18:22:06 +00:00
Priit Laes f3d32f4815 Translation updated by Ivar Smolin.
2006-11-01  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2006-11-01 17:08:55 +00:00
Alexander Larsson 86eee3f565 Always emit the row-deleted signal before deleting the row from the model.
2006-11-01  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-tree-model.c:
	Always emit the row-deleted signal before deleting the row
	from the model. This is according to the GtkTreeModel::row-changed
	docs and feedback from kris.
	Hopefully this will fix bug #356672
2006-11-01 09:47:46 +00:00
Norayr Chilingaryan 20652481fb new translation 2006-10-31 15:12:12 +00:00
Alexander Larsson 2a1273f169 Remove assert that keep randomly failing to fix crash (#352592) Replace it
2006-10-31  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-icon-view.c (fm_icon_view_remove_file):
	Remove assert that keep randomly failing to fix crash (#352592)
	Replace it with some debug output that hopefully lets us
	track down the cause.
2006-10-31 09:21:53 +00:00
Martin Wehner 52a5209e9a Fix C99-style variable initialization for gcc 2.95. (#348665)
2006-10-30  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-extension/nautilus-menu.c: (nautilus_menu_get_items):
	* libnautilus-private/nautilus-metafile.c: (find_monitor_node):
	Fix C99-style variable initialization for gcc 2.95. (#348665)

	Patch from Jens Granseuer <jensgr@gmx.net>
2006-10-30 21:36:50 +00:00
Martin Wehner 0bdaec8141 Remove colors by really removing them from browser.xml, not marking them
2006-10-30  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-property-browser.c: (remove_color),
	(nautilus_property_browser_remove_element),
	(element_clicked_callback), (make_properties_from_xml_node):
	Remove colors by really removing them from browser.xml,
	not marking them deleted. That made it impossible to add
	another color with the same name later on.
	Also delete colors by their (unique) names and not their color
	values. That made it possible to delete built-in colors.
	Fixes #358893.

	Based on a patch from Emil Soleyman-Zomalan
2006-10-30 21:27:18 +00:00
Martin Wehner 26e65c467d Set up proper relationships between labels and widgets in the properties
2006-10-30  Martin Wehner  <martin.wehner@gmail.com>

	* src/file-manager/fm-properties-window.c:
	(attach_value_field_internal), (attach_value_field),
	(attach_ellipsizing_value_field), (append_title_value_pair),
	(append_title_and_ellipsizing_value),
	(append_directory_contents_fields), (add_permissions_combo_box),
	(create_simple_permissions), (create_advanced_permissions):
	Set up proper relationships between labels and widgets in the
	properties dialog. Fixes #363116.

	Patch from Padraig O'Briain  <padraig.obriain@sun.com>
2006-10-30 19:58:32 +00:00
Djihed Afifi 5343687b8f Added/Updated Arabic Translation. 2006-10-30 10:11:12 +00:00
Satoru SATOH 979c41adda Fixed wrong plural form entries.
2006-10-30  Satoru SATOH <ss@gnome.gr.jp>

	* ja.po: Fixed wrong plural form entries.
2006-10-29 16:43:45 +00:00
Priit Laes 9025b4c8bf Translation updated.
2006-10-23  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated.
2006-10-23 16:12:07 +00:00
Priit Laes a9910b2f27 Translation updated by Ivar Smolin.
2006-10-23  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2006-10-23 15:49:50 +00:00
Clytie Siddall 1fbabd5df9 vi.po: Updated Vietnamese translation. 2006-10-20 06:18:06 +00:00