[Cxplorer-cvs 01038] CVS update: cxplorer/src

Back to archive index

Yasumichi Akahoshi yasum****@users*****
2005年 4月 16日 (土) 03:55:20 JST


Index: cxplorer/src/cxplorer-window.c
diff -u cxplorer/src/cxplorer-window.c:1.26 cxplorer/src/cxplorer-window.c:1.27
--- cxplorer/src/cxplorer-window.c:1.26	Mon Apr 11 22:41:32 2005
+++ cxplorer/src/cxplorer-window.c	Sat Apr 16 03:55:20 2005
@@ -174,9 +174,16 @@
 	gchar *preview_dir;
 	gchar *preview_text;
 	gchar *preview_binary;
+	gchar *filter;
 
 	private->profile = cxp_profile_new ("cxplorer", "main");
 	show_dot_file = cxp_profile_get_integer(private->profile, "ShowDotFile");
+	filter = cxp_profile_get_string (private->profile, "FilenameFilter");
+	if(filter != NULL)
+	{
+		cxp_utils_set_filename_filter (filter);
+		g_free (filter);
+	}
 
 	vbox = gtk_vbox_new (FALSE, 0);
 	gtk_container_add (GTK_CONTAINER (self), vbox);
@@ -293,6 +300,7 @@
 	g_object_unref (private->profile);
 	g_object_unref (private->action_group);
 	g_object_unref (private->ui_manager);
+	cxp_utils_free_filename_filter ();
 
 	/* Chain up to the parent class */
 	G_OBJECT_CLASS (parent_class)->dispose (obj);


Cxplorer-cvs メーリングリストの案内
Back to archive index