This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from gi.repository import Gio, GLib, GObject | |
| import logging | |
| import random | |
| class Base(Gio.DBusProxy): | |
| connect_signal = GObject.GObject.connect | |
| disconnect_signal = GObject.GObject.disconnect | |
| __name = 'org.bluez' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 1999-2018 Gentoo Foundation | |
| # Distributed under the terms of the GNU General Public License v2 | |
| EAPI=7 | |
| inherit meson multilib-minimal | |
| DESCRIPTION="Bluetooth Audio ALSA Backend" | |
| HOMEPAGE="https://github.com/Arkq/bluez-alsa" | |
| if [[ ${PV} == "9999" ]] ; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import gi | |
| gi.require_version("Gtk", "3.0") | |
| from gi.repository import Gtk, Gdk | |
| import cairo | |
| class IconWindow(Gtk.Window): | |
| def __init__(self, *args, **kwargs): | |
| super().__init__(default_width=150, default_height=150, **kwargs) | |
| self.icon_name = "thunderbird" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This code is an example for a tutorial on Ubuntu Unity/Gnome AppIndicators: | |
| # http://candidtim.github.io/appindicator/2014/09/13/ubuntu-appindicator-step-by-step.html | |
| import os | |
| import signal | |
| import json | |
| import gi | |
| from urllib.request import Request, urlopen | |
| from urllib.error import URLError |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from gi.repository import Gtk, Gdk, GLib, GObject | |
| from gi.repository import GdkPixbuf | |
| from datetime import datetime | |
| import cairo | |
| import time | |
| class TreeViewWindow(Gtk.Window): | |
| def __init__(self): | |
| super().__init__(title="Cell Data Func Example") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import gi | |
| gi.require_version("Gtk", "3.0") | |
| from gi.repository import Gtk | |
| import cairo | |
| class IconWindow(Gtk.Window): | |
| def __init__(self, *args, **kwargs): | |
| super().__init__(default_width=150, default_height=150, **kwargs) | |
| self.icon_name = "thunderbird-icon" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/apps/blueman-assistant.in b/apps/blueman-assistant.in | |
| index fa02f6ea..dd460bb1 100755 | |
| --- a/apps/blueman-assistant.in | |
| +++ b/apps/blueman-assistant.in | |
| @@ -265,7 +265,7 @@ class Assistant: | |
| self.assistant.set_page_header_image(pages[PAGE_FINISH], get_icon("dialog-warning", 32)) | |
| self.assistant.set_current_page(PAGE_FINISH) | |
| - self.applet.connect_service(str("(os)"), self.service.device.get_object_path(), self.service.uuid, | |
| + self.applet.connect_service("(os)", self.service.device.get_object_path(), self.service.uuid, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from gi.repository import GLib | |
| from gi import PyGIDeprecationWarning | |
| import collections | |
| import warnings | |
| def spawn_async(argv=None, envp=None, working_directory=None, | |
| flags=0, child_setup=None, user_data=None, | |
| standard_input=None, standard_output=None, | |
| standard_error=None): | |
| warnings.warn("Deprecated, old usage of static binding which will be removed.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 1999-2016 Gentoo Foundation | |
| # Distributed under the terms of the GNU General Public License v2 | |
| # $Id$ | |
| EAPI=6 | |
| inherit autotools eutils multilib-minimal | |
| DESCRIPTION="Bluetooth Audio ALSA Backend" | |
| HOMEPAGE="https://github.com/Arkq/bluez-alsa" |