changeset 22699:7e5d7ebcd24e

Make the labels in the minidialogs selectable.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 25 Apr 2008 03:49:41 +0000
parents 80c87908ff1d
children f9a88e661fff
files pidgin/minidialog.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/minidialog.c	Thu Apr 24 02:16:30 2008 +0000
+++ b/pidgin/minidialog.c	Fri Apr 25 03:49:41 2008 +0000
@@ -406,6 +406,7 @@
 	priv->title = GTK_LABEL(gtk_label_new(NULL));
 	gtk_widget_set_size_request(GTK_WIDGET(priv->title), label_width, -1);
 	gtk_label_set_line_wrap(priv->title, TRUE);
+	gtk_label_set_selectable(priv->title, TRUE);
 	gtk_misc_set_alignment(GTK_MISC(priv->title), 0, 0);
 
 	gtk_box_pack_start(priv->title_box, GTK_WIDGET(priv->icon), FALSE, FALSE, 0);
@@ -415,6 +416,7 @@
 	gtk_widget_set_size_request(GTK_WIDGET(priv->desc), label_width, -1);
 	gtk_label_set_line_wrap(priv->desc, TRUE);
 	gtk_misc_set_alignment(GTK_MISC(priv->desc), 0, 0);
+	gtk_label_set_selectable(priv->desc, TRUE);
 	/* make calling show_all() on the minidialog not affect desc even though
 	 * it's packed inside it.
 	 */