# HG changeset patch
# User Simon Heimberg <[email protected]>
# Date 1236322606 -3600
# Node ID 40b1668fdbeea978b6f49c5b074d3a8857bd7c87
# Parent  7d664d38d11a7a4a550e41e59b78d6b9a062cf17
synch: allow to select bundle files with any name

an example are the files in .hg/strip-backup

diff -r 7d664d38d11a -r 40b1668fdbee hggtk/synch.py
--- a/hggtk/synch.py    Thu Mar 05 10:28:42 2009 +0100
+++ b/hggtk/synch.py    Fri Mar 06 07:56:46 2009 +0100
@@ -359,6 +359,10 @@
         filefilter.set_name("Bundle (*.hg)")
         filefilter.add_pattern("*.hg")
         dialog.add_filter(filefilter)
+        filefilter = gtk.FileFilter()
+        filefilter.set_name("Bundle (*)")
+        filefilter.add_pattern("*")
+        dialog.add_filter(filefilter)
         response = dialog.run()
         if response == gtk.RESPONSE_OK:
             self._pathtext.set_text(dialog.get_filename())


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to