[Bug 1268148] Re: PyGTKDeprecationWarning: Stock items are deprecated. Please use: Gtk.Button.new_with_mnemonic(label) button = Gtk.Button(stock="gtk-cancel")

Launchpad Bug Tracker 1268148 at bugs.launchpad.net
Fri Feb 28 10:28:31 UTC 2014


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: update-manager (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1268148

Title:
  PyGTKDeprecationWarning: Stock items are deprecated. Please use:
  Gtk.Button.new_with_mnemonic(label)   button = Gtk.Button(stock="gtk-
  cancel")

Status in “update-manager” package in Ubuntu:
  Confirmed

Bug description:
  Steps to recreate:
  1. Having some updates not yet installed, open update-manager in terminal.
  2. Click on one of packages to be updated.
  3. There will be warning shown in terminal:
  $ update-manager 
  /usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py:588: PyGTKDeprecationWarning: Stock items are deprecated. Please use: Gtk.Button.new_with_mnemonic(label)
    button = Gtk.Button(stock="gtk-cancel")

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: update-manager 1:0.196.5
  ProcVersionSignature: Ubuntu 3.13.0-1.16-generic 3.13.0-rc7
  Uname: Linux 3.13.0-1-generic x86_64
  ApportVersion: 2.13.1-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sat Jan 11 16:21:58 2014
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'show-details' b'true'
   b'com.ubuntu.update-manager' b'window-height' b'708'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'window-width' b'1022'
   b'com.ubuntu.update-manager' b'launch-time' b'1389453693'
  InstallationDate: Installed on 2013-10-15 (87 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131015)
  PackageArchitecture: all
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to trusty on 2013-11-05 (67 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1268148/+subscriptions



More information about the foundations-bugs mailing list