Commit a2cb97c5 authored by Claes Sjofors's avatar Claes Sjofors

Ge import svg images

parent 8599aa47
...@@ -913,10 +913,11 @@ void CoWowGtk::CreateFileSelDia( const char *title, void *parent_ctx, ...@@ -913,10 +913,11 @@ void CoWowGtk::CreateFileSelDia( const char *title, void *parent_ctx,
gtk_file_chooser_set_current_folder( GTK_FILE_CHOOSER(dialog), folder); gtk_file_chooser_set_current_folder( GTK_FILE_CHOOSER(dialog), folder);
GtkFileFilter *filter = gtk_file_filter_new(); GtkFileFilter *filter = gtk_file_filter_new();
gtk_file_filter_set_name( filter, "*.png,*.jpg,*.gif"); gtk_file_filter_set_name( filter, "*.png,*.jpg,*.gif,*.svg");
gtk_file_filter_add_pattern( filter, "*.png"); gtk_file_filter_add_pattern( filter, "*.png");
gtk_file_filter_add_pattern( filter, "*.jpg"); gtk_file_filter_add_pattern( filter, "*.jpg");
gtk_file_filter_add_pattern( filter, "*.gif"); gtk_file_filter_add_pattern( filter, "*.gif");
gtk_file_filter_add_pattern( filter, "*.svg");
gtk_file_chooser_add_filter( GTK_FILE_CHOOSER(dialog), filter); gtk_file_chooser_add_filter( GTK_FILE_CHOOSER(dialog), filter);
filter = gtk_file_filter_new(); filter = gtk_file_filter_new();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment