diff options
author | rbuj <[email protected]> | 2019-05-07 00:05:26 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-05-11 00:59:53 +0000 |
commit | eafb5fddf84324ebf6b0cc90422f10ee314b5b28 (patch) | |
tree | b7569aab227398638c9504056c1892bc8ea605cd /capplets/keyboard/mate-keyboard-properties-xkbmc.c | |
parent | 962f1b0464dfcac6223b6ae2b8e8228863800ea2 (diff) | |
download | mate-control-center-eafb5fddf84324ebf6b0cc90422f10ee314b5b28.tar.bz2 mate-control-center-eafb5fddf84324ebf6b0cc90422f10ee314b5b28.tar.xz |
capplets: Use gresources for UI files
Diffstat (limited to 'capplets/keyboard/mate-keyboard-properties-xkbmc.c')
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-xkbmc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkbmc.c b/capplets/keyboard/mate-keyboard-properties-xkbmc.c index e6ae7eb7..6ffc69e6 100644 --- a/capplets/keyboard/mate-keyboard-properties-xkbmc.c +++ b/capplets/keyboard/mate-keyboard-properties-xkbmc.c @@ -312,12 +312,12 @@ void choose_model (GtkBuilder * dialog) { GtkBuilder *chooser_dialog; - GtkWidget *chooser; + GtkWidget *chooser; - chooser_dialog = gtk_builder_new (); - gtk_builder_add_from_file (chooser_dialog, MATECC_UI_DIR - "/mate-keyboard-properties-model-chooser.ui", - NULL); + chooser_dialog = gtk_builder_new (); + gtk_builder_add_from_resource (chooser_dialog, + "/org/mate/mcc/keyboard/mate-keyboard-properties-model-chooser.ui", + NULL); chooser = CWID ("xkb_model_chooser"); gtk_window_set_transient_for (GTK_WINDOW (chooser), GTK_WINDOW (WID |