[dots] dotscmd: import pygtk on the main program
- From: Fernando Herrera de las Heras <fherrera src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dots] dotscmd: import pygtk on the main program
- Date: Fri, 16 Jul 2010 00:03:49 +0000 (UTC)
commit 9e0a8bf8423d4241ff9e94dbd31dbf09f0d558dc
Author: Fernando Herrera <fherrera onirica com>
Date: Fri Jul 16 01:22:23 2010 +0200
dotscmd: import pygtk on the main program
TODO | 4 +---
bin/dotscmd | 3 +++
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/TODO b/TODO
index 4f38bd1..ceee84e 100644
--- a/TODO
+++ b/TODO
@@ -3,7 +3,5 @@
when importing odt documents.
when pdf has no text
- Edit the text
-- .desktop file
- basic packaging
-- Docs
-
+- Escape file names when building uris
diff --git a/bin/dotscmd b/bin/dotscmd
index aa91f01..3974233 100755
--- a/bin/dotscmd
+++ b/bin/dotscmd
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+import pygtk
+pygtk.require('2.0')
+
import os
from sys import exit
from dots import host_settings
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]