Deprecate warnings

Bug #1854918 reported by Compiler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-stickynotes
New
Undecided
Unassigned

Bug Description

pranav@Exam:~$ indicator-stickynotes
/usr/bin/indicator-stickynotes:89: DeprecationWarning: AppIndicator3.Indicator.set_icon is deprecated
  self.ind.set_icon("indicator-stickynotes-mono")
/usr/bin/indicator-stickynotes:94: 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
  self.mNewNote = Gtk.MenuItem(_("New Note"))
/usr/bin/indicator-stickynotes:103: 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
  self.mShowAll = Gtk.MenuItem(_("Show All"))
/usr/bin/indicator-stickynotes:108: 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
  self.mHideAll = Gtk.MenuItem(_("Hide All"))
/usr/bin/indicator-stickynotes: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
  self.mLockAll = Gtk.MenuItem(_("Lock All"))
/usr/bin/indicator-stickynotes:122: 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
  self.mUnlockAll = Gtk.MenuItem(_("Unlock All"))
/usr/bin/indicator-stickynotes:131: 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
  self.mExport = Gtk.MenuItem(_("Export Data"))
/usr/bin/indicator-stickynotes:136: 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
  self.mImport = Gtk.MenuItem(_("Import Data"))
/usr/bin/indicator-stickynotes:145: 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
  self.mAbout = Gtk.MenuItem(_("About"))
/usr/bin/indicator-stickynotes:150: 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
  self.mSettings = Gtk.MenuItem(_("Settings"))
/usr/bin/indicator-stickynotes:159: 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
  self.mQuit = Gtk.MenuItem(_("Quit"))

Tags: ubuntu19.10
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.