Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
Settings
Commits
91f1d45d
Commit
91f1d45d
authored
Jan 04, 2013
by
Bastien Nocera
Browse files
power: Disable "Screen Power Saving" section for now
parent
2c4210c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
panels/power/cc-power-panel.c
View file @
91f1d45d
...
...
@@ -1332,6 +1332,9 @@ add_power_saving_section (CcPowerPanel *self)
gtk_widget_set_margin_bottom
(
box2
,
6
);
gtk_box_pack_start
(
GTK_BOX
(
box
),
box2
,
TRUE
,
TRUE
,
0
);
/* FIXME: Disabled until we figure out whether we want it implemented
* like this */
#if 0
label = gtk_label_new (_("Screen _Power Saving"));
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
gtk_label_set_use_underline (GTK_LABEL (label), TRUE);
...
...
@@ -1354,6 +1357,7 @@ add_power_saving_section (CcPowerPanel *self)
gtk_label_set_mnemonic_widget (GTK_LABEL (label), sw);
gtk_container_add (GTK_CONTAINER (widget), box);
gtk_size_group_add_widget (priv->row_sizegroup, box);
#endif
#ifdef HAVE_NETWORK_MANAGER
priv
->
wifi_row
=
box
=
gtk_box_new
(
GTK_ORIENTATION_HORIZONTAL
,
50
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment