Mercurial > pidgin
comparison src/gtkprivacy.c @ 10535:f175ff63d571
[gaim-migrate @ 11887]
patch from mccannwj; removes horizontal seperators from dialogs
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 22 Jan 2005 04:43:15 +0000 |
parents | 9903182f2aac |
children | a4ae4fb7f939 |
comparison
equal
deleted
inserted
replaced
10534:975c2e66cd53 | 10535:f175ff63d571 |
---|---|
375 GtkWidget *vbox; | 375 GtkWidget *vbox; |
376 GtkWidget *button; | 376 GtkWidget *button; |
377 GtkWidget *dropdown; | 377 GtkWidget *dropdown; |
378 GtkWidget *label; | 378 GtkWidget *label; |
379 GtkWidget *menu; | 379 GtkWidget *menu; |
380 GtkWidget *sep; | |
381 int selected = 0; | 380 int selected = 0; |
382 int i; | 381 int i; |
383 | 382 |
384 dialog = g_new0(GaimGtkPrivacyDialog, 1); | 383 dialog = g_new0(GaimGtkPrivacyDialog, 1); |
385 | 384 |
483 gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0); | 482 gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0); |
484 gtk_widget_show(button); | 483 gtk_widget_show(button); |
485 | 484 |
486 g_signal_connect(G_OBJECT(button), "clicked", | 485 g_signal_connect(G_OBJECT(button), "clicked", |
487 G_CALLBACK(clear_cb), dialog); | 486 G_CALLBACK(clear_cb), dialog); |
488 | |
489 /* Separator */ | |
490 sep = gtk_hseparator_new(); | |
491 gtk_box_pack_start(GTK_BOX(vbox), sep, FALSE, FALSE, 0); | |
492 gtk_widget_show(sep); | |
493 | 487 |
494 /* Another button box. */ | 488 /* Another button box. */ |
495 bbox = gtk_hbutton_box_new(); | 489 bbox = gtk_hbutton_box_new(); |
496 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END); | 490 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END); |
497 gtk_box_pack_start(GTK_BOX(vbox), bbox, FALSE, FALSE, 0); | 491 gtk_box_pack_start(GTK_BOX(vbox), bbox, FALSE, FALSE, 0); |