Added a keyboard shortcut in embedded mode for "Open URL..."
This commit is contained in:
parent
1746aeab71
commit
597c752ffd
|
@ -497,6 +497,15 @@ static gboolean _switch_page_idle(gpointer data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* on_open_url */
|
||||||
|
void on_open_url(gpointer data)
|
||||||
|
{
|
||||||
|
Surfer * surfer = data;
|
||||||
|
|
||||||
|
on_file_open_url(surfer);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* on_path_activate */
|
/* on_path_activate */
|
||||||
void on_path_activate(gpointer data)
|
void on_path_activate(gpointer data)
|
||||||
{
|
{
|
||||||
|
|
|
@ -71,6 +71,7 @@ void on_home(gpointer data);
|
||||||
void on_new_tab(gpointer data);
|
void on_new_tab(gpointer data);
|
||||||
void on_new_window(gpointer data);
|
void on_new_window(gpointer data);
|
||||||
void on_normal_size(gpointer data);
|
void on_normal_size(gpointer data);
|
||||||
|
void on_open_url(gpointer data);
|
||||||
void on_path_activate(gpointer data);
|
void on_path_activate(gpointer data);
|
||||||
void on_preferences(gpointer data);
|
void on_preferences(gpointer data);
|
||||||
void on_refresh(gpointer data);
|
void on_refresh(gpointer data);
|
||||||
|
|
|
@ -98,6 +98,7 @@ static const DesktopAccel _surfer_accel[] =
|
||||||
{
|
{
|
||||||
{ G_CALLBACK(on_close), GDK_CONTROL_MASK, GDK_KEY_W },
|
{ G_CALLBACK(on_close), GDK_CONTROL_MASK, GDK_KEY_W },
|
||||||
#ifdef EMBEDDED
|
#ifdef EMBEDDED
|
||||||
|
{ G_CALLBACK(on_open_url), GDK_CONTROL_MASK, GDK_KEY_L },
|
||||||
{ G_CALLBACK(on_refresh), GDK_CONTROL_MASK, GDK_KEY_R },
|
{ G_CALLBACK(on_refresh), GDK_CONTROL_MASK, GDK_KEY_R },
|
||||||
{ G_CALLBACK(on_normal_size), GDK_CONTROL_MASK, GDK_KEY_0 },
|
{ G_CALLBACK(on_normal_size), GDK_CONTROL_MASK, GDK_KEY_0 },
|
||||||
{ G_CALLBACK(on_zoom_in), GDK_CONTROL_MASK, GDK_KEY_plus },
|
{ G_CALLBACK(on_zoom_in), GDK_CONTROL_MASK, GDK_KEY_plus },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user