hide advanced notification control button. fixes #2738

This commit is contained in:
Yann Leboulanger 2006-12-05 09:54:18 +00:00
parent f6546ccfe5
commit 46cb1d9f92
3 changed files with 13 additions and 4 deletions

View File

@ -277,7 +277,14 @@
<child>
<widget class="GtkComboBox" id="event_combobox">
<property name="visible">True</property>
<property name="items" translatable="yes">Receive a Message</property>
<property name="items" translatable="yes">Receive a Message
Contact Disconnected
Contact Change Status
Group Chat Message Highlight
Group Chat Message Received
File Transfert Resquest
File Transfert Started
File Transfert Finished</property>
<property name="add_tearoffs">False</property>
<property name="focus_on_click">True</property>
<signal name="changed" handler="on_event_combobox_changed" last_modification_time="Sun, 09 Jul 2006 01:54:11 GMT"/>

View File

@ -85,6 +85,11 @@ class PreferencesWindow:
self.one_window_type_combobox =\
self.xml.get_widget('one_window_type_combobox')
#FIXME: remove when ANC will be implemented
w = self.xml.get_widget('hbox3020')
w.set_no_show_all(True)
w.hide()
#trayicon
if gajim.interface.systray_capabilities:
st = gajim.config.get('trayicon')

View File

@ -2458,9 +2458,6 @@ class AdvancedNotificationsWindow:
'run_command_cb', 'command_entry', 'urgency_hint_cb'):
self.__dict__[w] = self.xml.get_widget(w)
#FIXME: remove when this will be implemented
self.urgency_hint_cb.set_no_show_all(True)
self.urgency_hint_cb.hide()
# Contains status checkboxes
childs = self.status_hbox.get_children()