[gevice] removed gtk.glade dependences



commit 11e230b0113b6114cba482757beb666eaa0b79c7
Author: Alejandro Valdes Jimenez <avaldes gnome org>
Date:   Mon Jul 25 22:20:36 2011 -0400

    removed gtk.glade dependences

 ChangeLog               |   13 +++++++++++++
 README                  |    1 -
 configure.ac            |   10 ----------
 src/gevice.py           |    2 --
 src/gevicedevice.py     |    1 -
 src/gevicediagram.py    |    1 -
 src/geviceexport.py     |    2 +-
 src/gevicemaintainer.py |    1 -
 src/gevicemodel.py      |    1 -
 src/geviceprefer.py     |    2 --
 src/gevicevte.py        |    1 -
 11 files changed, 14 insertions(+), 21 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 056711c..dfaef16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,17 @@
 2011-07-25  Alejandro Valdes Jimenez  <avaldes gnome org>
+	* removed gtk.glade dependences.
+	* README:
+	* configure.ac:
+	* src/gevice.py:
+	* src/gevicedevice.py:
+	* src/gevicediagram.py:
+	* src/geviceexport.py:
+	* src/gevicemaintainer.py:
+	* src/gevicemodel.py:
+	* src/geviceprefer.py:
+	* src/gevicevte.py:
+
+2011-07-25  Alejandro Valdes Jimenez  <avaldes gnome org>
 	* data/apps.gevice.gschema.xml: add new file. Schema for GSettings
 
 2011-07-25  Alejandro Valdes Jimenez  <avaldes gnome org>
diff --git a/README b/README
index a40f4ec..301944d 100644
--- a/README
+++ b/README
@@ -14,7 +14,6 @@ it. See the COPYING file for details.
 python2.4-minimal
 python-gnome2-extras
 python-gnome2
-python-glade2
 python-gobject
 python-gtk2
 eog
diff --git a/configure.ac b/configure.ac
index a5da421..e4362b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,16 +80,6 @@ else
 	exit 1 
 fi
 
-MODULE_NAME="gtk.glade"
-$PYTHONC -c "import $MODULE_NAME" 2>/dev/null
-if test $? -eq 0
-then
-	AC_MSG_RESULT(checking for python module: $MODULE_NAME: found)
-else
-	AC_MSG_RESULT(checking for python module: $MODULE_NAME: not found)
-	exit 1 
-fi
-
 MODULE_NAME="gobject"
 $PYTHONC -c "import $MODULE_NAME" 2>/dev/null
 if test $? -eq 0
diff --git a/src/gevice.py b/src/gevice.py
index 89c674d..d494f31 100755
--- a/src/gevice.py
+++ b/src/gevice.py
@@ -24,7 +24,6 @@ import os.path
 import sys
 import gtk
 import gnome
-#import gtk.glade
 import psycopg2
 import gobject
 import pynotify
@@ -43,7 +42,6 @@ import gevicemaintainer
 
 import gettext
 gettext.textdomain(config.PACKAGE)
-gtk.glade.textdomain(config.PACKAGE)
 from gettext import gettext as _
 
 class Gevice:
diff --git a/src/gevicedevice.py b/src/gevicedevice.py
index 539c563..72f3ebd 100644
--- a/src/gevicedevice.py
+++ b/src/gevicedevice.py
@@ -1,6 +1,5 @@
 import pygtk
 pygtk.require('2.0')
-#import gtk.glade
 import gtk
 import os
 
diff --git a/src/gevicediagram.py b/src/gevicediagram.py
index 9ad08d4..2a4917a 100644
--- a/src/gevicediagram.py
+++ b/src/gevicediagram.py
@@ -1,6 +1,5 @@
 import pygtk
 pygtk.require('2.0')
-#import gtk.glade
 import gtk
 import os
 from pygraphviz import *
diff --git a/src/geviceexport.py b/src/geviceexport.py
index a732324..db78146 100644
--- a/src/geviceexport.py
+++ b/src/geviceexport.py
@@ -1,7 +1,7 @@
 import pygtk
 pygtk.require('2.0')
-import gtk.glade
 import os
+import gtk
 
 import gettext
 gettext.textdomain("gevice")
diff --git a/src/gevicemaintainer.py b/src/gevicemaintainer.py
index 37985b8..2360178 100644
--- a/src/gevicemaintainer.py
+++ b/src/gevicemaintainer.py
@@ -9,7 +9,6 @@ import config
 
 import gettext
 gettext.textdomain(config.PACKAGE)
-#gtk.glade.textdomain(config.PACKAGE)
 from gettext import gettext as _
 
 class GeviceMaintainer:
diff --git a/src/gevicemodel.py b/src/gevicemodel.py
index 36a2b6b..8936d28 100644
--- a/src/gevicemodel.py
+++ b/src/gevicemodel.py
@@ -1,7 +1,6 @@
 import pygtk
 pygtk.require('2.0')
 import gtk
-import gtk.glade
 import gobject
 
 import gettext
diff --git a/src/geviceprefer.py b/src/geviceprefer.py
index bfb6e75..f5f79c0 100644
--- a/src/geviceprefer.py
+++ b/src/geviceprefer.py
@@ -1,6 +1,5 @@
 import pygtk
 pygtk.require('2.0')
-#import gtk.glade
 import gtk
 import os
 import gconf
@@ -37,7 +36,6 @@ class GevicePrefer:
 	builder = gtk.Builder()
 	builder.add_from_file(os.path.join (config.UIDIR, "pref.xml"))
       
-        #glade_file = gtk.glade.XML (os.path.join (config.UIDIR, "gevice.xml"),"window_prefer",None)
         self.window_prefer = builder.get_object ("window_prefer")
         self.button_close_prefer = builder.get_object ("button_close_prefer")
         self.checkbutton_ip = builder.get_object ("checkbutton_ip")
diff --git a/src/gevicevte.py b/src/gevicevte.py
index cc354f7..b2eaf67 100644
--- a/src/gevicevte.py
+++ b/src/gevicevte.py
@@ -1,6 +1,5 @@
 import pygtk
 pygtk.require('2.0')
-import gtk.glade
 import vte
 import gtk.gdk
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]