r19828 - gnucash/trunk/src - Bug #634906 - Re-enable splash screen preference option
Geert Janssens
gjanssens at code.gnucash.org
Thu Nov 18 12:17:32 EST 2010
Author: gjanssens
Date: 2010-11-18 12:17:32 -0500 (Thu, 18 Nov 2010)
New Revision: 19828
Trac: http://svn.gnucash.org/trac/changeset/19828
Modified:
gnucash/trunk/src/gnome-utils/glade/preferences.glade
gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
gnucash/trunk/src/gnome/schemas/apps_gnucash_general.schemas.in
Log:
Bug #634906 - Re-enable splash screen preference option
Modified: gnucash/trunk/src/gnome/schemas/apps_gnucash_general.schemas.in
===================================================================
--- gnucash/trunk/src/gnome/schemas/apps_gnucash_general.schemas.in 2010-11-18 15:33:53 UTC (rev 19827)
+++ gnucash/trunk/src/gnome/schemas/apps_gnucash_general.schemas.in 2010-11-18 17:17:32 UTC (rev 19828)
@@ -302,6 +302,21 @@
</schema>
<schema>
+ <key>/schemas/apps/gnucash/general/show_splash_screen</key>
+ <applyto>/apps/gnucash/general/show_splash_screen</applyto>
+ <owner>gnucash</owner>
+ <type>bool</type>
+ <default>TRUE</default>
+ <locale name="C">
+ <short>Show splash screen</short>
+ <long>
+ If active, a splash screen will be shown at
+ startup. Otherwise no splash screen will be shown.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
<key>/schemas/apps/gnucash/general/register/use_theme_colors</key>
<applyto>/apps/gnucash/general/register/use_theme_colors</applyto>
<owner>gnucash</owner>
Modified: gnucash/trunk/src/gnome-utils/glade/preferences.glade
===================================================================
--- gnucash/trunk/src/gnome-utils/glade/preferences.glade 2010-11-18 15:33:53 UTC (rev 19827)
+++ gnucash/trunk/src/gnome-utils/glade/preferences.glade 2010-11-18 17:17:32 UTC (rev 19828)
@@ -1263,8 +1263,8 @@
</widget>
<packing>
<property name="right_attach">4</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</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>
<property name="x_padding">12</property>
@@ -1357,8 +1357,8 @@
</widget>
<packing>
<property name="right_attach">4</property>
- <property name="top_attach">10</property>
- <property name="bottom_attach">11</property>
+ <property name="top_attach">11</property>
+ <property name="bottom_attach">12</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
<property name="x_padding">12</property>
@@ -1372,8 +1372,8 @@
<property name="use_markup">True</property>
</widget>
<packing>
- <property name="top_attach">9</property>
- <property name="bottom_attach">10</property>
+ <property name="top_attach">10</property>
+ <property name="bottom_attach">11</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
@@ -1384,8 +1384,8 @@
<property name="xalign">0</property>
</widget>
<packing>
- <property name="top_attach">8</property>
- <property name="bottom_attach">9</property>
+ <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>
@@ -1399,8 +1399,8 @@
<property name="mnemonic_widget">gconf/general/auto_decimal_places</property>
</widget>
<packing>
- <property name="top_attach">7</property>
- <property name="bottom_attach">8</property>
+ <property name="top_attach">8</property>
+ <property name="bottom_attach">9</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
<property name="x_padding">12</property>
@@ -1417,8 +1417,8 @@
<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="top_attach">8</property>
+ <property name="bottom_attach">9</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
@@ -1435,8 +1435,8 @@
</widget>
<packing>
<property name="right_attach">4</property>
- <property name="top_attach">6</property>
- <property name="bottom_attach">7</property>
+ <property name="top_attach">7</property>
+ <property name="bottom_attach">8</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
<property name="x_padding">12</property>
@@ -1454,8 +1454,8 @@
</widget>
<packing>
<property name="right_attach">4</property>
- <property name="top_attach">5</property>
- <property name="bottom_attach">6</property>
+ <property name="top_attach">6</property>
+ <property name="bottom_attach">7</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
<property name="x_padding">12</property>
@@ -1469,8 +1469,8 @@
<property name="use_markup">True</property>
</widget>
<packing>
- <property name="top_attach">4</property>
- <property name="bottom_attach">5</property>
+ <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>
@@ -1535,6 +1535,25 @@
</packing>
</child>
<child>
+ <widget class="GtkCheckButton" id="gconf/general/show_splash_screen">
+ <property name="label" translatable="yes">Show splash scree_n</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="tooltip" translatable="yes">Show splash screen at startup.</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="right_attach">4</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>
+ <property name="x_padding">12</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkLabel" id="label119">
<property name="visible">True</property>
<property name="xalign">0</property>
@@ -1543,8 +1562,8 @@
<property name="mnemonic_widget">gconf/general/autosave_interval_minutes</property>
</widget>
<packing>
- <property name="top_attach">12</property>
- <property name="bottom_attach">13</property>
+ <property name="top_attach">13</property>
+ <property name="bottom_attach">14</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
<property name="x_padding">12</property>
@@ -1583,8 +1602,8 @@
<packing>
<property name="left_attach">1</property>
<property name="right_attach">3</property>
- <property name="top_attach">12</property>
- <property name="bottom_attach">13</property>
+ <property name="top_attach">13</property>
+ <property name="bottom_attach">14</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options">GTK_FILL</property>
</packing>
@@ -1601,8 +1620,8 @@
</widget>
<packing>
<property name="right_attach">4</property>
- <property name="top_attach">11</property>
- <property name="bottom_attach">12</property>
+ <property name="top_attach">12</property>
+ <property name="bottom_attach">13</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
<property name="x_padding">12</property>
@@ -1665,18 +1684,6 @@
</packing>
</child>
<child>
- <widget class="GtkLabel" id="label9">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- </widget>
- <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>
<placeholder/>
</child>
<child>
@@ -1775,27 +1782,6 @@
<child>
<placeholder/>
</child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <widget class="GtkLabel" id="label10">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- </widget>
- <packing>
- <property name="top_attach">13</property>
- <property name="bottom_attach">14</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
</widget>
<packing>
<property name="position">3</property>
Modified: gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c 2010-11-18 15:33:53 UTC (rev 19827)
+++ gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c 2010-11-18 17:17:32 UTC (rev 19828)
@@ -622,7 +622,8 @@
g_set_application_name(PACKAGE_NAME);
- gnc_gui_init_splash();
+ if (gnc_gconf_get_bool(GCONF_GENERAL, "show_splash_screen", NULL))
+ gnc_gui_init_splash();
gnome_is_initialized = TRUE;
More information about the gnucash-changes
mailing list