Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1029

Summary: Source RPM missing includes - Also patch for gtk 1.1
Product: [Retired] Red Hat Linux Reporter: spam
Component: control-panelAssignee: David Lawrence <dkl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-02-05 18:32:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description spam 1999-02-03 00:02:26 UTC
I had to fix control-panel to get it to work on my machine.
I thought I'd let you guys know what it required.

Thanks for a great product.

John Rothe
aegir

------------
stdio.h and stdlib.h are not included and should be.

-----------
for gtk 1.1

gtk_window_add should be changed to
gtk_scrolled_window_add_with_viewport as shown.

------

gtk_box_pack_start(GTK_BOX(hbox), icon_box, FALSE, FALSE,
5);
  /*gtk_container_add(GTK_CONTAINER(scrolled), hbox);*/

gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolled),
hbox);
  gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, FALSE,
0);
  gtk_box_pack_start(GTK_BOX(vbox), scrolled, TRUE, TRUE,
0);
  gtk_container_add(GTK_CONTAINER(main_window), vbox);

Comment 1 Bill Nottingham 1999-02-05 18:32:59 UTC
this is fixed in later versions of control panel.