[gnome-control-center] printers: Return accidentally removed code
- From: Marek KaÅÃk <mkasik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] printers: Return accidentally removed code
- Date: Tue, 7 Aug 2012 10:28:51 +0000 (UTC)
commit 439b75fcea59101c02b378388f14b502dc6baea9
Author: Marek Kasik <mkasik redhat com>
Date: Tue Aug 7 12:28:05 2012 +0200
printers: Return accidentally removed code
Return implementation of get_help_uri() which was accidentally removed.
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 ee7d69b..88cccff 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -241,6 +241,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)
{
@@ -255,6 +261,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]