diff options
| author | Balló György <[email protected]> | 2026-10-18 08:14:50 +0200 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-10-19 12:36:58 -0400 |
| commit | b9c7f05dca400eac0177f3e28d1c49895098841c (patch) | |
| tree | 0b5e5f7df9e4fa051f7c5f96cbbd9169234b9509 /geyes/src | |
| parent | dab9d51f1145487eaac4312736fb275628a441d4 (diff) | |
| download | mate-applets-master.tar.bz2 mate-applets-master.tar.xz | |
The translation domain needs to be set before loading GtkBuilder files
to get the translated strings when the applets are built as in-process.
Diffstat (limited to 'geyes/src')
| -rw-r--r-- | geyes/src/themes.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/geyes/src/themes.c b/geyes/src/themes.c index e9ebe24ba..7276b44a1 100644 --- a/geyes/src/themes.c +++ b/geyes/src/themes.c @@ -276,7 +276,11 @@ properties_cb (GtkAction *action, return; } - builder = gtk_builder_new_from_resource (GEYES_RESOURCE_PATH "themes.ui"); + builder = gtk_builder_new (); + gtk_builder_set_translation_domain (builder, GETTEXT_PACKAGE); + gtk_builder_add_from_resource (builder, + GEYES_RESOURCE_PATH "themes.ui", + NULL); eyes_applet->prop_box.pbox = GET_WIDGET("preferences_dialog"); tree = GET_WIDGET("themes_treeview"); |
