mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add window icons to those windows that don't pick up the default icon.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7768 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b3f1274e0a
commit
dadc100061
@ -26,6 +26,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <libgnomeui/gnome-window-icon.h>
|
||||
|
||||
#include "Group.h"
|
||||
#include "dialog-new-user.h"
|
||||
@ -951,6 +952,7 @@ gnc_create_hierarchy_druid (void)
|
||||
glade_xml_signal_connect (xml, "on_cancel", GTK_SIGNAL_FUNC (on_cancel));
|
||||
|
||||
dialog = glade_xml_get_widget (xml, "Hierarchy Druid");
|
||||
gnome_window_icon_set_from_default (GTK_WINDOW (dialog));
|
||||
|
||||
druid = glade_xml_get_widget (xml, "hierarchy_druid");
|
||||
gnc_druid_set_colors (GNOME_DRUID (druid));
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <glade/glade.h>
|
||||
#include <gnome.h>
|
||||
#include <math.h>
|
||||
#include <libgnomeui/gnome-window-icon.h>
|
||||
|
||||
#include "druid-loan.h"
|
||||
|
||||
@ -754,6 +755,7 @@ 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;
|
||||
}
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <libgnomeui/gnome-window-icon.h>
|
||||
|
||||
#include "Group.h"
|
||||
#include "Transaction.h"
|
||||
@ -732,6 +733,7 @@ gnc_stock_split_dialog (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));
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include <gnome.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <libgnomeui/gnome-window-icon.h>
|
||||
|
||||
#include "AccWindow.h"
|
||||
#include "Scrub.h"
|
||||
@ -1714,6 +1715,7 @@ 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);
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#include <libgnomeui/gnome-window-icon.h>
|
||||
|
||||
#include "Account.h"
|
||||
#include "Transaction.h"
|
||||
@ -2023,7 +2024,7 @@ 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(retval->window);
|
||||
gnome_window_icon_set_from_default(GTK_WINDOW(retval->window));
|
||||
gtk_widget_show_all(retval->window);
|
||||
gtk_window_present (GTK_WINDOW(retval->window));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user