comparison src/conversation.c @ 535:f03f041c1aa9

[gaim-migrate @ 545] fflewddur wrote a really cool patch to make buttons borderless, like the buttons in winaim. of course, unlike winaim, it's optional. :) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 27 Jul 2000 17:48:15 +0000
parents 023c3851db0a
children c9f994ea5833
comparison
equal deleted inserted replaced
534:d7cdcd9e28f4 535:f03f041c1aa9
1280 if (find_log_info(c->name)) 1280 if (find_log_info(c->name))
1281 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(wood), TRUE); 1281 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(wood), TRUE);
1282 else 1282 else
1283 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(wood), FALSE); 1283 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(wood), FALSE);
1284 state_lock = 0; 1284 state_lock = 0;
1285 1285
1286 /* use a slicker look if the user wants to */
1287 if (display_options & OPT_DISP_COOL_LOOK)
1288 {
1289 gtk_button_set_relief(GTK_BUTTON(strike), GTK_RELIEF_NONE);
1290 gtk_button_set_relief(GTK_BUTTON(normal), GTK_RELIEF_NONE);
1291 gtk_button_set_relief(GTK_BUTTON(big), GTK_RELIEF_NONE);
1292 gtk_button_set_relief(GTK_BUTTON(bold), GTK_RELIEF_NONE);
1293 gtk_button_set_relief(GTK_BUTTON(italic), GTK_RELIEF_NONE);
1294 gtk_button_set_relief(GTK_BUTTON(underline), GTK_RELIEF_NONE);
1295 gtk_button_set_relief(GTK_BUTTON(speaker), GTK_RELIEF_NONE);
1296 gtk_button_set_relief(GTK_BUTTON(wood), GTK_RELIEF_NONE);
1297 gtk_button_set_relief(GTK_BUTTON(palette), GTK_RELIEF_NONE);
1298 gtk_button_set_relief(GTK_BUTTON(link), GTK_RELIEF_NONE);
1299 gtk_button_set_relief(GTK_BUTTON(font), GTK_RELIEF_NONE);
1300 gtk_button_set_relief(GTK_BUTTON(small), GTK_RELIEF_NONE);
1301 }
1302
1286 gtk_widget_show(toolbar); 1303 gtk_widget_show(toolbar);
1287 1304
1288 c->bold = bold; 1305 c->bold = bold;
1289 c->strike = strike; 1306 c->strike = strike;
1290 c->italic = italic; 1307 c->italic = italic;
1345 else { 1362 else {
1346 add = gtk_button_new_with_label(_("Add")); 1363 add = gtk_button_new_with_label(_("Add"));
1347 } 1364 }
1348 block = gtk_button_new_with_label(_("Block")); 1365 block = gtk_button_new_with_label(_("Block"));
1349 1366
1350 1367 /* use a slicker look if the user wants to */
1368 if (display_options & OPT_DISP_COOL_LOOK)
1369 {
1370 gtk_button_set_relief(GTK_BUTTON(send), GTK_RELIEF_NONE);
1371 gtk_button_set_relief(GTK_BUTTON(info), GTK_RELIEF_NONE);
1372 gtk_button_set_relief(GTK_BUTTON(warn), GTK_RELIEF_NONE);
1373 gtk_button_set_relief(GTK_BUTTON(close), GTK_RELIEF_NONE);
1374 gtk_button_set_relief(GTK_BUTTON(add), GTK_RELIEF_NONE);
1375 gtk_button_set_relief(GTK_BUTTON(block), GTK_RELIEF_NONE);
1376 }
1377
1351 bbox = gtk_hbox_new(TRUE, 0); 1378 bbox = gtk_hbox_new(TRUE, 0);
1352 vbox = gtk_vbox_new(FALSE, 0); 1379 vbox = gtk_vbox_new(FALSE, 0);
1353 vbox2 = gtk_vbox_new(FALSE, 0); 1380 vbox2 = gtk_vbox_new(FALSE, 0);
1354 paned = gtk_vpaned_new(); 1381 paned = gtk_vpaned_new();
1355 1382