[latexila] MainWindow: 'save before closing' dialog: use get_short_name()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] MainWindow: 'save before closing' dialog: use get_short_name()
- Date: Sun, 6 Aug 2017 15:03:54 +0000 (UTC)
commit 50aba9231ce97ff90a1cb67a793bf6f4b3d15e42
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Aug 6 16:47:29 2017 +0200
MainWindow: 'save before closing' dialog: use get_short_name()
src/main_window.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main_window.vala b/src/main_window.vala
index 608ea4c..b8f5750 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -769,7 +769,7 @@ public class MainWindow : ApplicationWindow
MessageType.QUESTION,
ButtonsType.NONE,
_("Save changes to document \"%s\" before closing?"),
- tab.label_text);
+ tab.get_buffer ().get_file ().get_short_name ());
dialog.add_buttons (_("Close _without Saving"), ResponseType.CLOSE,
_("_Cancel"), ResponseType.CANCEL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]