Fixed GTK video preset issue with translations

This commit is contained in:
Sylvain Berfini 2016-02-29 17:39:49 +01:00
parent 2eea827121
commit 55ca45db72
2 changed files with 4 additions and 4 deletions

View file

@ -186,13 +186,13 @@
</columns>
<data>
<row>
<col id="0" translatable="yes">default</col>
<col id="0" translatable="no">default</col>
</row>
<row>
<col id="0" translatable="yes">high-fps</col>
<col id="0" translatable="no">high-fps</col>
</row>
<row>
<col id="0" translatable="yes">custom</col>
<col id="0" translatable="no">custom</col>
</row>
</data>
</object>

View file

@ -497,7 +497,7 @@ void linphone_gtk_video_preset_changed(GtkWidget *w) {
gtk_widget_set_sensitive(GTK_WIDGET(framerate), FALSE);
} else if (g_strcmp0(sel, "high-fps") == 0) {
linphone_core_set_video_preset(lc, "high-fps");
gtk_spin_button_set_value(framerate, 0);
gtk_spin_button_set_value(framerate, 30);
gtk_widget_set_sensitive(GTK_WIDGET(framerate), FALSE);
} else if (g_strcmp0(sel, "custom") == 0) {
linphone_core_set_video_preset(lc, "custom");