Mercurial > pidgin.yaz
comparison src/about.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 | 94ab4e2ea247 |
comparison
equal
deleted
inserted
replaced
534:d7cdcd9e28f4 | 535:f03f041c1aa9 |
---|---|
112 button = gtk_button_new_with_label(_("Close")); | 112 button = gtk_button_new_with_label(_("Close")); |
113 gtk_signal_connect_object(GTK_OBJECT(button), "clicked", | 113 gtk_signal_connect_object(GTK_OBJECT(button), "clicked", |
114 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about)); | 114 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about)); |
115 gtk_signal_connect(GTK_OBJECT(about), "destroy", | 115 gtk_signal_connect(GTK_OBJECT(about), "destroy", |
116 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about)); | 116 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about)); |
117 | 117 |
118 if (display_options & OPT_DISP_COOL_LOOK) | |
119 gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); | |
120 | |
118 GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); | 121 GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); |
119 gtk_box_pack_start(GTK_BOX(vbox), button, TRUE, FALSE, 0); | 122 gtk_box_pack_start(GTK_BOX(vbox), button, TRUE, FALSE, 0); |
120 gtk_widget_grab_default(button); | 123 gtk_widget_grab_default(button); |
121 gtk_widget_show(button); | 124 gtk_widget_show(button); |
122 | 125 |