[gnome-latex: 91/205] save document before a compilation
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-latex: 91/205] save document before a compilation
- Date: Fri, 14 Dec 2018 10:54:32 +0000 (UTC)
commit 2b9c2a66f20827099673bcfc48bc5b5d1060f8b8
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date: Fri Oct 9 21:03:58 2009 +0200
save document before a compilation
src/callbacks.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/callbacks.c b/src/callbacks.c
index de6acab..c7d32b1 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -531,7 +531,7 @@ cb_latex (void)
if (latexila.active_doc == NULL)
return;
- // TODO save document if not saved
+ cb_save ();
gchar *title = _("Compile (latex)");
gchar *command[] = {
@@ -553,6 +553,8 @@ cb_pdflatex (void)
if (latexila.active_doc == NULL)
return;
+ cb_save ();
+
gchar *title = _("Compile (pdflatex)");
gchar *command[] = {
g_strdup (latexila.prefs->command_pdflatex),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]