Introduce dataclasses for configuring model settings
This commit is contained in:
@@ -13,8 +13,17 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
from gi.repository import Gio, GObject
|
||||
|
||||
|
||||
@dataclass
|
||||
class Results:
|
||||
text: str
|
||||
|
||||
|
||||
|
||||
'''
|
||||
https://discourse.gnome.org/t/gtk-threading-problem-with-glib-idle-add/13597/5
|
||||
https://github.com/gdm-settings/gdm-settings/blob/f245d3000200fa6be2a35c7f6ac45b131dadb5d6/src/utils.py#L116..L162
|
||||
|
||||
Reference in New Issue
Block a user