fix the menuitem. Sorry for bad command in my previous commit
This commit is contained in:
parent
13571fb891
commit
b6918879b5
|
@ -306,10 +306,7 @@ class Roster_window:
|
||||||
our_jid = gajim.config.get_per('accounts', account, 'name') + '@' +\
|
our_jid = gajim.config.get_per('accounts', account, 'name') + '@' +\
|
||||||
gajim.config.get_per('accounts', account, 'hostname')
|
gajim.config.get_per('accounts', account, 'hostname')
|
||||||
lbl = gtk.Label()
|
lbl = gtk.Label()
|
||||||
lbl.set_markup('<b>abc</b>')
|
item = gtk.MenuItem(_('as ') + our_jid)
|
||||||
item = gtk.MenuItem()
|
|
||||||
item.add(lbl)
|
|
||||||
#item = gtk.MenuItem(_('as ') + our_jid)
|
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.on_join_gc_activate, account)
|
item.connect('activate', self.on_join_gc_activate, account)
|
||||||
sub_menu.show_all()
|
sub_menu.show_all()
|
||||||
|
|
Loading…
Reference in New Issue