From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.3) Gecko/20041207 Description of problem: Warning messages appear whenever the program is started. 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 in terminal 3. Type system-config-samba Actual Results: sr/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', _("Edit the 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 warning messages Additional info:
*** This bug has been marked as a duplicate of 134367 ***
Nils, 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
Reopening to keep track of FC3 and RHEL4 stuff separately.
Patricio, your patch unfortunately doesn't mark translatable strings for translation and of course doesn't on older pygtk versions. I'll extend your patch by these things, but could you please submit it in unified format next time ("diff -u")? It's so much more readable.
Umm, forgot: thanks for the patch, though ;-).
*** Bug 141305 has been marked as a duplicate of this bug. ***
Fixed in system-config-samba-1.2.27-0.fc3.1.