add the handler on ANC button
This commit is contained in:
parent
3ef3a2b70b
commit
7f73f0418d
2 changed files with 4 additions and 1 deletions
|
@ -448,11 +448,13 @@ Show only in roster</property>
|
|||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
<child>
|
||||
<widget class="GtkButton" id="advanced_notifications_button">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
<property name="label" translatable="yes">Advanced...</property>
|
||||
<property name="response_id">0</property>
|
||||
<signal name="clicked" handler="on_advanced_notifications_button_clicked"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
@ -614,6 +616,7 @@ Show only in roster</property>
|
|||
<child>
|
||||
<widget class="GtkLabel" id="label76">
|
||||
<property name="visible">True</property>
|
||||
<property name="no_show_all">True</property>
|
||||
<property name="label" translatable="yes">Notifications</property>
|
||||
</widget>
|
||||
<packing>
|
||||
|
|
|
@ -760,7 +760,7 @@ class PreferencesWindow:
|
|||
def on_auto_popup_away_checkbutton_toggled(self, widget):
|
||||
self.on_checkbutton_toggled(widget, 'autopopupaway')
|
||||
|
||||
def on_open_advanced_notifications_button_clicked(self, widget):
|
||||
def on_advanced_notifications_button_clicked(self, widget):
|
||||
dialogs.AdvancedNotificationsWindow()
|
||||
|
||||
def on_play_sounds_checkbutton_toggled(self, widget):
|
||||
|
|
Loading…
Add table
Reference in a new issue