diff options
author | David Bordoley <bordoley@msu.edu> | 2003-03-24 02:21:22 +0800 |
---|---|---|
committer | Dave Bordoley <Bordoley@src.gnome.org> | 2003-03-24 02:21:22 +0800 |
commit | 9e061fdc100ec5c71288049e4daffedd4253733d (patch) | |
tree | c8bd9b36f4238d115f31ce06bc9067f991e35111 /embed/downloader-view.c | |
parent | b5adadbd95876430b6eae6c053cdda3c00bfe5fd (diff) | |
download | gsoc2013-epiphany-9e061fdc100ec5c71288049e4daffedd4253733d.tar gsoc2013-epiphany-9e061fdc100ec5c71288049e4daffedd4253733d.tar.gz gsoc2013-epiphany-9e061fdc100ec5c71288049e4daffedd4253733d.tar.bz2 gsoc2013-epiphany-9e061fdc100ec5c71288049e4daffedd4253733d.tar.lz gsoc2013-epiphany-9e061fdc100ec5c71288049e4daffedd4253733d.tar.xz gsoc2013-epiphany-9e061fdc100ec5c71288049e4daffedd4253733d.tar.zst gsoc2013-epiphany-9e061fdc100ec5c71288049e4daffedd4253733d.zip |
Set and icon for the download window
2003-03-23 David Bordoley <bordoley@msu.edu>
* data/art/Makefile.am:
* data/art/epiphany-download.png: (new file from jimmac)
* embed/downloader-view.c:
Set and icon for the download window
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r-- | embed/downloader-view.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 98868052a..1230b76f2 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -58,6 +58,7 @@ struct DownloaderViewPrivate gboolean show_details; /* Widgets */ + GtkWidget *window; GtkWidget *treeview; GtkWidget *details_file; GtkWidget *details_location; @@ -101,6 +102,7 @@ typedef struct enum { + PROP_WINDOW, PROP_TREEVIEW, PROP_KEEP_OPEN, PROP_DETAILS_FRAME, @@ -120,6 +122,7 @@ enum static const EphyDialogProperty properties [] = { + { PROP_WINDOW, "download_manager_dialog", NULL, PT_NORMAL, NULL}, { PROP_TREEVIEW, "clist", NULL, PT_NORMAL, NULL }, { PROP_KEEP_OPEN, "keep_open_check", CONF_DOWNLOADING_KEEP_OPEN, PT_NORMAL, NULL }, { PROP_DETAILS_FRAME, "details_frame", NULL, PT_NORMAL, NULL }, @@ -706,6 +709,7 @@ downloader_view_build_ui (DownloaderView *dv) GtkCellRenderer *renderer; GtkTreeSelection *selection; GtkWidget *details_table; + const char *icon_path; EphyDialog *d = EPHY_DIALOG (dv); ephy_dialog_construct (d, @@ -714,6 +718,7 @@ downloader_view_build_ui (DownloaderView *dv) "download_manager_dialog"); /* lookup needed widgets */ + priv->window = ephy_dialog_get_control(d, PROP_WINDOW); priv->treeview = ephy_dialog_get_control (d, PROP_TREEVIEW); priv->details_status = ephy_dialog_get_control (d, PROP_DETAILS_STATUS); priv->details_elapsed = ephy_dialog_get_control (d, PROP_DETAILS_ELAPSED); @@ -804,6 +809,9 @@ downloader_view_build_ui (DownloaderView *dv) G_CALLBACK (downloader_treeview_selection_changed_cb), dv); priv->model = GTK_TREE_MODEL (liststore); + + icon_path = ephy_file ("epiphany-download.png"); + gtk_window_set_icon_from_file (GTK_WINDOW(priv->window), icon_path, NULL); } static void |