[epiphany/gnome-3-18] ephy-file-chooser: Don't show a blank preview widget
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-18] ephy-file-chooser: Don't show a blank preview widget
- Date: Mon, 26 Oct 2015 15:59:02 +0000 (UTC)
commit 90a16896ed4b4cb5c8b44594ac35d908431bb76b
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sun Oct 25 22:26:44 2015 -0500
ephy-file-chooser: Don't show a blank preview widget
The preview widget is initially empty, so don't show it until after an
image has been selected.
https://bugzilla.gnome.org/show_bug.cgi?id=756943
lib/ephy-file-chooser.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c
index 8d6ab37..b53bba8 100644
--- a/lib/ephy-file-chooser.c
+++ b/lib/ephy-file-chooser.c
@@ -199,6 +199,7 @@ ephy_file_chooser_new (const char *title,
preview = gtk_image_new ();
gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (dialog), preview);
+ gtk_file_chooser_set_preview_widget_active (GTK_FILE_CHOOSER (dialog), FALSE);
g_signal_connect (dialog, "update-preview", G_CALLBACK (ephy_file_chooser_image_preview), preview);
if (default_filter != EPHY_FILE_FILTER_NONE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]