aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-01-24 17:56:44 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-01-24 17:56:44 +0800
commit180df7244c25e3034e0bf8bbc52b875ddb473816 (patch)
treecca5e34549076ff504b28ccd1297e641e232629a /embed/downloader-view.c
parente6f14bc0bd721724d671104a719047203babb361 (diff)
downloadgsoc2013-epiphany-180df7244c25e3034e0bf8bbc52b875ddb473816.tar
gsoc2013-epiphany-180df7244c25e3034e0bf8bbc52b875ddb473816.tar.gz
gsoc2013-epiphany-180df7244c25e3034e0bf8bbc52b875ddb473816.tar.bz2
gsoc2013-epiphany-180df7244c25e3034e0bf8bbc52b875ddb473816.tar.lz
gsoc2013-epiphany-180df7244c25e3034e0bf8bbc52b875ddb473816.tar.xz
gsoc2013-epiphany-180df7244c25e3034e0bf8bbc52b875ddb473816.tar.zst
gsoc2013-epiphany-180df7244c25e3034e0bf8bbc52b875ddb473816.zip
Add a persist-position property.
2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add a persist-position property. * embed/downloader-view.c: (downloader_view_new): Persist downloader position. * src/prefs-dialog.c: (get_download_button_label): * embed/mozilla/MozDownload.cpp: * data/epiphany.schemas.in: Default to ~/Desktop/Downloads.
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index f79f5c2c0..6830fe1e9 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -210,8 +210,9 @@ downloader_view_finalize (GObject *object)
DownloaderView *
downloader_view_new (void)
{
- return EPHY_DOWNLOADER_VIEW (g_object_new
- (EPHY_TYPE_DOWNLOADER_VIEW, NULL));
+ return EPHY_DOWNLOADER_VIEW (g_object_new (EPHY_TYPE_DOWNLOADER_VIEW,
+ "persist-position", TRUE,
+ NULL));
}
static char *