aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-09-25 04:02:55 +0800
committerChristian Persch <chpe@src.gnome.org>2008-09-25 04:02:55 +0800
commit659169914fa8da235b35730c688a23c3caca8b3a (patch)
treeef6977c62d09ba7094c3646eb3dfd0c10b80cb62 /embed
parente1d7349c1c0191c371c11a9011eb288187e2cc9d (diff)
downloadgsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.gz
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.bz2
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.lz
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.xz
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.tar.zst
gsoc2013-epiphany-659169914fa8da235b35730c688a23c3caca8b3a.zip
Remove libgnome and libgnomeui dependency, using EggSMClient instead of GnomeClient.
svn path=/trunk/; revision=8541
Diffstat (limited to 'embed')
-rw-r--r--embed/downloader-view.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index 067477adc..8650a54c7 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -33,7 +33,6 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#include <libgnomeui/gnome-icon-lookup.h>
#ifdef HAVE_LIBNOTIFY
@@ -550,11 +549,13 @@ downloader_view_add_download (DownloaderView *dv,
GtkTreeIter iter;
GtkTreeSelection *selection;
GtkTreePath *path;
+#if 0
GtkIconTheme *theme;
GtkIconInfo *icon_info;
GdkPixbuf *pixbuf;
char *mime, *icon_name;
int width = 16, height = 16;
+#endif
GValue visible = {0, };
#ifdef HAVE_LIBNOTIFY
@@ -615,7 +616,9 @@ downloader_view_add_download (DownloaderView *dv,
}
g_value_unset (&visible);
-
+
+#if 0
+ // FIXMEchpe port this to use GIcon when webkit gets download support
mime = ephy_download_get_mime (download);
theme = gtk_icon_theme_get_default ();
@@ -641,7 +644,8 @@ downloader_view_add_download (DownloaderView *dv,
{
g_object_unref (pixbuf);
}
-
+#endif
+
dv->priv->source_id = g_timeout_add (100, (GSourceFunc) update_buttons_timeout_cb, dv);
}