Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
-
99f66cdb
by wurstsalat at 2022-10-17T00:17:31+02:00
1 changed file:
Changes:
| ... | ... | @@ -35,7 +35,7 @@ |
| 35 | 35 | from gajim.common.multimedia_helpers import VideoInputManager
|
| 36 | 36 | from gajim.common.events import StyleChanged
|
| 37 | 37 | from gajim.common.events import ThemeUpdate
|
| 38 | -from gajim.common.setting_values import AllSettings
|
|
| 38 | +from gajim.common.setting_values import BoolSettings
|
|
| 39 | 39 | |
| 40 | 40 | from .const import Setting
|
| 41 | 41 | from .const import SettingKind
|
| ... | ... | @@ -912,7 +912,7 @@ def _create_av_combo_items(items_dict: dict[str, str]) -> dict[str, str]: |
| 912 | 912 | |
| 913 | 913 | class Miscellaneous(PreferenceBox):
|
| 914 | 914 | def __init__(self, pref_window: Preferences) -> None:
|
| 915 | - self._hints_list: list[AllSettings] = [
|
|
| 915 | + self._hints_list: list[BoolSettings] = [
|
|
| 916 | 916 | 'show_help_start_chat',
|
| 917 | 917 | ]
|
| 918 | 918 | |
| ... | ... | @@ -946,7 +946,7 @@ def __init__(self, pref_window: Preferences) -> None: |
| 946 | 946 | |
| 947 | 947 | reset_button = pref_window.get_ui().reset_button
|
| 948 | 948 | reset_button.connect('clicked', self._on_reset_hints)
|
| 949 | - reset_button.set_sensitive(self._check_hints_reset)
|
|
| 949 | + reset_button.set_sensitive(self._check_hints_reset())
|
|
| 950 | 950 | |
| 951 | 951 | purge_history_button = pref_window.get_ui().purge_history_button
|
| 952 | 952 | purge_history_button.connect('clicked', self._on_purge_history_clicked)
|