mouse: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
This commit is contained in:
parent
7adcd01261
commit
164d8b54a0
1 changed files with 9 additions and 0 deletions
|
@ -82,13 +82,22 @@ cc_mouse_panel_dispose (GObject *object)
|
||||||
G_OBJECT_CLASS (cc_mouse_panel_parent_class)->dispose (object);
|
G_OBJECT_CLASS (cc_mouse_panel_parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const char *
|
||||||
|
cc_mouse_panel_get_help_uri (CcPanel *panel)
|
||||||
|
{
|
||||||
|
return "help:gnome-help/mouse";
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
cc_mouse_panel_class_init (CcMousePanelClass *klass)
|
cc_mouse_panel_class_init (CcMousePanelClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||||
|
CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
|
||||||
|
|
||||||
g_type_class_add_private (klass, sizeof (CcMousePanelPrivate));
|
g_type_class_add_private (klass, sizeof (CcMousePanelPrivate));
|
||||||
|
|
||||||
|
panel_class->get_help_uri = cc_mouse_panel_get_help_uri;
|
||||||
|
|
||||||
object_class->get_property = cc_mouse_panel_get_property;
|
object_class->get_property = cc_mouse_panel_get_property;
|
||||||
object_class->set_property = cc_mouse_panel_set_property;
|
object_class->set_property = cc_mouse_panel_set_property;
|
||||||
object_class->dispose = cc_mouse_panel_dispose;
|
object_class->dispose = cc_mouse_panel_dispose;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue