backport diff from 0.12 branch
This commit is contained in:
parent
45f9366d58
commit
7163be96e0
|
@ -1,3 +1,10 @@
|
|||
Gajim 0.12.1 (21 December 2008)
|
||||
|
||||
* Fix filetransfer
|
||||
* Updated german translation
|
||||
* Fix click on notifications when text string is empty
|
||||
* Improve systray popup menu
|
||||
|
||||
Gajim 0.12 (17 December 2008)
|
||||
|
||||
* Fix text rendering in notifications
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
gajim (0.12-1) unstable; urgency=low
|
||||
gajim (0.12.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Fix coming back from suspend. Closes: #500523
|
||||
|
@ -15,7 +15,7 @@ gajim (0.12-1) unstable; urgency=low
|
|||
* Depends on libc6 for gtkspell.so module
|
||||
* Build Gajim modules against python2.5
|
||||
|
||||
-- Yann Leboulanger <asterix@lagaule.org> Wed, 17 Dec 2008 10:02:52 +0100
|
||||
-- Yann Leboulanger <asterix@lagaule.org> Wed, 21 Dec 2008 14:40:16 +0100
|
||||
|
||||
gajim (0.11.4-1) unstable; urgency=low
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ Section "Gajim" SecGajim
|
|||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayName" "Gajim"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "UninstallString" "$INSTDIR\Uninstall.exe"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayIcon" "$INSTDIR\bin\Gajim.exe"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayVersion" "0.12"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayVersion" "0.12.1"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "URLInfoAbout" "http://www.gajim.org/"
|
||||
WriteUninstaller "$INSTDIR\Uninstall.exe"
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ from shutil import move, copy, copytree, rmtree
|
|||
|
||||
GTK_DIR="/Library/Frameworks/GTK+.framework/Versions/Current"
|
||||
NAME = 'Gajim'
|
||||
VERSION = '0.12'
|
||||
VERSION = '0.12.1'
|
||||
DESCRIPTION = 'A full featured Jabber client'
|
||||
AUTHOR = 'Gajim Development Team'
|
||||
URL = 'http://www.gajim.org/'
|
||||
|
|
|
@ -71,7 +71,7 @@ opts = {
|
|||
|
||||
setup(
|
||||
name = 'Gajim',
|
||||
version = '0.12',
|
||||
version = '0.12.1',
|
||||
description = 'A full featured Jabber client',
|
||||
author = 'Gajim Development Team',
|
||||
url = 'http://www.gajim.org/',
|
||||
|
|
|
@ -185,6 +185,8 @@ class Systray:
|
|||
if connected_accounts < 1:
|
||||
item.set_sensitive(False)
|
||||
|
||||
connected_accounts_with_private_storage = 0
|
||||
|
||||
item = gtk.SeparatorMenuItem()
|
||||
sub_menu.append(item)
|
||||
|
||||
|
@ -200,26 +202,62 @@ class Systray:
|
|||
single_message_menuitem.set_sensitive(iskey)
|
||||
join_gc_menuitem.set_sensitive(iskey)
|
||||
|
||||
if connected_accounts >= 2: # 2 or more connections? make submenus
|
||||
accounts_list = sorted(gajim.contacts.get_accounts())
|
||||
# items that get shown whether an account is zeroconf or not
|
||||
if connected_accounts > 1: # 2 or more connections? make submenus
|
||||
account_menu_for_chat_with = gtk.Menu()
|
||||
chat_with_menuitem.set_submenu(account_menu_for_chat_with)
|
||||
self.popup_menus.append(account_menu_for_chat_with)
|
||||
|
||||
account_menu_for_single_message = gtk.Menu()
|
||||
single_message_menuitem.set_submenu(
|
||||
account_menu_for_single_message)
|
||||
self.popup_menus.append(account_menu_for_single_message)
|
||||
|
||||
accounts_list = sorted(gajim.contacts.get_accounts())
|
||||
for account in accounts_list:
|
||||
if gajim.connections[account].is_zeroconf:
|
||||
continue
|
||||
if gajim.connections[account].connected > 1:
|
||||
if gajim.account_is_connected(account):
|
||||
# for chat_with
|
||||
item = gtk.MenuItem(_('using account %s') % account)
|
||||
account_menu_for_chat_with.append(item)
|
||||
item.connect('activate', self.on_new_chat, account)
|
||||
|
||||
elif connected_accounts == 1: # one account
|
||||
# one account connected, no need to show 'as jid'
|
||||
for account in gajim.connections:
|
||||
if gajim.connections[account].connected > 1:
|
||||
# for start chat
|
||||
self.new_chat_handler_id = chat_with_menuitem.connect(
|
||||
'activate', self.on_new_chat, account)
|
||||
break # No other connected account
|
||||
|
||||
# menu items that don't apply to zeroconf connections
|
||||
if connected_accounts == 1 or (connected_accounts == 2 and \
|
||||
gajim.zeroconf_is_connected()):
|
||||
# only one 'real' (non-zeroconf) account is connected, don't need
|
||||
# submenus
|
||||
for account in gajim.connections:
|
||||
if gajim.account_is_connected(account) and \
|
||||
not gajim.config.get_per('accounts', account, 'is_zeroconf'):
|
||||
if gajim.connections[account].private_storage_supported:
|
||||
connected_accounts_with_private_storage += 1
|
||||
|
||||
# for single message
|
||||
single_message_menuitem.remove_submenu()
|
||||
self.single_message_handler_id = single_message_menuitem.\
|
||||
connect('activate',
|
||||
self.on_single_message_menuitem_activate, account)
|
||||
# join gc
|
||||
gajim.interface.roster.add_bookmarks_list(gc_sub_menu,
|
||||
account)
|
||||
break # No other account connected
|
||||
else:
|
||||
# 2 or more 'real' accounts are connected, make submenus
|
||||
account_menu_for_single_message = gtk.Menu()
|
||||
single_message_menuitem.set_submenu(
|
||||
account_menu_for_single_message)
|
||||
self.popup_menus.append(account_menu_for_single_message)
|
||||
|
||||
for account in accounts_list:
|
||||
if gajim.connections[account].is_zeroconf or \
|
||||
not gajim.account_is_connected(account):
|
||||
continue
|
||||
if gajim.connections[account].private_storage_supported:
|
||||
connected_accounts_with_private_storage += 1
|
||||
# for single message
|
||||
item = gtk.MenuItem(_('using account %s') % account)
|
||||
item.connect('activate',
|
||||
|
@ -235,23 +273,6 @@ class Systray:
|
|||
gc_item.set_submenu(gc_menuitem_menu)
|
||||
gc_sub_menu.show_all()
|
||||
|
||||
elif connected_accounts == 1: # one account
|
||||
# one account connected, no need to show 'as jid'
|
||||
for account in gajim.connections:
|
||||
if gajim.connections[account].connected > 1:
|
||||
self.new_chat_handler_id = chat_with_menuitem.connect(
|
||||
'activate', self.on_new_chat, account)
|
||||
# for single message
|
||||
single_message_menuitem.remove_submenu()
|
||||
self.single_message_handler_id = single_message_menuitem.\
|
||||
connect('activate',
|
||||
self.on_single_message_menuitem_activate, account)
|
||||
|
||||
# join gc
|
||||
gajim.interface.roster.add_bookmarks_list(gc_sub_menu,
|
||||
account)
|
||||
break # No other connected account
|
||||
|
||||
newitem = gtk.SeparatorMenuItem() # separator
|
||||
gc_sub_menu.append(newitem)
|
||||
newitem = gtk.ImageMenuItem(_('_Manage Bookmarks...'))
|
||||
|
@ -260,6 +281,8 @@ class Systray:
|
|||
newitem.connect('activate',
|
||||
gajim.interface.roster.on_manage_bookmarks_menuitem_activate)
|
||||
gc_sub_menu.append(newitem)
|
||||
if connected_accounts_with_private_storage == 0:
|
||||
newitem.set_sensitive(False)
|
||||
|
||||
sounds_mute_menuitem.set_active(not gajim.config.get('sounds_on'))
|
||||
|
||||
|
|
Loading…
Reference in New Issue