[totem] preferences: Set font chooser button title in preferences.ui
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] preferences: Set font chooser button title in preferences.ui
- Date: Tue, 29 Jun 2021 16:06:10 +0000 (UTC)
commit 49d02a03e6d3bcd1afa5624bb476eba5c412ee00
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed May 5 19:19:30 2021 -0300
preferences: Set font chooser button title in preferences.ui
Move yet another property that can be defined in the .ui file directly
to preferences.ui.
data/preferences.ui | 1 +
src/totem-preferences.c | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/data/preferences.ui b/data/preferences.ui
index 89518e82a..bb281236a 100644
--- a/data/preferences.ui
+++ b/data/preferences.ui
@@ -266,6 +266,7 @@
<child>
<object class="GtkFontButton" id="font_sel_button">
<property name="visible">True</property>
+ <property name="label" translatable="yes">Select Subtitle Font</property>
<property name="can_focus">True</property>
<property name="show_style">True</property>
<property name="show_size">True</property>
diff --git a/src/totem-preferences.c b/src/totem-preferences.c
index 439fe18c7..cceb4b282 100644
--- a/src/totem-preferences.c
+++ b/src/totem-preferences.c
@@ -301,8 +301,6 @@ totem_setup_preferences (Totem *totem)
/* Subtitle font selection */
item = POBJ ("font_sel_button");
- gtk_font_button_set_title (GTK_FONT_BUTTON (item),
- _("Select Subtitle Font"));
font = g_settings_get_string (totem->settings, "subtitle-font");
if (*font != '\0') {
gtk_font_chooser_set_font (GTK_FONT_CHOOSER (item), font);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]