diff options
-rw-r--r-- | lib/ephy-file-helpers.c | 37 | ||||
-rw-r--r-- | lib/ephy-file-helpers.h | 2 | ||||
-rw-r--r-- | src/ephy-main.c | 3 |
3 files changed, 0 insertions, 42 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c index b940d4a7e..50e81f315 100644 --- a/lib/ephy-file-helpers.c +++ b/lib/ephy-file-helpers.c @@ -961,40 +961,3 @@ ephy_file_delete_uri (const char *uri) } g_object_unref (file); } - -static gchar * -get_accels_filename (void) -{ - const char *home; - - home = g_get_home_dir(); - if (!home) - return NULL; - return g_build_filename (home, GNOME_DOT_GNOME, "accels", PACKAGE, NULL); -} - -void -ephy_file_load_accels (void) -{ - char *filename; - - filename = get_accels_filename (); - if (!filename) - return; - - gtk_accel_map_load (filename); - g_free (filename); -} - -void -ephy_file_save_accels (void) -{ - char *filename; - - filename = get_accels_filename (); - if (!filename) - return; - - gtk_accel_map_save (filename); - g_free (filename); -} diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h index e5dd72990..4cd270f83 100644 --- a/lib/ephy-file-helpers.h +++ b/lib/ephy-file-helpers.h @@ -84,8 +84,6 @@ gboolean ephy_file_browse_to (GFile *file, gboolean ephy_file_delete_dir_recursively (GFile *file, GError **error); void ephy_file_delete_uri (const char *uri); -void ephy_file_load_accels (void); -void ephy_file_save_accels (void); G_END_DECLS diff --git a/src/ephy-main.c b/src/ephy-main.c index 707f32532..5b3dad0dd 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -431,8 +431,6 @@ main (int argc, exit (0); } - ephy_file_load_accels (); - /* Now create the shell */ if (private_instance) mode = EPHY_EMBED_SHELL_MODE_PRIVATE; @@ -489,7 +487,6 @@ main (int argc, if (notify_is_initted ()) notify_uninit (); - ephy_file_save_accels (); ephy_state_save (); ephy_embed_prefs_shutdown (); ephy_settings_shutdown (); |