← Back to team overview

deja-dup-team team mailing list archive

[Merge] lp:~jbicha/deja-dup/fix-help-link into lp:deja-dup

 

Jeremy Bicha has proposed merging lp:~jbicha/deja-dup/fix-help-link into lp:deja-dup.

Commit message:
fix control-center help link

Requested reviews:
  Déjà Dup Developers (deja-dup-hackers)

For more details, see:
https://code.launchpad.net/~jbicha/deja-dup/fix-help-link/+merge/174287

This fixes System Settings' built-in help link in the System Settings menu in the top menu bar. Also, F1 will now work correctly.
-- 
https://code.launchpad.net/~jbicha/deja-dup/fix-help-link/+merge/174287
Your team Déjà Dup Developers is requested to review the proposed merge of lp:~jbicha/deja-dup/fix-help-link into lp:deja-dup.
=== modified file 'preferences/PreferencesPanel.c'
--- preferences/PreferencesPanel.c	2012-06-05 18:49:47 +0000
+++ preferences/PreferencesPanel.c	2013-07-11 20:19:32 +0000
@@ -50,9 +50,18 @@
 {
 }
 
+static const char *
+deja_dup_preferences_panel_get_help_uri (CcPanel *panel)
+{
+  return "help:deja-dup";
+}
+
 static void
 deja_dup_preferences_panel_class_init (DejaDupPreferencesPanelClass *klass)
 {
+  CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
+
+  panel_class->get_help_uri = deja_dup_preferences_panel_get_help_uri;
 }
 
 static void


Follow ups