nautilus r14843 - in trunk: . libnautilus-private
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14843 - in trunk: . libnautilus-private
- Date: Tue, 13 Jan 2009 09:00:56 +0000 (UTC)
Author: alexl
Date: Tue Jan 13 09:00:56 2009
New Revision: 14843
URL: http://svn.gnome.org/viewvc/nautilus?rev=14843&view=rev
Log:
2009-01-13 Alexander Larsson <alexl redhat com>
* libnautilus-private/nautilus-debug-log.c (nautilus_debug_log_with_file_list):
Don't do conversion to uris unless debugging is enabled.
(For performance reasons)
Modified:
trunk/ChangeLog
trunk/libnautilus-private/nautilus-debug-log.c
Modified: trunk/libnautilus-private/nautilus-debug-log.c
==============================================================================
--- trunk/libnautilus-private/nautilus-debug-log.c (original)
+++ trunk/libnautilus-private/nautilus-debug-log.c Tue Jan 13 09:00:56 2009
@@ -236,6 +236,12 @@
GList *uris;
GList *l;
+ /* Avoid conversion if debugging disabled */
+ if (!(is_milestone ||
+ nautilus_debug_log_is_domain_enabled (domain))) {
+ return;
+ }
+
uris = NULL;
for (l = files; l; l = l->next) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]