pidgin: dc033fa6: Make the labels in the minidialogs selec...

sadrul at pidgin.im sadrul at pidgin.im
Thu Apr 24 23:55:56 EDT 2008


-----------------------------------------------------------------
Revision: dc033fa668d3c347dad18340758590733c60050a
Ancestor: 90011f8844f95be26206d5698b603f1692f319a0
Author: sadrul at pidgin.im
Date: 2008-04-25T03:49:41
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/dc033fa668d3c347dad18340758590733c60050a

Modified files:
        pidgin/minidialog.c

ChangeLog: 

Make the labels in the minidialogs selectable.

-------------- next part --------------
============================================================
--- pidgin/minidialog.c	fa7815fa59eedb7940c00e9ff6d858ed1e58273c
+++ pidgin/minidialog.c	479886cfeedaf417f97527f10aa589bb83e5a7d2
@@ -406,6 +406,7 @@ pidgin_mini_dialog_init(PidginMiniDialog
 	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 @@ pidgin_mini_dialog_init(PidginMiniDialog
 	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.
 	 */


More information about the Commits mailing list