Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2012-10-29 18:04:48 +0400
committerYann Leboulanger <asterix@lagaule.org>2012-10-29 18:04:48 +0400
commit858573eab3a46ff28042fd89e09779d1aa33c51b (patch)
treea9ec06b011dfda171c2f00d1f49912f8dae8c7cb /file_sharing/fileshare_window.py
parent59d4087377cc0b36556f9dbc63006e77b3a75520 (diff)
fix expanding folders
Diffstat (limited to 'file_sharing/fileshare_window.py')
-rw-r--r--file_sharing/fileshare_window.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/file_sharing/fileshare_window.py b/file_sharing/fileshare_window.py
index 6c479f9..e9e19c1 100644
--- a/file_sharing/fileshare_window.py
+++ b/file_sharing/fileshare_window.py
@@ -28,7 +28,7 @@ class FileShareWindow(gtk.Window):
self.tv_search = gtk.TreeView(self.ts_search)
self.tv_search.connect('row-expanded', self.row_expanded)
self.tv_search.connect('button-press-event',
- self.on_treeview_button_press_event)
+ self.on_treeview_button_press_event)
self.browse_popup = gtk.Menu()
mi_download = gtk.MenuItem('Download')
mi_property = gtk.MenuItem('Property')
@@ -332,7 +332,8 @@ class FileShareWindow(gtk.Window):
toplevel = treestore.get_iter_root()
while toplevel:
if treestore.is_ancestor(toplevel, iter_):
- return treestore.get_value(toplevel, 0)
+ return gajim.get_jid_without_resource(treestore.get_value(
+ toplevel, 0))
toplevel = treestore.iter_next(toplevel)
def on_treeview_button_press_event(self, treeview, event):