[Gnucash-changes] r12253 - gnucash/trunk - Revert the previous
change and make the totd always float above all
David Hampton
hampton at cvs.gnucash.org
Tue Jan 3 20:02:50 EST 2006
Author: hampton
Date: 2006-01-03 20:02:48 -0500 (Tue, 03 Jan 2006)
New Revision: 12253
Trac: http://svn.gnucash.org/trac/changeset/12253
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/gnome/dialog-totd.c
gnucash/trunk/src/gnome/glade/totd.glade
gnucash/trunk/src/gnome/top-level.c
Log:
Revert the previous change and make the totd always float above all
other GnuCash windows.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-01-03 23:49:39 UTC (rev 12252)
+++ gnucash/trunk/ChangeLog 2006-01-04 01:02:48 UTC (rev 12253)
@@ -1,3 +1,10 @@
+2006-01-03 David Hampton <hampton at employees.org>
+
+ * src/gnome/top-level.c:
+ * src/gnome/dialog-totd.c:
+ * src/gnome/glade/totd.glade: Revert the previous change and make
+ the totd always float above all other GnuCash windows.
+
2006-01-02 David Hampton <hampton at employees.org>
* src/gnome/dialog-totd.c: Use the component manager to ensure
Modified: gnucash/trunk/src/gnome/dialog-totd.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-totd.c 2006-01-03 23:49:39 UTC (rev 12252)
+++ gnucash/trunk/src/gnome/dialog-totd.c 2006-01-04 01:02:48 UTC (rev 12253)
@@ -246,6 +246,7 @@
xml = gnc_glade_xml_new ("totd.glade", "totd_dialog");
dialog = glade_xml_get_widget (xml, "totd_dialog");
+ gtk_window_set_transient_for(GTK_WINDOW (dialog), parent);
glade_xml_signal_autoconnect_full(xml, gnc_glade_autoconnect_full_func,
dialog);
Modified: gnucash/trunk/src/gnome/glade/totd.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/totd.glade 2006-01-03 23:49:39 UTC (rev 12252)
+++ gnucash/trunk/src/gnome/glade/totd.glade 2006-01-04 01:02:48 UTC (rev 12253)
@@ -17,7 +17,7 @@
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</property>
<signal name="response" handler="gnc_totd_dialog_response" last_modification_time="Tue, 03 Jan 2006 03:47:09 GMT"/>
Modified: gnucash/trunk/src/gnome/top-level.c
===================================================================
--- gnucash/trunk/src/gnome/top-level.c 2006-01-03 23:49:39 UTC (rev 12252)
+++ gnucash/trunk/src/gnome/top-level.c 2006-01-04 01:02:48 UTC (rev 12253)
@@ -300,12 +300,13 @@
gnc_options_dialog_set_global_help_cb (gnc_global_options_help_cb, NULL);
- gnc_totd_dialog(NULL, TRUE);
gnc_ui_sx_initialize();
main_window = gnc_main_window_new ();
gtk_widget_show (GTK_WIDGET (main_window));
+ gnc_totd_dialog(GTK_WINDOW(main_window), TRUE);
+
map = gnc_build_dotgnucash_path(ACCEL_MAP_NAME);
gtk_accel_map_load(map);
g_free(map);
More information about the gnucash-changes
mailing list