[gnome-control-center/T20771: 6/44] Remove special color help page links



commit 87c5130a9d7aff7ea9f0758e5e10ed46d8f6ff70
Author: Matt Watson <mattdangerw gmail com>
Date:   Tue Dec 9 17:25:42 2014 -0800

    Remove special color help page links
    
    We dropped the color pages from the help center as they lacked much
    in the way of useful content and just told you to buy special hardware.
    
    We need to kill the links to those pages
    [endlessm/eos-shell#4160]

 panels/color/cc-color-panel.c |   13 -------------
 panels/color/color.ui         |   21 ---------------------
 2 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
index 4130661..1928934 100644
--- a/panels/color/cc-color-panel.c
+++ b/panels/color/cc-color-panel.c
@@ -1004,16 +1004,6 @@ out:
 }
 
 static void
-gcm_prefs_calib_export_link_cb (GtkLabel *widget,
-                                const gchar *url,
-                                CcColorPanel *prefs)
-{
-  gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (prefs->priv->main_window)),
-                "help:gnome-help/color-howtoimport",
-                GDK_CURRENT_TIME, NULL);
-}
-
-static void
 gcm_prefs_profile_add_cb (GtkWidget *widget, CcColorPanel *prefs)
 {
   GPtrArray *profiles;
@@ -2547,9 +2537,6 @@ cc_color_panel_init (CcColorPanel *prefs)
                     G_CALLBACK (gcm_prefs_calib_upload_cb), prefs);
   widget = GTK_WIDGET (gtk_builder_get_object (priv->builder,
                                                "label_calib_summary_message"));
-  g_signal_connect (widget, "activate-link",
-                    G_CALLBACK (gcm_prefs_calib_export_link_cb), prefs);
-
 
   widget = WID (priv->builder, "dialog-vbox1");
   gtk_container_add (GTK_CONTAINER (prefs), widget);
diff --git a/panels/color/color.ui b/panels/color/color.ui
index 27b4098..cdbec4d 100644
--- a/panels/color/color.ui
+++ b/panels/color/color.ui
@@ -824,27 +824,6 @@
                     <property name="position">1</property>
                   </packing>
                 </child>
-                <child>
-                  <object class="GtkLinkButton" id="linkbutton_help">
-                    <property name="label" translatable="yes">Learn more</property>
-                    <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="receives_default">True</property>
-                    <property name="has_tooltip">True</property>
-                    <property name="tooltip_text" translatable="yes">Learn more about color 
management</property>
-                    <property name="relief">none</property>
-                    <property name="xalign">0.50999999046325684</property>
-                    <property name="uri">help:gnome-help/color-whyimportant</property>
-                    <accessibility>
-                      <relation type="labelled-by" target="label_intro"/>
-                    </accessibility>
-                  </object>
-                  <packing>
-                    <property name="expand">False</property>
-                    <property name="fill">True</property>
-                    <property name="position">2</property>
-                  </packing>
-                </child>
               </object>
               <packing>
                 <property name="expand">False</property>


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