gnome-terminal r2933 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2933 - trunk/src
- Date: Thu, 26 Jun 2008 19:51:25 +0000 (UTC)
Author: chpe
Date: Thu Jun 26 19:51:24 2008
New Revision: 2933
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2933&view=rev
Log:
Only show files that gdk-pixbuf knows how to load in the 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:24 2008
@@ -612,12 +612,7 @@
filter = gtk_file_filter_new ();
gtk_file_filter_add_pixbuf_formats (filter);
gtk_file_filter_set_name (filter, _("Images"));
- gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (filechooser), filter);
-
- filter = gtk_file_filter_new ();
- gtk_file_filter_set_name (filter, _("All Files"));
- gtk_file_filter_add_pattern (filter, "*");
- gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (filechooser), filter);
+ gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (filechooser), filter);
image_preview = gtk_image_new ();
/* FIXMchpe this is bogus */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]