[anjuta] python-support: Fixed interpreter path preferences and schemas generation



commit cde1cc3263f54b44cc90caf7f2db20a39df20eed
Author: Johannes Schmid <jhs gnome org>
Date:   Tue Aug 10 19:37:56 2010 +0200

    python-support: Fixed interpreter path preferences and schemas generation

 plugins/language-support-python/Makefile.am        |    3 +
 .../python-plugin-properties.ui                    |   58 ++++++++++----------
 2 files changed, 32 insertions(+), 29 deletions(-)
---
diff --git a/plugins/language-support-python/Makefile.am b/plugins/language-support-python/Makefile.am
index b2aa819..3c54cda 100644
--- a/plugins/language-support-python/Makefile.am
+++ b/plugins/language-support-python/Makefile.am
@@ -40,6 +40,9 @@ libpython_plugin_la_SOURCES = plugin.c plugin.h python-assist.c python-assist.h
 libpython_plugin_la_LIBADD = \
 	$(LIBANJUTA_LIBS) 
 
+prefs_ui_files = $(python_plugin_glade_DATA)
+include $(top_srcdir)/scripts/build-schemas.mk
+
 EXTRA_DIST = \
 	$(plugin_in_files) \
 	$(python_plugin_plugin_DATA) \
diff --git a/plugins/language-support-python/python-plugin-properties.ui b/plugins/language-support-python/python-plugin-properties.ui
index 0881714..d174a0d 100755
--- a/plugins/language-support-python/python-plugin-properties.ui
+++ b/plugins/language-support-python/python-plugin-properties.ui
@@ -2,32 +2,6 @@
 <interface>
   <requires lib="gtk+" version="2.16"/>
   <!-- interface-naming-policy toplevel-contextual -->
-  <object class="GtkWindow" id="window1">
-    <property name="title" translatable="yes">window1</property>
-    <child>
-      <object class="GtkHBox" id="top_widget">
-        <property name="visible">True</property>
-        <child>
-          <object class="GtkScrolledWindow" id="scrolledwindow1">
-            <property name="visible">True</property>
-            <property name="can_focus">True</property>
-            <property name="hscrollbar_policy">automatic</property>
-            <property name="vscrollbar_policy">automatic</property>
-            <property name="shadow_type">in</property>
-            <child>
-              <object class="GtkTextView" id="textview1">
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-              </object>
-            </child>
-          </object>
-          <packing>
-            <property name="position">0</property>
-          </packing>
-        </child>
-      </object>
-    </child>
-  </object>
   <object class="GtkWindow" id="python_preferences_dialog">
     <property name="title" translatable="yes">window1</property>
     <child>
@@ -381,12 +355,12 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkComboBoxEntry" id="comboboxentry1">
+                          <object class="GtkEntry" id="preferences_entry:text:/usr/bin/python:1:language.python.interpreter.path">
                             <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="invisible_char">â??</property>
                           </object>
                           <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
                             <property name="position">1</property>
                           </packing>
                         </child>
@@ -459,4 +433,30 @@
       </object>
     </child>
   </object>
+  <object class="GtkWindow" id="window1">
+    <property name="title" translatable="yes">window1</property>
+    <child>
+      <object class="GtkHBox" id="top_widget">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkScrolledWindow" id="scrolledwindow1">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="hscrollbar_policy">automatic</property>
+            <property name="vscrollbar_policy">automatic</property>
+            <property name="shadow_type">in</property>
+            <child>
+              <object class="GtkTextView" id="textview1">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+  </object>
 </interface>



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