[latexila] Right application name for recent documents
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Right application name for recent documents
- Date: Fri, 6 Apr 2012 18:30:20 +0000 (UTC)
commit 0ed91948eb8fa139ca62268435d4470b308f723e
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Fri Apr 6 20:24:46 2012 +0200
Right application name for recent documents
Config.APP_NAME is "LaTeXila"
Since the previous application name for filtering the recently opened
documents was "latexila", and not "LaTeXila", the users will see an
empty list when using for the first time a new version of latexila (e.g.
the 2.5.x/2.6.x). But that's a minor problem.
src/latexila.vala | 2 +-
src/main_window.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/latexila.vala b/src/latexila.vala
index 9561174..e0aaaab 100644
--- a/src/latexila.vala
+++ b/src/latexila.vala
@@ -26,7 +26,7 @@ public class Latexila : Gtk.Application
public Latexila ()
{
Object (application_id: "org.gnome.latexila");
- Environment.set_application_name ("LaTeXila");
+ Environment.set_application_name (Config.APP_NAME);
connect_signals ();
add_actions ();
diff --git a/src/main_window.vala b/src/main_window.vala
index 0406d3d..7679d26 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -1092,7 +1092,7 @@ public class MainWindow : Window
recent_chooser.set_sort_type (RecentSortType.MRU);
RecentFilter filter = new RecentFilter ();
- filter.add_application ("latexila");
+ filter.add_application (Config.APP_NAME);
recent_chooser.set_filter (filter);
recent_chooser.item_activated.connect ((chooser) =>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]