[gnome-control-center] printers: Add get_help_uri() implementation



commit 0c353fb4a89085c05263f12f1d41668bfd5811e7
Author: Florian MÃllner <fmuellner gnome org>
Date:   Fri May 18 17:06:07 2012 +0200

    printers: Add get_help_uri() implementation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675471

 panels/printers/cc-printers-panel.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index f5cf0d9..0ea51c4 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -199,6 +199,12 @@ cc_printers_panel_get_permission (CcPanel *panel)
   return priv->permission;
 }
 
+static const char *
+cc_printers_panel_get_help_uri (CcPanel *panel)
+{
+  return "help:gnome-help/printing";
+}
+
 static void
 cc_printers_panel_class_init (CcPrintersPanelClass *klass)
 {
@@ -213,6 +219,7 @@ cc_printers_panel_class_init (CcPrintersPanelClass *klass)
   object_class->finalize = cc_printers_panel_finalize;
 
   panel_class->get_permission = cc_printers_panel_get_permission;
+  panel_class->get_help_uri = cc_printers_panel_get_help_uri;
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]