Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37561871
en ru br
Репозитории ALT

Группа :: Графические оболочки/GNOME
Пакет: onboard

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: onboard-no-appindicator.patch
Скачать


diff --git a/onboard/Onboard/Indicator.py b/onboard/Onboard/Indicator.py
index 0a9bed6..92888b7 100644
--- a/onboard/Onboard/Indicator.py
+++ b/onboard/Onboard/Indicator.py
@@ -105,14 +105,7 @@ class Indicator(GObject.GObject):
                 self._menu.get_children()[1].hide()
 
     def _init_indicator(self):
-        from gi.repository import AppIndicator3 as AppIndicator
-        self._indicator = AppIndicator.Indicator.new(
-            "Onboard",
-            "onboard",
-            AppIndicator.IndicatorCategory.APPLICATION_STATUS)
-        self._indicator.set_icon_full("onboard", _("Onboard on-screen keyboard"))
-
-        self._indicator.set_menu(self._menu)
+	    raise ImportError('No AppIndicator on ALT')
 
     def _init_status_icon(self):
         self._status_icon = Gtk.StatusIcon(icon_name="onboard")
@@ -149,7 +142,7 @@ class Indicator(GObject.GObject):
 
     def _set_indicator_active(self, active):
         try:
-            from gi.repository import AppIndicator3 as AppIndicator
+	    raise ImportError('No AppIndicator on ALT')
         except ImportError:
             pass
         else:
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin