Mercurial > pidgin
comparison src/dialogs.c @ 1169:71661061013d
[gaim-migrate @ 1179]
Looks slightly better (Pounce Dialog). I still cant decide how it should look.
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Wed, 29 Nov 2000 09:28:28 +0000 |
| parents | cae996433dc5 |
| children | 11f8829f82fb |
comparison
equal
deleted
inserted
replaced
| 1168:8fabc3349254 | 1169:71661061013d |
|---|---|
| 1159 bbox = gtk_hbox_new(TRUE, 10); | 1159 bbox = gtk_hbox_new(TRUE, 10); |
| 1160 vbox = gtk_vbox_new(FALSE, 5); | 1160 vbox = gtk_vbox_new(FALSE, 5); |
| 1161 b->nameentry = gtk_entry_new(); | 1161 b->nameentry = gtk_entry_new(); |
| 1162 b->messentry = gtk_entry_new(); | 1162 b->messentry = gtk_entry_new(); |
| 1163 | 1163 |
| 1164 | |
| 1164 /* Build OK Button */ | 1165 /* Build OK Button */ |
| 1165 | 1166 |
| 1166 button = picture_button(b->window, _("OK"), ok_xpm); | 1167 button = picture_button(b->window, _("OK"), ok_xpm); |
| 1167 gtk_signal_connect(GTK_OBJECT(button), "clicked", | 1168 gtk_signal_connect(GTK_OBJECT(button), "clicked", |
| 1168 GTK_SIGNAL_FUNC(do_new_bp), b); | 1169 GTK_SIGNAL_FUNC(do_new_bp), b); |
| 1174 gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 5); | 1175 gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 5); |
| 1175 | 1176 |
| 1176 /* Pounce as menu */ | 1177 /* Pounce as menu */ |
| 1177 pounce_user_menu(b, vbox); | 1178 pounce_user_menu(b, vbox); |
| 1178 | 1179 |
| 1179 | |
| 1180 hbox = gtk_hbox_new(FALSE, 5); | 1180 hbox = gtk_hbox_new(FALSE, 5); |
| 1181 | 1181 label = gtk_label_new(_("Buddy:")); |
| 1182 label = gtk_label_new(_("Buddy To Pounce:")); | |
| 1183 gtk_widget_show(label); | 1182 gtk_widget_show(label); |
| 1184 gtk_widget_show(hbox); | 1183 gtk_widget_show(hbox); |
| 1185 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); | 1184 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); |
| 1186 gtk_box_pack_start(GTK_BOX(hbox), b->nameentry, FALSE, FALSE, 0); | 1185 gtk_box_pack_start(GTK_BOX(hbox), b->nameentry, FALSE, FALSE, 0); |
| 1187 gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 0); | 1186 gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 0); |
| 1188 | 1187 |
| 1189 | 1188 |
| 1190 label = gtk_label_new(_("Events:")); | 1189 label = gtk_label_new(_("Events")); |
| 1190 // gtk_misc_set_alignment(GTK_MISC(label), 0, 0); | |
| 1191 // I was left aligning these but I dunno if Like it -- Rob | |
| 1191 | 1192 |
| 1192 /* Set up the different options */ | 1193 /* Set up the different options */ |
| 1193 b->p_signon = gtk_check_button_new_with_label(_("Sign On")); | 1194 b->p_signon = gtk_check_button_new_with_label(_("Sign On")); |
| 1194 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(b->p_signon), TRUE); | 1195 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(b->p_signon), TRUE); |
| 1195 b->p_unaway = gtk_check_button_new_with_label(_("Return from away")); | 1196 b->p_unaway = gtk_check_button_new_with_label(_("Return from away")); |
| 1206 gtk_box_pack_start(GTK_BOX(vbox), b->p_signon, FALSE, FALSE, 0); | 1207 gtk_box_pack_start(GTK_BOX(vbox), b->p_signon, FALSE, FALSE, 0); |
| 1207 gtk_box_pack_start(GTK_BOX(vbox), b->p_unaway, FALSE, FALSE, 0); | 1208 gtk_box_pack_start(GTK_BOX(vbox), b->p_unaway, FALSE, FALSE, 0); |
| 1208 gtk_box_pack_start(GTK_BOX(vbox), b->p_unidle, FALSE, FALSE, 0); | 1209 gtk_box_pack_start(GTK_BOX(vbox), b->p_unidle, FALSE, FALSE, 0); |
| 1209 | 1210 |
| 1210 | 1211 |
| 1211 label = gtk_label_new(_("Actions:")); | 1212 label = gtk_label_new(_("Actions")); |
| 1213 // gtk_misc_set_alignment(GTK_MISC(label), 0, 0); | |
| 1214 // I was left aligning these but I dunno if Like it -- Rob | |
| 1212 | 1215 |
| 1213 /* And now the other stuff */ | 1216 /* And now the other stuff */ |
| 1214 b->openwindow = gtk_check_button_new_with_label(_("Open IM window on pounce")); | 1217 b->openwindow = gtk_check_button_new_with_label(_("Open IM window on pounce")); |
| 1215 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(b->openwindow), FALSE); | 1218 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(b->openwindow), FALSE); |
| 1216 | 1219 |
| 1223 | 1226 |
| 1224 gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, TRUE, 0); | 1227 gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, TRUE, 0); |
| 1225 gtk_box_pack_start(GTK_BOX(vbox), b->openwindow, FALSE, FALSE, 0); | 1228 gtk_box_pack_start(GTK_BOX(vbox), b->openwindow, FALSE, FALSE, 0); |
| 1226 gtk_box_pack_start(GTK_BOX(vbox), b->sendim, FALSE, FALSE, 0); | 1229 gtk_box_pack_start(GTK_BOX(vbox), b->sendim, FALSE, FALSE, 0); |
| 1227 | 1230 |
| 1228 label = gtk_label_new(_("Message to send:")); | 1231 label = gtk_label_new(_("Message:")); |
| 1229 gtk_widget_show(label); | 1232 gtk_widget_show(label); |
| 1233 | |
| 1230 gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); | 1234 gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); |
| 1231 gtk_box_pack_start(GTK_BOX(vbox), b->messentry, FALSE, FALSE, 0); | 1235 gtk_box_pack_start(GTK_BOX(vbox), b->messentry, FALSE, FALSE, 0); |
| 1232 | |
| 1233 | 1236 |
| 1234 /* And the boxes in the box */ | 1237 /* And the boxes in the box */ |
| 1235 gtk_box_pack_start(GTK_BOX(vbox), bbox, FALSE, FALSE, 0); | 1238 gtk_box_pack_start(GTK_BOX(vbox), bbox, FALSE, FALSE, 0); |
| 1236 | 1239 |
| 1237 /* Handle closes right */ | 1240 /* Handle closes right */ |
