Tue, 29 Apr 2008 20:21:45 +0200 <thp@perli.net>

Fix problems with resizing the treeview on Maemo

	* src/gpodder/gui.py: Fix problems with treeview resizing and remove
	printing the percentage
	* bin/gpodder: We're in development again, so "+svn"



git-svn-id: svn://svn.berlios.de/gpodder/trunk@697 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
Thomas Perl 2008-04-29 18:22:55 +00:00
parent 17df94a5a4
commit e94647da6b
3 changed files with 12 additions and 4 deletions

View file

@ -1,3 +1,10 @@
Tue, 29 Apr 2008 20:21:45 +0200 <thp@perli.net>
Fix problems with resizing the treeview on Maemo
* src/gpodder/gui.py: Fix problems with treeview resizing and remove
printing the percentage
* bin/gpodder: We're in development again, so "+svn"
Sat, 26 Apr 2008 08:34:37 +0200 <thp@perli.net>
Merge gPodder 0.11.2 release stuff and German translation update

View file

@ -30,7 +30,7 @@ or played back on the user's desktop.
# PLEASE DO NOT CHANGE FORMAT OF __version__ LINE (setup.py reads this)
__author__ = "Thomas Perl <thp@perli.net>"
__version__ = "0.11.2"
__version__ = "0.11.2+svn"
__date__ = "2008-04-26"
__copyright__ = "Copyright (c) 2005-2008 %s. All rights reserved." % __author__
__licence__ = "GPL"

View file

@ -482,9 +482,10 @@ class gPodder(GladeWidget):
def on_tree_channels_resize(self, widget, allocation):
window_allocation = self.gPodder.get_allocation()
percentage = 100. * float(allocation.width) / float(window_allocation.width)
print percentage
self.cell_channel_icon.set_property('visible', bool(percentage > 24.))
self.cell_channel_pill.set_property('visible', bool(percentage > 28.))
if hasattr(self, 'cell_channel_icon'):
self.cell_channel_icon.set_property('visible', bool(percentage > 24.))
if hasattr(self, 'cell_channel_pill'):
self.cell_channel_pill.set_property('visible', bool(percentage > 28.))
def read_apps(self):
time.sleep(3) # give other parts of gpodder a chance to start up