|
Matej Habrnal |
30183d |
From eb1e45a1e8070bee6ba44f325f7dd0ca8900dc77 Mon Sep 17 00:00:00 2001
|
|
Matej Habrnal |
30183d |
From: Jakub Filak <jfilak@redhat.com>
|
|
Matej Habrnal |
30183d |
Date: Sat, 16 May 2015 06:46:17 +0200
|
|
Matej Habrnal |
30183d |
Subject: [PATCH] config UI: read glade from a local file first
|
|
Matej Habrnal |
30183d |
|
|
Matej Habrnal |
30183d |
If you read the system file first, you won't be able to the application
|
|
Matej Habrnal |
30183d |
from a development directory.
|
|
Matej Habrnal |
30183d |
|
|
Matej Habrnal |
30183d |
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
Matej Habrnal |
30183d |
---
|
|
Matej Habrnal |
30183d |
src/configuration-gui/abrt-config-widget.c | 8 ++++----
|
|
Matej Habrnal |
30183d |
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
Matej Habrnal |
30183d |
|
|
Matej Habrnal |
30183d |
diff --git a/src/configuration-gui/abrt-config-widget.c b/src/configuration-gui/abrt-config-widget.c
|
|
Matej Habrnal |
30183d |
index 664180d..2c75429 100644
|
|
Matej Habrnal |
30183d |
--- a/src/configuration-gui/abrt-config-widget.c
|
|
Matej Habrnal |
30183d |
+++ b/src/configuration-gui/abrt-config-widget.c
|
|
Matej Habrnal |
30183d |
@@ -221,14 +221,14 @@ abrt_config_widget_init(AbrtConfigWidget *self)
|
|
Matej Habrnal |
30183d |
self->priv->builder = gtk_builder_new();
|
|
Matej Habrnal |
30183d |
gtk_builder_set_translation_domain(self->priv->builder, GETTEXT_PACKAGE);
|
|
Matej Habrnal |
30183d |
|
|
Matej Habrnal |
30183d |
- gtk_builder_add_from_file(self->priv->builder, ABRT_UI_DIR "/" UI_FILE_NAME, &error);
|
|
Matej Habrnal |
30183d |
+ gtk_builder_add_from_file(self->priv->builder, UI_FILE_NAME, &error);
|
|
Matej Habrnal |
30183d |
if(error != NULL) {
|
|
Matej Habrnal |
30183d |
- g_warning("Failed to load '%s': %s", ABRT_UI_DIR "/" UI_FILE_NAME, error->message);
|
|
Matej Habrnal |
30183d |
+ log_debug("Failed to load '%s': %s", UI_FILE_NAME, error->message);
|
|
Matej Habrnal |
30183d |
g_error_free(error);
|
|
Matej Habrnal |
30183d |
error = NULL;
|
|
Matej Habrnal |
30183d |
- gtk_builder_add_from_file(self->priv->builder, UI_FILE_NAME, &error);
|
|
Matej Habrnal |
30183d |
+ gtk_builder_add_from_file(self->priv->builder, ABRT_UI_DIR "/" UI_FILE_NAME, &error);
|
|
Matej Habrnal |
30183d |
if(error != NULL) {
|
|
Matej Habrnal |
30183d |
- g_warning("Failed to load '%s': %s", UI_FILE_NAME, error->message);
|
|
Matej Habrnal |
30183d |
+ g_warning("Failed to load '%s': %s", ABRT_UI_DIR "/" UI_FILE_NAME, error->message);
|
|
Matej Habrnal |
30183d |
g_error_free(error);
|
|
Matej Habrnal |
30183d |
return;
|
|
Matej Habrnal |
30183d |
}
|
|
Matej Habrnal |
30183d |
--
|
|
Matej Habrnal |
30183d |
2.4.1
|
|
Matej Habrnal |
30183d |
|