[gnome-control-center] info: Remove obsolete Graphics section
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: Remove obsolete Graphics section
- Date: Mon, 7 Jan 2013 08:23:34 +0000 (UTC)
commit 5b5f2d01e27b036d7ec52e52dba74ced16bda7ba
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 7 09:22:18 2013 +0100
info: Remove obsolete Graphics section
https://bugzilla.gnome.org/show_bug.cgi?id=691242
panels/info/cc-info-panel.c | 15 ---------
panels/info/info.ui | 71 +-----------------------------------------
2 files changed, 2 insertions(+), 84 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 23128b5..e17ca24 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 d031e62..f451d13 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]