[gnome-utils] Temporary patch to get thumbnails working
- From: Dennis Cranston <dcransto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] Temporary patch to get thumbnails working
- Date: Sat, 25 Jun 2011 07:07:20 +0000 (UTC)
commit cc73624b66dc0b3742e19f71922b7df08f1ef8f9
Author: Dennis Cranston <dennis_cranston yahoo com>
Date: Sat Jun 25 00:07:03 2011 -0700
Temporary patch to get thumbnails working
gsearchtool/ChangeLog | 5 +++++
gsearchtool/gsearchtool.c | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gsearchtool/ChangeLog b/gsearchtool/ChangeLog
index e05fe6a..44cbef7 100644
--- a/gsearchtool/ChangeLog
+++ b/gsearchtool/ChangeLog
@@ -1,5 +1,10 @@
2011-06-24 Dennis Cranston <dennis_cranston yahoo com>
+ * gsearchtool.c:
+ Temporary patch to get thumbnails working.
+
+2011-06-24 Dennis Cranston <dennis_cranston yahoo com>
+
* gsearchtool-callbacks.c, gsearchtool-support.[ch]:
Allow nautilus to highlight the file when using the
'Open Containing Folder' menu option.
diff --git a/gsearchtool/gsearchtool.c b/gsearchtool/gsearchtool.c
index c81ff0a..7c3df81 100644
--- a/gsearchtool/gsearchtool.c
+++ b/gsearchtool/gsearchtool.c
@@ -664,6 +664,10 @@ build_search_command (GSearchWindow * gsearch,
gsearch->show_thumbnails = TRUE;
gsearch->show_thumbnails_file_size_limit = gsearchtool_gconf_get_int ("/apps/nautilus/preferences/thumbnail_limit");
}
+ else if (show_thumbnails_string == NULL) { /* FIXME: Nautilus 3.0 uses dconf -- for now fallback to the defaults. */
+ gsearch->show_thumbnails = TRUE;
+ gsearch->show_thumbnails_file_size_limit = 10485760;
+ }
else {
gsearch->show_thumbnails = FALSE;
gsearch->show_thumbnails_file_size_limit = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]