[anjuta/python-support] python-support: Fix preferences UI and translation of files
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/python-support] python-support: Fix preferences UI and translation of files
- Date: Tue, 3 Aug 2010 19:27:57 +0000 (UTC)
commit a13629d2463ed1923231ae832746a442124e7118
Author: Johannes Schmid <jhs gnome org>
Date: Tue Aug 3 21:21:17 2010 +0200
python-support: Fix preferences UI and translation of files
plugins/language-support-python/plugin.c | 1 -
.../python-plugin-properties.ui | 70 ++------------------
po/POTFILES.in | 3 +
3 files changed, 9 insertions(+), 65 deletions(-)
---
diff --git a/plugins/language-support-python/plugin.c b/plugins/language-support-python/plugin.c
index 2102a81..2ab8397 100644
--- a/plugins/language-support-python/plugin.c
+++ b/plugins/language-support-python/plugin.c
@@ -68,7 +68,6 @@
#define PREF_INDENT_TAB_INDENTS "language.python.indent.tab.indents"
#define PREF_INDENT_STATEMENT_SIZE "language.python.indent.statement.size"
#define PREF_INDENT_BRACE_SIZE "language.python.indent.brace.size"
-#define PREF_BRACE_AUTOCOMPLETION "language.python.brace.autocompletion"
#define TAB_SIZE (ianjuta_editor_get_tabsize (editor, NULL))
diff --git a/plugins/language-support-python/python-plugin-properties.ui b/plugins/language-support-python/python-plugin-properties.ui
index ed14107..0881714 100755
--- a/plugins/language-support-python/python-plugin-properties.ui
+++ b/plugins/language-support-python/python-plugin-properties.ui
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy toplevel-contextual -->
@@ -61,7 +61,6 @@
<property name="draw_indicator">True</property>
</object>
<packing>
- <property name="x_options"></property>
<property name="y_options"></property>
</packing>
</child>
@@ -77,24 +76,11 @@
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
- <property name="x_options"></property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:language.python.indent.tab.indents">
- <property name="label" translatable="yes">Pressing tab indents</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options"></property>
- <property name="y_options"></property>
- </packing>
+ <placeholder/>
</child>
</object>
<packing>
@@ -158,7 +144,6 @@
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
- <property name="x_options"></property>
<property name="y_options"></property>
</packing>
</child>
@@ -169,7 +154,6 @@
<property name="label" translatable="yes">Statement indentation size in spaces:</property>
</object>
<packing>
- <property name="x_options"></property>
<property name="y_options"></property>
</packing>
</child>
@@ -230,30 +214,10 @@
<property name="border_width">5</property>
<property name="spacing">5</property>
<child>
- <object class="GtkSpinButton" id="preferences_spin:int:10:0:language.python.code.completion.choices">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="climb_rate">1</property>
- <property name="numeric">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
+ <placeholder/>
</child>
<child>
- <object class="GtkLabel" id="label1295">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="yalign">0</property>
- <property name="label" translatable="yes">Autocompletion pop up choices</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
+ <placeholder/>
</child>
</object>
<packing>
@@ -273,8 +237,6 @@
<property name="draw_indicator">True</property>
</object>
<packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
@@ -307,18 +269,7 @@
</packing>
</child>
<child>
- <object class="GtkCheckButton" id="preferences_toggle:bool:0:1:language.python.brace.autocompletion">
- <property name="label" translatable="yes">Enable smart brace completion</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="border_width">5</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="position">4</property>
- </packing>
+ <placeholder/>
</child>
</object>
</child>
@@ -327,7 +278,7 @@
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
- <property name="label" translatable="yes"><b>Autocompletion (C/C++/Java only)</b></property>
+ <property name="label" translatable="yes"><b>Autocompletion</b></property>
<property name="use_markup">True</property>
</object>
</child>
@@ -362,8 +313,6 @@
<property name="draw_indicator">True</property>
</object>
<packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
@@ -409,7 +358,6 @@
<child>
<object class="GtkVBox" id="vbox2">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<object class="GtkTable" id="table1">
@@ -435,12 +383,6 @@
<child>
<object class="GtkComboBoxEntry" id="comboboxentry1">
<property name="visible">True</property>
- <child internal-child="entry">
- <object class="GtkEntry" id="preferences_entry:text:/usr/bin/python:0:language.python.interpreter.path">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </object>
- </child>
</object>
<packing>
<property name="expand">False</property>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9e18112..9014049 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -261,6 +261,9 @@ plugins/debug-manager/anjuta-debug-manager.schemas.in
[type: gettext/glade]plugins/language-support-cpp-java/anjuta-language-cpp-java.ui
plugins/language-support-cpp-java/plugin.c
plugins/language-support-cpp-java/cpp-java-assist.c
+plugins/language-support-python/plugin.c
+plugins/language-support-python/python-assist.c
+[type: gettext/glade]plugins/language-support-python/python-plugin-properties.ui
plugins/sourceview/plugin.c
[type: gettext/ini]plugins/gdb/anjuta-gdb.plugin.in
[type: gettext/ini]plugins/git/git.plugin.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]