Bug 1136177 - PyGTKDeprecationWarning messages on terminal
Summary: PyGTKDeprecationWarning messages on terminal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fonts-tweak-tool
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-02 06:03 UTC by Parag Nemade
Modified: 2014-09-29 03:59 UTC (History)
5 users (show)

Fixed In Version: fonts-tweak-tool-0.3.2-6.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-29 03:59:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.