mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Whitespace cleanup, comment improvements and spelling fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23213 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
302fb3bfb0
commit
07e144ba39
@ -90,7 +90,7 @@ gnc_commodity_table * gnc_get_current_commodities (void);
|
||||
gchar *gnc_get_account_name_for_register(const Account *account);
|
||||
|
||||
/**
|
||||
* Retrieve the account matching the given name starting from the descandants of
|
||||
* Retrieve the account matching the given name starting from the descendants of
|
||||
* base_account.
|
||||
* @a name is either considered to be the name of the leaf in the account tree
|
||||
* or to be the full account path, depending on the configuration parameter
|
||||
|
@ -128,12 +128,12 @@ struct _GNCSearchWindow
|
||||
|
||||
struct _crit_data
|
||||
{
|
||||
GNCSearchParam * param;
|
||||
GNCSearchCoreType * element;
|
||||
GtkWidget * elemwidget;
|
||||
GtkWidget * container;
|
||||
GtkWidget * button;
|
||||
GtkDialog * dialog;
|
||||
GNCSearchParam *param;
|
||||
GNCSearchCoreType *element;
|
||||
GtkWidget *elemwidget;
|
||||
GtkWidget *container;
|
||||
GtkWidget *button;
|
||||
GtkDialog *dialog;
|
||||
};
|
||||
|
||||
static void search_clear_criteria (GNCSearchWindow *sw);
|
||||
|
@ -189,7 +189,7 @@ gnc_prefs_compare_addins (addition *a,
|
||||
/** This is the common function that adds any set of preferences to
|
||||
* the preferences dialog. It allocates a data structure to remember
|
||||
* the passed in data and queues it for later when the dialog is
|
||||
* actually built. This code does check to insure there aren't any
|
||||
* actually built. This code does check to ensure there aren't any
|
||||
* conflicts, like multiple additions of the same tab name when the
|
||||
* two pages being added aren't compatible.
|
||||
*
|
||||
@ -317,7 +317,7 @@ gnc_preferences_add_to_page (const gchar *filename,
|
||||
/** This function builds a hash table of "interesting" widgets,
|
||||
* i.e. widgets whose name starts with "gconf/". This table is
|
||||
* needed to perform name->widget lookups in the gconf callback
|
||||
* functions as they are comming from multiple glade files.
|
||||
* functions as they are coming from multiple glade files.
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
|
@ -37,7 +37,7 @@
|
||||
file. If a partial page is added, the widget name provided must
|
||||
be that of a GtkTable containing four columns. If a full page is
|
||||
added, the widget name provided to this code can be any kind of
|
||||
widget, but for consistence it should probably be the same.
|
||||
widget, but for consistency it should probably be the same.
|
||||
|
||||
If a widget names is in the form gconf/xxx/yyy... and it is a type
|
||||
of widget this code knows how to handle, then the callback signals
|
||||
@ -99,7 +99,7 @@ void gnc_preferences_add_to_page (const gchar *filename,
|
||||
|
||||
|
||||
/** This function creates the preferences dialog and presents it to
|
||||
* the user. The preferences dialog is a singletone, so if a
|
||||
* the user. The preferences dialog is a singleton, so if a
|
||||
* preferences dialog already exists it will be raised to the top of
|
||||
* the window stack instead of creating a new dialog. */
|
||||
void gnc_preferences_dialog (void);
|
||||
|
@ -37,7 +37,7 @@
|
||||
* names. All data is maintained within the widget itself, which
|
||||
* makes the name/item lookup functions somewhat complicated. The
|
||||
* alternative coding would be to keep an auxiliary list of strings
|
||||
* attacked to the widget for lookup purposes, but that would be 100%
|
||||
* attached to the widget for lookup purposes, but that would be 100%
|
||||
* redundant information.
|
||||
*
|
||||
* This function currently builds a new GtkListStore for each widget
|
||||
|
@ -554,7 +554,7 @@ gnc_tree_view_split_reg_finalize (GObject *object)
|
||||
}
|
||||
|
||||
|
||||
/* Update some settings from gconf */
|
||||
/* Update internal settings based on preferences */
|
||||
void
|
||||
gnc_tree_view_split_reg_refresh_from_gconf (GncTreeViewSplitReg *view)
|
||||
{
|
||||
@ -1804,7 +1804,7 @@ gtv_sr_cdf0 (GtkTreeViewColumn *col, GtkCellRenderer *cell, GtkTreeModel *s_mode
|
||||
|
||||
editable = (read_only == TRUE) ? FALSE : editable;
|
||||
|
||||
// Display negative numbers in red by gconf
|
||||
// Display negative numbers in red if requested in preferences
|
||||
if (gnc_numeric_negative_p (num) && negative_in_red)
|
||||
g_object_set (cell, "foreground", "red", (gchar*)NULL);
|
||||
else
|
||||
@ -1881,7 +1881,7 @@ gtv_sr_cdf0 (GtkTreeViewColumn *col, GtkCellRenderer *cell, GtkTreeModel *s_mode
|
||||
|
||||
editable = (read_only == TRUE) ? FALSE : editable;
|
||||
|
||||
// Display negative numbers in red by gconf
|
||||
// Display negative numbers in red if requested in preferences
|
||||
if (gnc_numeric_negative_p (num) && negative_in_red)
|
||||
g_object_set (cell, "foreground", "red", (gchar*)NULL);
|
||||
else
|
||||
@ -1956,7 +1956,7 @@ gtv_sr_cdf0 (GtkTreeViewColumn *col, GtkCellRenderer *cell, GtkTreeModel *s_mode
|
||||
|
||||
editable = (read_only == TRUE) ? FALSE : editable;
|
||||
|
||||
// Display negative numbers in red by gconf
|
||||
// Display negative numbers in red if requested in preferences
|
||||
if (gnc_numeric_negative_p (num) && negative_in_red)
|
||||
g_object_set (cell, "foreground", "red", (gchar*)NULL);
|
||||
else
|
||||
@ -2139,7 +2139,7 @@ gtv_sr_cdf0 (GtkTreeViewColumn *col, GtkCellRenderer *cell, GtkTreeModel *s_mode
|
||||
num = gnc_numeric_neg (num);
|
||||
s = xaccPrintAmount (num, gnc_account_print_info(anchor, FALSE));
|
||||
|
||||
// Display negative numbers in red by gconf
|
||||
// Display negative numbers in red if requested in preferences
|
||||
if (gnc_numeric_negative_p (num) && negative_in_red)
|
||||
g_object_set (cell, "foreground", "red", (gchar*)NULL);
|
||||
else
|
||||
|
@ -331,7 +331,7 @@ enum
|
||||
* equities.
|
||||
*
|
||||
* The EURO gets special treatment. There can be one line with
|
||||
* EUR amounts and a EUR (total) line which summs up all EURO
|
||||
* EUR amounts and a EUR (total) line which sums up all EURO
|
||||
* member currencies.
|
||||
*
|
||||
* There can be a 'grand total', too, which sums up all accounts
|
||||
|
@ -301,7 +301,7 @@ gnc_localtime (const time64 *secs)
|
||||
|
||||
/* Linux, Darwin, and MSWindows implementations of this function set the
|
||||
* globals timezone and daylight; BSD doesn't have those globals, and
|
||||
* Gnucash never uses them, so they're ommitted from this
|
||||
* Gnucash never uses them, so they're omitted from this
|
||||
* implementation. Bug 704185.
|
||||
*/
|
||||
struct tm*
|
||||
|
Loading…
Reference in New Issue
Block a user