Mercurial > pidgin
diff src/oscar.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 | 5bf71b39cba2 |
| children | 7c75d69a1129 |
line wrap: on
line diff
--- a/src/oscar.c Thu Jul 27 17:41:36 2000 +0000 +++ b/src/oscar.c Thu Jul 27 17:48:15 2000 +0000 @@ -621,6 +621,8 @@ yes = gtk_button_new(); gtk_box_pack_start(GTK_BOX(hbox), yes, FALSE, FALSE, 5); gtk_widget_show(yes); + if (display_options & OPT_DISP_COOL_LOOK) + gtk_button_set_relief(GTK_BUTTON(yes), GTK_RELIEF_NONE); button = gtk_hbox_new(FALSE, 5); gtk_container_add(GTK_CONTAINER(yes), button); @@ -638,6 +640,8 @@ no = gtk_button_new(); gtk_box_pack_end(GTK_BOX(hbox), no, FALSE, FALSE, 5); gtk_widget_show(no); + if (display_options & OPT_DISP_COOL_LOOK) + gtk_button_set_relief(GTK_BUTTON(no), GTK_RELIEF_NONE); button = gtk_hbox_new(FALSE, 5); gtk_container_add(GTK_CONTAINER(no), button);
