network: Remove the unused unlock button
It's wrecking the bottom padding alignment and is in the header in the mockups...
This commit is contained in:
parent
552d994300
commit
cd48bba555
2 changed files with 0 additions and 36 deletions
|
@ -3625,11 +3625,6 @@ cc_network_panel_init (CcNetworkPanel *panel)
|
|||
g_signal_connect (widget, "clicked",
|
||||
G_CALLBACK (wireless_button_clicked_cb), panel);
|
||||
|
||||
/* nothing to unlock yet */
|
||||
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder,
|
||||
"button_unlock"));
|
||||
gtk_widget_set_sensitive (widget, FALSE);
|
||||
|
||||
/* add remote settings such as VPN settings as virtual devices */
|
||||
bus = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
|
||||
if (bus == NULL) {
|
||||
|
@ -3651,11 +3646,6 @@ cc_network_panel_init (CcNetworkPanel *panel)
|
|||
"notebook_types"));
|
||||
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (widget), FALSE);
|
||||
|
||||
/* hide stuff that doesn't work yet */
|
||||
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder,
|
||||
"button_unlock"));
|
||||
gtk_widget_hide (widget);
|
||||
|
||||
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder,
|
||||
"vbox1"));
|
||||
gtk_widget_reparent (widget, (GtkWidget *) panel);
|
||||
|
|
|
@ -2360,32 +2360,6 @@
|
|||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkHBox" id="hbox54">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="button_unlock">
|
||||
<property name="label" translatable="yes">Unlock</property>
|
||||
<property name="use_action_appearance">False</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_action_appearance">False</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue