[epiphany] window-commands: forcing offline mode has been a no-op for a while



commit 4a0f71e24f7df2fe66a433416eb276d9b60992c7
Author: Xan Lopez <xan igalia com>
Date:   Wed Mar 14 14:41:54 2012 +0100

    window-commands: forcing offline mode has been a no-op for a while

 src/window-commands.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index b493a39..197d85f 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -616,12 +616,15 @@ 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 (embed_shell));
 	offline = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action));
 	ephy_embed_single_set_network_status (single, !offline);
+#endif
 }
 
 void



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