summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2006-08-08 00:27:53 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2006-08-08 00:27:53 +0000
commit5f88879fa424d49f33bb321783d4db8736fe0faa (patch)
treee66043179f7245e44f2306e1f064f36b5f122dac
parent375187b866499e37817e2781e076b3460c2a3a1a (diff)
downloadmdk-5f88879fa424d49f33bb321783d4db8736fe0faa.tar.gz
mdk-5f88879fa424d49f33bb321783d4db8736fe0faa.tar.bz2
Set names for MIX/MIXAL filters in file chooser dialogs
git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-29
-rw-r--r--mixgtk/mixgtk_gen_handlers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mixgtk/mixgtk_gen_handlers.c b/mixgtk/mixgtk_gen_handlers.c
index 73978cb..536c1a0 100644
--- a/mixgtk/mixgtk_gen_handlers.c
+++ b/mixgtk/mixgtk_gen_handlers.c
@@ -45,8 +45,10 @@ get_chooser_ (const gchar *title, gboolean src)
NULL));
src_filter = gtk_file_filter_new ();
gtk_file_filter_add_pattern (src_filter, "*.mixal");
+ gtk_file_filter_set_name (src_filter, "MIXAL files");
code_filter = gtk_file_filter_new ();
gtk_file_filter_add_pattern (code_filter, "*.mix");
+ gtk_file_filter_set_name (code_filter, "MIX files");
gtk_file_chooser_add_filter (dialog, src_filter);
gtk_file_chooser_add_filter (dialog, code_filter);
}