display: Remove duplicate/unused translations
"Normal" was translated 3 times when it only needed one, and the translation in the .ui file weren't used at all.
This commit is contained in:
parent
21c11833b5
commit
71d01174d5
2 changed files with 2 additions and 22 deletions
|
@ -513,7 +513,7 @@ rebuild_rotation_combo (CcDisplayPanel *self)
|
|||
gnome_rr_output_info_set_rotation (self->priv->current_output, current);
|
||||
|
||||
if (!(selection && combo_select (self->priv->rotation_combo, selection)))
|
||||
combo_select (self->priv->rotation_combo, _("Normal"));
|
||||
combo_select (self->priv->rotation_combo, _(rotations[0].name));
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -2590,7 +2590,7 @@ cc_display_panel_constructor (GType gtype,
|
|||
CcDisplayPanel *self;
|
||||
CcShell *shell;
|
||||
GtkWidget *toplevel;
|
||||
gchar *objects[] = {"display-panel", "rotation-liststore", NULL};
|
||||
gchar *objects[] = {"display-panel", NULL};
|
||||
|
||||
obj = G_OBJECT_CLASS (cc_display_panel_parent_class)->constructor (gtype, n_properties, properties);
|
||||
self = CC_DISPLAY_PANEL (obj);
|
||||
|
|
|
@ -2,26 +2,6 @@
|
|||
<interface>
|
||||
<requires lib="gtk+" version="2.16"/>
|
||||
<!-- interface-naming-policy toplevel-contextual -->
|
||||
<object class="GtkListStore" id="rotation-liststore">
|
||||
<columns>
|
||||
<!-- column-name item -->
|
||||
<column type="gchararray"/>
|
||||
</columns>
|
||||
<data>
|
||||
<row>
|
||||
<col id="0" translatable="yes">Normal</col>
|
||||
</row>
|
||||
<row>
|
||||
<col id="0" translatable="yes">Left</col>
|
||||
</row>
|
||||
<row>
|
||||
<col id="0" translatable="yes">Right</col>
|
||||
</row>
|
||||
<row>
|
||||
<col id="0" translatable="yes">Upside-down</col>
|
||||
</row>
|
||||
</data>
|
||||
</object>
|
||||
<object class="GtkWindow" id="window1">
|
||||
<child>
|
||||
<object class="GtkVBox" id="display-panel">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue