Mercurial > pidgin
diff src/server.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 | d9e638d13e5a |
| children | 7c75d69a1129 |
line wrap: on
line diff
--- a/src/server.c Thu Jul 27 17:41:36 2000 +0000 +++ b/src/server.c Thu Jul 27 17:48:15 2000 +0000 @@ -877,6 +877,8 @@ label = gtk_label_new(buf2); gtk_widget_show(label); close = gtk_button_new_with_label("Close"); + if (display_options & OPT_DISP_COOL_LOOK) + gtk_button_set_relief(GTK_BUTTON(close), GTK_RELIEF_NONE); gtk_widget_show(close); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(d)->vbox), label, FALSE, FALSE, 5); @@ -958,6 +960,10 @@ gtk_box_pack_start(GTK_BOX(GTK_DIALOG(d)->action_area), nobtn, FALSE, FALSE, 5); + if (display_options & OPT_DISP_COOL_LOOK) + gtk_button_set_relief(GTK_BUTTON(yesbtn), GTK_RELIEF_NONE); + if (display_options & OPT_DISP_COOL_LOOK) + gtk_button_set_relief(GTK_BUTTON(nobtn), GTK_RELIEF_NONE); /* gtk_widget_set_usize(d, 200, 110); */
