diff options
author | Xan Lopez <xan@igalia.com> | 2011-12-04 00:08:37 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2011-12-04 00:11:34 +0800 |
commit | bea26fc30ac9ff3def2d18d237509a18b3829e27 (patch) | |
tree | 5da1657cf6b218587e4df68d7f3acfc1ac95edd8 /src/ephy-home-action.c | |
parent | 0caf7b0f44349cbfd072cb49dbdc609de317a971 (diff) | |
download | gsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.tar gsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.tar.gz gsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.tar.bz2 gsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.tar.lz gsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.tar.xz gsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.tar.zst gsoc2013-epiphany-bea26fc30ac9ff3def2d18d237509a18b3829e27.zip |
Remove homepage preference from GSettings
Hardcode it to be "about:blank". The final step could be completely
remove the rest of the code, but it might be useful for the future
Overview page (if we consider it the new "homepage").
https://bugzilla.gnome.org/show_bug.cgi?id=665469
Diffstat (limited to 'src/ephy-home-action.c')
-rw-r--r-- | src/ephy-home-action.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ephy-home-action.c b/src/ephy-home-action.c index 0fb0967aa..483d02c28 100644 --- a/src/ephy-home-action.c +++ b/src/ephy-home-action.c @@ -158,16 +158,11 @@ static void ephy_home_action_activate (GtkAction *action) { char *action_name; - char *address; g_object_get (G_OBJECT (action), "name", &action_name, NULL); - address = g_settings_get_string (EPHY_SETTINGS_MAIN, - EPHY_PREFS_HOMEPAGE_URL); + action_name_association (action, action_name, "about:blank", FALSE); - action_name_association (action, action_name, address, FALSE); - - g_free (address); g_free (action_name); } |