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
This commit is contained in:
parent
bc3ce47d7d
commit
eafbc37f0b
1 changed files with 10 additions and 0 deletions
|
@ -152,6 +152,8 @@ namespace Midori {
|
||||||
public Gdk.Pixbuf get_snapshot (int width, int height);
|
public Gdk.Pixbuf get_snapshot (int width, int height);
|
||||||
public unowned WebKit.WebView get_web_view ();
|
public unowned WebKit.WebView get_web_view ();
|
||||||
public void populate_popup (Gtk.Menu menu, bool manual);
|
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 uri { get; }
|
||||||
public string title { get; }
|
public string title { get; }
|
||||||
|
@ -176,6 +178,14 @@ namespace Midori {
|
||||||
public WebSettings ();
|
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_")]
|
[CCode (cheader_filename = "midori/sokoke.h", lower_case_cprefix = "sokoke_")]
|
||||||
namespace Sokoke {
|
namespace Sokoke {
|
||||||
public static uint gtk_action_count_modifiers (Gtk.Action action);
|
public static uint gtk_action_count_modifiers (Gtk.Action action);
|
||||||
|
|
Loading…
Reference in a new issue