[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gwenview] app: Syncing the application name with the name of the desktop file
From:       Aurélien Gâteau <agateau () kde ! org>
Date:       2015-04-09 7:57:51
Message-ID: E1Yg7LT-0004yP-Uw () scm ! kde ! org
[Download RAW message or body]

Git commit 78e4e57af3a5476dd949797c559a3d25d8ce50a1 by Aurélien Gâteau, on behalf \
of Ivan Čukić. Committed on 09/04/2015 at 07:56.
Pushed by gateau into branch 'master'.

Syncing the application name with the name of the desktop file

Gwenview application name stayed 'gwenview' while the .desktop file switched to the \
org.kde.*something* naming scheme.

While currently not that important - in the recent future, syncing these two will be \
                needed for the application to properly work with the things like:
- recent/favourite/high scored documents for gwenview in the task-bar
- remembering the prefered application for specific files
- probably something else that I can not remember atm :)

REVIEW: 123245

M  +2    -2    app/main.cpp

http://commits.kde.org/gwenview/78e4e57af3a5476dd949797c559a3d25d8ce50a1

diff --git a/app/main.cpp b/app/main.cpp
index 07de427..806fcab 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -121,8 +121,8 @@ int main(int argc, char *argv[])
     KLocalizedString::setApplicationDomain("gwenview");
     QScopedPointer<KAboutData> aboutData(
         Gwenview::createAboutData(
-            QStringLiteral("gwenview"), /* component name */
-            i18n("Gwenview")            /* display name */
+            QStringLiteral("org.kde.gwenview"), /* component name */
+            i18n("Gwenview")                    /* display name */
         ));
     aboutData->setShortDescription(i18n("An Image Viewer"));
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic