Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest deprecations #24

Closed
Narrat opened this issue May 28, 2019 · 3 comments
Closed

Latest deprecations #24

Narrat opened this issue May 28, 2019 · 3 comments

Comments

@Narrat
Copy link
Owner

Narrat commented May 28, 2019

$  pim .
/usr/bin/pim:429: DeprecationWarning: Gdk.Screen.width is deprecated
  self.Sizes['sWidth'] = screen.width()
/usr/bin/pim:430: DeprecationWarning: Gdk.Screen.height is deprecated
  self.Sizes['sHeight'] = screen.height()
/usr/bin/pim:450: DeprecationWarning: Gtk.Widget.modify_bg is deprecated
  viewport.modify_bg(Gtk.StateType.NORMAL, Gdk.color_parse('#999999'))
/usr/bin/pim:388: DeprecationWarning: Gdk.Cursor.new is deprecated
  self.win.get_window().set_cursor(Gdk.Cursor.new(Gdk.CursorType.BLANK_CURSOR))
@Narrat
Copy link
Owner Author

Narrat commented Dec 22, 2019

Regarding the cursor: Hopefully addressed with 185fd2a

@Narrat
Copy link
Owner Author

Narrat commented Dec 22, 2019

Dunno about the background deprecation. Either replacement requires more work, than I'm currently want to invest.
https://lazka.github.io/pgi-docs/Gtk-3.0/classes/Widget.html#Gtk.Widget.override_background_color (was direct replacement for modify_bg)

@Narrat
Copy link
Owner Author

Narrat commented Dec 22, 2019

Deprecations regarding Gdk.Screen is addressed with 6682138
This bumps the required pygobject version to 3.22 and doesn't respect multi monitor setups

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant