gcalctool r2473 - in trunk: . data gcalctool glade



Author: rancell
Date: Mon Apr  6 02:04:54 2009
New Revision: 2473
URL: http://svn.gnome.org/viewvc/gcalctool?rev=2473&view=rev

Log:
Convert Glade UI to GtkBuilder UI (Robert Ancell, David King, Bug #556807)

Added:
   trunk/data/   (props changed)
   trunk/data/Makefile.am
   trunk/data/financial.ui
   trunk/data/gcalctool.desktop.in   (props changed)
      - copied unchanged from r2467, /trunk/gcalctool.desktop.in
   trunk/data/gcalctool.schemas   (props changed)
      - copied unchanged from r2467, /trunk/gcalctool.schemas
   trunk/data/gcalctool.ui
Removed:
   trunk/gcalctool.desktop.in
   trunk/gcalctool.schemas
   trunk/glade/
Modified:
   trunk/   (props changed)
   trunk/ChangeLog
   trunk/Makefile.am
   trunk/configure.in
   trunk/gcalctool/Makefile.am
   trunk/gcalctool/gtk.c

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Mon Apr  6 02:04:54 2009
@@ -26,15 +26,9 @@
 	intltool-extract        \
 	intltool-merge          \
 	intltool-update		\
-	gnome-doc-utils.make	\
-	gcalctool.desktop
-
-SUBDIRS = po gcalctool glade help m4
-
-SCHEMAS_FILE = gcalctool.schemas
+	gnome-doc-utils.make
 
-schemadir = $(GCONF_SCHEMA_FILE_DIR)
-schema_DATA = $(SCHEMAS_FILE)
+SUBDIRS = po gcalctool data help m4
 
 EXTRA_DIST = \
 	autogen.sh \
@@ -46,22 +40,9 @@
 	MAINTAINERS \
 	TODO \
 	gcalctoolrc \
-	gcalctool.desktop.in \
 	gnome-doc-utils.make	\
 	intltool-extract.in     \
 	intltool-merge.in       \
 	intltool-update.in      \
-	$(schema_DATA) \
 	omf.make \
 	xmldocs.make
-
-Utilitiesdir = $(datadir)/applications
-Utilities_in_files = gcalctool.desktop.in
-Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop)
- INTLTOOL_DESKTOP_RULE@
-
-if GCONF_SCHEMAS_INSTALL
-# Install the gcalctool schema file.
-install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
-endif

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Mon Apr  6 02:04:54 2009
@@ -18,7 +18,7 @@
 AC_SUBST(ATK_CFLAGS)
 AC_SUBST(ATK_LIBS)
 
-pkg_modules="gtk+-2.0 >= 2.14.0 gobject-2.0 gdk-x11-2.0 glib-2.0 atk gdk-pixbuf-2.0 libglade-2.0"
+pkg_modules="gtk+-2.0 >= 2.14.0 gobject-2.0 gdk-x11-2.0 glib-2.0 atk gdk-pixbuf-2.0 gmodule-export-2.0"
 PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
 AC_SUBST(PACKAGE_CFLAGS)
 AC_SUBST(PACKAGE_LIBS)
@@ -96,6 +96,6 @@
 gcalctool/Makefile
 po/Makefile.in
 m4/Makefile
-glade/Makefile
+data/Makefile
 help/Makefile
 ])

Added: trunk/data/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/data/Makefile.am	Mon Apr  6 02:04:54 2009
@@ -0,0 +1,23 @@
+uidir = $(datadir)/gcalctool
+ui_DATA = \
+	gcalctool.ui \
+	financial.ui
+	
+SCHEMAS_FILE = gcalctool.schemas
+schemadir = $(GCONF_SCHEMA_FILE_DIR)
+schema_DATA = $(SCHEMAS_FILE)
+
+Utilitiesdir = $(datadir)/applications
+Utilities_in_files = gcalctool.desktop.in
+Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop)
+ INTLTOOL_DESKTOP_RULE@
+
+EXTRA_DIST = $(ui_DATA) $(schema_DATA) gcalctool.desktop.in
+
+if GCONF_SCHEMAS_INSTALL
+# Install the gcalctool schema file.
+install-data-local:
+	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
+endif
+
+DISTCLEANFILES = gcalctool.desktop

Added: trunk/data/financial.ui
==============================================================================
--- (empty file)
+++ trunk/data/financial.ui	Mon Apr  6 02:04:54 2009
@@ -0,0 +1,1770 @@
+<?xml version="1.0"?>
+<interface>
+  <requires lib="gtk+" version="2.16"/>
+  <!-- interface-naming-policy toplevel-contextual -->
+  <object class="GtkDialog" id="ctrm_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Compounding Term dialog">Compounding Term</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox1">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table1">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">4</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkEntry" id="ctrm_pint">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="ctrm_fv">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="ctrm_pv">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label5">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Compounding Term Dialog: Label before present value input">Present _Value:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">ctrm_pv</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label3">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Compounding Term Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">ctrm_pint</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label2">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="Compounding Term Dialog: Description of calculation">Calculates the number of compounding periods necessary to increase an investment of present value to a future value, at a fixed interest rate per compounding period.</property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label4">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Compounding Term Dialog: Label before future value input">_Future Value:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">ctrm_fv</property>
+              </object>
+              <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>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area1">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button1">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button2">
+                <property name="label" translatable="yes" comments="Compounding Term Dialog: Calculate button">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button1</action-widget>
+      <action-widget response="-5">button2</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="ddb_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Double-Declining Depreciation dialog">Double-Declining Depreciation</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox2">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table2">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">4</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label7">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Description of calculation">Calculates the depreciation allowance on an asset for a specified period of time, using the double-declining balance method.</property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label8">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Label before cost input">C_ost:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">ddb_cost</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label10">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Label before life input">_Life:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">ddb_life</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkEntry" id="ddb_life">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="ddb_cost">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label11">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Label before period input">_Period:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">ddb_period</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="ddb_period">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area2">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button3">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button4">
+                <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Calculate button">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button3</action-widget>
+      <action-widget response="-5">button4</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="fv_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Future Value dialog">Future Value</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox3">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table3">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">4</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label12">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="Future Value Dialog: Description of calculation">Calculates the future value of an investment based on a series of equal payments at a periodic interest rate over the number of payment periods in the term.</property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label13">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Future Value Dialog: Label before periodic payment input">_Periodic Payment:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">fv_pmt</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label14">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Future Value Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">fv_pint</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label15">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Future Value Dialog: Label before number of periods input">_Number Of Periods:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">fv_n</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="fv_n">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="fv_pint">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="fv_pmt">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area3">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button5">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button6">
+                <property name="label" translatable="yes" comments="Future Value Dialog: Calculate button">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button5</action-widget>
+      <action-widget response="-5">button6</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="gpm_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Gross Profit Margin dialog">Gross Profit Margin</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox3">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table3">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">3</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label12">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Description of calculation">Calculates the resale price of a product, based on the product cost and the wanted gross profit margin.</property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label13">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Label before cost input">C_ost:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">gpm_cost</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label14">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Label before margin input">_Margin:</property>
+                <property name="use_underline">True</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkEntry" id="gpm_cost">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="gpm_margin">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area3">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button19">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button20">
+                <property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Calculate button">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button19</action-widget>
+      <action-widget response="-5">button20</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="pmt_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Periodic Payment dialog">Periodic Payment</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox4">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table4">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">4</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label17">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Periodic Payment Dialog: Description of calculation">Calculates the amount of the periodic payment of a loan, where payments are made at the end of each payment period. </property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label18">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Periodic Payment Dialog: Label before principal input">_Principal:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">pmt_prin</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label19">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Periodic Payment Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">pmt_pint</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label20">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Periodic Payment Dialog: Label before term input">_Term:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">pmt_n</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="pmt_prin">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="pmt_pint">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="pmt_n">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area4">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button7">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button8">
+                <property name="label" translatable="yes" comments="Periodic Payment Dialog: Calculate button">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button7</action-widget>
+      <action-widget response="-5">button8</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="pv_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Present Value dialog">Present Value</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox5">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table5">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">4</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label23">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Present Value Dialog: Description of calculation">Calculates the present value of an investment based on a series of equal payments discounted at a periodic interest rate over the number of payment periods in the term. </property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label24">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Present Value Dialog: Label before periodic payment input">_Periodic Payment:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">pv_pmt</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label25">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Present Value Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">pv_pint</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label26">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Present Value Dialog: Label before number of periods input">_Number Of Periods:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">pv_n</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="pv_pmt">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="pv_pint">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="pv_n">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area5">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button9">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button10">
+                <property name="label" translatable="yes" comments="Present Value Dialog: Calculate button">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button9</action-widget>
+      <action-widget response="-5">button10</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="rate_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Periodic Interest Rate dialog">Periodic Interest Rate</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox6">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table6">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">4</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label28">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Description of calculation">Calculates the periodic interest necessary to increase an investment to a future value, over the number of compounding periods. </property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label29">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Label before future value input">_Future Value:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">rate_fv</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label30">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Label before present value input">Present _Value:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">rate_pv</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label31">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Label before term input">_Term:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">rate_n</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="rate_fv">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="rate_pv">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="rate_n">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area6">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button11">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button12">
+                <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Calculate button">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button11</action-widget>
+      <action-widget response="-5">button12</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="sln_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Straight-Line Depreciation dialog">Straight-Line Depreciation</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox7">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table7">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">4</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label33">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Label before cost input">_Cost:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">sln_cost</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label34">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Label before salvage input">_Salvage:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">sln_salvage</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label35">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Label before life input">_Life:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">sln_life</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="sln_life">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="sln_salvage">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="sln_cost">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label32">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Description of calculation">Calculates the straight-line depreciation of an asset for one period. The straight-line method of depreciation divides the depreciable cost evenly over the useful life of an asset. The useful life is the number of periods, typically years, over which an asset is depreciated. </property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area7">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button13">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button14">
+                <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Calculate button">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button13</action-widget>
+      <action-widget response="-5">button14</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="syd_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Sum-Of-The-Years'-Digits Depreciation dialog">Sum-Of-The-Years'-Digits Depreciation</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox8">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table8">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">5</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label37">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Sum-Of-The-Years'-Digits Depreciation Dialog: Label before period input">_Period:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">syd_period</property>
+              </object>
+              <packing>
+                <property name="top_attach">4</property>
+                <property name="bottom_attach">5</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label38">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Sum-Of-The-Years'-Digits Depreciation Dialog: Label before life input">_Life:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">syd_life</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label39">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Sum-Of-The-Years'-Digits Depreciation Dialog: Label before salvage input">_Salvage:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">syd_salvage</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label40">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Sum-Of-The-Years'-Digits Depreciation Dialog: Label before cost input">_Cost:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">syd_cost</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="syd_cost">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="syd_salvage">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="syd_life">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="syd_period">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">4</property>
+                <property name="bottom_attach">5</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label41">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Sum-Of-The-Years'-Digits Depreciation Dialog: Description of calculation">Calculates the depreciation allowance on an asset for a specified period of time, using the Sum-Of-The-Years'-Digits method. This method of depreciation accelerates the rate of depreciation, so that more depreciation expense occurs in earlier periods than in later ones. The useful life is the number of periods, typically years, over which an asset is depreciated. </property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area8">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button15">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button16">
+                <property name="label" translatable="yes" comments="Sum-Of-The-Years'-Digits Depreciation Dialog: Calculate result button">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button15</action-widget>
+      <action-widget response="-5">button16</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="term_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of Payment Period dialog">Payment Period</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="finc_response_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox9">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkTable" id="table9">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">4</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkEntry" id="term_pint">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="term_fv">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="term_pmt">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <property name="text">0</property>
+                <signal name="activate" handler="finc_activate_cb"/>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label43">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Payment Period Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">term_pint</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label44">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Payment Period Dialog: Label before future value input">Future _Value:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">term_fv</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label45">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Payment Period Dialog: Label before periodic payment input">_Periodic Payment:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">term_pmt</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label46">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Payment Period Dialog: Description of calculation">Calculates the number of payment periods that are necessary during the term of an ordinary annuity, to accumulate a future value, at a periodic interest rate.</property>
+                <property name="wrap">True</property>
+              </object>
+              <packing>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area9">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button17">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button18">
+                <property name="label" translatable="yes" comments="Payment Period Dialog: Button to calculate result">C_alculate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button17</action-widget>
+      <action-widget response="-5">button18</action-widget>
+    </action-widgets>
+  </object>
+</interface>

Added: trunk/data/gcalctool.ui
==============================================================================
--- (empty file)
+++ trunk/data/gcalctool.ui	Mon Apr  6 02:04:54 2009
@@ -0,0 +1,6058 @@
+<?xml version="1.0"?>
+<interface>
+  <requires lib="gtk+" version="2.16"/>
+  <!-- interface-naming-policy toplevel-contextual -->
+  <object class="GtkWindow" id="calc_window">
+    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+    <accel-groups>
+      <group name="accelgroup1"/>
+    </accel-groups>
+    <signal name="key_press_event" handler="kframe_key_press_cb"/>
+    <signal name="delete_event" handler="quit_cb"/>
+    <signal name="key_release_event" handler="kframe_key_release_cb"/>
+    <child>
+      <object class="GtkVBox" id="kvbox">
+        <property name="visible">True</property>
+        <property name="spacing">6</property>
+        <child>
+          <object class="GtkMenuBar" id="menubar">
+            <property name="visible">True</property>
+            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+            <child>
+              <object class="GtkMenuItem" id="menuitem1">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="Calculator menu">_Calculator</property>
+                <property name="use_underline">True</property>
+                <child type="submenu">
+                  <object class="GtkMenu" id="menuitem1_menu">
+                    <child>
+                      <object class="GtkImageMenuItem" id="quit_menu">
+                        <property name="label">gtk-quit</property>
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Quit the calculator</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <property name="accel_group">accelgroup1</property>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="quit_cb"/>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+            <child>
+              <object class="GtkMenuItem" id="edit_menu">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="Edit menu">_Edit</property>
+                <property name="use_underline">True</property>
+                <child type="submenu">
+                  <object class="GtkMenu" id="edit_menu_menu">
+                    <child>
+                      <object class="GtkImageMenuItem" id="copy_menu">
+                        <property name="label">gtk-copy</property>
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Copy selection</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <property name="accel_group">accelgroup1</property>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="copy_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkImageMenuItem" id="paste_menu">
+                        <property name="label">gtk-paste</property>
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Paste selection</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <property name="accel_group">accelgroup1</property>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="paste_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkImageMenuItem" id="undo_menu">
+                        <property name="label" comments="Edit|Undo menu item">_Undo</property>
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Undo</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <property name="accel_group">accelgroup1</property>
+                        <accelerator key="Z" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="undo_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkImageMenuItem" id="redo_menu">
+                        <property name="label" comments="Edit|Redo menu item">_Redo</property>
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Redo</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <property name="accel_group">accelgroup1</property>
+                        <accelerator key="Z" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="redo_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkSeparatorMenuItem" id="menuitem5">
+                        <property name="visible">True</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkMenuItem" id="insert_ascii_menu">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Insert ASCII value</property>
+                        <property name="label" translatable="yes" comments="Edit|Insert ASCII value menu item">_Insert ASCII value...</property>
+                        <property name="use_underline">True</property>
+                        <accelerator key="I" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="insert_ascii_cb"/>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+            <child>
+              <object class="GtkMenuItem" id="menuitem3">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="View menu">_View</property>
+                <property name="use_underline">True</property>
+                <child type="submenu">
+                  <object class="GtkMenu" id="menuitem3_menu">
+                    <child>
+                      <object class="GtkRadioMenuItem" id="view_basic_menu">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Basic</property>
+                        <property name="label" translatable="yes" comments="View|Basic menu item">_Basic</property>
+                        <property name="use_underline">True</property>
+                        <property name="active">True</property>
+                        <accelerator key="B" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="mode_radio_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkRadioMenuItem" id="view_advanced_menu">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Advanced</property>
+                        <property name="label" translatable="yes" comments="View|Advanced menu item">_Advanced</property>
+                        <property name="use_underline">True</property>
+                        <property name="group">view_basic_menu</property>
+                        <accelerator key="A" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="mode_radio_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkRadioMenuItem" id="view_financial_menu">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Financial</property>
+                        <property name="label" translatable="yes" comments="View|Financial menu item">_Financial</property>
+                        <property name="use_underline">True</property>
+                        <property name="group">view_basic_menu</property>
+                        <accelerator key="F" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="mode_radio_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkRadioMenuItem" id="view_scientific_menu">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Scientific</property>
+                        <property name="label" translatable="yes" comments="View|Scientific menu item">_Scientific</property>
+                        <property name="use_underline">True</property>
+                        <property name="group">view_basic_menu</property>
+                        <accelerator key="S" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="mode_radio_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkRadioMenuItem" id="view_programming_menu">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Programming</property>
+                        <property name="label" translatable="yes" comments="View|Programming menu item">_Programming</property>
+                        <property name="use_underline">True</property>
+                        <property name="group">view_basic_menu</property>
+                        <accelerator key="P" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="mode_radio_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkSeparatorMenuItem" id="separator1">
+                        <property name="visible">True</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkCheckMenuItem" id="show_trailing_zeroes_menu">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Show trailing zeroes</property>
+                        <property name="label" translatable="yes" comments="View|Show Trailing Zeroes menu item">Show _Trailing Zeroes</property>
+                        <property name="use_underline">True</property>
+                        <accelerator key="T" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="show_trailing_zeroes_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkCheckMenuItem" id="show_thousands_separator_menu">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Show thousands separator</property>
+                        <property name="label" translatable="yes" comments="View|Show Thousands Separator menu item">Show T_housands Separator</property>
+                        <property name="use_underline">True</property>
+                        <accelerator key="K" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="show_thousands_separator_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkSeparatorMenuItem" id="separator2">
+                        <property name="visible">True</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkCheckMenuItem" id="show_registers_menu">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Show memory registers</property>
+                        <property name="label" translatable="yes" comments="View|Memory Registers menu item">_Memory Registers</property>
+                        <property name="use_underline">True</property>
+                        <accelerator key="M" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="show_registers_cb"/>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+            <child>
+              <object class="GtkMenuItem" id="menuitem4">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="Help menu">_Help</property>
+                <property name="use_underline">True</property>
+                <child type="submenu">
+                  <object class="GtkMenu" id="menuitem4_menu">
+                    <child>
+                      <object class="GtkImageMenuItem" id="help_menu">
+                        <property name="label" comments="Help|Contents menu">_Contents</property>
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Show help contents</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <property name="accel_group">accelgroup1</property>
+                        <accelerator key="F1" signal="activate"/>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="help_cb"/>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkImageMenuItem" id="about_menu">
+                        <property name="label">gtk-about</property>
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Show the About Gcalctool dialog</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <property name="accel_group">accelgroup1</property>
+                        <signal name="select" handler="menu_item_select_cb"/>
+                        <signal name="deselect" handler="menu_item_deselect_cb"/>
+                        <signal name="activate" handler="about_cb"/>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkEventBox" id="display_eventbox">
+            <property name="visible">True</property>
+            <child>
+              <object class="GtkScrolledWindow" id="display_scroll">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="hscrollbar_policy">automatic</property>
+                <property name="vscrollbar_policy">never</property>
+                <child>
+                  <object class="GtkTextView" id="displayitem">
+                    <property name="visible">True</property>
+                    <property name="border_width">2</property>
+                    <property name="pixels_above_lines">8</property>
+                    <property name="pixels_below_lines">8</property>
+                    <property name="editable">False</property>
+                    <property name="justification">right</property>
+                    <property name="right_margin">6</property>
+                    <property name="buffer">textbuffer1</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-description" translatable="yes">Result Region</property>
+                      </object>
+                    </child>
+                    <signal name="populate_popup" handler="buffer_populate_popup_cb"/>
+                    <signal name="button_release_event" handler="mouse_button_cb"/>
+                  </object>
+                </child>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkHBox" id="programming_mode_panel">
+            <property name="visible">True</property>
+            <child>
+              <object class="GtkHBox" id="hbox6">
+                <property name="visible">True</property>
+                <child>
+                  <object class="GtkRadioButton" id="binary_radio">
+                    <property name="label" translatable="yes" comments="Base 2 radio button">_Bin</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Set numeric base to binary (base 2)</property>
+                    <property name="use_underline">True</property>
+                    <property name="draw_indicator">True</property>
+                    <signal name="toggled" handler="base_cb"/>
+                  </object>
+                  <packing>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkRadioButton" id="octal_radio">
+                    <property name="label" translatable="yes" comments="Base 8 radio button">_Oct</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Set numeric base to octal (base 8)</property>
+                    <property name="use_underline">True</property>
+                    <property name="draw_indicator">True</property>
+                    <property name="group">binary_radio</property>
+                    <signal name="toggled" handler="base_cb"/>
+                  </object>
+                  <packing>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkRadioButton" id="decimal_radio">
+                    <property name="label" translatable="yes" comments="Base 10 radio button">_Dec</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Set numeric base to decimal (base 10)</property>
+                    <property name="use_underline">True</property>
+                    <property name="draw_indicator">True</property>
+                    <property name="group">binary_radio</property>
+                    <signal name="toggled" handler="base_cb"/>
+                  </object>
+                  <packing>
+                    <property name="position">2</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkRadioButton" id="hexadecimal_radio">
+                    <property name="label" translatable="yes" comments="Base 16 radio button">He_x</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Set numeric base to hexadecimal (base 16)</property>
+                    <property name="use_underline">True</property>
+                    <property name="draw_indicator">True</property>
+                    <property name="group">binary_radio</property>
+                    <signal name="toggled" handler="base_cb"/>
+                  </object>
+                  <packing>
+                    <property name="position">3</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="pack_type">end</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="position">2</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkVBox" id="scientific_mode_panel">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <child>
+              <object class="GtkHBox" id="hbox4">
+                <property name="visible">True</property>
+                <child>
+                  <object class="GtkHBox" id="hbox5">
+                    <property name="visible">True</property>
+                    <child>
+                      <object class="GtkRadioButton" id="degrees_radio">
+                        <property name="label" translatable="yes" comments="Degrees radio button">De_grees</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="tooltip_text" translatable="yes">Set trigonometric type to degrees</property>
+                        <property name="use_underline">True</property>
+                        <property name="draw_indicator">True</property>
+                        <signal name="toggled" handler="trig_cb"/>
+                      </object>
+                      <packing>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkRadioButton" id="gradians_radio">
+                        <property name="label" translatable="yes" comments="Gradians radio button">Gr_adians</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="tooltip_text" translatable="yes">Set trigonometric type to gradians</property>
+                        <property name="use_underline">True</property>
+                        <property name="draw_indicator">True</property>
+                        <property name="group">degrees_radio</property>
+                        <signal name="toggled" handler="trig_cb"/>
+                      </object>
+                      <packing>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkRadioButton" id="radians_radio">
+                        <property name="label" translatable="yes" comments="Radian radio button">_Radians</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="tooltip_text" translatable="yes">Set trigonometric type to radians</property>
+                        <property name="use_underline">True</property>
+                        <property name="draw_indicator">True</property>
+                        <property name="group">degrees_radio</property>
+                        <signal name="toggled" handler="trig_cb"/>
+                      </object>
+                      <packing>
+                        <property name="position">2</property>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkHBox" id="hbox9">
+                    <property name="visible">True</property>
+                    <child>
+                      <object class="GtkRadioButton" id="engineering_radio">
+                        <property name="label" translatable="yes" comments="Engineering display radio button">E_ng</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="tooltip_text" translatable="yes">Set display type to engineering format</property>
+                        <property name="use_underline">True</property>
+                        <property name="draw_indicator">True</property>
+                        <signal name="toggled" handler="disp_cb"/>
+                      </object>
+                      <packing>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkRadioButton" id="fixed_point_radio">
+                        <property name="label" translatable="yes" comments="Fixed-point display radio button">_Fix</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="tooltip_text" translatable="yes">Set display type to fixed-point format</property>
+                        <property name="use_underline">True</property>
+                        <property name="draw_indicator">True</property>
+                        <property name="group">engineering_radio</property>
+                        <signal name="toggled" handler="disp_cb"/>
+                      </object>
+                      <packing>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkRadioButton" id="scientific_radio">
+                        <property name="label" translatable="yes" comments="Scientific display radio button">_Sci</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="tooltip_text" translatable="yes">Set display type to scientific format</property>
+                        <property name="use_underline">True</property>
+                        <property name="draw_indicator">True</property>
+                        <property name="group">engineering_radio</property>
+                        <signal name="toggled" handler="disp_cb"/>
+                      </object>
+                      <packing>
+                        <property name="position">2</property>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="pack_type">end</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkHBox" id="hbox7">
+                <property name="visible">True</property>
+                <child>
+                  <object class="GtkHBox" id="hbox8">
+                    <property name="visible">True</property>
+                    <child>
+                      <object class="GtkCheckButton" id="inverse_check">
+                        <property name="label" translatable="yes" comments="Inverse check box">_Inv</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="tooltip_text" translatable="yes">Set inverse option for trigonometric functions</property>
+                        <property name="use_underline">True</property>
+                        <property name="draw_indicator">True</property>
+                        <signal name="toggled" handler="inv_cb"/>
+                      </object>
+                      <packing>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkCheckButton" id="hyperbolic_check">
+                        <property name="label" translatable="yes" comments="Hyperbolic check box">H_yp</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="tooltip_text" translatable="yes">Set hyperbolic option for trigonometric functions</property>
+                        <property name="use_underline">True</property>
+                        <property name="draw_indicator">True</property>
+                        <signal name="toggled" handler="hyp_cb"/>
+                      </object>
+                      <packing>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="position">3</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkTable" id="financial_panel">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">2</property>
+            <property name="n_columns">8</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <property name="homogeneous">True</property>
+            <child>
+              <object class="GtkButton" id="calc_finc_sum_of_the_years_digits_depreciation_button">
+                <property name="label" translatable="yes" comments="Calculates the depreciation allowance on an asset for a specified period of time, using the Sum-Of-The-Years'-Digits method. This method of depreciation accelerates the rate of depreciation, so that more depreciation expense occurs in earlier periods than in later ones. The depreciable cost is cost - salvage. The useful life is the number of periods, typically years, over which an asset is depreciated. See also: http://en.wikipedia.org/wiki/Depreciation";>Syd</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Sum-of-the years'-digits depreciation [Y]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Sum-of-the years'-digits depreciation</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Sum-of-the years'-digits depreciation [y]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_finc_straight_line_depreciation_button">
+                <property name="label" translatable="yes" comments="Calculates the straight-line depreciation of an asset for one period. The depreciable cost is cost - salvage. The straight-line method of depreciation divides the depreciable cost evenly over the useful life of an asset. The useful life is the number of periods, typically years, over which an asset is depreciated. See also: http://en.wikipedia.org/wiki/Depreciation";>Sln</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Straight-line depreciation [l]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Straight-line depreciation</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Straight-line depreciation [l]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">7</property>
+                <property name="right_attach">8</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_finc_periodic_interest_rate_button">
+                <property name="label" translatable="yes" comments="Calculates the periodic interest necessary to increase an investment of present value pv to a future value of fv, over the number of compounding periods in term. See also: http://en.wikipedia.org/wiki/Interest                                      ">Rate</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Periodic interest rate [T]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Periodic interest rate</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Periodic interest rate [T]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">6</property>
+                <property name="right_attach">7</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_finc_present_value_button">
+                <property name="label" translatable="yes" comments="Calculates the present value of an investment based on a series of equal payments, each of amount pmt, discounted at a periodic interest rate of int, over the number of payment periods in the term. See also: http://en.wikipedia.org/wiki/Present_value";>Pv</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Present value [p]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Present value</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Present value [p]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">5</property>
+                <property name="right_attach">6</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_finc_periodic_payment_button">
+                <property name="label" translatable="yes" comments="Calculates the amount of the periodic payment of a loan, where payments are made at the end of each payment period. See also: http://en.wikipedia.org/wiki/Amortization_schedule";>Pmt</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Periodic payment [P]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Periodic payment</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Periodic payment [P]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">4</property>
+                <property name="right_attach">5</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_finc_future_value_button">
+                <property name="label" translatable="yes" comments="Calculates the future value of an investment based on a series of equal payments, each of amount pmt, at a periodic interest rate of int, over the number of payment periods in the term. See also: http://en.wikipedia.org/wiki/Future_value";>Fv</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Future value [v]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Future value</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Future value [v]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">2</property>
+                <property name="right_attach">3</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_finc_gross_profit_margin_button">
+                <property name="label" translatable="yes" comments="Calculates the resale price of a product, based on the product cost and the wanted gross profit margin. See also: http://en.wikipedia.org/wiki/Gross_profit_margin";>Gpm</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Gross Profit Margin [I]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Gross Profit Margin</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Gross Profit Margin [g]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">3</property>
+                <property name="right_attach">4</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_finc_double_declining_depreciation_button">
+                <property name="label" translatable="yes" comments="Calculates the depreciation allowance on an asset for a specified period of time, using the double-declining balance method. See also: http://en.wikipedia.org/wiki/Depreciation";>Ddb</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Double-declining depreciation [D]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Double-declining depreciation</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Double-declining depreciation [D]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_finc_compounding_term_button">
+                <property name="label" translatable="yes" comments="Calculates the number of compounding periods necessary to increase an investment of present value pv to a future value of fv, at a fixed interest rate of int per compounding period. See also: http://en.wikipedia.org/wiki/Compound_interest";>Ctrm</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Compounding term [m]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Compounding term</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Compounding term [m]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_finc_term_button">
+                <property name="label" translatable="yes" comments="Calculates the number of payment periods that are necessary during the term of an ordinary annuity, to accumulate a future value of fv, at a periodic interest rate of int. Each payment is equal to amount pmt. See also: http://en.wikipedia.org/wiki/Annuity_(finance_theory)">Term</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Payment period [t]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes">Payment period</property>
+                    <property name="AtkObject::accessible-description" translatable="yes">Payment period [t]</property>
+                  </object>
+                </child>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <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_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+          </object>
+          <packing>
+            <property name="position">4</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkAlignment" id="bit_panel">
+            <property name="visible">True</property>
+            <property name="xscale">0</property>
+            <property name="yscale">0</property>
+            <child>
+              <object class="GtkTable" id="table8">
+                <property name="visible">True</property>
+                <property name="n_rows">4</property>
+                <property name="n_columns">39</property>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_1">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_1">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_2">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_2">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_3">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_3">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_4">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_4">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">5</property>
+                    <property name="right_attach">6</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_5">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_5">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">6</property>
+                    <property name="right_attach">7</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_6">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_6">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">7</property>
+                    <property name="right_attach">8</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_7">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_7">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">8</property>
+                    <property name="right_attach">9</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_8">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_8">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">10</property>
+                    <property name="right_attach">11</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_9">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_9">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">11</property>
+                    <property name="right_attach">12</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_10">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_10">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">12</property>
+                    <property name="right_attach">13</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_11">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_11">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">13</property>
+                    <property name="right_attach">14</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_12">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_12">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">15</property>
+                    <property name="right_attach">16</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_13">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_13">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">16</property>
+                    <property name="right_attach">17</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_14">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_14">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">17</property>
+                    <property name="right_attach">18</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_15">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_15">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">18</property>
+                    <property name="right_attach">19</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_31">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_31">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">38</property>
+                    <property name="right_attach">39</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_30">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_30">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">37</property>
+                    <property name="right_attach">38</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_29">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_29">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">36</property>
+                    <property name="right_attach">37</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_28">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_28">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">35</property>
+                    <property name="right_attach">36</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_27">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_27">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">33</property>
+                    <property name="right_attach">34</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_26">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_26">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">32</property>
+                    <property name="right_attach">33</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_25">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_25">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">31</property>
+                    <property name="right_attach">32</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_24">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_24">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">30</property>
+                    <property name="right_attach">31</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_23">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_23">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">28</property>
+                    <property name="right_attach">29</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_22">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_22">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">27</property>
+                    <property name="right_attach">28</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_21">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_21">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">26</property>
+                    <property name="right_attach">27</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_20">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_20">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">25</property>
+                    <property name="right_attach">26</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_19">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_19">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">23</property>
+                    <property name="right_attach">24</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_18">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_18">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">22</property>
+                    <property name="right_attach">23</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_17">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_17">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">21</property>
+                    <property name="right_attach">22</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_16">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_16">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">20</property>
+                    <property name="right_attach">21</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="bit_marker_label0">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes" comments="Label for the most significant bit (bit 63) on the bit editor">63</property>
+                    <property name="justify">center</property>
+                  </object>
+                  <packing>
+                    <property name="top_attach">1</property>
+                    <property name="bottom_attach">2</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="bit_maker_label3">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes" comments="Label for bit 31 on the bit editor">31</property>
+                    <property name="justify">center</property>
+                  </object>
+                  <packing>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="bit_marker_label2">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes" comments="Label for bit 32 on the bit editor">32</property>
+                    <property name="justify">center</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">38</property>
+                    <property name="right_attach">39</property>
+                    <property name="top_attach">1</property>
+                    <property name="bottom_attach">2</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="bit_marker_label5">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes" comments="Label for the least significant bit (bit 0) on the bit editor">0</property>
+                    <property name="justify">center</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">38</property>
+                    <property name="right_attach">39</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_32">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_32">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_33">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_33">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_34">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_34">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_35">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_35">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_36">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_36">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">5</property>
+                    <property name="right_attach">6</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_37">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_37">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">6</property>
+                    <property name="right_attach">7</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_38">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_38">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">7</property>
+                    <property name="right_attach">8</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_39">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_39">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">8</property>
+                    <property name="right_attach">9</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_40">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_40">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">10</property>
+                    <property name="right_attach">11</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_41">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_41">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">11</property>
+                    <property name="right_attach">12</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_42">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_42">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">12</property>
+                    <property name="right_attach">13</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_43">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_43">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">13</property>
+                    <property name="right_attach">14</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_44">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_44">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">15</property>
+                    <property name="right_attach">16</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_45">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_45">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">16</property>
+                    <property name="right_attach">17</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_46">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_46">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">17</property>
+                    <property name="right_attach">18</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_47">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_47">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">18</property>
+                    <property name="right_attach">19</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_48">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_48">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">20</property>
+                    <property name="right_attach">21</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_49">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_49">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">21</property>
+                    <property name="right_attach">22</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_50">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_50">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">22</property>
+                    <property name="right_attach">23</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_51">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_51">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">23</property>
+                    <property name="right_attach">24</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_52">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_52">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">25</property>
+                    <property name="right_attach">26</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_53">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_53">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">26</property>
+                    <property name="right_attach">27</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_54">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_54">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">27</property>
+                    <property name="right_attach">28</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_55">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_55">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">28</property>
+                    <property name="right_attach">29</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_56">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_56">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">30</property>
+                    <property name="right_attach">31</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_57">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_57">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">31</property>
+                    <property name="right_attach">32</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_58">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_58">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">32</property>
+                    <property name="right_attach">33</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_59">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_59">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">33</property>
+                    <property name="right_attach">34</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_60">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_60">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">35</property>
+                    <property name="right_attach">36</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_61">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_61">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">36</property>
+                    <property name="right_attach">37</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_62">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_62">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">37</property>
+                    <property name="right_attach">38</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_63">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_63">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">38</property>
+                    <property name="right_attach">39</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="bit_marker_label1">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes" comments="Label for bit 47 on the bit editor">47</property>
+                    <property name="justify">center</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">20</property>
+                    <property name="right_attach">21</property>
+                    <property name="top_attach">1</property>
+                    <property name="bottom_attach">2</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="bit_marker_label4">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes" comments="Label for bit 15 on the bit editor">15</property>
+                    <property name="justify">center</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">20</property>
+                    <property name="right_attach">21</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label25">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">4</property>
+                    <property name="right_attach">5</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label26">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">9</property>
+                    <property name="right_attach">10</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label27">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">14</property>
+                    <property name="right_attach">15</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label28">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">19</property>
+                    <property name="right_attach">20</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label29">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">24</property>
+                    <property name="right_attach">25</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label30">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">29</property>
+                    <property name="right_attach">30</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label31">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">34</property>
+                    <property name="right_attach">35</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label32">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">4</property>
+                    <property name="right_attach">5</property>
+                    <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>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label33">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">9</property>
+                    <property name="right_attach">10</property>
+                    <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>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label34">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">14</property>
+                    <property name="right_attach">15</property>
+                    <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>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label35">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">19</property>
+                    <property name="right_attach">20</property>
+                    <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>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label36">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">24</property>
+                    <property name="right_attach">25</property>
+                    <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>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label37">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">29</property>
+                    <property name="right_attach">30</property>
+                    <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>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label38">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label">  </property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">34</property>
+                    <property name="right_attach">35</property>
+                    <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>
+                </child>
+                <child>
+                  <object class="GtkEventBox" id="bit_eventbox_0">
+                    <property name="visible">True</property>
+                    <signal name="button_press_event" handler="bit_toggle_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="bit_label_0">
+                        <property name="visible">True</property>
+                        <property name="xalign">0</property>
+                        <property name="label"> 0</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="x_options">GTK_SHRINK</property>
+                    <property name="y_options"></property>
+                  </packing>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="position">5</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkTable" id="scientific_panel">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">2</property>
+            <property name="n_columns">8</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <property name="homogeneous">True</property>
+            <child>
+              <object class="GtkButton" id="calc_functions_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">User-defined functions [F]</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkHBox" id="hbox13">
+                    <property name="visible">True</property>
+                    <property name="spacing">3</property>
+                    <child>
+                      <object class="GtkLabel" id="label9">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes" comments="Functions button">Fun</property>
+                      </object>
+                      <packing>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkArrow" id="arrow7">
+                        <property name="visible">True</property>
+                        <property name="arrow_type">down</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                </child>
+              </object>
+              <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_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_constants_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Constants [#]</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkHBox" id="hbox12">
+                    <property name="visible">True</property>
+                    <property name="spacing">3</property>
+                    <child>
+                      <object class="GtkLabel" id="label8">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes" comments="Constants button">Con</property>
+                      </object>
+                      <packing>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkArrow" id="arrow6">
+                        <property name="visible">True</property>
+                        <property name="arrow_type">down</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_natural_logarithm_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">(Ln)</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkLabel" id="natural_logarithm_label">
+                    <property name="visible">True</property>
+                    <property name="label" comments="Variable label button - text set inside gtk.c">(Ln)</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_logarithm_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">(Log)</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkLabel" id="logarithm_label">
+                    <property name="visible">True</property>
+                    <property name="label" comments="Varable label button - text set inside gtk.c">(Log)</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_logarithm2_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">(Log2)</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkLabel" id="logarithm2_label">
+                    <property name="visible">True</property>
+                    <property name="label" comments="Variable function button - text set inside gtk.c">(Log2)</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">2</property>
+                <property name="right_attach">3</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_exponential_button">
+                <property name="label" translatable="yes" comments="Exponential">Exp</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Enter an exponential number [E]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">2</property>
+                <property name="right_attach">3</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_accuracy_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">(Set accuracy from 0 to N numeric places [A])</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkHBox" id="hbox14">
+                    <property name="visible">True</property>
+                    <property name="spacing">3</property>
+                    <child>
+                      <object class="GtkLabel" id="label10">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes" comments="Accuracy button">Acc</property>
+                      </object>
+                      <packing>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkArrow" id="arrow8">
+                        <property name="visible">True</property>
+                        <property name="arrow_type">down</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">7</property>
+                <property name="right_attach">8</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_random_button">
+                <property name="label" translatable="yes" comments="Random number">Rand</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Random number in the range 0.0 to 1.0 [?]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">7</property>
+                <property name="right_attach">8</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_factorial_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Factorial of displayed value [!]</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkLabel" id="label14">
+                    <property name="visible">True</property>
+                    <property name="label" translatable="yes" comments="Factorial">&lt;i&gt;x&lt;/i&gt;!</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">4</property>
+                <property name="right_attach">5</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_x_pow_y_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">(X^Y)</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkLabel" id="x_pow_y_label">
+                    <property name="visible">True</property>
+                    <property name="label" comments="Variable function button - text set inside gtk.c">(X^Y)</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">3</property>
+                <property name="right_attach">4</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_tangent_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">(Tan)</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkLabel" id="tangent_label">
+                    <property name="visible">True</property>
+                    <property name="label" comments="Variable function button - text set inside gtk.c">(Tan)</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">5</property>
+                <property name="right_attach">6</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_sine_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">(Sin)</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkLabel" id="sine_label">
+                    <property name="visible">True</property>
+                    <property name="label" comments="Variable function button - text set inside gtk.c">(Sin)</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">4</property>
+                <property name="right_attach">5</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_cosine_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">(Cos)</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkLabel" id="cosine_label">
+                    <property name="visible">True</property>
+                    <property name="label" comments="Variable function button - text set inside gtk.c">(Cos)</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">3</property>
+                <property name="right_attach">4</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+          </object>
+          <packing>
+            <property name="position">6</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkTable" id="programming_panel">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">2</property>
+            <property name="n_columns">8</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <property name="homogeneous">True</property>
+            <child>
+              <object class="GtkButton" id="calc_d_button">
+                <property name="label" translatable="yes" comments="Hexadecimal digit D button">D</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Hexadecimal digit D [d]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_e_button">
+                <property name="label" translatable="yes" comments="Hexadecimal digit E button">E</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Hexadecimal digit E [e]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_f_button">
+                <property name="label" translatable="yes" comments="Hexadecimal digit F button">F</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Hexadecimal digit F [f]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">2</property>
+                <property name="right_attach">3</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_a_button">
+                <property name="label" translatable="yes" comments="Hexadecimal digit A button">A</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Hexadecimal digit A [a]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_b_button">
+                <property name="label" translatable="yes" comments="Hexadecimal digit B button">B</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Hexadecimal digit B [b]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <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_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_c_button">
+                <property name="label" translatable="yes" comments="Hexadecimal digit C button">C</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Hexadecimal digit C [c]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">2</property>
+                <property name="right_attach">3</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_xnor_button">
+                <property name="label" translatable="yes" comments="Boolean exclusive NOR button">XNOR</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Bitwise XNOR [{]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">6</property>
+                <property name="right_attach">7</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_modulus_divide_button">
+                <property name="label" translatable="yes" comments="Modulus division button">Mod</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Modulus Division [M]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">7</property>
+                <property name="right_attach">8</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_mask_32_button">
+                <property name="label" translatable="yes" comments="32 bit unsigned integer">&amp;32</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">32-bit unsigned integer value of display ([)</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">4</property>
+                <property name="right_attach">5</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_not_button">
+                <property name="label" translatable="yes" comments="Boolean NOT button">NOT</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Bitwise NOT [~]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">7</property>
+                <property name="right_attach">8</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_xor_button">
+                <property name="label" translatable="yes" comments="Boolean exlcusive OR button">XOR</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Bitwise XOR [x]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">5</property>
+                <property name="right_attach">6</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_and_button">
+                <property name="label" translatable="yes" comments="Boolean AND button">AND</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Bitwise AND [&amp;]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">5</property>
+                <property name="right_attach">6</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_or_button">
+                <property name="label" translatable="yes" comments="Boolean OR button">OR</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Bitwise OR [|]</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">6</property>
+                <property name="right_attach">7</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_mask_16_button">
+                <property name="label" translatable="yes" comments="16 bit unsigned integer">&amp;16</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">16-bit unsigned integer value of display (])</property>
+                <property name="use_underline">True</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+              </object>
+              <packing>
+                <property name="left_attach">3</property>
+                <property name="right_attach">4</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_shift_left_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Shift displayed value 1-15 places to the left [&lt;]</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkHBox" id="hbox11">
+                    <property name="visible">True</property>
+                    <property name="spacing">3</property>
+                    <child>
+                      <object class="GtkLabel" id="label7">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="label" translatable="yes" comments="Shift left button">&lt;</property>
+                      </object>
+                      <packing>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkArrow" id="arrow5">
+                        <property name="visible">True</property>
+                        <property name="arrow_type">down</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">3</property>
+                <property name="right_attach">4</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="calc_shift_right_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Shift displayed value 1-15 places to the right [&gt;]</property>
+                <property name="focus_on_click">False</property>
+                <signal name="clicked" handler="button_cb"/>
+                <child>
+                  <object class="GtkHBox" id="hbox10">
+                    <property name="visible">True</property>
+                    <property name="spacing">3</property>
+                    <child>
+                      <object class="GtkLabel" id="label6">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="label" translatable="yes" comments="Shift right button">&gt;</property>
+                      </object>
+                      <packing>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkArrow" id="arrow4">
+                        <property name="visible">True</property>
+                        <property name="arrow_type">down</property>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">4</property>
+                <property name="right_attach">5</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">7</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkTable" id="table4">
+            <property name="visible">True</property>
+            <property name="border_width">6</property>
+            <property name="n_rows">5</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkTable" id="basic_panel">
+                <property name="visible">True</property>
+                <property name="n_columns">4</property>
+                <property name="column_spacing">6</property>
+                <property name="row_spacing">6</property>
+                <property name="homogeneous">True</property>
+                <child>
+                  <object class="GtkButton" id="calc_backspace_simple_button">
+                    <property name="label" translatable="yes" comments="Backspace button. Bksp is short for Backspace">Bksp</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Remove rightmost character from displayed value [Backspace]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Backspace</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_change_sign_simple_button">
+                    <property name="label" translatable="yes" comments="Change sign button">&#xB1;</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Change Sign [C]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Change sign</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_clear_simple_button">
+                    <property name="label" translatable="yes" comments="Clear button. Clr is short for Clear">Clr</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Clear displayed value and any partial calculation [Shift Delete]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Clear</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_clear_entry_simple_button">
+                    <property name="label" translatable="yes" comments="Clear displayed value button">CE</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Clear displayed value [Escape]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Clear entry</property>
+                        <property name="AtkObject::accessible-description" translatable="yes">Clear</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkTable" id="advanced_panel">
+                <property name="visible">True</property>
+                <property name="n_rows">4</property>
+                <property name="n_columns">4</property>
+                <property name="column_spacing">6</property>
+                <property name="row_spacing">6</property>
+                <property name="homogeneous">True</property>
+                <child>
+                  <object class="GtkButton" id="calc_start_group_button">
+                    <property name="label" translatable="yes" comments="Start calculation group button">(</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Start group of calculations [(]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Left bracket</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_reciprocal_button">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Reciprocal [r]</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Reciprocal</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="label20">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes" comments="Reciprocal button">1/&lt;i&gt;x&lt;/i&gt;</property>
+                        <property name="use_markup">True</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="dummy">
+                            <property name="AtkObject::accessible-name" translatable="yes">1/x</property>
+                            <property name="AtkObject::accessible-description" translatable="yes">Reciprocal</property>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_percentage_button">
+                    <property name="label" translatable="yes" comments="The percentage button">%</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Percentage [%]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Percentage</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_end_group_button">
+                    <property name="label" translatable="yes" comments="Right bracket">)</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">End group of calculations [)]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Right bracket</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="top_attach">1</property>
+                    <property name="bottom_attach">2</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_backspace_advanced_button">
+                    <property name="label" translatable="yes" comments="Bksp is short for Backspace">Bksp</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Remove rightmost character from displayed value [Backspace]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Backspace</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_change_sign_advanced_button">
+                    <property name="label" translatable="yes" comments="Change sign button">&#xB1;</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Change Sign [C]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Change sign</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <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_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_sqrt_button">
+                    <property name="label" translatable="yes" comments="Square root button">&#x221A;</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Square root [s]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Square root</property>
+                        <property name="AtkObject::accessible-description" translatable="yes">Square root [s]</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_abs_button">
+                    <property name="label" translatable="yes" comments="Absolute value button. Abs is short for Absolute">Abs</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Absolute value [u]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Absolute value</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_fractional_portion_button">
+                    <property name="label" translatable="yes" comments="Fractional portion button">Frac</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Fractional portion of displayed value [:]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Fractional portion</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_integer_portion_button">
+                    <property name="label" translatable="yes" comments="Integer portion button">Int</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Integer portion of displayed value [i]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Integer portion</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="top_attach">1</property>
+                    <property name="bottom_attach">2</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_clear_entry_advanced_button">
+                    <property name="label" translatable="yes" comments="Clear displayed value button">CE</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Clear displayed value [Escape]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Clear entry</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_exchange_button">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Exchange displayed value with memory register [X]</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Exchange with register</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                    <child>
+                      <object class="GtkHBox" id="hbox18">
+                        <property name="visible">True</property>
+                        <property name="spacing">3</property>
+                        <child>
+                          <object class="GtkLabel" id="label21">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes" comments="Memory exchange button. Exch is short for Exchange">Exch</property>
+                            <child internal-child="accessible">
+                              <object class="AtkObject" id="dummy">
+                                <property name="AtkObject::accessible-name" translatable="yes">Exch</property>
+                                <property name="AtkObject::accessible-description" translatable="yes">Exchange with register</property>
+                              </object>
+                            </child>
+                          </object>
+                          <packing>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkArrow" id="arrow12">
+                            <property name="visible">True</property>
+                            <property name="arrow_type">down</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_recall_button">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Retrieve memory register to display [R]</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Retrieve from register</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                    <child>
+                      <object class="GtkHBox" id="hbox19">
+                        <property name="visible">True</property>
+                        <property name="spacing">3</property>
+                        <child>
+                          <object class="GtkLabel" id="label22">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes" comments="Memory recall button. Rcl is short for Recall">Rcl</property>
+                            <child internal-child="accessible">
+                              <object class="AtkObject" id="dummy">
+                                <property name="AtkObject::accessible-name" translatable="yes">Rcl</property>
+                                <property name="AtkObject::accessible-description" translatable="yes">Retrieve from register</property>
+                              </object>
+                            </child>
+                          </object>
+                          <packing>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkArrow" id="arrow13">
+                            <property name="visible">True</property>
+                            <property name="arrow_type">down</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_clear_advanced_button">
+                    <property name="label" translatable="yes" comments="Clear display button. Clr is short for Clear">Clr</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Clear displayed value and any partial calculation [Shift Delete]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Clear</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_store_button">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Store displayed value in memory register [S]</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Store to register</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                    <child>
+                      <object class="GtkHBox" id="hbox20">
+                        <property name="visible">True</property>
+                        <property name="spacing">3</property>
+                        <child>
+                          <object class="GtkLabel" id="label23">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes" comments="Memory store button. Sto is short for Store">Sto</property>
+                            <child internal-child="accessible">
+                              <object class="AtkObject" id="dummy">
+                                <property name="AtkObject::accessible-name" translatable="yes">Sto</property>
+                                <property name="AtkObject::accessible-description" translatable="yes">Store to register</property>
+                              </object>
+                            </child>
+                          </object>
+                          <packing>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkArrow" id="arrow14">
+                            <property name="visible">True</property>
+                            <property name="arrow_type">down</property>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="top_attach">1</property>
+                    <property name="bottom_attach">2</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_square_button">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Square [ ]</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Square</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="label24">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes" comments="x to the power of 2 button">&lt;i&gt;x&lt;/i&gt;&lt;sup&gt;2&lt;/sup&gt;</property>
+                        <property name="use_markup">True</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="dummy">
+                            <property name="AtkObject::accessible-name" translatable="yes">x2</property>
+                            <property name="AtkObject::accessible-description" translatable="yes">Square</property>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">5</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkTable" id="core_panel">
+                <property name="visible">True</property>
+                <property name="n_rows">4</property>
+                <property name="n_columns">4</property>
+                <property name="column_spacing">6</property>
+                <property name="row_spacing">6</property>
+                <property name="homogeneous">True</property>
+                <child>
+                  <object class="GtkButton" id="calc_4_button">
+                    <property name="label" translatable="yes" comments="Numeric 4 button">4</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 4</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="top_attach">1</property>
+                    <property name="bottom_attach">2</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_7_button">
+                    <property name="label" translatable="yes" comments="Numeric 7 button">7</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 7</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_8_button">
+                    <property name="label" translatable="yes" comments="Numeric 8 button">8</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 8</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_9_button">
+                    <property name="label" translatable="yes" comments="Numeric 9 button">9</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 9</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_5_button">
+                    <property name="label" translatable="yes" comments="Numeric 5 button">5</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 5</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <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_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_6_button">
+                    <property name="label" translatable="yes" comments="Numeric 6 button">6</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 6</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="top_attach">1</property>
+                    <property name="bottom_attach">2</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_divide_button">
+                    <property name="label" translatable="yes" comments="Division button">&#xF7;</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Divide [/]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Divide</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_1_button">
+                    <property name="label" translatable="yes" comments="Numeric 1 button">1</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 1</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_2_button">
+                    <property name="label" translatable="yes" comments="Numeric 2 button">2</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 2</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_0_button">
+                    <property name="label" translatable="yes" comments="Numeric 0 button">0</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 0</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_numeric_point_button">
+                    <property name="label" comments="Label is set in gtk.c to comply with LC flags">.</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Numeric point</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric point</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="right_attach">2</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_result_button">
+                    <property name="label" translatable="yes" comments="Solve button (clicking this solves the displayed calculation)">=</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Calculate result [=]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Calculate result</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_3_button">
+                    <property name="label" translatable="yes" comments="Numeric 3 button">3</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Numeric 3</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">2</property>
+                    <property name="right_attach">3</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_multiply_button">
+                    <property name="label" translatable="yes" comments="Multiplication button">&#xD7;</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Multiply [*]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Multiply</property>
+                        <property name="AtkObject::accessible-description" translatable="yes">Multiply</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="top_attach">1</property>
+                    <property name="bottom_attach">2</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_subtract_button">
+                    <property name="label" translatable="yes" comments="Subtraction button">&#x2212;</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Subtract [-]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Subtract</property>
+                        <property name="AtkObject::accessible-description" translatable="yes">Subtract [-]</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="top_attach">2</property>
+                    <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkButton" id="calc_add_button">
+                    <property name="label" translatable="yes" comments="Addition button">+</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Add [+]</property>
+                    <property name="use_underline">True</property>
+                    <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="dummy">
+                        <property name="AtkObject::accessible-name" translatable="yes">Add</property>
+                      </object>
+                    </child>
+                    <signal name="clicked" handler="button_cb"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">3</property>
+                    <property name="right_attach">4</property>
+                    <property name="top_attach">3</property>
+                    <property name="bottom_attach">4</property>
+                    <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                    <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                  </packing>
+                </child>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">5</property>
+                <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+                <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+          </object>
+          <packing>
+            <property name="position">8</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkStatusbar" id="statusbar">
+            <property name="visible">True</property>
+            <property name="has_resize_grip">False</property>
+            <child>
+              <object class="GtkImage" id="status_image">
+                <property name="visible">True</property>
+                <property name="stock">gtk-missing-image</property>
+                <property name="icon-size">4</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="position">9</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+  </object>
+  <object class="GtkMenu" id="left_shift_popup">
+    <property name="border_width">1</property>
+    <child>
+      <object class="GtkMenuItem" id="shift_left1_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 1 bit">_1 place</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left2_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 2 bits">_2 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left3_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 3 bits">_3 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left4_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 4 bits">_4 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left5_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 5 bits">_5 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left6_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 6 bits">_6 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left7_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 7 bits">_7 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left8_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 8 bits">_8 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left9_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 9 bits">_9 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left10_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 10 bits">10 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left11_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 11 bits">11 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left12_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 12 bits">12 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left13_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 13 bits">13 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left14_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 14 bits">14 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_left15_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Left Shift Popup: Menu item to shift left by 15 bits">15 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+  </object>
+  <object class="GtkMenu" id="right_shift_popup">
+    <property name="border_width">1</property>
+    <child>
+      <object class="GtkMenuItem" id="shift_right1_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 1 bit">_1 place</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right2_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 2 bits">_2 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right3_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 3 bits">_3 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right4_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 4 bits">_4 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right5_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 5 bits">_5 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right6_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 6 bits">_6 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right7_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 7 bits">_7 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right8_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 8 bits">_8 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right9_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 9 bits">_9 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right10_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 10 bits">10 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right11_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 11 bits">11 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right12_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 12 bits">12 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right13_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 13 bits">13 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right14_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 14 bits">14 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="shift_right15_menu">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Right Shift Popup: Menu item to shift right by 15 bits">15 places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="shift_cb"/>
+      </object>
+    </child>
+  </object>
+  <object class="GtkMenu" id="accuracy_popup">
+    <property name="border_width">1</property>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item0">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 0 significant places">_0 significant places</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item1">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 1 significant place">_1 significant place</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item2">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 2 significant places">_2 significant places</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item3">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 3 significant places">_3 significant places</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item4">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 4 significant places">_4 significant places</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item5">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 5 significant places">_5 significant places</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item6">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 6 significant places">_6 significant places</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item7">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 7 significant places">_7 significant places</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item8">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 8 significant places">_8 significant places</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item9">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to set accuracy to 9 significant places">_9 significant places</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_radio_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkRadioMenuItem" id="acc_item_other">
+        <property name="visible">True</property>
+        <property name="label" comments="Variable label button - text set inside gtk.c">(_Other (N) ...)</property>
+        <property name="use_underline">True</property>
+        <property name="group">acc_item0</property>
+        <signal name="activate" handler="accuracy_other_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkSeparatorMenuItem" id="separator4">
+        <property name="visible">True</property>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="acc_item_default">
+        <property name="visible">True</property>
+        <property name="label" comments="Set and translated inside gtk.c">Reset to _Default (%d)</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="accuracy_default_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkSeparatorMenuItem" id="separator5">
+        <property name="visible">True</property>
+      </object>
+    </child>
+    <child>
+      <object class="GtkCheckMenuItem" id="acc_trailing_zeroes_item">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Accuracy Popup: Check menu item to enable trailing zeroes">Show _Trailing Zeroes</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="show_trailing_zeroes_cb"/>
+      </object>
+    </child>
+  </object>
+  <object class="GtkDialog" id="register_dialog">
+    <property name="border_width">5</property>
+    <property name="title" translatable="yes">Memory Registers</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="rframe_response_cb"/>
+    <signal name="delete_event" handler="rframe_delete_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox1">
+        <property name="visible">True</property>
+        <property name="spacing">2</property>
+        <child>
+          <object class="GtkTable" id="table9">
+            <property name="visible">True</property>
+            <property name="border_width">5</property>
+            <property name="n_rows">10</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">12</property>
+            <property name="row_spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label40">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R0&quot; is the abbreviation for &quot;Register 0&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R0&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label41">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R1&quot; is the abbreviation for &quot;Register 1&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R1&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label42">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R2&quot; is the abbreviation for &quot;Register 2&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R2&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <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>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label43">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R3&quot; is the abbreviation for &quot;Register 3&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R3&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label44">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R4&quot; is the abbreviation for &quot;Register 4&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R4&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="top_attach">4</property>
+                <property name="bottom_attach">5</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label45">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R5&quot; is the abbreviation for &quot;Register 5&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R5&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="top_attach">5</property>
+                <property name="bottom_attach">6</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label46">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R6&quot; is the abbreviation for &quot;Register 6&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R6&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="top_attach">6</property>
+                <property name="bottom_attach">7</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label47">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R7&quot; is the abbreviation for &quot;Register 7&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R7&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="top_attach">7</property>
+                <property name="bottom_attach">8</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label48">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R8&quot; is the abbreviation for &quot;Register 8&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R8&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="top_attach">8</property>
+                <property name="bottom_attach">9</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label49">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="&quot;R9&quot; is the abbreviation for &quot;Register 9&quot;, used in the memory register dialog">&lt;span weight="bold"&gt;R9&lt;/span&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="top_attach">9</property>
+                <property name="bottom_attach">10</property>
+                <property name="x_options">GTK_FILL</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_0">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 0.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 0</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_1">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 1.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 1</property>
+                  </object>
+                </child>
+              </object>
+              <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="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_2">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 2.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 2</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_3">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 3.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 3</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_4">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 4.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 4</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">4</property>
+                <property name="bottom_attach">5</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_5">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 5.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 5</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">5</property>
+                <property name="bottom_attach">6</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_6">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 6.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 6</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">6</property>
+                <property name="bottom_attach">7</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_7">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 7.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 7</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">7</property>
+                <property name="bottom_attach">8</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_8">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 8.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 8</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">8</property>
+                <property name="bottom_attach">9</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="register_entry_9">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="dummy">
+                    <property name="AtkObject::accessible-name" translatable="yes" comments="This is accessible name for memory register 9.  It is spoken by screen readers such as Orca, to help people who are blind or have low vision.">register 9</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">9</property>
+                <property name="bottom_attach">10</property>
+                <property name="y_options"></property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area1">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="closebutton1">
+                <property name="label">gtk-close</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-7">closebutton1</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="edit_constants_dialog">
+    <property name="width_request">380</property>
+    <property name="height_request">300</property>
+    <property name="border_width">5</property>
+    <property name="title" translatable="yes" comments="Title of edit constants dialog">Edit Constants</property>
+    <property name="destroy_with_parent">True</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="edit_constants_response_cb"/>
+    <signal name="delete_event" handler="edit_constants_delete_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox2">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkVBox" id="vbox2">
+            <property name="visible">True</property>
+            <property name="border_width">5</property>
+            <property name="spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label51">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Edit Constants Dialog: Instructions in dialog">Click a _value or description to edit it:</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <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">never</property>
+                <child>
+                  <object class="GtkTreeView" id="edit_constants_treeview">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="rules_hint">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="position">1</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label50">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Edit Constants Dialog: Note about what base numbers will be entered as">&lt;small&gt;&lt;i&gt;&lt;b&gt;Note:&lt;/b&gt; All constant values are specified in the decimal numeric base.&lt;/i&gt;&lt;/small&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">2</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area2">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="helpbutton1">
+                <property name="label">gtk-help</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="cancelbutton1">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="okbutton1">
+                <property name="label">gtk-ok</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="has_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">2</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-11">helpbutton1</action-widget>
+      <action-widget response="-6">cancelbutton1</action-widget>
+      <action-widget response="-3">okbutton1</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkMenu" id="constants_popup">
+    <child>
+      <object class="GtkMenuItem" id="edit_constants1">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Menu item in the constants menu to show the Edit Constants dialog">Edit Constants...</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="edit_constants_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item0">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item1">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item2">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item3">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item4">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item5">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item6">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item7">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item8">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="constant_menu_item9">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="constant_menu_cb"/>
+      </object>
+    </child>
+  </object>
+  <object class="GtkMenu" id="functions_popup">
+    <child>
+      <object class="GtkMenuItem" id="menuitem6">
+        <property name="visible">True</property>
+        <property name="label" translatable="yes" comments="Menu item in the constants menu to show the Edit Functions dialog">Edit Functions...</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="edit_functions_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item0">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item1">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item2">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item3">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item4">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item5">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item6">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item7">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item8">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="function_menu_item9">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="function_menu_cb"/>
+      </object>
+    </child>
+  </object>
+  <object class="GtkDialog" id="edit_functions_dialog">
+    <property name="width_request">380</property>
+    <property name="height_request">300</property>
+    <property name="border_width">5</property>
+    <property name="title" translatable="yes" comments="Title of edit functions dialog">Edit Functions</property>
+    <property name="destroy_with_parent">True</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="edit_functions_response_cb"/>
+    <signal name="delete_event" handler="edit_functions_delete_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="vbox4">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkVBox" id="vbox5">
+            <property name="visible">True</property>
+            <property name="border_width">5</property>
+            <property name="spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label53">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Edit Functions Dialog: Instructions in dialog">Click a _value or description to edit it:</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkScrolledWindow" id="scrolledwindow2">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="hscrollbar_policy">automatic</property>
+                <property name="vscrollbar_policy">never</property>
+                <child>
+                  <object class="GtkTreeView" id="edit_functions_treeview">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="rules_hint">True</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="position">1</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="label54">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes" comments="Edit Function Dialog: Note about what base numbers will be entered as">&lt;small&gt;&lt;i&gt;&lt;b&gt;Note:&lt;/b&gt; All constant values are specified in the decimal numeric base.&lt;/i&gt;&lt;/small&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">2</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="hbuttonbox3">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button5">
+                <property name="label">gtk-help</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button6">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button7">
+                <property name="label">gtk-ok</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="has_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">2</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-11">button5</action-widget>
+      <action-widget response="-6">button6</action-widget>
+      <action-widget response="-3">button7</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkMenu" id="memory_store_popup">
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item0">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item1">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item2">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item3">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item4">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item5">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item6">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item7">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item8">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="store_menu_item9">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="store_menu_cb"/>
+      </object>
+    </child>
+  </object>
+  <object class="GtkMenu" id="memory_exchange_popup">
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item0">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item1">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item2">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item3">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item4">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item5">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item6">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item7">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item8">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="exchange_menu_item9">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="exchange_menu_cb"/>
+      </object>
+    </child>
+  </object>
+  <object class="GtkMenu" id="memory_recall_popup">
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item0">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item1">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item2">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item3">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item4">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item5">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item6">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item7">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item8">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="recall_menu_item9">
+        <property name="visible">True</property>
+        <property name="use_underline">True</property>
+        <signal name="activate" handler="recall_menu_cb"/>
+      </object>
+    </child>
+  </object>
+  <object class="GtkDialog" id="ascii_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of insert ASCII dialog">Insert ASCII Value</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="aframe_response_cb"/>
+    <signal name="delete_event" handler="aframe_delete_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox3">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkHBox" id="hbox21">
+            <property name="visible">True</property>
+            <property name="border_width">5</property>
+            <child>
+              <object class="GtkLabel" id="label39">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="Insert ASCII dialog: Label before character entry">Ch_aracter:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">ascii_entry</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="ascii_entry">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="max_length">1</property>
+                <property name="invisible_char">&#x25CF;</property>
+                <signal name="activate" handler="aframe_activate_cb"/>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area3">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button8">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button9">
+                <property name="label" translatable="yes" comments="Insert ASCII dialog: Button to insert selected character">_Insert</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button8</action-widget>
+      <action-widget response="-5">button9</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkDialog" id="precision_dialog">
+    <property name="border_width">6</property>
+    <property name="title" translatable="yes" comments="Title of set precision dialog">Set Precision</property>
+    <property name="resizable">False</property>
+    <property name="type_hint">dialog</property>
+    <property name="has_separator">False</property>
+    <signal name="response" handler="spframe_response_cb"/>
+    <signal name="delete_event" handler="spframe_delete_cb"/>
+    <child internal-child="vbox">
+      <object class="GtkVBox" id="dialog-vbox4">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkHBox" id="hbox22">
+            <property name="visible">True</property>
+            <property name="border_width">5</property>
+            <property name="spacing">6</property>
+            <child>
+              <object class="GtkLabel" id="label52">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes" comments="Set Precision Dialog: Label before the significant places spin button">Significant _places:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">spframe_spin</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkSpinButton" id="spframe_spin">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="adjustment">adjustment1</property>
+                <property name="climb_rate">1</property>
+                <property name="numeric">True</property>
+                <property name="update_policy">if-valid</property>
+                <signal name="activate" handler="spframe_activate_cb" after="yes"/>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <object class="GtkHButtonBox" id="dialog-action_area4">
+            <property name="visible">True</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="button10">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="button11">
+                <property name="label" translatable="yes" comments="Set Precision Dialog: Button to apply settings">_Set</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="receives_default">False</property>
+                <property name="use_underline">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+    <action-widgets>
+      <action-widget response="-6">button10</action-widget>
+      <action-widget response="-5">button11</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkAdjustment" id="adjustment1">
+    <property name="value">1</property>
+    <property name="upper">99</property>
+    <property name="step_increment">1</property>
+    <property name="page_increment">10</property>
+  </object>
+  <object class="GtkTextBuffer" id="textbuffer1"/>
+  <object class="GtkAccelGroup" id="accelgroup1"/>
+</interface>

Modified: trunk/gcalctool/Makefile.am
==============================================================================
--- trunk/gcalctool/Makefile.am	(original)
+++ trunk/gcalctool/Makefile.am	Mon Apr  6 02:04:54 2009
@@ -4,7 +4,7 @@
 	-I$(includedir) \
 	$(DISABLE_DEPRECATED) \
 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
-	-DPACKAGE_GLADE_DIR=\""$(datadir)/gcalctool"\" \
+	-DPACKAGE_UI_DIR=\""$(datadir)/gcalctool"\" \
 	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
 	-DPACKAGE_PIXMAP_DIR=\""$(prefix)/$(DATADIRNAME)/pixmaps"\" \
 	$(PACKAGE_CFLAGS) \

Modified: trunk/gcalctool/gtk.c
==============================================================================
--- trunk/gcalctool/gtk.c	(original)
+++ trunk/gcalctool/gtk.c	Mon Apr  6 02:04:54 2009
@@ -26,7 +26,6 @@
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 #include <gdk/gdkkeysyms.h>
-#include <glade/glade.h>
 
 #include <limits.h>
 #include <sys/param.h>
@@ -83,20 +82,18 @@
     N_("Calculator [%s] - Programming")
 };
 
-#define FINC_NUM_ARGS 4
-
 /* The names of each field in the dialogs for the financial functions */
-static char *finc_dialog_fields[FINC_NUM_DIALOGS][FINC_NUM_ARGS] = {
-    {"ctrm_pint", "ctrm_fv",     "ctrm_pv",    NULL},
-    {"ddb_cost",  "ddb_life",    "ddb_period", NULL},
-    {"fv_pmt",    "fv_pint",     "fv_n",       NULL},
-    {"gpm_cost",  "gpm_margin",  NULL,         NULL},
-    {"pmt_prin",  "pmt_pint",    "pmt_n",      NULL},
-    {"pv_pmt",    "pv_pint",     "pv_n",       NULL},
-    {"rate_fv",   "rate_pv",     "rate_n",     NULL},
-    {"sln_cost",  "sln_salvage", "sln_life",   NULL},
-    {"syd_cost",  "syd_salvage", "syd_life",   "syd_period"},
-    {"term_pmt",  "term_fv",     "term_pint",  NULL},
+static char *finc_dialog_fields[FINC_NUM_DIALOGS][5] = {
+    {"ctrm_pint", "ctrm_fv",     "ctrm_pv",    NULL,         NULL},
+    {"ddb_cost",  "ddb_life",    "ddb_period", NULL,         NULL},
+    {"fv_pmt",    "fv_pint",     "fv_n",       NULL,         NULL},
+    {"gpm_cost",  "gpm_margin",  NULL,         NULL,         NULL},
+    {"pmt_prin",  "pmt_pint",    "pmt_n",      NULL,         NULL},
+    {"pv_pmt",    "pv_pint",     "pv_n",       NULL,         NULL},
+    {"rate_fv",   "rate_pv",     "rate_n",     NULL,         NULL},
+    {"sln_cost",  "sln_salvage", "sln_life",   NULL,         NULL},
+    {"syd_cost",  "syd_salvage", "syd_life",   "syd_period", NULL},
+    {"term_pmt",  "term_fv",     "term_pint",  NULL,         NULL},
 };
 
 /*  This table shows the keyboard values that are currently being used:
@@ -442,15 +439,14 @@
 };
 #define NBUTTONS (sizeof(button_widgets) / sizeof(struct button_widget))
 
-#define UI_FILE PACKAGE_GLADE_DIR "/gcalctool.glade"
+#define UI_FILE PACKAGE_UI_DIR "/gcalctool.ui"
 
-#define  MAXBITS    64      /* Bit panel: number of bit fields. */
+#define MAXBITS 64      /* Bit panel: number of bit fields. */
 
 #define GET_WIDGET(name) \
-          glade_xml_get_widget(X.ui, (name))
-
-#define CONNECT_SIGNAL(name) glade_xml_signal_connect(X.ui, #name, \
-                       G_CALLBACK(name))
+          GTK_WIDGET(gtk_builder_get_object(X.ui, (name)))
+#define GET_FINC_WIDGET(name) \
+          GTK_WIDGET(gtk_builder_get_object(X.financial, (name)))
 
 /* Gtk+/Xlib graphics object. */
 typedef struct {
@@ -459,8 +455,8 @@
    
     ModeType mode;  /* Current calculator mode. */   
 
-    GladeXML  *ui;
-    GladeXML  *financial;
+    GtkBuilder *ui;
+    GtkBuilder *financial;
     
     GtkWidget *kframe;                 /* Main window. */
  
@@ -879,8 +875,8 @@
     if (X.financial == NULL) {
         setup_finc_dialogs();
     }
-    gtk_dialog_run(GTK_DIALOG(glade_xml_get_widget(X.financial, dialog)));
-    gtk_widget_hide(GTK_WIDGET(glade_xml_get_widget(X.financial, dialog)));
+    gtk_dialog_run(GTK_DIALOG(GET_FINC_WIDGET(dialog)));
+    gtk_widget_hide(GTK_WIDGET(GET_FINC_WIDGET(dialog)));
 }
 
 void
@@ -1182,8 +1178,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 about_cb(GtkWidget *widget)
 {
     const gchar *authors[] = {
@@ -1291,8 +1287,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 aframe_response_cb(GtkWidget *dialog, gint response_id)
 {
     char *ch;
@@ -1308,7 +1304,8 @@
 }
 
 
-static gboolean
+G_MODULE_EXPORT
+gboolean
 aframe_delete_cb(GtkWidget *dialog)
 {
     aframe_response_cb(dialog, GTK_RESPONSE_CANCEL);
@@ -1316,23 +1313,24 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 aframe_activate_cb(GtkWidget *entry)
 {
     aframe_response_cb(X.aframe, GTK_RESPONSE_OK);
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 rframe_response_cb(GtkWidget *dialog, int response_id)
 {
     ui_set_registers_visible(FALSE);
 }
 
 
-static gboolean
+G_MODULE_EXPORT
+gboolean
 rframe_delete_cb(GtkWidget *dialog)
 {
     rframe_response_cb(dialog, GTK_RESPONSE_OK);
@@ -1340,7 +1338,7 @@
 }
 
 
-/*ARGSUSED*/
+G_MODULE_EXPORT
 void
 disp_cb(GtkWidget *widget)
 {
@@ -1349,7 +1347,7 @@
 }
 
 
-/*ARGSUSED*/
+G_MODULE_EXPORT
 void
 base_cb(GtkWidget *widget)
 {
@@ -1388,8 +1386,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 constant_menu_cb(GtkMenuItem *menu)
 {
     int arg = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(menu), "constant_id"));
@@ -1397,8 +1395,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 function_menu_cb(GtkMenuItem *menu)
 {
     int arg = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(menu), "function_id"));
@@ -1406,8 +1404,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 store_menu_cb(GtkMenuItem *menu)
 {
     int arg = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(menu), "register_id"));
@@ -1415,8 +1413,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 recall_menu_cb(GtkMenuItem *menu)
 {
     int arg = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(menu), "register_id"));
@@ -1424,8 +1422,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 exchange_menu_cb(GtkMenuItem *menu)
 {
     int arg = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(menu), "register_id"));
@@ -1433,61 +1431,55 @@
 }
 
 
-static void
-finc_activate_cb(GtkWidget *widget, void *pointer) {
-    gint i, dialog;
-    GtkWidget *next_widget, *dialog_widget;
-    const char* widget_name = glade_get_widget_name(widget);
-    for (dialog = 0; dialog < FINC_NUM_DIALOGS; dialog++) {
-        for (i = 0; i < FINC_NUM_ARGS; i++) {
-            if (finc_dialog_fields[dialog][i] == NULL ||
-                g_ascii_strcasecmp(widget_name, 
-                                   finc_dialog_fields[dialog][i])) {
-                continue;
-            }
-            
-            if (i < FINC_NUM_ARGS - 1 &&
-                finc_dialog_fields[dialog][i+1] != NULL) {
-                next_widget = glade_xml_get_widget(X.financial,
-                                                   finc_dialog_fields[dialog][i+1]);
-                gtk_widget_grab_focus(next_widget);
-                return;
-            }
-            else {
-                dialog_widget = gtk_widget_get_toplevel(widget);
-                if (GTK_WIDGET_TOPLEVEL (dialog_widget)) {
-                    gtk_dialog_response(GTK_DIALOG(dialog_widget),
-                                        GTK_RESPONSE_OK);
-                    return;
-                }
-            }
+G_MODULE_EXPORT
+void
+finc_activate_cb(GtkWidget *widget) {
+    gint dialog, field;
+
+    dialog = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), "finc_dialog"));
+    field = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), "finc_field"));
+    
+    if (finc_dialog_fields[dialog][field+1] == NULL) {
+        GtkWidget *dialog_widget;
+        dialog_widget = gtk_widget_get_toplevel(widget);
+        if (GTK_WIDGET_TOPLEVEL (dialog_widget)) {
+            gtk_dialog_response(GTK_DIALOG(dialog_widget),
+                                GTK_RESPONSE_OK);
+            return;
         }
     }
+    else {
+        GtkWidget *next_widget;
+        next_widget = GET_FINC_WIDGET(finc_dialog_fields[dialog][field+1]);
+        gtk_widget_grab_focus(next_widget);
+    }
 }
 
 
-static void
-finc_response_cb(GtkWidget *widget, gint response_id, void *dialog_pointer)
+G_MODULE_EXPORT
+void
+finc_response_cb(GtkWidget *widget, gint response_id)
 {
-    int dialog = GPOINTER_TO_INT (dialog_pointer);
+    int dialog;
     int i;
-    MPNumber arg[FINC_NUM_ARGS];
+    MPNumber arg[4];
     GtkWidget *entry;
+
     if (response_id != GTK_RESPONSE_OK) {
         return;
     }
+    
+    dialog = GPOINTER_TO_INT (g_object_get_data(G_OBJECT(widget), "finc_dialog"));
 
-    for (i = 0; i < FINC_NUM_ARGS; i++) {
+    for (i = 0; i < 4; i++) {
         if (finc_dialog_fields[dialog][i] == NULL) {
             continue;
         }
-        entry = glade_xml_get_widget(X.financial,
-                                     finc_dialog_fields[dialog][i]);
+        entry = GET_FINC_WIDGET(finc_dialog_fields[dialog][i]);
         mp_set_from_string(gtk_entry_get_text(GTK_ENTRY(entry)), 10, &arg[i]);
         gtk_entry_set_text(GTK_ENTRY(entry), "0");
     }
-    gtk_widget_grab_focus(glade_xml_get_widget(X.financial, 
-                                               finc_dialog_fields[dialog][0]));
+    gtk_widget_grab_focus(GET_FINC_WIDGET(finc_dialog_fields[dialog][0]));
 
     do_finc_expression(dialog, &arg[0], &arg[1], &arg[2], &arg[3]);
 }
@@ -1496,41 +1488,51 @@
 static void
 setup_finc_dialogs(void)
 {
-    X.financial = glade_xml_new(PACKAGE_GLADE_DIR "/financial.glade", NULL, 
-                                 NULL);
-    glade_xml_signal_connect_data(X.financial, "finc_ctrm_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_CTRM_DIALOG));
-    glade_xml_signal_connect_data(X.financial, "finc_ddb_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_DDB_DIALOG));
-    glade_xml_signal_connect_data(X.financial, "finc_fv_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_FV_DIALOG));
-    glade_xml_signal_connect_data(X.financial, "finc_gpm_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_GPM_DIALOG));
-    glade_xml_signal_connect_data(X.financial, "finc_pmt_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_PMT_DIALOG));
-    glade_xml_signal_connect_data(X.financial, "finc_pv_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_PV_DIALOG));
-    glade_xml_signal_connect_data(X.financial, "finc_rate_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_RATE_DIALOG));
-    glade_xml_signal_connect_data(X.financial, "finc_sln_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_SLN_DIALOG));
-    glade_xml_signal_connect_data(X.financial, "finc_syd_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_SYD_DIALOG));
-    glade_xml_signal_connect_data(X.financial, "finc_term_response_cb", 
-                             G_CALLBACK(finc_response_cb), 
-                             GINT_TO_POINTER(FINC_TERM_DIALOG));
-
-    glade_xml_signal_connect(X.financial, "finc_activate_cb", 
-                             G_CALLBACK(finc_activate_cb));
+    GError *error = NULL;
+    int i, j;
+    
+    // FIXME: Use same code as main UI
+    X.financial = gtk_builder_new();
+    gtk_builder_add_from_file(X.financial, PACKAGE_UI_DIR "/financial.ui", &error);
+    if (error != NULL)
+    {
+        g_object_unref(X.financial);
+        X.financial = NULL;
+        g_warning("Error loading financial UI: %s\n", error->message);
+        return;
+    }
+    
+    g_object_set_data(gtk_builder_get_object(X.financial, "ctrm_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_CTRM_DIALOG));
+    g_object_set_data(gtk_builder_get_object(X.financial, "ddb_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_DDB_DIALOG));
+    g_object_set_data(gtk_builder_get_object(X.financial, "fv_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_FV_DIALOG));
+    g_object_set_data(gtk_builder_get_object(X.financial, "gpm_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_GPM_DIALOG));
+    g_object_set_data(gtk_builder_get_object(X.financial, "pmt_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_PMT_DIALOG));
+    g_object_set_data(gtk_builder_get_object(X.financial, "pv_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_PV_DIALOG));
+    g_object_set_data(gtk_builder_get_object(X.financial, "rate_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_RATE_DIALOG));
+    g_object_set_data(gtk_builder_get_object(X.financial, "sln_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_SLN_DIALOG));
+    g_object_set_data(gtk_builder_get_object(X.financial, "syd_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_SYD_DIALOG));
+    g_object_set_data(gtk_builder_get_object(X.financial, "term_dialog"),
+                      "finc_dialog", GINT_TO_POINTER(FINC_TERM_DIALOG));
+    
+    for (i = 0; i < FINC_NUM_DIALOGS; i++) {
+        for (j = 0; finc_dialog_fields[i][j]; j++) {
+            GObject *o;
+            o = gtk_builder_get_object(X.financial, finc_dialog_fields[i][j]);
+            g_object_set_data(o, "finc_field", GINT_TO_POINTER(j));
+            g_object_set_data(o, "finc_dialog", GINT_TO_POINTER(i));
+        }
+    }
+    
+    gtk_builder_connect_signals(X.financial, NULL);
 }
 
 static void
@@ -1575,7 +1577,8 @@
 }
 
 
-static void
+G_MODULE_EXPORT
+void
 edit_constants_response_cb(GtkDialog *dialog, gint id)
 {
     GtkTreeIter iter;
@@ -1605,7 +1608,8 @@
 }
 
 
-static gboolean
+G_MODULE_EXPORT
+gboolean
 edit_constants_delete_cb(GtkDialog *dialog)
 {
     edit_constants_response_cb(dialog, GTK_RESPONSE_CANCEL);
@@ -1613,7 +1617,8 @@
 }
 
 
-static void
+G_MODULE_EXPORT
+void
 edit_functions_response_cb(GtkDialog *dialog, gint id)
 {
     GtkTreeIter iter;
@@ -1641,7 +1646,8 @@
 }
 
 
-static gboolean
+G_MODULE_EXPORT
+gboolean
 edit_functions_delete_cb(GtkDialog *dialog)
 {
     edit_functions_response_cb(dialog, GTK_RESPONSE_CANCEL);
@@ -1649,7 +1655,6 @@
 }
 
 
-/*ARGSUSED*/
 static GtkTreeModel *
 create_constants_model()
 {
@@ -1676,7 +1681,6 @@
 }
 
 
-/*ARGSUSED*/
 static GtkTreeModel *
 create_functions_model()
 {
@@ -1733,8 +1737,8 @@
 }
 
 
-/*ARGSUSED*/
-static gboolean
+G_MODULE_EXPORT
+gboolean
 bit_toggle_cb(GtkWidget *event_box, GdkEventButton *event)
 {
     int index;
@@ -1744,7 +1748,8 @@
 }
 
 
-static void
+G_MODULE_EXPORT
+void
 menu_item_select_cb(GtkWidget *widget)
 {
     GtkStatusbar *statusbar = GTK_STATUSBAR(X.statusbar);
@@ -1760,8 +1765,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 menu_item_deselect_cb(GtkWidget *widget)
 {
     GtkStatusbar *statusbar = GTK_STATUSBAR(X.statusbar);
@@ -1841,15 +1846,15 @@
 }
 
 
-/*ARGSUSED*/
-static void 
+G_MODULE_EXPORT
+void 
 help_cb(GtkWidget *widget)
 {
     help_display();
 }
 
 
-/*ARGSUSED*/
+G_MODULE_EXPORT
 void
 hyp_cb(GtkWidget *widget)
 {
@@ -1857,7 +1862,7 @@
 }
 
 
-/*ARGSUSED*/
+G_MODULE_EXPORT
 void
 trig_cb(GtkWidget *widget)
 {
@@ -1866,7 +1871,7 @@
 }
 
 
-/*ARGSUSED*/
+G_MODULE_EXPORT
 void
 inv_cb(GtkWidget *widget)
 {
@@ -1874,7 +1879,6 @@
 }
 
 
-/*ARGSUSED*/
 static void
 menu_pos_func(GtkMenu *menu, gint *x, gint *y,
               gboolean *push_in, gpointer user_data)
@@ -1886,8 +1890,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 button_cb(GtkWidget *widget, GdkEventButton *event)
 {
     int function;
@@ -1929,7 +1933,6 @@
 }
 
 
-/*ARGSUSED*/
 static void
 select_display_entry(int offset)
 {
@@ -1941,8 +1944,8 @@
 }
 
 
-/*ARGSUSED*/
-static gboolean
+G_MODULE_EXPORT
+gboolean
 kframe_key_press_cb(GtkWidget *widget, GdkEventKey *event)
 {
     int i, j, state;
@@ -2058,7 +2061,8 @@
 }
 
 
-static gboolean
+G_MODULE_EXPORT
+gboolean
 kframe_key_release_cb(GtkWidget *widget, GdkEventKey *event)
 {
     if (event->keyval == GDK_Shift_L || event->keyval == GDK_Shift_R) {
@@ -2070,8 +2074,8 @@
 }
 
 
-/*ARGSUSED*/
-static void 
+G_MODULE_EXPORT
+void 
 edit_cb(GtkWidget *widget)
 {
     gboolean can_paste, can_copy;
@@ -2085,15 +2089,14 @@
 }
 
 
-/*ARGSUSED*/
-static void 
+G_MODULE_EXPORT
+void 
 copy_cb(GtkWidget *widget)
 {
     get_display();
 }
 
 
-/*ARGSUSED*/
 static void
 get_proc(GtkClipboard *clipboard, const gchar *buffer, gpointer data)
 {
@@ -2168,8 +2171,8 @@
 }
 
 
-/*ARGSUSED*/
-static gboolean
+G_MODULE_EXPORT
+gboolean
 mouse_button_cb(GtkWidget *widget, GdkEventButton *event)
 {
     if (event->button == 2) {
@@ -2181,8 +2184,8 @@
 }
 
 
-/*ARGSUSED*/
-static void 
+G_MODULE_EXPORT
+void 
 paste_cb(GtkWidget *widget)
 {
     gtk_clipboard_request_text(gtk_clipboard_get(X.clipboard_atom),
@@ -2190,31 +2193,30 @@
 }
 
 
-/*ARGSUSED*/
-static void 
+G_MODULE_EXPORT
+void 
 popup_paste_cb(GtkWidget *menu)
 {
     paste_cb(menu);
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 undo_cb(GtkWidget *widget)
 {
     do_button(FN_UNDO, 0);
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 redo_cb(GtkWidget *widget)
 {
     do_button(FN_REDO, 0);    
 }
 
 
-/*ARGSUSED*/
 static void
 for_each_menu(GtkWidget *widget, gpointer data)
 {
@@ -2235,27 +2237,28 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 buffer_populate_popup_cb(GtkTextView *textview, GtkMenu *menu)
 {
     gtk_container_foreach(GTK_CONTAINER(menu), for_each_menu, NULL);
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 insert_ascii_cb(GtkWidget *widget)
 {
     if (!GTK_WIDGET_VISIBLE(X.aframe)) {
         ds_position_popup(X.kframe, X.aframe, DS_POPUP_LEFT);
     }
-    gtk_window_set_focus(GTK_WINDOW(X.kframe), GTK_WIDGET(X.aframe_ch));
+    gtk_widget_grab_focus(GTK_WIDGET(X.aframe_ch));
     gtk_widget_show(X.aframe);
 }
 
 
-static void
+G_MODULE_EXPORT
+void
 shift_cb(GtkWidget *widget)
 {
     int count = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), 
@@ -2264,8 +2267,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 show_registers_cb(GtkWidget *widget)
 {
     gboolean visible;    
@@ -2274,8 +2277,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 mode_radio_cb(GtkWidget *menu)
 {
     int mode;             /* The new mode. */
@@ -2289,8 +2292,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 accuracy_radio_cb(GtkWidget *widget)
 {
     int count;
@@ -2301,28 +2304,28 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 accuracy_other_cb(GtkWidget *widget)
 {
     if (!GTK_WIDGET_VISIBLE(X.spframe)) {
         ds_position_popup(X.kframe, X.spframe, DS_POPUP_LEFT);
     }    
-    gtk_window_set_focus(GTK_WINDOW(X.spframe), GTK_WIDGET(X.precision_spin));
+    gtk_widget_grab_focus(GTK_WIDGET(X.precision_spin));
     gtk_widget_show(X.spframe);
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 accuracy_default_cb(GtkWidget *widget)
 {
     do_button(FN_SET_ACCURACY, DEFAULT_ACCURACY);
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 show_trailing_zeroes_cb(GtkWidget *widget)
 {
     gboolean visible;    
@@ -2332,8 +2335,8 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 quit_cb(GtkWidget *widget)
 {
     save_win_position();
@@ -2341,7 +2344,8 @@
 }
 
 
-static void
+G_MODULE_EXPORT
+void
 spframe_response_cb(GtkWidget *dialog, gint response_id)
 {
     int val;
@@ -2354,7 +2358,8 @@
 }
 
 
-static gboolean
+G_MODULE_EXPORT
+gboolean
 spframe_delete_cb(GtkWidget *dialog)
 {
     spframe_response_cb(dialog, GTK_RESPONSE_CANCEL);
@@ -2362,16 +2367,16 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 spframe_activate_cb(GtkWidget *spin)
 {
     spframe_response_cb(X.spframe, GTK_RESPONSE_OK);
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 show_thousands_separator_cb(GtkWidget *widget)
 {
     gboolean visible;
@@ -2381,16 +2386,16 @@
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 edit_constants_cb(GtkMenuItem *item)
 {
     gtk_widget_show(X.con_dialog);
 }
 
 
-/*ARGSUSED*/
-static void
+G_MODULE_EXPORT
+void
 edit_functions_cb(GtkMenuItem *item)
 {
     gtk_widget_show(X.fun_dialog);
@@ -2434,9 +2439,11 @@
     GtkSizeGroup *size_group;
     GtkAccelGroup *accel_group;
     GtkWidget *treeview;
+    GError *error = NULL;
    
-    X.ui = glade_xml_new(UI_FILE, NULL, NULL);
-    if (X.ui == NULL) {
+    X.ui = gtk_builder_new();
+    gtk_builder_add_from_file(X.ui, UI_FILE, &error);
+    if (error != NULL) {
         GtkWidget *dialog;
         
         dialog = gtk_message_dialog_new(NULL, 0,
@@ -2444,6 +2451,7 @@
                                         GTK_BUTTONS_NONE,
                                         /* Translators: Title of the error dialog when unable to load the UI files */
                                         N_("Error loading user interface"));
+        // FIXME: Use error->message
         gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),
                                                  /* Translators: Description in UI error dialog when unable to load the UI files. %s is replaced with the path of the missing file */
                                                  N_("The user interface file %s is missing or unable to be loaded. Please check your installation."), UI_FILE);
@@ -2452,65 +2460,7 @@
         gtk_dialog_run(GTK_DIALOG(dialog));
         exit(0);
     }
-    
-    /* When connecting up signals, would ideally use autoconnect but not 
-     * sure how to get the build process working. 
-     * See http://library.gnome.org/devel/libglade/unstable and
-     * http://www.jamesh.id.au/software/libglade/ 
-     * for some information on how to get this to work
-     * glade_xml_signal_autoconnect(X.ui);
-     */
-    CONNECT_SIGNAL(kframe_key_press_cb);
-    CONNECT_SIGNAL(kframe_key_release_cb);
-    CONNECT_SIGNAL(button_cb);
-    CONNECT_SIGNAL(menu_item_select_cb);
-    CONNECT_SIGNAL(menu_item_deselect_cb);
-    CONNECT_SIGNAL(mode_radio_cb);
-    CONNECT_SIGNAL(inv_cb);
-    CONNECT_SIGNAL(hyp_cb);
-    CONNECT_SIGNAL(base_cb);
-    CONNECT_SIGNAL(disp_cb);
-    CONNECT_SIGNAL(trig_cb);    
-    CONNECT_SIGNAL(quit_cb);
-    CONNECT_SIGNAL(edit_cb);
-    CONNECT_SIGNAL(copy_cb);
-    CONNECT_SIGNAL(paste_cb);
-    CONNECT_SIGNAL(insert_ascii_cb);
-    CONNECT_SIGNAL(undo_cb);
-    CONNECT_SIGNAL(redo_cb);
-    CONNECT_SIGNAL(help_cb);
-    CONNECT_SIGNAL(about_cb);
-    CONNECT_SIGNAL(show_trailing_zeroes_cb);
-    CONNECT_SIGNAL(show_thousands_separator_cb);
-    CONNECT_SIGNAL(show_registers_cb);
-    CONNECT_SIGNAL(accuracy_radio_cb);
-    CONNECT_SIGNAL(accuracy_other_cb);
-    CONNECT_SIGNAL(accuracy_default_cb);    
-    CONNECT_SIGNAL(constant_menu_cb);
-    CONNECT_SIGNAL(function_menu_cb);
-    CONNECT_SIGNAL(store_menu_cb);
-    CONNECT_SIGNAL(recall_menu_cb);
-    CONNECT_SIGNAL(exchange_menu_cb);
-    CONNECT_SIGNAL(mouse_button_cb);
-    /* Detect when populating the right-click menu to enable pasting */
-    CONNECT_SIGNAL(buffer_populate_popup_cb);
-    CONNECT_SIGNAL(shift_cb);
-    CONNECT_SIGNAL(bit_toggle_cb);
-    CONNECT_SIGNAL(aframe_delete_cb);
-    CONNECT_SIGNAL(aframe_activate_cb);
-    CONNECT_SIGNAL(aframe_response_cb);
-    CONNECT_SIGNAL(spframe_delete_cb);
-    CONNECT_SIGNAL(spframe_activate_cb);
-    CONNECT_SIGNAL(spframe_response_cb);
-    CONNECT_SIGNAL(rframe_delete_cb);
-    CONNECT_SIGNAL(rframe_response_cb);
-    CONNECT_SIGNAL(edit_constants_cb);
-    CONNECT_SIGNAL(edit_functions_cb);
-    CONNECT_SIGNAL(edit_constants_delete_cb);    
-    CONNECT_SIGNAL(edit_constants_response_cb);
-    CONNECT_SIGNAL(edit_constants_delete_cb);    
-    CONNECT_SIGNAL(edit_functions_response_cb);
-    CONNECT_SIGNAL(edit_functions_delete_cb);
+    gtk_builder_connect_signals(X.ui, NULL);
 
     X.clipboard_atom = gdk_atom_intern("CLIPBOARD", FALSE);
     X.primary_atom = gdk_atom_intern("PRIMARY", FALSE);
@@ -2726,11 +2676,7 @@
         g_object_set_data(G_OBJECT(X.disp[i]),
                           "numeric_mode", GINT_TO_POINTER(i));
 
-    /* Put status image into statusbar (glade doesn't support child widgets
-     * in statusbars) */
-    X.status_image = gtk_image_new_from_stock("", GTK_ICON_SIZE_BUTTON);
-    gtk_widget_show(X.status_image);
-    gtk_box_pack_start(GTK_BOX(X.statusbar), X.status_image, FALSE, TRUE, 0);
+    X.status_image = GET_WIDGET("status_image");
 
     /* Set modes for menu items */
     for (i = 1; i < 16; i++) {
@@ -2841,15 +2787,6 @@
     if (get_boolean_resource(R_REGS, &boolval))
         ui_set_registers_visible(boolval);
 
-    /* Focus on the clear button */
-    if (X.mode == BASIC) {
-        gtk_window_set_focus(GTK_WINDOW(X.kframe),
-                             GTK_WIDGET(X.clear_buttons[0]));
-    } else {
-        gtk_window_set_focus(GTK_WINDOW(X.kframe),
-                             GTK_WIDGET(X.clear_buttons[1]));
-    }
-
     /* Set default accuracy menu item */
     /* Translators: Accuracy Popup: Menu item to reset the accuracy to the default value. %d is replaced with the default value. */
     SNPRINTF(text, MAXLINE, _("Reset to _Default (%d)"), DEFAULT_ACCURACY);
@@ -2864,6 +2801,13 @@
     ui_set_trigonometric_mode(v->ttype);
     ui_set_numeric_mode(v->display.format);
 
+    /* Focus on the clear button */
+    if (X.mode == BASIC) {
+        gtk_widget_grab_focus(GTK_WIDGET(X.clear_buttons[0]));
+    } else {
+        gtk_widget_grab_focus(GTK_WIDGET(X.clear_buttons[1]));
+    }
+    
     gtk_widget_show(X.kframe);
 
     gtk_main();



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