Mercurial > pidgin
comparison src/dialogs.c @ 1388:7dc0a8bb4dcb
[gaim-migrate @ 1398]
Pounce stuff is not sensitive if it doesnt need to be.
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Fri, 05 Jan 2001 09:13:13 +0000 |
| parents | 595a844dbe0b |
| children | df7c3cacac92 |
comparison
equal
deleted
inserted
replaced
| 1387:595a844dbe0b | 1388:7dc0a8bb4dcb |
|---|---|
| 1183 gtk_box_pack_start(GTK_BOX(hbox), b->messentry, TRUE, TRUE, 0); | 1183 gtk_box_pack_start(GTK_BOX(hbox), b->messentry, TRUE, TRUE, 0); |
| 1184 gtk_signal_connect(GTK_OBJECT(b->messentry), "activate", | 1184 gtk_signal_connect(GTK_OBJECT(b->messentry), "activate", |
| 1185 GTK_SIGNAL_FUNC(do_new_bp), b); | 1185 GTK_SIGNAL_FUNC(do_new_bp), b); |
| 1186 gtk_widget_show(b->messentry); | 1186 gtk_widget_show(b->messentry); |
| 1187 | 1187 |
| 1188 gtk_signal_connect(GTK_OBJECT(b->sendim), "clicked", GTK_SIGNAL_FUNC(toggle_sensitive), b->messentry); | |
| 1189 | |
| 1188 b->command = gtk_check_button_new_with_label(_("Execute command on pounce")); | 1190 b->command = gtk_check_button_new_with_label(_("Execute command on pounce")); |
| 1189 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(b->command), FALSE); | 1191 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(b->command), FALSE); |
| 1190 gtk_box_pack_start(GTK_BOX(vbox), b->command, FALSE, FALSE, 0); | 1192 gtk_box_pack_start(GTK_BOX(vbox), b->command, FALSE, FALSE, 0); |
| 1191 gtk_widget_show(b->command); | 1193 gtk_widget_show(b->command); |
| 1192 | 1194 |
| 1201 b->commentry = gtk_entry_new(); | 1203 b->commentry = gtk_entry_new(); |
| 1202 gtk_box_pack_start(GTK_BOX(hbox), b->commentry, TRUE, TRUE, 0); | 1204 gtk_box_pack_start(GTK_BOX(hbox), b->commentry, TRUE, TRUE, 0); |
| 1203 gtk_signal_connect(GTK_OBJECT(b->commentry), "activate", | 1205 gtk_signal_connect(GTK_OBJECT(b->commentry), "activate", |
| 1204 GTK_SIGNAL_FUNC(do_new_bp), b); | 1206 GTK_SIGNAL_FUNC(do_new_bp), b); |
| 1205 gtk_widget_show(b->commentry); | 1207 gtk_widget_show(b->commentry); |
| 1208 | |
| 1209 gtk_widget_set_sensitive(b->commentry, FALSE); | |
| 1210 gtk_signal_connect(GTK_OBJECT(b->command), "clicked", GTK_SIGNAL_FUNC(toggle_sensitive), b->commentry); | |
| 1206 | 1211 |
| 1207 sep = gtk_hseparator_new(); | 1212 sep = gtk_hseparator_new(); |
| 1208 gtk_box_pack_start(GTK_BOX(vbox), sep, FALSE, FALSE, 0); | 1213 gtk_box_pack_start(GTK_BOX(vbox), sep, FALSE, FALSE, 0); |
| 1209 gtk_widget_show(sep); | 1214 gtk_widget_show(sep); |
| 1210 | 1215 |
