summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-11-29 12:06:28 +0100
committerBastien Nocera <hadess@hadess.net>2016-11-29 12:06:28 +0100
commite894dde493584ac5d71326e7bc26a151bcb452bf (patch)
tree29db37086236cc33872446b85afed37c8bf3a0e6
parent282ff9319d2e9aa3df0562013f80bf006f9c18b5 (diff)
downloadgnome-bluetooth-e894dde493584ac5d71326e7bc26a151bcb452bf.tar.gz
lib: Use type filter string
So that "All types" shows up instead of "Unknown" with the standard device type.
-rw-r--r--lib/bluetooth-filter-widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bluetooth-filter-widget.c b/lib/bluetooth-filter-widget.c
index 2f2da140..d010bb68 100644
--- a/lib/bluetooth-filter-widget.c
+++ b/lib/bluetooth-filter-widget.c
@@ -288,7 +288,7 @@ bluetooth_filter_widget_init(BluetoothFilterWidget *self)
gtk_grid_attach (GTK_GRID (table), priv->device_type, 1, 1, 1, 1);
gtk_widget_set_tooltip_text (priv->device_type, _("Select the device type to filter"));
gtk_list_store_insert_with_values (GTK_LIST_STORE (priv->device_type_filter_model), NULL, G_MAXUINT32,
- DEVICE_TYPE_FILTER_COL_NAME, _(bluetooth_type_to_string (BLUETOOTH_TYPE_ANY)),
+ DEVICE_TYPE_FILTER_COL_NAME, _(bluetooth_type_to_filter_string (BLUETOOTH_TYPE_ANY)),
DEVICE_TYPE_FILTER_COL_MASK, BLUETOOTH_TYPE_ANY,
-1);
gtk_list_store_insert_with_values (GTK_LIST_STORE (priv->device_type_filter_model), NULL, G_MAXUINT32,
@@ -305,7 +305,7 @@ bluetooth_filter_widget_init(BluetoothFilterWidget *self)
if (mask & BLUETOOTH_TYPE_INPUT || mask & BLUETOOTH_TYPE_AUDIO)
continue;
gtk_list_store_insert_with_values (GTK_LIST_STORE (priv->device_type_filter_model), NULL, G_MAXUINT32,
- DEVICE_TYPE_FILTER_COL_NAME, _(bluetooth_type_to_string (mask)),
+ DEVICE_TYPE_FILTER_COL_NAME, _(bluetooth_type_to_filter_string (mask)),
DEVICE_TYPE_FILTER_COL_MASK, mask,
-1);
}