[latexila] finance: better title when dialog shown at startup time
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] finance: better title when dialog shown at startup time
- Date: Sat, 13 Aug 2016 14:13:26 +0000 (UTC)
commit 8744dc10736276aa45d6bcccbeb9d6637ce0cfb8
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Aug 13 16:03:18 2016 +0200
finance: better title when dialog shown at startup time
src/finance.vala | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/finance.vala b/src/finance.vala
index 6ee5bdb..7093817 100644
--- a/src/finance.vala
+++ b/src/finance.vala
@@ -26,7 +26,13 @@ namespace Finance
if (startup && ! should_show_dialog_on_startup ())
return;
- Dialog dialog = new Dialog.with_buttons ("LaTeXila Finance",
+ string title;
+ if (startup)
+ title = "Welcome in LaTeXila!";
+ else
+ title = "LaTeXila Finance";
+
+ Dialog dialog = new Dialog.with_buttons (title,
parent_window,
DialogFlags.DESTROY_WITH_PARENT,
"_Close", ResponseType.CLOSE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]