Revert the previous change and make the totd always float above all

other GnuCash windows.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12253 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2006-01-04 01:02:48 +00:00
parent f301cae679
commit ca808b1211
4 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2006-01-03 David Hampton <hampton@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@employees.org> 2006-01-02 David Hampton <hampton@employees.org>
* src/gnome/dialog-totd.c: Use the component manager to ensure * src/gnome/dialog-totd.c: Use the component manager to ensure

View File

@ -246,6 +246,7 @@ gnc_totd_dialog (GtkWindow *parent, gboolean startup)
xml = gnc_glade_xml_new ("totd.glade", "totd_dialog"); xml = gnc_glade_xml_new ("totd.glade", "totd_dialog");
dialog = glade_xml_get_widget (xml, "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, glade_xml_signal_autoconnect_full(xml, gnc_glade_autoconnect_full_func,
dialog); dialog);

View File

@ -17,7 +17,7 @@
<property name="decorated">True</property> <property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property> <property name="skip_taskbar_hint">False</property>
<property name="skip_pager_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="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="has_separator">True</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"/> <signal name="response" handler="gnc_totd_dialog_response" last_modification_time="Tue, 03 Jan 2006 03:47:09 GMT"/>

View File

@ -300,12 +300,13 @@ gnc_gui_init (SCM command_line)
gnc_options_dialog_set_global_help_cb (gnc_global_options_help_cb, NULL); gnc_options_dialog_set_global_help_cb (gnc_global_options_help_cb, NULL);
gnc_totd_dialog(NULL, TRUE);
gnc_ui_sx_initialize(); gnc_ui_sx_initialize();
main_window = gnc_main_window_new (); main_window = gnc_main_window_new ();
gtk_widget_show (GTK_WIDGET (main_window)); gtk_widget_show (GTK_WIDGET (main_window));
gnc_totd_dialog(GTK_WINDOW(main_window), TRUE);
map = gnc_build_dotgnucash_path(ACCEL_MAP_NAME); map = gnc_build_dotgnucash_path(ACCEL_MAP_NAME);
gtk_accel_map_load(map); gtk_accel_map_load(map);
g_free(map); g_free(map);