anjuta r3856 - in trunk: . libanjuta plugins/language-support-cpp-java
- From: naba svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3856 - in trunk: . libanjuta plugins/language-support-cpp-java
- Date: Sat, 12 Apr 2008 22:29:36 +0100 (BST)
Author: naba
Date: Sat Apr 12 22:29:36 2008
New Revision: 3856
URL: http://svn.gnome.org/viewvc/anjuta?rev=3856&view=rev
Log:
* libanjuta/anjuta-preferences.c (register_callbacks): Fixed a typo.
* plugins/language-support-cpp-java/anjuta-language-cpp-java.glade:
Do not enable brace autocompletion by defualt because it annoying for
fast typist (i.e. it\'s easier to type ending brace than move carat)
and it\'s currently broken for scintilla.
Modified:
trunk/ChangeLog
trunk/libanjuta/anjuta-preferences.c
trunk/plugins/language-support-cpp-java/anjuta-language-cpp-java.glade
Modified: trunk/libanjuta/anjuta-preferences.c
==============================================================================
--- trunk/libanjuta/anjuta-preferences.c (original)
+++ trunk/libanjuta/anjuta-preferences.c Sat Apr 12 22:29:36 2008
@@ -996,7 +996,10 @@
}
if (!gconf_valid_key (build_key (p->key), &key_error_msg))
{
- g_warning ("Invalid key \"%s\": Error: \"%s\"", build_key (p->key),
+ g_warning ("Invalid key * src/Makefile.am: Added libglade flags. patch from Marc Oude Kotte.
+ * src/about.c (on_about_plugin_activate): Removed dead code.
+ * src/main.c: Make smaller include.
+"%s\": Error: \"%s\"", build_key (p->key),
key_error_msg);
g_free (key_error_msg);
}
@@ -1296,7 +1299,7 @@
* anjuta_preferences_register_property_from_string:
* @pr: a #AnjutaPreferences object
* @object: Widget to register
- * @property_desc: Property description (see anjuta_preferences_add_pag())
+ * @property_desc: Property description (see anjuta_preferences_add_page())
*
* This registers only one widget. The widget could be shown elsewhere.
* the property_description should be of the form described before.
Modified: trunk/plugins/language-support-cpp-java/anjuta-language-cpp-java.glade
==============================================================================
--- trunk/plugins/language-support-cpp-java/anjuta-language-cpp-java.glade (original)
+++ trunk/plugins/language-support-cpp-java/anjuta-language-cpp-java.glade Sat Apr 12 22:29:36 2008
@@ -27,16 +27,16 @@
<property name="column_spacing">5</property>
<property name="row_spacing">5</property>
<child>
- <widget class="GtkCheckButton" id="preferences_toggle:bool:1:1:language.cpp.indent.tab.indents">
+ <widget class="GtkCheckButton" id="preferences_toggle:bool:1:1:language.cpp.indent.automatic">
+ <property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Pressing tab indents</property>
+ <property name="label" translatable="yes">Enable smart indentation</property>
<property name="use_underline">True</property>
+ <property name="xalign">0</property>
<property name="response_id">0</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
@@ -58,16 +58,16 @@
</packing>
</child>
<child>
- <widget class="GtkCheckButton" id="preferences_toggle:bool:1:1:language.cpp.indent.automatic">
- <property name="visible">True</property>
+ <widget class="GtkCheckButton" id="preferences_toggle:bool:1:1:language.cpp.indent.tab.indents">
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Enable smart indentation</property>
+ <property name="label" translatable="yes">Pressing tab indents</property>
<property name="use_underline">True</property>
- <property name="xalign">0</property>
<property name="response_id">0</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
@@ -95,26 +95,19 @@
<property name="column_spacing">5</property>
<property name="row_spacing">5</property>
<child>
- <widget class="GtkLabel" id="label123">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Statement indentation size in spaces:</property>
- </widget>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label12353">
+ <widget class="GtkSpinButton" id="preferences_spin:int:0:1:language.cpp.indent.brace.size">
<property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Brace indentation size in spaces:</property>
+ <property name="can_focus">True</property>
+ <property name="adjustment">0 0 100 1 10 10</property>
+ <property name="climb_rate">1</property>
+ <property name="numeric">True</property>
</widget>
<packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
+ <property name="x_options"></property>
<property name="y_options"></property>
</packing>
</child>
@@ -134,19 +127,26 @@
</packing>
</child>
<child>
- <widget class="GtkSpinButton" id="preferences_spin:int:0:1:language.cpp.indent.brace.size">
+ <widget class="GtkLabel" id="label12353">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">0 0 100 1 10 10</property>
- <property name="climb_rate">1</property>
- <property name="numeric">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Brace indentation size in spaces:</property>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
- <property name="x_options"></property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label123">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Statement indentation size in spaces:</property>
+ </widget>
+ <packing>
+ <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
@@ -291,7 +291,7 @@
</packing>
</child>
<child>
- <widget class="GtkCheckButton" id="preferences_toggle:bool:1:1:language.cpp.brace.autocompletion">
+ <widget class="GtkCheckButton" id="preferences_toggle:bool:0:1:language.cpp.brace.autocompletion">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]