Commit a13629d2 authored by Johannes Schmid's avatar Johannes Schmid

python-support: Fix preferences UI and translation of files

parent e67be1ef
......@@ -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))
......
<?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">&lt;b&gt;Autocompletion (C/C++/Java only)&lt;/b&gt;</property>
<property name="label" translatable="yes">&lt;b&gt;Autocompletion&lt;/b&gt;</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>
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment