Remove calls to the function gnome_window_icon_set_from_default(). In

gtk2 all windows get the default application icon unless specified
otherwise.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11976 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2005-11-18 22:50:24 +00:00
parent 9a8fa0cd6d
commit 050d2630e2
9 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,16 @@
2005-11-18 David Hampton <hampton@employees.org>
* src/import-export/qif-import/druid-qif-import.c:
* src/gnome/druid-loan.c:
* src/gnome/window-reconcile.c:
* src/gnome/lot-viewer.c:
* src/gnome/druid-acct-period.c:
* src/gnome/druid-merge.c:
* src/gnome/druid-stock-split.c:
* src/gnome/druid-hierarchy.c: Remove calls to the noop function
gnome_window_icon_set_from_default(). In gtk2 all windows get the
default application icon unless specified otherwise.
2005-11-18 Derek Atkins <derek@ihtfp.com>
* configure.in: Derrick Hudson's patch to tell users

View File

@ -634,7 +634,6 @@ gnc_acct_period_dialog (void)
NULL, ap_close_handler,
info);
gnome_window_icon_set_from_default(GTK_WINDOW(info->window));
gtk_widget_show_all (info->window);
gnc_window_adjust_for_screen (GTK_WINDOW(info->window));

View File

@ -850,7 +850,6 @@ gnc_create_hierarchy_druid (void)
xml = gnc_glade_xml_new ("account.glade", "Hierarchy Druid");
dialog = glade_xml_get_widget (xml, "Hierarchy Druid");
gnome_window_icon_set_from_default (GTK_WINDOW (dialog));
data->dialog = dialog;
druid = glade_xml_get_widget (xml, "hierarchy_druid");

View File

@ -797,7 +797,6 @@ gnc_ui_sx_loan_druid_create(void)
GTK_SIGNAL_FUNC(ld_destroy),
ldd );
gnome_window_icon_set_from_default (GTK_WINDOW (ldd->dialog));
gtk_widget_show_all( ldd->dialog );
return ldd;
}

View File

@ -284,8 +284,6 @@ gnc_create_import_druid ( void )
GTK_SIGNAL_FUNC (on_MergeNew_clicked));
dialog = glade_xml_get_widget (xml, "Merge Druid");
gnome_window_icon_set_from_default (GTK_WINDOW (dialog));
druid = glade_xml_get_widget (xml, "merge_druid");
gnc_druid_set_colors (GNOME_DRUID (druid));
@ -328,8 +326,6 @@ gnc_create_merge_druid ( void )
GTK_SIGNAL_FUNC (on_MergeNew_clicked));
dialog = glade_xml_get_widget (xml, "Merge Druid");
gnome_window_icon_set_from_default (GTK_WINDOW (dialog));
druid = glade_xml_get_widget (xml, "merge_druid");
gnc_druid_set_colors (GNOME_DRUID (druid));

View File

@ -723,7 +723,6 @@ gnc_stock_split_dialog (GtkWidget *parent, Account * initial)
return;
}
gnome_window_icon_set_from_default(GTK_WINDOW(info->window));
gtk_widget_show_all (info->window);
gnc_window_adjust_for_screen (GTK_WINDOW(info->window));

View File

@ -654,7 +654,6 @@ gnc_lot_viewer_dialog (Account *account)
GNC_ID_LOT,
GNC_EVENT_CREATE | GNC_EVENT_MODIFY | GNC_EVENT_DESTROY);
gnome_window_icon_set_from_default(GTK_WINDOW(lv->window));
gtk_widget_show_all (lv->window);
gnc_window_adjust_for_screen (GTK_WINDOW(lv->window));

View File

@ -1697,7 +1697,6 @@ recnWindowWithBalance (GtkWidget *parent, Account *account,
recnData->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
recnData->delete_refresh = FALSE;
gnome_window_icon_set_from_default (GTK_WINDOW (recnData->window));
gnc_recn_set_window_name(recnData);
vbox = gtk_vbox_new(FALSE, 0);

View File

@ -2017,7 +2017,6 @@ gnc_ui_qif_import_druid_make(void)
gnc_register_gui_component(DRUID_QIF_IMPORT_CM_CLASS, NULL, NULL, retval);
gnome_window_icon_set_from_default(GTK_WINDOW(retval->window));
gtk_widget_show_all(retval->window);
gtk_window_present (GTK_WINDOW(retval->window));