gossip r2837 - in trunk: . src
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: gossip r2837 - in trunk: . src
- Date: Mon, 21 Jul 2008 14:25:06 +0000 (UTC)
Author: rhult
Date: Mon Jul 21 14:25:06 2008
New Revision: 2837
URL: http://svn.gnome.org/viewvc/gossip?rev=2837&view=rev
Log:
2008-07-21 Richard Hult <richard imendio com>
* src/gossip-group-chat.c: (group_chat_dialog_new): Use set_markup
instead of poking at ->label in the message dialog.
Modified:
trunk/ChangeLog
trunk/src/gossip-group-chat.c
Modified: trunk/src/gossip-group-chat.c
==============================================================================
--- trunk/src/gossip-group-chat.c (original)
+++ trunk/src/gossip-group-chat.c Mon Jul 21 14:25:06 2008
@@ -1522,7 +1522,10 @@
0,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_OK_CANCEL,
- message);
+ NULL);
+
+ gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dialog),
+ message);
hbox = gtk_hbox_new (FALSE, 0);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
@@ -1534,7 +1537,6 @@
gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 4);
- g_object_set (GTK_MESSAGE_DIALOG (dialog)->label, "use-markup", TRUE, NULL);
g_object_set_data (G_OBJECT (dialog), "entry", entry);
g_object_set_data_full (G_OBJECT (dialog), "action", g_strdup (action), g_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]