# HG changeset patch # User Stu Tomlinson # Date 1180794319 0 # Node ID 61789dec7c47196d20db5a4133db88a42ae2f6d5 # Parent 6418bcb7809a4b46ac6d7a4435e04411a827b68d "truncate-multiline" property for GtkEntry was added in Gtk 2.10 diff -r 6418bcb7809a -r 61789dec7c47 pidgin/gtkaccount.c --- a/pidgin/gtkaccount.c Sat Jun 02 14:06:33 2007 +0000 +++ b/pidgin/gtkaccount.c Sat Jun 02 14:25:19 2007 +0000 @@ -433,7 +433,9 @@ /* Screen name */ dialog->screenname_entry = gtk_entry_new(); +#if GTK_CHECK_VERSION(2,10,0) g_object_set(G_OBJECT(dialog->screenname_entry), "truncate-multiline", TRUE, NULL); +#endif add_pref_box(dialog, vbox, _("Screen name:"), dialog->screenname_entry);