aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-24 03:48:25 +0800
committerXan Lopez <xan@igalia.com>2013-03-24 03:58:43 +0800
commit35b2a8970c28e322bad1ee2c67ee1ba7a4824e95 (patch)
tree3fc5848a665d00e027ad9f71c4682fa4d87dd2c0
parent6bbf9b85650ea4fa3b0d4b6ce97f4a8a3389ce82 (diff)
downloadgsoc2013-epiphany-35b2a8970c28e322bad1ee2c67ee1ba7a4824e95.tar
gsoc2013-epiphany-35b2a8970c28e322bad1ee2c67ee1ba7a4824e95.tar.gz
gsoc2013-epiphany-35b2a8970c28e322bad1ee2c67ee1ba7a4824e95.tar.bz2
gsoc2013-epiphany-35b2a8970c28e322bad1ee2c67ee1ba7a4824e95.tar.lz
gsoc2013-epiphany-35b2a8970c28e322bad1ee2c67ee1ba7a4824e95.tar.xz
gsoc2013-epiphany-35b2a8970c28e322bad1ee2c67ee1ba7a4824e95.tar.zst
gsoc2013-epiphany-35b2a8970c28e322bad1ee2c67ee1ba7a4824e95.zip
Remove dummy work offline code
We are doing nothing with this these days.
-rw-r--r--src/ephy-window.c5
-rw-r--r--src/window-commands.c15
-rw-r--r--src/window-commands.h2
3 files changed, 0 insertions, 22 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index a2d073133..5b2b664fc 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -201,11 +201,6 @@ static const GtkActionEntry ephy_menu_entries [] = {
static const GtkToggleActionEntry ephy_menu_toggle_entries [] =
{
- /* File actions. */
-
- { "FileWorkOffline", NULL, N_("_Work Offline"), NULL, NULL,
- G_CALLBACK (window_cmd_file_work_offline), FALSE },
-
/* View actions. */
{ "ViewDownloadsBar", NULL, N_("_Downloads Bar"), NULL, NULL,
diff --git a/src/window-commands.c b/src/window-commands.c
index 323453fc2..265582f92 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -1058,21 +1058,6 @@ window_cmd_file_save_as_application (GtkAction *action,
}
void
-window_cmd_file_work_offline (GtkAction *action,
- EphyWindow *window)
-{
- /* TODO: WebKitGTK+ does not currently support offline status. */
-#if 0
- EphyEmbedSingle *single;
- gboolean offline;
-
- single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (ephy_embed_shell_get_default ()));
- offline = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action));
- ephy_embed_single_set_network_status (single, !offline);
-#endif
-}
-
-void
window_cmd_file_close_window (GtkAction *action,
EphyWindow *window)
{
diff --git a/src/window-commands.h b/src/window-commands.h
index 8000c70dc..abf5865d6 100644
--- a/src/window-commands.h
+++ b/src/window-commands.h
@@ -54,8 +54,6 @@ void window_cmd_undo_close_tab (GtkAction *action,
EphyWindow *window);
void window_cmd_file_send_to (GtkAction *action,
EphyWindow *window);
-void window_cmd_file_work_offline (GtkAction *action,
- EphyWindow *window);
void window_cmd_file_close_window (GtkAction *action,
EphyWindow *window);
void window_cmd_edit_undo (GtkAction *action,