Mercurial > pidgin
comparison src/prefs.c @ 2836:754bb84d8776
[gaim-migrate @ 2849]
relives warlike academia
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 02 Dec 2001 22:36:32 +0000 |
parents | 66b1112d948f |
children | c936163f916a |
comparison
equal
deleted
inserted
replaced
2835:d8e67ff8022f | 2836:754bb84d8776 |
---|---|
2364 | 2364 |
2365 void show_prefs() | 2365 void show_prefs() |
2366 { | 2366 { |
2367 GtkWidget *vbox; | 2367 GtkWidget *vbox; |
2368 GtkWidget *hpaned; | 2368 GtkWidget *hpaned; |
2369 GtkWidget *scroll; | 2369 /* GtkWidget *scroll; */ |
2370 GtkWidget *container; | 2370 GtkWidget *container; |
2371 GtkWidget *hbox; | 2371 GtkWidget *hbox; |
2372 GtkWidget *close; | 2372 GtkWidget *close; |
2373 | 2373 |
2374 if (prefs) { | 2374 if (prefs) { |
2391 | 2391 |
2392 hpaned = gtk_hpaned_new(); | 2392 hpaned = gtk_hpaned_new(); |
2393 gtk_box_pack_start(GTK_BOX(vbox), hpaned, TRUE, TRUE, 0); | 2393 gtk_box_pack_start(GTK_BOX(vbox), hpaned, TRUE, TRUE, 0); |
2394 gtk_widget_show(hpaned); | 2394 gtk_widget_show(hpaned); |
2395 | 2395 |
2396 /* | |
2396 scroll = gtk_scrolled_window_new(NULL, NULL); | 2397 scroll = gtk_scrolled_window_new(NULL, NULL); |
2397 gtk_paned_pack1(GTK_PANED(hpaned), scroll, FALSE, FALSE); | 2398 gtk_paned_pack1(GTK_PANED(hpaned), scroll, FALSE, FALSE); |
2398 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_NEVER, GTK_POLICY_NEVER); | 2399 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_NEVER, GTK_POLICY_NEVER); |
2399 gtk_widget_set_usize(scroll, 125, -1); | 2400 gtk_widget_set_usize(scroll, 125, -1); |
2400 gtk_widget_show(scroll); | 2401 gtk_widget_show(scroll); |
2402 */ | |
2401 | 2403 |
2402 preftree = gtk_ctree_new(1, 0); | 2404 preftree = gtk_ctree_new(1, 0); |
2403 gtk_ctree_set_line_style(GTK_CTREE(preftree), GTK_CTREE_LINES_SOLID); | 2405 gtk_ctree_set_line_style(GTK_CTREE(preftree), GTK_CTREE_LINES_SOLID); |
2404 gtk_ctree_set_expander_style(GTK_CTREE(preftree), GTK_CTREE_EXPANDER_TRIANGLE); | 2406 gtk_ctree_set_expander_style(GTK_CTREE(preftree), GTK_CTREE_EXPANDER_TRIANGLE); |
2405 gtk_clist_set_reorderable(GTK_CLIST(preftree), FALSE); | 2407 gtk_clist_set_reorderable(GTK_CLIST(preftree), FALSE); |
2406 gtk_container_add(GTK_CONTAINER(scroll), preftree); | 2408 /* gtk_container_add(GTK_CONTAINER(scroll), preftree); */ |
2409 gtk_paned_pack1(GTK_PANED(hpaned), preftree, FALSE, FALSE); | |
2407 gtk_signal_connect(GTK_OBJECT(preftree), "tree_select_row", GTK_SIGNAL_FUNC(try_me), NULL); | 2410 gtk_signal_connect(GTK_OBJECT(preftree), "tree_select_row", GTK_SIGNAL_FUNC(try_me), NULL); |
2411 gtk_widget_set_usize(preftree, 125, -1); | |
2408 gtk_widget_show(preftree); | 2412 gtk_widget_show(preftree); |
2409 | 2413 |
2410 container = gtk_frame_new(NULL); | 2414 container = gtk_frame_new(NULL); |
2411 gtk_container_set_border_width(GTK_CONTAINER(container), 0); | 2415 gtk_container_set_border_width(GTK_CONTAINER(container), 0); |
2412 gtk_frame_set_shadow_type(GTK_FRAME(container), GTK_SHADOW_NONE); | 2416 gtk_frame_set_shadow_type(GTK_FRAME(container), GTK_SHADOW_NONE); |