-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve search selected text functionality
Also switch to python-based formatting for cdefs
- Loading branch information
Showing
3 changed files
with
104 additions
and
88 deletions.
There are no files selected for viewing
This file contains 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 file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
# SPDX-FileCopyrightText: 2016-2024 Mufeed Ali <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
import gi | ||
|
||
from gettext import gettext as _ | ||
|
||
import gi | ||
|
||
gi.require_version("Gdk", "4.0") | ||
gi.require_version("Gtk", "4.0") | ||
gi.require_version("Adw", "1") | ||
|
@@ -65,12 +65,10 @@ def __init__(self, app_id, version): | |
) | ||
|
||
Adw.StyleManager.get_default().set_color_scheme( | ||
Adw.ColorScheme.FORCE_DARK | ||
if Settings.get().gtk_dark_ui | ||
else Adw.ColorScheme.PREFER_LIGHT | ||
Adw.ColorScheme.FORCE_DARK if Settings.get().gtk_dark_ui else Adw.ColorScheme.PREFER_LIGHT | ||
) | ||
|
||
base.fold_gen() | ||
base.create_required_dirs() | ||
|
||
def do_startup(self): | ||
"""Manage startup of the application.""" | ||
|
This file contains 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