diff options
author | ZenWalker <[email protected]> | 2016-06-24 11:17:22 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2016-06-24 23:14:17 +0200 |
commit | 0d3a5b087f4bb6c118abe34a14ea27b86583f812 (patch) | |
tree | 79e93750318b932a626668fe9e046b7ab2c896df /src/fr-window.c | |
parent | bcee9bdc706d1cf65bf800c2bcc96b236dab6ec5 (diff) | |
download | engrampa-0d3a5b087f4bb6c118abe34a14ea27b86583f812.tar.bz2 engrampa-0d3a5b087f4bb6c118abe34a14ea27b86583f812.tar.xz |
use GResource to store ui files
file-roller commit:
https://git.gnome.org/browse/file-roller/commit/?id=47619b987b77bdc258af9a554ba022c1f8834774
Diffstat (limited to 'src/fr-window.c')
-rw-r--r-- | src/fr-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index 9a734be..df03e6c 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -5888,7 +5888,7 @@ fr_window_construct (FrWindow *window) g_cclosure_new_swap (G_CALLBACK (fr_window_close), window, NULL)); - if (!gtk_ui_manager_add_ui_from_string (ui, ui_info, -1, &error)) { + if (! gtk_ui_manager_add_ui_from_resource (ui, "/org/mate/Engrampa/ui/menus-toolbars.ui", &error)) { g_message ("building menus failed: %s", error->message); g_error_free (error); } |