[gnome-bluetooth] lib: Don't make filter heading bold
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: Don't make filter heading bold
- Date: Fri, 14 Oct 2011 14:38:10 +0000 (UTC)
commit c5ae44382b4209cf9f3e4908a0c69404201bfad3
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 13 18:29:21 2011 +0100
lib: Don't make filter heading bold
And change the default title to "Show:" rather than an
overly long label.
https://bugzilla.gnome.org/show_bug.cgi?id=643516
lib/bluetooth-filter-widget.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/lib/bluetooth-filter-widget.c b/lib/bluetooth-filter-widget.c
index af2827e..3ec02e2 100644
--- a/lib/bluetooth-filter-widget.c
+++ b/lib/bluetooth-filter-widget.c
@@ -168,14 +168,9 @@ filter_type_changed_cb (GtkComboBox *widget, gpointer data)
void
bluetooth_filter_widget_set_title (BluetoothFilterWidget *self, gchar *title)
{
- gchar *markup;
BluetoothFilterWidgetPrivate *priv = BLUETOOTH_FILTER_WIDGET_GET_PRIVATE(self);
- markup = g_strdup_printf ("<b>%s</b>", title);
- gtk_label_set_text (GTK_LABEL (priv->title), markup);
- g_free (markup);
-
- gtk_label_set_use_markup (GTK_LABEL (priv->title), TRUE);
+ gtk_label_set_text (GTK_LABEL (priv->title), title);
}
static void
@@ -231,7 +226,9 @@ bluetooth_filter_widget_init(BluetoothFilterWidget *self)
gtk_box_set_spacing (GTK_BOX (self), 6);
priv->title = gtk_label_new ("");
- bluetooth_filter_widget_set_title (self, _("Show Only Bluetooth Devices With..."));
+ /* This is the title of the filter section of the Bluetooth device chooser.
+ * It used to say Show Only Bluetooth Devices With... */
+ bluetooth_filter_widget_set_title (self, _("Show:"));
gtk_widget_show (priv->title);
gtk_box_pack_start (GTK_BOX (self), priv->title, TRUE, TRUE, 0);
gtk_misc_set_alignment (GTK_MISC (priv->title), 0, 0.5);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]