comparison src/audacious/ui_fileinfo.c @ 4168:e105374c4fc3

Get rid of the scrolled window.
author William Pitcock <nenolod@atheme.org>
date Thu, 10 Jan 2008 07:22:14 -0600
parents 7c6b3b6def1a
children b99639969b32
comparison
equal deleted inserted replaced
4167:7c6b3b6def1a 4168:e105374c4fc3
479 GtkWidget *table1; 479 GtkWidget *table1;
480 GtkWidget *bbox_close; 480 GtkWidget *bbox_close;
481 GtkWidget *btn_close; 481 GtkWidget *btn_close;
482 GtkWidget *alignment; 482 GtkWidget *alignment;
483 GtkWidget *separator; 483 GtkWidget *separator;
484 GtkWidget *scrolledwindow;
485 GtkTreeViewColumn *column; 484 GtkTreeViewColumn *column;
486 GtkCellRenderer *renderer; 485 GtkCellRenderer *renderer;
487 gint i; 486 gint i;
488 487
489 fileinfo_win = gtk_window_new(GTK_WINDOW_TOPLEVEL); 488 fileinfo_win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
708 arrow_rawdata = gtk_expander_new(_("<span size=\"small\">Raw Metadata</span>")); 707 arrow_rawdata = gtk_expander_new(_("<span size=\"small\">Raw Metadata</span>"));
709 gtk_expander_set_use_markup(GTK_EXPANDER(arrow_rawdata), TRUE); 708 gtk_expander_set_use_markup(GTK_EXPANDER(arrow_rawdata), TRUE);
710 gtk_container_add(GTK_CONTAINER(alignment), arrow_rawdata); 709 gtk_container_add(GTK_CONTAINER(alignment), arrow_rawdata);
711 gtk_box_pack_start(GTK_BOX(hbox), alignment, TRUE, TRUE, 0); 710 gtk_box_pack_start(GTK_BOX(hbox), alignment, TRUE, TRUE, 0);
712 711
713 scrolledwindow = gtk_scrolled_window_new (NULL, NULL);
714 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
715 gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_SHADOW_IN);
716 gtk_container_add(GTK_CONTAINER(arrow_rawdata), scrolledwindow);
717
718 treeview_rawdata = gtk_tree_view_new(); 712 treeview_rawdata = gtk_tree_view_new();
719 gtk_container_add(GTK_CONTAINER(scrolledwindow), treeview_rawdata); 713 gtk_container_add(GTK_CONTAINER(arrow_rawdata), treeview_rawdata);
720 gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview_rawdata), TRUE); 714 gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview_rawdata), TRUE);
721 gtk_tree_view_set_reorderable(GTK_TREE_VIEW(treeview_rawdata), TRUE); 715 gtk_tree_view_set_reorderable(GTK_TREE_VIEW(treeview_rawdata), TRUE);
722 716
723 column = gtk_tree_view_column_new(); 717 column = gtk_tree_view_column_new();
724 gtk_tree_view_column_set_title(column, _("Key")); 718 gtk_tree_view_column_set_title(column, _("Key"));