don't show text formating button for 0.8 release

This commit is contained in:
Yann Leboulanger 2005-07-01 17:55:41 +00:00
parent d72a25788a
commit c53a3286bd
4 changed files with 6 additions and 7 deletions

View File

@ -302,6 +302,10 @@ class Chat:
self.show_title() self.show_title()
def new_tab(self, jid): def new_tab(self, jid):
#FIXME: text formating buttons will be hidden in 0.8 release
for w in ['bold_togglebutton', 'italic_togglebutton', 'underline_togglebutton']:
self.xmls[jid].get_widget(w).set_no_show_all(True)
self.set_compact_view(self.always_compact_view) self.set_compact_view(self.always_compact_view)
self.nb_unread[jid] = 0 self.nb_unread[jid] = 0
self.last_message_time[jid] = 0 self.last_message_time[jid] = 0
@ -388,10 +392,6 @@ class Chat:
xm.signal_connect('on_close_button_clicked', xm.signal_connect('on_close_button_clicked',
self.on_close_button_clicked, jid) self.on_close_button_clicked, jid)
#FIXME: text formating buttons will be hidden in 0.8 release
for w in ['bold_togglebutton', 'italic_togglebutton', 'underline_togglebutton']:
self.xmls[jid].get_widget(w).set_no_show_all(True)
child = self.childs[jid] child = self.childs[jid]
self.notebook.append_page(child, tab_hbox) self.notebook.append_page(child, tab_hbox)

View File

@ -865,6 +865,7 @@ class GroupchatWindow(chat.Chat):
self.show_title() self.show_title()
self.set_subject(room_jid, '') # Set an empty subject to show the room_jid self.set_subject(room_jid, '') # Set an empty subject to show the room_jid
conversation_textview.grab_focus() conversation_textview.grab_focus()
self.childs[room_jid].show_all()
def on_treeview_size_allocate(self, widget, allocation): def on_treeview_size_allocate(self, widget, allocation):
"""The MUC treeview has resized. Move the hpaneds in all tabs to match""" """The MUC treeview has resized. Move the hpaneds in all tabs to match"""

View File

@ -8318,7 +8318,6 @@ Custom</property>
<child> <child>
<widget class="GtkVBox" id="gc_vbox"> <widget class="GtkVBox" id="gc_vbox">
<property name="border_width">3</property> <property name="border_width">3</property>
<property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">1</property> <property name="spacing">1</property>
@ -8522,7 +8521,6 @@ Custom</property>
<child> <child>
<widget class="GtkHBox" id="input_hbox"> <widget class="GtkHBox" id="input_hbox">
<property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">1</property> <property name="spacing">1</property>
@ -9775,7 +9773,6 @@ Custom</property>
<child> <child>
<widget class="GtkVBox" id="chats_vbox"> <widget class="GtkVBox" id="chats_vbox">
<property name="border_width">3</property> <property name="border_width">3</property>
<property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">1</property> <property name="spacing">1</property>

View File

@ -262,6 +262,7 @@ class TabbedChatWindow(chat.Chat):
self.read_queue(user.jid) self.read_queue(user.jid)
gajim.connections[self.account].request_vcard(user.jid) gajim.connections[self.account].request_vcard(user.jid)
self.childs[user.jid].show_all()
def on_message_textview_key_press_event(self, widget, event): def on_message_textview_key_press_event(self, widget, event):
"""When a key is pressed: """When a key is pressed: