Bug 141305

Summary: Warning messages when starting
Product: [Fedora] Fedora Reporter: Nigel Horne <njh>
Component: redhat-config-sambaAssignee: Nils Philippsen <nphilipp>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 3CC: pato
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-18 15:24:59 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 Nigel Horne 2004-11-30 09:43:18 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041020

Description of problem:
When starting system-config-samba some warning messages appear, but
functionality appears unharmed.

Version-Release number of selected component (if applicable):
system-config-samba-1.2.22-0.fc3.1

How reproducible:
Always

Steps to Reproduce:
1. Start KDE
2. Start Kterm
3. su
4. Type system-config-samba
    

Actual Results:  /usr/share/system-config-samba/mainWindow.py:113:
DeprecationWarning: use gtk.UIManager
  item_fac = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
/usr/share/system-config-samba/mainWindow.py:138: DeprecationWarning:
  button = self.toolbar.insert_stock('gtk-add', _("Add a samba
share"), None, self.onNewButtonClicked, None, 0)
/usr/share/system-config-samba/mainWindow.py:143: DeprecationWarning:
  self.properties_button = self.toolbar.insert_stock('gtk-properties',
_("Editthe properties of the selected directory"), None,
self.onPropertiesButtonClicked, None, 1)
/usr/share/system-config-samba/mainWindow.py:148: DeprecationWarning:
  self.delete_button = self.toolbar.insert_stock('gtk-delete',
_("Delete the selected directory"), None, self.onDeleteButtonClicked,
None, 2)
/usr/share/system-config-samba/mainWindow.py:153: DeprecationWarning:
  self.toolbar.insert_stock('gtk-help', _("View help"), None,
self.onHelpClicked, None, 3)


Expected Results:  No warnings should appear.

Additional info:

Comment 1 Patricio Carr 2005-02-15 08:26:07 UTC
  A bit of hacking with pygtk got this bug fixed. Running
system-config-samba V.1.2.26 on FC3. PyGTK >= 2.4 is needed.
  Patch at http://patocarr.com/mainWindow.patch

  Duplicated: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143678

Comment 2 Nils Philippsen 2005-03-10 14:15:13 UTC

*** This bug has been marked as a duplicate of 143678 ***