- Change named radio buttons to enable translation
This commit is contained in:
parent
f055f7aa2a
commit
70e71cdc44
2 changed files with 4 additions and 4 deletions
|
|
@ -349,7 +349,7 @@
|
|||
<child>
|
||||
<object class="GtkRadioButton" id="anchortoedge">
|
||||
<property name="label" translatable="yes">Anchor To Edge</property>
|
||||
<property name="name">voice_anchor_to_edge</property>
|
||||
<property name="name">voice_anchor_to_edge_button</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">True</property>
|
||||
<property name="receives-default">False</property>
|
||||
|
|
@ -365,7 +365,7 @@
|
|||
<child>
|
||||
<object class="GtkRadioButton" id="anchorfloating">
|
||||
<property name="label" translatable="yes">Floating</property>
|
||||
<property name="name">voice_floating</property>
|
||||
<property name="name">voice_floating_button</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">True</property>
|
||||
<property name="receives-default">False</property>
|
||||
|
|
|
|||
|
|
@ -267,9 +267,9 @@ class MainSettingsWindow():
|
|||
"main", "floating_h", fallback=400)
|
||||
|
||||
if config.getboolean("main", "floating", fallback=False):
|
||||
self.widget['voice_floating'].set_active(True)
|
||||
self.widget['voice_floating_button'].set_active(True)
|
||||
else:
|
||||
self.widget['voice_anchor_to_edge'].set_active(True)
|
||||
self.widget['voice_anchor_to_edge_button'].set_active(True)
|
||||
self.widget['voice_align_1'].set_active(
|
||||
config.getboolean("main", "rightalign", fallback=False))
|
||||
self.widget['voice_align_2'].set_active(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue