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

DeprecationWarning: Gtk.Window #53

Open
johndoe71rus opened this issue Jun 18, 2023 · 0 comments
Open

DeprecationWarning: Gtk.Window #53

johndoe71rus opened this issue Jun 18, 2023 · 0 comments

Comments

@johndoe71rus
Copy link

lubuntu 22.04
Gis Weather 0.8.4.18

some DeprecationWarning

$  gis-weather 
Gis Weather 0.8.4.18
Папка конфигурации:
    /home/johndoe/.config/gis-weather/gw_config1.json
/usr/share/gis-weather/gis-weather.py:643: DeprecationWarning: Gtk.StatusIcon.set_from_file is deprecated
  self.indicator.set_from_file(os.path.join(APP_PATH, "icon.png"))
/usr/share/gis-weather/gis-weather.py:645: DeprecationWarning: Gtk.StatusIcon.set_visible is deprecated
  self.indicator.set_visible(True)
/usr/share/gis-weather/gis-weather.py:1580: DeprecationWarning: Gtk.Window.set_has_resize_grip is deprecated
  self.window_main.set_has_resize_grip(False)
/usr/share/gis-weather/gis-weather.py:1639: DeprecationWarning: Gtk.Window.set_opacity is deprecated
  self.window_main.set_opacity(opacity)
Размеры виджета:
    ширина = 521 высота = 225 в т.ч. отступ = 20
/usr/share/gis-weather/gis-weather.py:1591: DeprecationWarning: Gtk.Widget.is_composited is deprecated
  if not self.window_main.is_composited():
Ваш экран поддерживает прозрачность
> Получаю погоду на 3 дней                                                                                             
> Скачиваю https://services.gismeteo.ru/inform-service/inf_chrome/forecast/?lang=ru&city=4392                          
OK
> обновлено на сервере 12:00
> погода получена 14:37
> Следующее обновление через 60 мин
----------------------------------------
/usr/share/gis-weather/gis-weather.py:656: DeprecationWarning: Gtk.StatusIcon.get_size is deprecated
  self.draw_text_to_png(self.indicator.get_size(), text)
/usr/share/gis-weather/gis-weather.py:737: DeprecationWarning: Gtk.StatusIcon.set_tooltip_markup is deprecated
  self.indicator.set_tooltip_markup(markup)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant