Commit ed6302c5 authored by Kalev Lember's avatar Kalev Lember

app row: Drop flatpak (Nightly) suffix

We now coalesce same app IDs together when searching and instead have a
source selection drop down in the details page to choose which one to
install, which means that the app row Nightly suffix doesn't work to
distinguish the apps any more.

In addition, it's super confusing when the app has already added a
Nightly prefix and we now add a suffix as well.

GNOME/gnome-software#557
parent 5638cfa7
......@@ -328,16 +328,9 @@ gs_app_row_refresh (GsAppRow *app_row)
}
/* name */
if (g_strcmp0 (gs_app_get_branch (priv->app), "master") == 0) {
g_autofree gchar *name = NULL;
/* TRANSLATORS: not translated to match what flatpak does */
name = g_strdup_printf ("%s (Nightly)",
gs_app_get_name (priv->app));
gtk_label_set_label (GTK_LABEL (priv->name_label), name);
} else {
gtk_label_set_label (GTK_LABEL (priv->name_label),
gs_app_get_name (priv->app));
}
gtk_label_set_label (GTK_LABEL (priv->name_label),
gs_app_get_name (priv->app));
if (priv->show_update) {
const gchar *version_current = NULL;
const gchar *version_update = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment