Bug 1136177

Summary: PyGTKDeprecationWarning messages on terminal
Product: [Fedora] Fedora Reporter: Parag Nemade <pnemade>
Component: fonts-tweak-toolAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: i18n-bugs, kent.neo, petersen, pwu, tagoh
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fonts-tweak-tool-0.3.2-6.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-29 03:59:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Parag Nemade 2014-09-02 06:03:53 UTC
Description of problem:
$ fonts-tweak-tool 
/usr/bin/fonts-tweak-tool:69: PyGTKDeprecationWarning: The "flags" argument for dialog construction is deprecated. Please use initializer keywords: modal=True and/or destroy_with_parent=True. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  dlgui = Gtk.Dialog('Fonts Tweak Tool', None, Gtk.ResponseType.CLOSE)
/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py:537: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "title, transient_for, flags" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self._init(*args, **new_kwargs)
/usr/lib64/python2.7/site-packages/fontstweak/util.py:51: Warning: The property GtkWidget:margin-left is deprecated and shouldn't be used anymore. It will be removed in a future version.
  builder.add_from_resource('/org/tagoh/fonts-tweak-tool/' + uifile)
/usr/lib64/python2.7/site-packages/fontstweak/util.py:51: Warning: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version.
  builder.add_from_resource('/org/tagoh/fonts-tweak-tool/' + uifile)
/usr/lib64/python2.7/site-packages/fontstweak/util.py:51: Warning: The property GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.
  builder.add_from_resource('/org/tagoh/fonts-tweak-tool/' + uifile)
/usr/lib64/python2.7/site-packages/fontstweak/util.py:51: Warning: The property GtkButton:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.
  builder.add_from_resource('/org/tagoh/fonts-tweak-tool/' + uifile)
/usr/lib64/python2.7/site-packages/fontstweak/util.py:51: Warning: The property GtkAlignment:xscale is deprecated and shouldn't be used anymore. It will be removed in a future version.
  builder.add_from_resource('/org/tagoh/fonts-tweak-tool/' + uifile)
/usr/lib64/python2.7/site-packages/fontstweak/util.py:51: Warning: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
  builder.add_from_resource('/org/tagoh/fonts-tweak-tool/' + uifile)
/usr/lib64/python2.7/site-packages/fontstweak/util.py:51: Warning: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
  builder.add_from_resource('/org/tagoh/fonts-tweak-tool/' + uifile)
/usr/bin/fonts-tweak-tool:113: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  tabs.append_page(aliasui, Gtk.Label(_('Fonts Aliases')))
/usr/bin/fonts-tweak-tool:115: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  tabs.append_page(propui, Gtk.Label(_('Fonts Properties')))
/usr/bin/fonts-tweak-tool:117: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  tabs.append_page(substui, Gtk.Label(_('Font Substitutions')))
/usr/bin/fonts-tweak-tool:119: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  tabs.append_page(langui, Gtk.Label(_('Language Ordering')))
/usr/bin/fonts-tweak-tool:123: PyGTKDeprecationWarning: Stock items are deprecated. Please use: Gtk.Button.new_with_mnemonic(label)
  close = Gtk.Button(stock=Gtk.STOCK_CLOSE)
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.


Version-Release number of selected component (if applicable):
fonts-tweak-tool-0.3.2-5.fc21.x86_64

How reproducible:
always

Steps to Reproduce:
1.open gnome-terminal
2. run fonts-tweak-tool there
3. observe the messages

Actual results:
PyGTKDeprecationWarning messages on terminal

Expected results:
no PyGTKDeprecationWarning messages

Additional info:

Comment 1 Fedora Update System 2014-09-05 10:12:39 UTC
fonts-tweak-tool-0.3.2-6.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fonts-tweak-tool-0.3.2-6.fc21

Comment 2 Fedora Update System 2014-09-06 01:01:48 UTC
Package fonts-tweak-tool-0.3.2-6.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fonts-tweak-tool-0.3.2-6.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-10237/fonts-tweak-tool-0.3.2-6.fc21
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-09-29 03:59:14 UTC
fonts-tweak-tool-0.3.2-6.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.