ekiga r6996 - in trunk: . lib/engine/gui/gtk-core
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6996 - in trunk: . lib/engine/gui/gtk-core
- Date: Mon, 15 Sep 2008 19:11:20 +0000 (UTC)
Author: jpuydt
Date: Mon Sep 15 19:11:20 2008
New Revision: 6996
URL: http://svn.gnome.org/viewvc/ekiga?rev=6996&view=rev
Log:
Fixed #552399.
Modified:
trunk/ChangeLog
trunk/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
Modified: trunk/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
==============================================================================
--- trunk/lib/engine/gui/gtk-core/form-dialog-gtk.cpp (original)
+++ trunk/lib/engine/gui/gtk-core/form-dialog-gtk.cpp Mon Sep 15 19:11:20 2008
@@ -900,6 +900,7 @@
const std::map<std::string, std::string> choices)
{
GtkWidget *label = NULL;
+ gchar* label_text = NULL;
GtkListStore *model = NULL;
GtkWidget *widget = NULL;
GtkCellRenderer *renderer = NULL;
@@ -909,7 +910,10 @@
rows++;
gtk_table_resize (GTK_TABLE (fields), rows, 2);
- label = gtk_label_new_with_mnemonic (description.c_str ());
+ label = gtk_label_new (NULL);
+ label_text = g_strdup_printf ("<b>%s</b>", description.c_str ());
+ gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), label_text);
+ g_free (label_text);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_label_set_line_wrap_mode (GTK_LABEL (label), PANGO_WRAP_WORD);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]