[gnome-software/gnome-3-16] extras: Display a better human readable title for printer drivers
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-16] extras: Display a better human readable title for printer drivers
- Date: Mon, 11 May 2015 09:19:45 +0000 (UTC)
commit c6d3b095233c7e065be870368df65a834ecdfd42
Author: Kalev Lember <kalevlember gmail com>
Date: Sun May 10 22:43:16 2015 +0200
extras: Display a better human readable title for printer drivers
Instead of "Hewlett-Packard;LaserJet 5p;" show "Hewlett-Packard
LaserJet 5p" in user facing messages.
src/gs-shell-extras.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-extras.c b/src/gs-shell-extras.c
index 93f235b..baab40d 100644
--- a/src/gs-shell-extras.c
+++ b/src/gs-shell-extras.c
@@ -918,7 +918,7 @@ gs_shell_extras_search_printer_drivers (GsShellExtras *shell_extras, gchar **dev
tag = g_strconcat (mfg, ";", mdl, ";", NULL);
search_data = g_slice_new0 (SearchData);
- search_data->title = g_strdup (tag);
+ search_data->title = g_strdup_printf ("%s %s", mfg, mdl);
search_data->search = g_ascii_strdown (tag, -1);
/* Replace spaces with underscores */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]