forked from AuroraMiddleware/gtk
assistant: Port bindings to use shortcuts
This commit is contained in:
parent
e62154c91f
commit
4f128a4a21
@ -65,7 +65,6 @@
|
|||||||
|
|
||||||
#include "gtkassistant.h"
|
#include "gtkassistant.h"
|
||||||
|
|
||||||
#include "gtkbindings.h"
|
|
||||||
#include "gtkbox.h"
|
#include "gtkbox.h"
|
||||||
#include "gtkbuildable.h"
|
#include "gtkbuildable.h"
|
||||||
#include "gtkbutton.h"
|
#include "gtkbutton.h"
|
||||||
@ -510,7 +509,6 @@ gtk_assistant_class_init (GtkAssistantClass *class)
|
|||||||
GtkWidgetClass *widget_class;
|
GtkWidgetClass *widget_class;
|
||||||
GtkContainerClass *container_class;
|
GtkContainerClass *container_class;
|
||||||
GtkWindowClass *window_class;
|
GtkWindowClass *window_class;
|
||||||
GtkBindingSet *binding_set;
|
|
||||||
|
|
||||||
gobject_class = (GObjectClass *) class;
|
gobject_class = (GObjectClass *) class;
|
||||||
widget_class = (GtkWidgetClass *) class;
|
widget_class = (GtkWidgetClass *) class;
|
||||||
@ -619,8 +617,10 @@ gtk_assistant_class_init (GtkAssistantClass *class)
|
|||||||
NULL,
|
NULL,
|
||||||
G_TYPE_NONE, 0);
|
G_TYPE_NONE, 0);
|
||||||
|
|
||||||
binding_set = gtk_binding_set_by_class (class);
|
gtk_widget_class_add_binding_signal (widget_class,
|
||||||
gtk_binding_entry_add_signal (binding_set, GDK_KEY_Escape, 0, "escape", 0);
|
GDK_KEY_Escape, 0,
|
||||||
|
"escape",
|
||||||
|
NULL);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkAssistant:use-header-bar:
|
* GtkAssistant:use-header-bar:
|
||||||
|
Loading…
Reference in New Issue
Block a user