Mercurial > pidgin.yaz
comparison plugins/spellchk.c @ 5530:2c4c975620f0
[gaim-migrate @ 5930]
Okay, several changes in this commit.
- We now have gtkprefs.h.
- We have a place where we can add UI prefs.
- show_prefs() -> gaim_gtk_prefs_show().
- make_frame() -> gaim_gtk_make_frame().
- The debug window is the first thing to have prefs. You can even
turn off the toolbar if you edit ~/.gaim/prefs.xml.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 26 May 2003 08:30:48 +0000 |
parents | 6d1707dc8c3d |
children | 1c55b1540e18 |
comparison
equal
deleted
inserted
replaced
5529:e7747cae9710 | 5530:2c4c975620f0 |
---|---|
406 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); | 406 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); |
407 | 407 |
408 ret = gtk_vbox_new(FALSE, 18); | 408 ret = gtk_vbox_new(FALSE, 18); |
409 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); | 409 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); |
410 | 410 |
411 vbox = make_frame(ret, _("Text Replacements")); | 411 vbox = gaim_gtk_make_frame(ret, _("Text Replacements")); |
412 gtk_container_set_border_width(GTK_CONTAINER(vbox), 4); | 412 gtk_container_set_border_width(GTK_CONTAINER(vbox), 4); |
413 gtk_widget_set_size_request(vbox, 300, -1); | 413 gtk_widget_set_size_request(vbox, 300, -1); |
414 gtk_widget_show (vbox); | 414 gtk_widget_show (vbox); |
415 | 415 |
416 win = gtk_scrolled_window_new(0, 0); | 416 win = gtk_scrolled_window_new(0, 0); |
468 g_signal_connect(G_OBJECT(gtk_tree_view_get_selection(GTK_TREE_VIEW(tree))), | 468 g_signal_connect(G_OBJECT(gtk_tree_view_get_selection(GTK_TREE_VIEW(tree))), |
469 "changed", G_CALLBACK(on_selection_changed), button); | 469 "changed", G_CALLBACK(on_selection_changed), button); |
470 | 470 |
471 gtk_widget_show(button); | 471 gtk_widget_show(button); |
472 | 472 |
473 vbox = make_frame(ret, _("Add a new text replacement")); | 473 vbox = gaim_gtk_make_frame(ret, _("Add a new text replacement")); |
474 gtk_widget_set_size_request(vbox, 300, -1); | 474 gtk_widget_set_size_request(vbox, 300, -1); |
475 | 475 |
476 hbox = gtk_hbox_new(FALSE, 2); | 476 hbox = gtk_hbox_new(FALSE, 2); |
477 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); | 477 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); |
478 gtk_widget_show(hbox); | 478 gtk_widget_show(hbox); |