gnucash maint: Prevent some GtkEntry getting focus in invoice.

Mike Evans mikee at code.gnucash.org
Wed Jan 6 06:53:25 EST 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/9895e559 (commit)
	from  https://github.com/Gnucash/gnucash/commit/bd3406ee (commit)



commit 9895e559014dfcb00c11ce2399614d8328ba1ea3
Author: Mike Evans <mikee at saxicola.co.uk>
Date:   Wed Jan 6 11:51:30 2016 +0000

    Prevent some GtkEntry getting focus in invoice.
    
    This should make it clearer to users that these boxes are not
    directly editable.

diff --git a/src/business/business-gnome/gtkbuilder/dialog-invoice.glade b/src/business/business-gnome/gtkbuilder/dialog-invoice.glade
index e76322ae..9aed1b2 100644
--- a/src/business/business-gnome/gtkbuilder/dialog-invoice.glade
+++ b/src/business/business-gnome/gtkbuilder/dialog-invoice.glade
@@ -152,7 +152,7 @@
                         <child>
                           <object class="GtkEntry" id="page_id_entry">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
+                            <property name="can_focus">False</property>
                             <property name="editable">False</property>
                             <property name="primary_icon_activatable">False</property>
                             <property name="secondary_icon_activatable">False</property>
@@ -196,7 +196,7 @@
                         <child>
                           <object class="GtkEntry" id="acct_entry">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
+                            <property name="can_focus">False</property>
                             <property name="editable">False</property>
                             <property name="primary_icon_activatable">False</property>
                             <property name="secondary_icon_activatable">False</property>
@@ -387,7 +387,7 @@
                         <child>
                           <object class="GtkEntry" id="page_billing_id_entry">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
+                            <property name="can_focus">False</property>
                             <property name="editable">False</property>
                             <property name="primary_icon_activatable">False</property>
                             <property name="secondary_icon_activatable">False</property>
@@ -403,7 +403,7 @@
                         <child>
                           <object class="GtkEntry" id="page_terms_menu">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
+                            <property name="can_focus">False</property>
                             <property name="editable">False</property>
                             <property name="invisible_char">●</property>
                             <property name="primary_icon_activatable">False</property>



Summary of changes:
 src/business/business-gnome/gtkbuilder/dialog-invoice.glade | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)



More information about the gnucash-changes mailing list