Commit 61862408 authored by Daniel Brötzmann's avatar Daniel Brötzmann

Remove autopopup_chat_opened setting

parent 32312796
Pipeline #3945 passed with stages
in 2 minutes and 42 seconds
......@@ -77,7 +77,6 @@ class Config:
'notify_on_signout': [opt_bool, False],
'notify_on_new_message': [opt_bool, True],
'autopopupaway': [opt_bool, False],
'autopopup_chat_opened': [opt_bool, False, _('Show desktop notification even when a chat window is opened for this contact and does not have focus.')],
'sounddnd': [opt_bool, False, _('Play sound even when being busy.')],
'showoffline': [opt_bool, True],
'show_only_chat_and_online': [opt_bool, False, _('Show only online and free for chat contacts in the contact list.')],
......
......@@ -1011,23 +1011,6 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="auto_popup_chat_opened_checkbutton">
<property name="label" translatable="yes">Show popups/notifications when a chat window is already _open</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="halign">start</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_auto_popup_chat_opened_checkbutton_toggled" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="auto_popup_away_checkbutton">
<property name="label" translatable="yes">Allow popups/notifications when I'm _away, not available, busy, or invisible</property>
......
......@@ -207,10 +207,6 @@ class Preferences(Gtk.ApplicationWindow):
st = app.config.get('autopopupaway')
self._ui.auto_popup_away_checkbutton.set_active(st)
# Auto popup when chat already open
st = app.config.get('autopopup_chat_opened')
self._ui.auto_popup_chat_opened_checkbutton.set_active(st)
## Sounds
# Sounds
if app.config.get('sounds_on'):
......@@ -637,9 +633,6 @@ class Preferences(Gtk.ApplicationWindow):
def on_auto_popup_away_checkbutton_toggled(self, widget):
self.on_checkbutton_toggled(widget, 'autopopupaway')
def on_auto_popup_chat_opened_checkbutton_toggled(self, widget):
self.on_checkbutton_toggled(widget, 'autopopup_chat_opened')
def on_play_sounds_checkbutton_toggled(self, widget):
self.on_checkbutton_toggled(widget, 'sounds_on',
[self._ui.manage_sounds_button])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment