Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maoschanz committed Feb 25, 2024
1 parent 4c29f88 commit 0cade79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ https://docs.gtk.org/gtk3/text-widget-overview.html
Pour la release 4.0 :
- [ ] merger le mec qui m'a fait un scroll dymanique
- à réparer :
- [ ] `gtk_widget_get_scale_factor` ???
- à changer :
- [ ] pourquoi un CDATA ?
- [ ] autoriser la suppression des shortcuts
- [ ] valeurs par défaut des shortcuts ?
- à terminer :
- [ ] insert link ?
- [ ] "remove tags" action
- à faire :
- [ ] retenir le scroll et le numéro de page à l'échelle de la gedit.view
Expand Down Expand Up @@ -57,7 +57,6 @@ Pour un moment indéterminé :
- [ ] paramètres de thème
- [ ] CSS for admonitions (and other default plugins ?)
- [ ] and pymdown ??
- [ ] bring back the fullscreen, but better
~ TODO -->

Expand Down
3 changes: 2 additions & 1 deletion markdown_preview/prefs/export_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ def launch_file_chooser(self, output_extension):
file_chooser = Gtk.FileChooserNative.new(_("Export the preview"), \
self.gedit_window, Gtk.FileChooserAction.SAVE, \
_("Export"), _("Cancel"))
name = get_display_name(self.gedit_window.get_active_document())
doc = self.gedit_window.get_active_document()
name = get_display_name(doc)
folder = doc.get_file().get_location().get_parent().get_path()
# XXX should i remove the former file extension from the string ?
name = str(name + ' ' + _("(exported)") + output_extension)
Expand Down
2 changes: 1 addition & 1 deletion org.gnome.gedit.plugins.markdown_preview.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<description></description>
</key>
<key type="as" name="pandoc-command">
<default>['pandoc', '-s', '$INPUT_FILE', '--metadata', 'pagetitle=Preview']</default>
<default>['pandoc', '-s', '$INPUT_FILE', '--metadata', 'title=Preview']</default>
<summary>Pandoc rendering command line</summary>
<description>
The command line used for pandoc rendering. It has to return HTML code
Expand Down

0 comments on commit 0cade79

Please sign in to comment.