diff options
author | Priit Laes <plaes@plaes.org> | 2009-07-21 16:47:53 +0800 |
---|---|---|
committer | Priit Laes <plaes@plaes.org> | 2009-07-29 17:42:14 +0800 |
commit | f453c807afecdc210410eeb9f389ca50d0764a7c (patch) | |
tree | 8b391f193fde117a912075ab717c869b620945f8 /embed/downloader-view.c | |
parent | fce1c56a605ea712cc956537a8566d3b622a892e (diff) | |
download | gsoc2013-epiphany-f453c807afecdc210410eeb9f389ca50d0764a7c.tar gsoc2013-epiphany-f453c807afecdc210410eeb9f389ca50d0764a7c.tar.gz gsoc2013-epiphany-f453c807afecdc210410eeb9f389ca50d0764a7c.tar.bz2 gsoc2013-epiphany-f453c807afecdc210410eeb9f389ca50d0764a7c.tar.lz gsoc2013-epiphany-f453c807afecdc210410eeb9f389ca50d0764a7c.tar.xz gsoc2013-epiphany-f453c807afecdc210410eeb9f389ca50d0764a7c.tar.zst gsoc2013-epiphany-f453c807afecdc210410eeb9f389ca50d0764a7c.zip |
Move Epiphany to solely use GnomeKeyring for password management.
Based on patch by Holger Freyther.
Signed-off-by: Priit Laes <plaes@plaes.org>
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r-- | embed/downloader-view.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 36b25fbe5..8eae89fa5 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -661,10 +661,6 @@ downloader_view_add_download (DownloaderView *dv, #endif GValue visible = {0, }; -#ifdef HAVE_LIBNOTIFY - char *downloading; -#endif - /* dv may be unrefed inside update_download_row if the file * downloaded completely while the user was choosing where to * put it, so we need to protect it @@ -710,6 +706,7 @@ downloader_view_add_download (DownloaderView *dv, { #ifdef HAVE_LIBNOTIFY + char *downloading; char *name = ephy_download_get_name (download); downloading = g_strdup_printf(_("The file ā%sā has been added to the downloads queue."), name); @@ -892,7 +889,7 @@ downloader_view_build_ui (DownloaderView *dv) gtk_tree_view_column_set_cell_data_func(column, renderer, progress_cell_data_func, NULL, NULL); gtk_tree_view_column_set_sort_column_id (column, COL_PERCENT); - /* Remainng time column */ + /* Remaining time column */ renderer = gtk_cell_renderer_text_new (); g_object_set (renderer, "xalign", 0.5, NULL); gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW(priv->treeview), @@ -1007,7 +1004,6 @@ downloader_view_remove_download (DownloaderView *dv, WebKitDownload *download) update_status_icon (dv); /* Close the dialog if there are no more downloads */ - if (!g_hash_table_size (dv->priv->downloads_hash)) { g_object_unref (dv); |