[latexila] Use Config.PACKAGE_NAME instead of "LaTeXila"



commit a78f5622f3c6e2877025089c040ce467e1299abe
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Dec 26 16:02:14 2017 +0100

    Use Config.PACKAGE_NAME instead of "LaTeXila"
    
    For the window title, remove the code because the title is handled by
    Tepl.

 src/latexila_app.vala |    2 +-
 src/main_window.vala  |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/latexila_app.vala b/src/latexila_app.vala
index 822f73a..202060a 100644
--- a/src/latexila_app.vala
+++ b/src/latexila_app.vala
@@ -239,7 +239,7 @@ public class LatexilaApp : Gtk.Application
         }
 
         Gtk.show_about_dialog (get_active_main_window (),
-            "program-name", "LaTeXila",
+            "program-name", Config.PACKAGE_NAME,
             "version", Config.PACKAGE_VERSION,
             "authors", authors,
             "artists", artists,
diff --git a/src/main_window.vala b/src/main_window.vala
index b0a7e51..0b951a5 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -152,7 +152,6 @@ public class MainWindow : ApplicationWindow
     public MainWindow (LatexilaApp app)
     {
         Object (application: app);
-        this.title = "LaTeXila";
 
         // Init TeplApplicationWindow GActions.
         Tepl.ApplicationWindow tepl_window =


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]