[pkg-otr-team] [irssi-plugin-otr] 18/167: * gtk-dialog.c: Make the text of dialog boxes selectable

Holger Levsen holger at moszumanska.debian.org
Mon Mar 3 21:55:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to tag 4.0.0
in repository irssi-plugin-otr.

commit c3ebdc9253b9ffecca0eb8e24fc9655439efe411
Author: cypherpunk <cypherpunk>
Date:   Fri Oct 28 03:38:21 2005 +0000

    	* gtk-dialog.c: Make the text of dialog boxes selectable
---
 ChangeLog    | 2 ++
 gtk-dialog.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 614f9d8..a6269ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
 	* gtk-dialog.c: Better icons
 
+	* gtk-dialog.c: Make the text of dialog boxes selectable
+
 2005-10-19
 
 	* dialogs.h:
diff --git a/gtk-dialog.c b/gtk-dialog.c
index e2eaf17..1640b03 100644
--- a/gtk-dialog.c
+++ b/gtk-dialog.c
@@ -699,6 +699,7 @@ static GtkWidget *create_dialog(GaimNotifyMsgType type, const char *title,
     label = gtk_label_new(NULL);
 
     gtk_label_set_markup(GTK_LABEL(label), label_text);
+    gtk_label_set_selectable(GTK_LABEL(label), 1);
     g_free(label_text);
     gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
     gtk_misc_set_alignment(GTK_MISC(label), 0, 0);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-otr/packages/irssi-plugin-otr.git



More information about the Pkg-otr-team mailing list