summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPablo Barciela <scow@riseup.net>2020-10-27 01:33:18 +0100
committerPablo Barciela <scow@riseup.net>2020-10-27 01:34:37 +0100
commit7ff26ad6bfa22b9b0737e3beda09a291006658f4 (patch)
treea671ae5714f1dbef3da8583e5c4daea00f1c56cd /plugins
parent9411afdbdd097c6a7f4f523a9a288a5f2d4f9cc0 (diff)
downloadglade-7ff26ad6bfa22b9b0737e3beda09a291006658f4.tar.gz
glade-button-editor: make translatable by default when label is toggled
Fixes https://gitlab.gnome.org/GNOME/glade/-/issues/491
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtk+/glade-button-editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/gtk+/glade-button-editor.c b/plugins/gtk+/glade-button-editor.c
index 7d7e0541..e187cc96 100644
--- a/plugins/gtk+/glade-button-editor.c
+++ b/plugins/gtk+/glade-button-editor.c
@@ -373,6 +373,7 @@ label_toggled (GtkWidget * widget, GladeButtonEditor * button_editor)
glade_property_get_default (property, &value);
glade_command_set_property_value (property, &value);
g_value_unset (&value);
+ glade_property_i18n_set_translatable (property, TRUE);
glade_command_pop_group ();