int major,minor,point;
char buf[256];
-#ifdef CONVERSION_GNOME_TO_GTK
- gnome_window_icon_set_default_from_file(GNOME_ICONDIR"/gripicon.png");
-#endif
-
app = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-
+
ginfo=g_new0(GripInfo,1);
gtk_object_set_user_data(GTK_OBJECT(app),(gpointer)ginfo);
uinfo->playopts=MakePlayOpts(ginfo);
gtk_box_pack_start(GTK_BOX(uinfo->winbox),uinfo->playopts,FALSE,FALSE,0);
if(uinfo->track_prog_visible) gtk_widget_show(uinfo->playopts);
-
+
uinfo->controls=MakeControls(ginfo);
if(uinfo->minimized)
gtk_box_pack_start(GTK_BOX(uinfo->winbox),uinfo->controls,TRUE,TRUE,0);
else
gtk_box_pack_start(GTK_BOX(uinfo->winbox),uinfo->controls,FALSE,FALSE,0);
gtk_widget_show(uinfo->controls);
-
+
gtk_container_add(GTK_CONTAINER(app), uinfo->winbox);
gtk_widget_show(uinfo->winbox);
+ gtk_window_set_icon_from_file(GTK_WINDOW(app), GNOME_ICONDIR"/gripicon.png", NULL);
+
CheckNewDisc(ginfo,FALSE);
/* Check if we're running this version for the first time */