gnome-terminal r2932 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2932 - trunk/src
- Date: Thu, 26 Jun 2008 19:51:20 +0000 (UTC)
Author: chpe
Date: Thu Jun 26 19:51:20 2008
New Revision: 2932
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2932&view=rev
Log:
Fix preview in the profile editor background chooser. Bug #340071, patch by Maxim Ermilov.
Modified:
trunk/src/profile-editor.c
Modified: trunk/src/profile-editor.c
==============================================================================
--- trunk/src/profile-editor.c (original)
+++ trunk/src/profile-editor.c Thu Jun 26 19:51:20 2008
@@ -579,7 +579,7 @@
gchar *file;
image = gtk_file_chooser_get_preview_widget (GTK_FILE_CHOOSER (chooser));
- file = gtk_file_chooser_get_preview_filename (chooser);
+ file = gtk_file_chooser_get_preview_uri (chooser);
if (file != NULL) {
@@ -597,8 +597,8 @@
"gtk-dialog-question",
GTK_ICON_SIZE_DIALOG);
}
- }
- gtk_file_chooser_set_preview_widget_active (chooser, TRUE);
+ }
+ gtk_file_chooser_set_preview_widget_active (chooser, file != NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]