[Github-comments] [geany/geany-plugins] Markdown: Allow exporting Markdown as HTML (#502)
Matthew Brush
notifications at xxxxx
Sat Nov 12 20:22:51 UTC 2016
codebrainz commented on this pull request.
> +
+ g_return_if_fail(DOC_VALID(document_get_current()));
+
+ dialog = gtk_file_chooser_dialog_new(_("Save HTML File As"),
+ GTK_WINDOW(geany_data->main_widgets->window), GTK_FILE_CHOOSER_ACTION_SAVE,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
+ NULL);
+ gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog), TRUE);
+ gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);
+ gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), "index.html");
+
+ filter = gtk_file_filter_new();
+ gtk_file_filter_set_name(filter, _("HTML Files"));
+ gtk_file_filter_add_pattern(filter, "*.html");
+ gtk_file_filter_add_pattern(filter, "*.htm");
Seems like a good idea if it does what it sounds like, is there similar for `*` (All files)?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/502
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161112/31908ad4/attachment.html>
More information about the Github-comments
mailing list