changeset 983:6cc5538851d6 trunk

[svn] - Fun fileinfo fixes
author nhjm449
date Fri, 28 Apr 2006 22:44:06 -0700
parents 287d4eb3ca27
children bcd1ebd0a7c1
files Plugins/Input/mpg123/fileinfo.c Plugins/Input/vorbis/fileinfo.c
diffstat 2 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/fileinfo.c	Fri Apr 28 22:43:09 2006 -0700
+++ b/Plugins/Input/mpg123/fileinfo.c	Fri Apr 28 22:44:06 2006 -0700
@@ -251,7 +251,6 @@
         PangoAttribute *attr;
         GtkWidget *test_table = gtk_table_new(2, 11, FALSE);
         GtkWidget *urk, *blark;
-	GtkWidget * comment_frame;
 
         window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
         gtk_window_set_type_hint(GTK_WINDOW(window),
@@ -507,11 +506,8 @@
         gtk_table_attach(GTK_TABLE(table), label, 0, 1, 3, 4, GTK_FILL,
                          GTK_FILL, 5, 5);
 
-	comment_frame = gtk_frame_new(NULL);
-	/* gtk_frame_set_shadow_type(GTK_FRAME(comment_frame),GTK_SHADOW_IN); */
 	comment_entry = gtk_entry_new();
-	gtk_container_add(GTK_CONTAINER(comment_frame),comment_entry);
-        gtk_table_attach(GTK_TABLE(table), comment_frame, 1, 6, 3, 4,
+        gtk_table_attach(GTK_TABLE(table), comment_entry, 1, 6, 3, 4,
                          GTK_FILL | GTK_EXPAND | GTK_SHRINK,
                          GTK_FILL | GTK_EXPAND | GTK_SHRINK, 0, 5);
 
--- a/Plugins/Input/vorbis/fileinfo.c	Fri Apr 28 22:43:09 2006 -0700
+++ b/Plugins/Input/vorbis/fileinfo.c	Fri Apr 28 22:44:06 2006 -0700
@@ -1028,14 +1028,14 @@
     gtk_entry_set_text(GTK_ENTRY(rg_album_peak_entry), rg_album_peak);
     gtk_editable_set_position(GTK_EDITABLE(rg_album_peak_entry), -1);
 
-    if (*rg_track_gain == '\0' && *rg_album_gain == '\0' &&
+/*    if (*rg_track_gain == '\0' && *rg_album_gain == '\0' &&
         *rg_track_peak == '\0' && *rg_album_peak == '\0') {
         gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(rg_show_button),
                                      FALSE);
     }
     else
         gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(rg_show_button),
-                                     TRUE);
+                                     TRUE);*/
 
     /* ov_clear closes the file */
     if (clear_vf) ov_clear(&vf);