aboutsummaryrefslogtreecommitdiffstats
path: root/src/epiphany.defs
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-10-13 03:45:07 +0800
committerChristian Persch <chpe@src.gnome.org>2005-10-13 03:45:07 +0800
commit85939a287cbb2b9c789581ddc6d529dd24d2c870 (patch)
tree1e3c11cf2b7bd036c4d07f4c82ae2f0728255f43 /src/epiphany.defs
parent5f02d1125ef8c08ebd3d145565b6f054084f2658 (diff)
downloadgsoc2013-epiphany-85939a287cbb2b9c789581ddc6d529dd24d2c870.tar
gsoc2013-epiphany-85939a287cbb2b9c789581ddc6d529dd24d2c870.tar.gz
gsoc2013-epiphany-85939a287cbb2b9c789581ddc6d529dd24d2c870.tar.bz2
gsoc2013-epiphany-85939a287cbb2b9c789581ddc6d529dd24d2c870.tar.lz
gsoc2013-epiphany-85939a287cbb2b9c789581ddc6d529dd24d2c870.tar.xz
gsoc2013-epiphany-85939a287cbb2b9c789581ddc6d529dd24d2c870.tar.zst
gsoc2013-epiphany-85939a287cbb2b9c789581ddc6d529dd24d2c870.zip
Remove the "network-status" signal from the embed single, and make it a
2005-10-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_network_status), (ephy_embed_single_get_network_status): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (sync_tab_icon), (sync_network_status), (ephy_window_dispose), (ephy_window_init): * src/epiphany.defs: * src/window-commands.c: (window_cmd_file_work_offline): Remove the "network-status" signal from the embed single, and make it a property instead. Keep track of the network status in EphySingle, and emit property notification when it changes.
Diffstat (limited to 'src/epiphany.defs')
-rw-r--r--src/epiphany.defs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/epiphany.defs b/src/epiphany.defs
index 6d556aa7b..6ab363578 100644
--- a/src/epiphany.defs
+++ b/src/epiphany.defs
@@ -878,18 +878,18 @@
(return-type "none")
)
-(define-method set_offline_mode
+(define-method set_network_status
(of-object "EphyEmbedSingle")
- (c-name "ephy_embed_single_set_offline_mode")
+ (c-name "ephy_embed_single_set_network_status")
(return-type "none")
(parameters
'("gboolean" "offline")
)
)
-(define-method get_offline_mode
+(define-method get_network_status
(of-object "EphyEmbedSingle")
- (c-name "ephy_embed_single_get_offline_mode")
+ (c-name "ephy_embed_single_get_network_status")
(return-type "gboolean")
)