[Gnucash-changes] r12083 - gnucash/trunk - Remove the not-really-respected-anyways option to change the number of register lines in the SX editor dialog.

Joshua Sled jsled at cvs.gnucash.org
Sat Dec 3 11:40:31 EST 2005


Author: jsled
Date: 2005-12-03 11:40:30 -0500 (Sat, 03 Dec 2005)
New Revision: 12083
Trac: http://svn.gnucash.org/trac/changeset/12083

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/GNOME2_STATUS
   gnucash/trunk/src/gnome/dialog-scheduledxaction.c
   gnucash/trunk/src/gnome/glade/sched-xact.glade
   gnucash/trunk/src/gnome/schemas/apps_gnucash_dialog_scheduled_transctions.schemas
Log:
Remove the not-really-respected-anyways option to change the number of register lines in the SX editor dialog.
Remove ancient GOG-porting notes form GNOME2_STATUS.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-12-03 16:15:11 UTC (rev 12082)
+++ gnucash/trunk/ChangeLog	2005-12-03 16:40:30 UTC (rev 12083)
@@ -1,5 +1,15 @@
 2005-12-03  Joshua Sled  <jsled at asynchronous.org>
 
+	* GNOME2_STATUS: remove GOG-porting notes, spelling fixes.
+	
+	* sched-xact.glade: 
+	* apps_gnucash_dialog_scheduled_transctions.schemas: 
+	* dialog-scheduledxaction.c (schedXact_editor_create_ledger):
+	Remove the not-really-respected-anyways option to change the
+	number of register lines in the SX editor dialog.
+
+2005-12-03  Joshua Sled  <jsled at asynchronous.org>
+
 	* gnc-dense-cal.c (gnc_dense_cal_init): Don't use a hardcoded
 	font; get both fonts from the style.
 

Modified: gnucash/trunk/GNOME2_STATUS
===================================================================
--- gnucash/trunk/GNOME2_STATUS	2005-12-03 16:15:11 UTC (rev 12082)
+++ gnucash/trunk/GNOME2_STATUS	2005-12-03 16:40:30 UTC (rev 12083)
@@ -55,7 +55,7 @@
 
   - Printing
 
-    - Printing cheks works.
+    - Printing checks works.
     - Printing text reports works.
     - Printing pie/bar charts fails.
 
@@ -188,8 +188,6 @@
 
   - SX Editor
 
-    - "Register Lines" preference not respected.
-
     - When tabbing from memo to account on the second split with the same
       name as the first, the account will be auto-populated with a GUID
       (instead of an account name), but not a valid one.
@@ -236,147 +234,3 @@
     and then remove the "Close" button from the toolbar.  Then we can also
     decide if we want to allow a user to 'close' the account tree.
 
------------------------------------------
-<#GOG> ----------------------------------
-
-These are notes jsled was using during the GOG hack-porting effort.
-
-[dc:created 2004-12-17]
-
-gog-guru.c
- \- gog-guru.h
-    \- goffice-graph.h
-       \- <glib.h>
-       \- data-structures
-    \- command-context.h
- \- <goffice/goffice-config.h>
-    \- <gnumeric-config.h> + "When the module splits we'll make this a real file"
- \- <goffice/graph/gog-object.h>
-    \- <goffice/graph/goffice-graph.h>
-    \- <glib-object.h>
-    \- <command-context.h> /* for GnmCmdContext */
-    \- <libart_lgpl/art_rect.h>
- \- <goffice/graph/gog-graph.h>
-    \- [nothing new]
- \- <goffice/graph/gog-object.h>
-    \- [nothing new]
- \- <goffice/graph/gog-chart.h>
- \- <goffice/graph/gog-plot.h>
-    \- <goffice/utils/goffice-utils.h>
-       \- <glib.h>
-       \- decls
- \- <goffice/graph/gog-view.h>
- \- <goffice/graph/gog-plot-engine.h>
- \- <goffice/graph/gog-data-allocator.h>
- \- <goffice/graph/gog-control-foocanvas.h>
-    \- <goffice/graph/gog-renderer-pixbuf.h>
- \- <gui-util.h>
-    \- "workbook-control-gui.h"
-    \- "error-info.h"
-    \- "command-context.h"
-    \- "gutils.h"
-
-
-<#goffice/graph> :depOn [ :module <#libart> ].
-
-<file:gog-plot-engine.c>
- :depOn [ :module <#gsf>; :how "entirely [?] for GSF_CLASS macros" ]
-       ,[ :module <#gnumeric-plugin>; :how "plot-engine loading" ].
-
-<file:gog-graph.c>
- :depOn [ :module <#gsf>; :how "entirely [?] for GSF_CLASS macros." ].
-
-<file:gog-view.c>
- :depOn [ :module <#gsf> ].
-
-<file:gog-object.c> :depOn [ :module <#gsf> ].
-
-<file:gog-renderer.c>
-  :depOn [ :module <utils/go-math.h>; :how "basic math aliasing." ]
-        ,[ :module <utils/go-units.h>; :how "basic unit-typing/aliasing." ]
-        ,[ :module <utils/go-font.h>; :how "font aliasing; pango, mostly." ]
-
-<file:gog-renderer-impl.h>
-  :depOn [ :module <#go-line> ].
-
-<#go-line> :depOn [ :module <#gui-utils> ].
-
-<file:gog-renderer-pixbuf.c>
-  :depOn [ :module <#gsf>; :how "weakly" ]
-        ,[ :module <#pango> ]
-        ,[ :module <#libart> ]
-        ,[ :module <#gnumeric-app>; :how "for the `gnm_app_display_dpi_get(...)` call, apparently." ]
-.
-
-<file:gog-control-foocanvas.c>
-  :depOn [ :module <#gnm-libfoocanvas-copy>; :note "we can do without this." ].
-
-<file:gog-axis.c>
-  :depOn [ :module <#gnm-widget-format-selector>; :how "??" ]
-        ,[ :module <#gnm-gui-util>; :how "`number_format_selector_set_style_format`" ]
-        ,[ :module <#gnm-format.h>; :how "`style_format_is_general`" ]
-.
-
-
-------------------------------
-
-[jsled at phoenix:~/stuff/programming/projects/gnucash-budget/src-gnome2/gnucash/lib/goffice]$ nm -a .libs/libgoffice.a | ./symbols.py | egrep -v "(xml|gtk_|g_|gdk_|pango_|gsf_|art_|gnome_|glade_)" | sort
-# some manual cleanup of the results results in the list here:
-error_info_free
-error_info_print
- - provided by error-info.[hc]
-font_selector_get_pango
-font_selector_get_type
-font_selector_new
-font_selector_set_from_pango
- - used by gog-style.c:gog_style_editor.
- - gog_styled_object_editor, however, is called from gog-{axis,label,legend,series}.
-format_value
- - seems straightforward, but depends on format logic.
-gnm_app_display_dpi_get
- - thin wrapper over configuration; should be easy to stub out.
-gnm_app_get_pixbuf
- - called by go_action_combo_color_new, which isn't called in lib...
-gnm_font_find_closest_from_weight_slant
- - depends on gnome print, but nicely seperable.
-gnm_measure_string
- - nicely seperable; depends on pango.
-gnm_pixbuf_intelligent_scale
- - nicely seperable; depends on GdkPixbuf.
-gnm_plugin_get_dir_name
-gnm_plugin_use_ref
-gnm_plugin_use_unref
- - split/plugin.[hc]; seems to wrap plugin_* stuff...
-gnm_setup_label_atk
- - seperable
-gnm_widget_disable_focus
- - seperable
-gnumeric_button_new_with_stock_image
- - looks seperable [being stolen from gtkedit]
-gnumeric_load_pixbuf
- - depends weakly on gnumeric configuration path.
-go_nan
- - text symbol
-gui_image_file_select
- - used to select [fill] image file by gog-style ... do we need the UI
-   elements of gog-style here?
-number_format_selector_get_type
-number_format_selector_new
-number_format_selector_set_style_format
-plugin_service_define
-plugin_service_get_description
-plugin_service_get_plugin
-plugin_service_get_type
-plugin_service_gobject_loader_get_type
-plugin_service_load
-plugin_service_simple_get_type
-style_format_as_XL
-style_format_default_date
-style_format_default_money
-style_format_default_percentage
-style_format_default_time
-style_format_equal
-style_format_general
-style_format_new_XL
-style_format_ref
-style_format_unref

Modified: gnucash/trunk/src/gnome/dialog-scheduledxaction.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-scheduledxaction.c	2005-12-03 16:15:11 UTC (rev 12082)
+++ gnucash/trunk/src/gnome/dialog-scheduledxaction.c	2005-12-03 16:40:30 UTC (rev 12083)
@@ -1594,8 +1594,7 @@
 	gnc_plugin_page_set_ui_description (sxed->plugin_page,
 					    "gnc-plugin-page-sxregister-ui.xml");
 	gnc_plugin_page_register_set_options (sxed->plugin_page,
-					      SXED_GCONF_SECTION,
-					      KEY_NUMBER_OF_ROWS,
+					      NULL, NULL,
 					      NUM_LEDGER_LINES_DEFAULT,
 					      (CAP_JUMP | CAP_SCHEDULE) );
 	gnc_embedded_window_open_page (sxed->embed_window, sxed->plugin_page);

Modified: gnucash/trunk/src/gnome/glade/sched-xact.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/sched-xact.glade	2005-12-03 16:15:11 UTC (rev 12082)
+++ gnucash/trunk/src/gnome/glade/sched-xact.glade	2005-12-03 16:40:30 UTC (rev 12083)
@@ -8035,7 +8035,7 @@
     <widget class="GtkTable" id="sx_prefs">
       <property name="border_width">6</property>
       <property name="visible">True</property>
-      <property name="n_rows">12</property>
+      <property name="n_rows">11</property>
       <property name="n_columns">4</property>
       <property name="homogeneous">False</property>
       <property name="row_spacing">0</property>
@@ -8240,89 +8240,6 @@
       </child>
 
       <child>
-	<widget class="GtkLabel" id="label847988">
-	  <property name="visible">True</property>
-	  <property name="label" translatable="yes">Register _lines</property>
-	  <property name="use_underline">True</property>
-	  <property name="use_markup">False</property>
-	  <property name="justify">GTK_JUSTIFY_LEFT</property>
-	  <property name="wrap">False</property>
-	  <property name="selectable">False</property>
-	  <property name="xalign">0</property>
-	  <property name="yalign">0.5</property>
-	  <property name="xpad">0</property>
-	  <property name="ypad">0</property>
-	  <property name="mnemonic_widget">gconf/dialogs/scheduled_trans/transaction_editor/number_of_lines</property>
-	</widget>
-	<packing>
-	  <property name="left_attach">0</property>
-	  <property name="right_attach">1</property>
-	  <property name="top_attach">8</property>
-	  <property name="bottom_attach">9</property>
-	  <property name="x_padding">12</property>
-	  <property name="x_options">fill</property>
-	  <property name="y_options"></property>
-	</packing>
-      </child>
-
-      <child>
-	<widget class="GtkHBox" id="hbox182">
-	  <property name="visible">True</property>
-	  <property name="homogeneous">False</property>
-	  <property name="spacing">6</property>
-
-	  <child>
-	    <widget class="GtkSpinButton" id="gconf/dialogs/scheduled_trans/transaction_editor/number_of_lines">
-	      <property name="visible">True</property>
-	      <property name="tooltip" translatable="yes">Make the template register large enough to show this many lines.</property>
-	      <property name="can_focus">True</property>
-	      <property name="climb_rate">1</property>
-	      <property name="digits">0</property>
-	      <property name="numeric">False</property>
-	      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
-	      <property name="snap_to_ticks">False</property>
-	      <property name="wrap">False</property>
-	      <property name="adjustment">6 1 50 1 10 10</property>
-	    </widget>
-	    <packing>
-	      <property name="padding">0</property>
-	      <property name="expand">False</property>
-	      <property name="fill">True</property>
-	    </packing>
-	  </child>
-
-	  <child>
-	    <widget class="GtkLabel" id="label847989">
-	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">lines</property>
-	      <property name="use_underline">False</property>
-	      <property name="use_markup">False</property>
-	      <property name="justify">GTK_JUSTIFY_LEFT</property>
-	      <property name="wrap">False</property>
-	      <property name="selectable">False</property>
-	      <property name="xalign">0.5</property>
-	      <property name="yalign">0.5</property>
-	      <property name="xpad">0</property>
-	      <property name="ypad">0</property>
-	    </widget>
-	    <packing>
-	      <property name="padding">0</property>
-	      <property name="expand">False</property>
-	      <property name="fill">False</property>
-	    </packing>
-	  </child>
-	</widget>
-	<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="x_options">fill</property>
-	  <property name="y_options">fill</property>
-	</packing>
-      </child>
-
-      <child>
 	<widget class="GtkHBox" id="remind_days_hbox">
 	  <property name="visible">True</property>
 	  <property name="homogeneous">False</property>

Modified: gnucash/trunk/src/gnome/schemas/apps_gnucash_dialog_scheduled_transctions.schemas
===================================================================
--- gnucash/trunk/src/gnome/schemas/apps_gnucash_dialog_scheduled_transctions.schemas	2005-12-03 16:15:11 UTC (rev 12082)
+++ gnucash/trunk/src/gnome/schemas/apps_gnucash_dialog_scheduled_transctions.schemas	2005-12-03 16:40:30 UTC (rev 12083)
@@ -79,22 +79,5 @@
       </locale>
     </schema>
 
-    <schema>
-      <key>/schemas/apps/gnucash/dialogs/scheduled_trans/transaction_editor/number_of_rows</key>
-      <applyto>/apps/gnucash/dialogs/scheduled_trans/transaction_editor/number_of_rows</applyto>
-      <owner>gnucash</owner>
-      <type>float</type>
-      <default>6.0</default>
-      <locale name="C">
-        <short>The number of rows in an scheduled transaction.</short>
-        <long>
-	  This field sets the number of rows to show in a scheduled
-	  transaction.  It does not actually affect the display of the
-	  contents of the window.  It is only used to set the size of
-	  the dialog when first opened.
-	</long>
-      </locale>
-    </schema>
-
   </schemalist>
 </gconfschemafile>



More information about the gnucash-changes mailing list