comparison src/audacious/ui_fileinfo.c @ 4169:b99639969b32

Backed out changeset 6c07ce72ab94 Lets do this a different way.
author William Pitcock <nenolod@atheme.org>
date Thu, 10 Jan 2008 07:23:51 -0600
parents e105374c4fc3
children 5b5c1472b0cf
comparison
equal deleted inserted replaced
4168:e105374c4fc3 4169:b99639969b32
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;
484 GtkTreeViewColumn *column; 485 GtkTreeViewColumn *column;
485 GtkCellRenderer *renderer; 486 GtkCellRenderer *renderer;
486 gint i; 487 gint i;
487 488
488 fileinfo_win = gtk_window_new(GTK_WINDOW_TOPLEVEL); 489 fileinfo_win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
707 arrow_rawdata = gtk_expander_new(_("<span size=\"small\">Raw Metadata</span>")); 708 arrow_rawdata = gtk_expander_new(_("<span size=\"small\">Raw Metadata</span>"));
708 gtk_expander_set_use_markup(GTK_EXPANDER(arrow_rawdata), TRUE); 709 gtk_expander_set_use_markup(GTK_EXPANDER(arrow_rawdata), TRUE);
709 gtk_container_add(GTK_CONTAINER(alignment), arrow_rawdata); 710 gtk_container_add(GTK_CONTAINER(alignment), arrow_rawdata);
710 gtk_box_pack_start(GTK_BOX(hbox), alignment, TRUE, TRUE, 0); 711 gtk_box_pack_start(GTK_BOX(hbox), alignment, TRUE, TRUE, 0);
711 712
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
712 treeview_rawdata = gtk_tree_view_new(); 718 treeview_rawdata = gtk_tree_view_new();
713 gtk_container_add(GTK_CONTAINER(arrow_rawdata), treeview_rawdata); 719 gtk_container_add(GTK_CONTAINER(scrolledwindow), treeview_rawdata);
714 gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview_rawdata), TRUE); 720 gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview_rawdata), TRUE);
715 gtk_tree_view_set_reorderable(GTK_TREE_VIEW(treeview_rawdata), TRUE); 721 gtk_tree_view_set_reorderable(GTK_TREE_VIEW(treeview_rawdata), TRUE);
716 722
717 column = gtk_tree_view_column_new(); 723 column = gtk_tree_view_column_new();
718 gtk_tree_view_column_set_title(column, _("Key")); 724 gtk_tree_view_column_set_title(column, _("Key"));