diff -ru original/gajim/data/glade/popup_notification_window.glade patched/gajim/data/glade/popup_notification_window.glade
|
old
|
new
|
|
| 4 | 4 | <glade-interface> |
| 5 | 5 | |
| 6 | 6 | <widget class="GtkWindow" id="popup_notification_window"> |
| 7 | | <property name="border_width">6</property> |
| | 7 | <property name="border_width">1</property> |
| 8 | 8 | <property name="width_request">312</property> |
| 9 | 9 | <property name="height_request">95</property> |
| 10 | 10 | <property name="title" translatable="yes"></property> |
diff -ru original/gajim/src/common/config.py patched/gajim/src/common/config.py
|
old
|
new
|
|
| 46 | 46 | |
| 47 | 47 | __options = { |
| 48 | 48 | # name: [ type, default_value, help_string ] |
| | 49 | 'notify_only_on_the_first_message': [ opt_bool, True ], |
| 49 | 50 | 'verbose': [ opt_bool, False, '', True ], |
| 50 | 51 | 'alwaysauth': [ opt_bool, False ], |
| 51 | 52 | 'autopopup': [ opt_bool, False ], |
diff -ru original/gajim/src/common/helpers.py patched/gajim/src/common/helpers.py
|
old
|
new
|
|
| 782 | 782 | return True |
| 783 | 783 | if popup == 'no': |
| 784 | 784 | return False |
| 785 | | if type and (not gajim.config.get(type) or not is_first_message): |
| | 785 | #-->if type and (not gajim.config.get(type) or not is_first_message): <--# |
| | 786 | if type and (not gajim.config.get(type)): |
| | 787 | return False |
| | 788 | if type and not is_first_message and gajim.config.get('notify_only_on_the_first_message'): |
| 786 | 789 | return False |
| 787 | 790 | if gajim.config.get('autopopupaway'): # always show notification |
| 788 | 791 | return True |