[Xfce4-commits] <midori:master> Add MidoriStartup, can_/reload to midori.vapi
Christian Dywan
noreply at xfce.org
Tue Jun 12 00:22:01 CEST 2012
Updating branch refs/heads/master
to eafbc37f0ba5d4361821c3c4a41e7c637270ff9f (commit)
from bc3ce47d7d62d36813f330903ff2614c8bb2989b (commit)
commit eafbc37f0ba5d4361821c3c4a41e7c637270ff9f
Author: André Stösel <andre at stoesel.de>
Date: Thu Jun 7 23:12:47 2012 +0200
Add MidoriStartup, can_/reload to midori.vapi
+ add missing enum MidoriStartup
+ add functions to check if the view is loadable and actually load the view
midori/midori.vapi | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/midori/midori.vapi b/midori/midori.vapi
index 61c5990..310982d 100644
--- a/midori/midori.vapi
+++ b/midori/midori.vapi
@@ -152,6 +152,8 @@ namespace Midori {
public Gdk.Pixbuf get_snapshot (int width, int height);
public unowned WebKit.WebView get_web_view ();
public void populate_popup (Gtk.Menu menu, bool manual);
+ public bool can_reload ();
+ public void reload (bool from_cache);
public string uri { get; }
public string title { get; }
@@ -176,6 +178,14 @@ namespace Midori {
public WebSettings ();
}
+ [CCode (cheader_filename = "midori/midori-websettings.h", cprefix = "MIDORI_STARTUP_")]
+ public enum MidoriStartup {
+ BLANK_PAGE,
+ HOMEPAGE,
+ LAST_OPEN_PAGES,
+ DELAYED_PAGES
+ }
+
[CCode (cheader_filename = "midori/sokoke.h", lower_case_cprefix = "sokoke_")]
namespace Sokoke {
public static uint gtk_action_count_modifiers (Gtk.Action action);
More information about the Xfce4-commits
mailing list