[epiphany] Remove dummy work offline code



commit 35b2a8970c28e322bad1ee2c67ee1ba7a4824e95
Author: Xan Lopez <xan igalia com>
Date:   Sat Mar 23 20:48:25 2013 +0100

    Remove dummy work offline code
    
    We are doing nothing with this these days.

 src/ephy-window.c     |    5 -----
 src/window-commands.c |   15 ---------------
 src/window-commands.h |    2 --
 3 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index a2d0731..5b2b664 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 323453f..265582f 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 8000c70..abf5865 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]