summaryrefslogtreecommitdiff
path: root/panels/info
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-01-07 09:22:18 +0100
committerBastien Nocera <hadess@hadess.net>2013-01-07 09:22:59 +0100
commit5b5f2d01e27b036d7ec52e52dba74ced16bda7ba (patch)
treebca14057b6ad7d83fd0db2d8aebf4246bcfdf1ab /panels/info
parent20404568351815895b1b8abd444ec8bdea474d31 (diff)
downloadgnome-control-center-5b5f2d01e27b036d7ec52e52dba74ced16bda7ba.tar.gz
info: Remove obsolete Graphics section
https://bugzilla.gnome.org/show_bug.cgi?id=691242
Diffstat (limited to 'panels/info')
-rw-r--r--panels/info/cc-info-panel.c15
-rw-r--r--panels/info/info.ui71
2 files changed, 2 insertions, 84 deletions
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 23128b518..e17ca2437 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -802,15 +802,6 @@ on_section_changed (GtkTreeSelection *selection,
}
static void
-info_panel_setup_graphics (CcInfoPanel *self)
-{
- GtkWidget *widget;
-
- widget = WID ("graphics_driver_label");
- gtk_label_set_markup (GTK_LABEL (widget), self->priv->graphics_data->hardware_string);
-}
-
-static void
move_one_up (GtkWidget *table,
GtkWidget *child)
{
@@ -1565,11 +1556,6 @@ info_panel_setup_selector (CcInfoPanel *self)
_("Removable Media"),
-1);
- gtk_list_store_append (model, &iter);
- gtk_list_store_set (model, &iter, section_name_column,
- _("Graphics"),
- -1);
-
g_signal_connect (selection, "changed",
G_CALLBACK (on_section_changed), self);
on_section_changed (selection, self);
@@ -2089,6 +2075,5 @@ cc_info_panel_init (CcInfoPanel *self)
info_panel_setup_overview (self);
info_panel_setup_default_apps (self);
info_panel_setup_media (self);
- info_panel_setup_graphics (self);
info_panel_setup_virt (self);
}
diff --git a/panels/info/info.ui b/panels/info/info.ui
index d031e629e..f451d1339 100644
--- a/panels/info/info.ui
+++ b/panels/info/info.ui
@@ -1164,77 +1164,10 @@
</packing>
</child>
<child>
- <object class="GtkAlignment" id="graphics_detail_container">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="top_padding">20</property>
- <child>
- <object class="GtkTable" id="table2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="n_rows">4</property>
- <property name="n_columns">2</property>
- <property name="column_spacing">12</property>
- <property name="row_spacing">10</property>
- <child>
- <object class="GtkLabel" id="label17">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">Driver</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- <packing>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="graphics_driver_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="label">Unknown</property>
- <property name="selectable">True</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label34">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="xalign">1</property>
- <property name="justify">right</property>
- </object>
- <packing>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">GTK_FILL</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">3</property>
- </packing>
+ <placeholder/>
</child>
<child type="tab">
- <object class="GtkLabel" id="label2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Graphics</property>
- <property name="mnemonic_widget">graphics_label</property>
- </object>
- <packing>
- <property name="position">3</property>
- <property name="tab_fill">False</property>
- </packing>
+ <placeholder/>
</child>
</object>
<packing>