Add a option to span background images across monitors

This feature was lost in 2.28, and people miss it. See bug 609809.
Note that this adds one new string, 'Span', which appears in the 'Style'
combobox in the background tab of the appearance capplet.
This commit is contained in:
Matthias Clasen 2010-02-18 15:55:35 -05:00
parent 0354024179
commit e5896d700e
2 changed files with 4 additions and 0 deletions

View file

@ -1625,6 +1625,9 @@
<row> <row>
<col id="0" translatable="yes">Stretch</col> <col id="0" translatable="yes">Stretch</col>
</row> </row>
<row>
<col id="0" translatable="yes">Span</col>
</row>
</data> </data>
</object> </object>
<object class="GtkListStore" id="wp_color_liststore"> <object class="GtkListStore" id="wp_color_liststore">

View file

@ -31,6 +31,7 @@ static GConfEnumStringPair options_lookup[] = {
{ GNOME_BG_PLACEMENT_SCALED, "scaled" }, { GNOME_BG_PLACEMENT_SCALED, "scaled" },
{ GNOME_BG_PLACEMENT_ZOOMED, "zoom" }, { GNOME_BG_PLACEMENT_ZOOMED, "zoom" },
{ GNOME_BG_PLACEMENT_TILED, "wallpaper" }, { GNOME_BG_PLACEMENT_TILED, "wallpaper" },
{ GNOME_BG_PLACEMENT_SPANNED, "spanned" },
{ 0, NULL } { 0, NULL }
}; };