Exemplo n.º 1
0
        // TODO: see if it's possible to reload from cache
        public void Reload(ReloadOption option)
        {
            DebugHelper.DumpCallers();
            DebugHelper.WriteLine("Reloading...");

            Gdk.Threads.Enter();
            webview.Reload();
            Gdk.Threads.Leave();
        }
Exemplo n.º 2
0
        public void Reload(ReloadOption option)
        {
            if (navigation == null)
            {
                return;
            }

            control.Reset();
            if (option == ReloadOption.None)
            {
                navigation.reload((uint)LoadFlags.None);
            }
            else if (option == ReloadOption.Proxy)
            {
                navigation.reload((uint)LoadFlags.BypassLocalCache);
            }
            else if (option == ReloadOption.Full)
            {
                navigation.reload((uint)LoadFlags.BypassProxy);
            }
        }
Exemplo n.º 3
0
        // TODO: see if it's possible to reload from cache
        public void Reload(ReloadOption option)
        {
            DebugHelper.DumpCallers ();
            DebugHelper.WriteLine ("Reloading...");

            Gdk.Threads.Enter ();
            webview.Reload ();
            Gdk.Threads.Leave ();
        }
Exemplo n.º 4
0
		public void Reload (ReloadOption option)
		{
			if (navigation == null)
				return;

			control.Reset ();
			if (option == ReloadOption.None)
				navigation.reload ((uint)LoadFlags.None);
			else if (option == ReloadOption.Proxy)
				navigation.reload ((uint) LoadFlags.BypassLocalCache);
			else if (option == ReloadOption.Full)
				navigation.reload ((uint) LoadFlags.BypassProxy);
		}