do not show the roster widows before it is positionned

This commit is contained in:
Yann Leboulanger 2005-03-21 09:27:10 +00:00
parent cef48f8b1e
commit 8224f38256
2 changed files with 9070 additions and 9074 deletions

View File

@ -6,7 +6,6 @@
<widget class="GtkWindow" id="gajim_window"> <widget class="GtkWindow" id="gajim_window">
<property name="width_request">85</property> <property name="width_request">85</property>
<property name="height_request">200</property> <property name="height_request">200</property>
<property name="visible">True</property>
<property name="title" translatable="yes">Gajim</property> <property name="title" translatable="yes">Gajim</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
@ -70,8 +69,7 @@
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image465"> <widget class="GtkImage" id="image465">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-connect</property> <property name="pixbuf">gtk-connect</property>
<property name="icon_size">1</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
@ -134,8 +132,7 @@
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image467"> <widget class="GtkImage" id="image467">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-about</property> <property name="pixbuf">gtk-about</property>
<property name="icon_size">1</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>

View File

@ -1261,7 +1261,6 @@ class roster_window:
if self.plugin.config.has_key('mergeaccounts'): if self.plugin.config.has_key('mergeaccounts'):
self.regroup = self.plugin.config['mergeaccounts'] self.regroup = self.plugin.config['mergeaccounts']
if self.plugin.config.has_key('saveposition'): if self.plugin.config.has_key('saveposition'):
self.window.hide()
if self.plugin.config['saveposition']: if self.plugin.config['saveposition']:
if self.plugin.config.has_key('x-position') and \ if self.plugin.config.has_key('x-position') and \
self.plugin.config.has_key('y-position'): self.plugin.config.has_key('y-position'):
@ -1271,7 +1270,7 @@ class roster_window:
self.plugin.config.has_key('height'): self.plugin.config.has_key('height'):
self.window.resize(self.plugin.config['width'], \ self.window.resize(self.plugin.config['width'], \
self.plugin.config['height']) self.plugin.config['height'])
self.window.show_all() self.window.show_all()
self.groups = {} self.groups = {}
self.contacts = {} self.contacts = {}
for a in self.plugin.accounts.keys(): for a in self.plugin.accounts.keys():