Updating branch refs/heads/master to eb6e6fc3fa46ff62874b254e5a616a74cf6cc9c4 (commit) from 8dc2ea7e93b0a8e7fb1e60992639b450f1626c95 (commit)
commit eb6e6fc3fa46ff62874b254e5a616a74cf6cc9c4 Author: Jannis Pohlmann <jan...@xfce.org> Date: Sun Dec 20 14:31:47 2009 +0100 Remove debug messages from ThunarBrowser. thunar/thunar-browser.c | 18 ------------------ 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/thunar/thunar-browser.c b/thunar/thunar-browser.c index 197d646..988e8c4 100644 --- a/thunar/thunar-browser.c +++ b/thunar/thunar-browser.c @@ -193,8 +193,6 @@ thunar_browser_poke_mountable_finish (GObject *object, _thunar_return_if_fail (THUNAR_IS_BROWSER (poke_data->browser)); _thunar_return_if_fail (THUNAR_IS_FILE (poke_data->file)); - g_debug (" poke mountable finish"); - if (!g_file_mount_mountable_finish (G_FILE (object), result, &error)) { if (error->domain == G_IO_ERROR) @@ -243,8 +241,6 @@ thunar_browser_poke_file_finish (GObject *object, _thunar_return_if_fail (THUNAR_IS_BROWSER (poke_data->browser)); _thunar_return_if_fail (THUNAR_IS_FILE (poke_data->file)); - g_debug (" poke file finish"); - if (!g_file_mount_enclosing_volume_finish (G_FILE (object), result, &error)) { if (error->domain == G_IO_ERROR) @@ -257,9 +253,6 @@ thunar_browser_poke_file_finish (GObject *object, if (error == NULL) thunar_file_reload (poke_data->file); - g_debug (" %s type %d", thunar_file_dup_uri (poke_data->file), - thunar_file_get_kind (poke_data->file)); - if (poke_data->func != NULL) { if (error == NULL) @@ -299,13 +292,10 @@ thunar_browser_poke_file_internal (ThunarBrowser *browser, _thunar_return_if_fail (THUNAR_IS_FILE (source)); _thunar_return_if_fail (THUNAR_IS_FILE (file)); - g_debug ("poke %s", thunar_file_dup_uri (file)); - if (thunar_file_get_kind (file) == G_FILE_TYPE_SHORTCUT) { location = thunar_file_get_target_location (file); target = thunar_file_get (location, &error); - g_debug (" shortcut, target %s (%p)", g_file_get_uri (location), target); g_object_unref (location); if (target != NULL) @@ -330,8 +320,6 @@ thunar_browser_poke_file_internal (ThunarBrowser *browser, { if (thunar_file_is_mounted (file)) { - g_debug (" mountable, already mounted"); - location = thunar_file_get_target_location (file); target = thunar_file_get (location, &error); g_object_unref (location); @@ -346,8 +334,6 @@ thunar_browser_poke_file_internal (ThunarBrowser *browser, } else { - g_debug (" mountable, needs mounting"); - poke_data = thunar_browser_poke_file_data_new (browser, source, file, func, user_data); @@ -363,8 +349,6 @@ thunar_browser_poke_file_internal (ThunarBrowser *browser, } else if (!thunar_file_is_mounted (file)) { - g_debug (" file, enclosing volume needs mounting"); - poke_data = thunar_browser_poke_file_data_new (browser, source, file, func, user_data); @@ -379,8 +363,6 @@ thunar_browser_poke_file_internal (ThunarBrowser *browser, } else { - g_debug (" file, enclosing volume already mounted"); - if (func != NULL) func (browser, source, file, NULL, user_data); } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits