[gnome-software] trivial: Capitalize "Flathub"
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Capitalize "Flathub"
- Date: Thu, 27 Sep 2018 19:03:17 +0000 (UTC)
commit 06c0e615e75ac7d8d8771f713188bf417cd0e480
Author: Kalev Lember <klember redhat com>
Date: Thu Sep 27 21:02:41 2018 +0200
trivial: Capitalize "Flathub"
lib/gs-app.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/lib/gs-app.c b/lib/gs-app.c
index c538f62b..3247966c 100644
--- a/lib/gs-app.c
+++ b/lib/gs-app.c
@@ -4498,6 +4498,11 @@ gs_app_get_origin_ui (GsApp *app)
return g_strdup (_("Local file"));
}
+ /* capitalize "Flathub" */
+ if (g_strcmp0 (gs_app_get_origin (app), "flathub") == 0) {
+ return g_strdup ("Flathub");
+ }
+
/* fall back to origin */
return g_strdup (gs_app_get_origin (app));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]