[gnome-bluetooth/meego-1.0] meego: fix the underline on the Connect button so it doesn't disappear
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/meego-1.0] meego: fix the underline on the Connect button so it doesn't disappear
- Date: Tue, 11 May 2010 16:20:39 +0000 (UTC)
commit 9e6032fcf3624189a70af944737225068920c833
Author: Ross Burton <ross linux intel com>
Date: Tue May 11 16:02:02 2010 +0100
meego: fix the underline on the Connect button so it doesn't disappear
moblin/moblin-panel.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index c566cbb..fa59627 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -1022,9 +1022,9 @@ connect_to_text (GtkTreeViewColumn *column, GtkCellRenderer *cell,
BLUETOOTH_COLUMN_TRUSTED, &trusted, -1);
if ((paired || trusted) && connected == FALSE) {
- g_object_set (cell, "markup", _("<u>Connect</u>"), NULL);
+ g_object_set (cell, "text", _("Connect"), NULL);
} else {
- g_object_set (cell, "markup", "", NULL);
+ g_object_set (cell, "text", "", NULL);
}
}
@@ -1576,6 +1576,7 @@ create_devices_page (MoblinPanel *self)
/* Add the connect button */
cell = mux_cell_renderer_text_new ();
+ g_object_set (cell, "underline", PANGO_UNDERLINE_SINGLE, NULL);
gtk_tree_view_column_pack_start (type_column, cell, FALSE);
gtk_tree_view_column_set_cell_data_func (type_column, cell,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]