From 88eebe6a15a640001795da35704e2a4cff9ddbc0 Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Tue, 15 Apr 2014 09:18:47 +0200 Subject: [ABRT PATCH 43/66] configu UI: use glade file extension instead of ui intltool recognizes translatable strings in XML UI files only if the file has "glade" extension. Resolves rhbz#1087777 Signed-off-by: Jakub Filak --- po/POTFILES.in | 2 +- src/configuration-gui/Makefile.am | 2 +- src/configuration-gui/abrt-config-widget.c | 2 +- src/configuration-gui/abrt-config-widget.glade | 358 +++++++++++++++++++++++++ src/configuration-gui/abrt-config-widget.ui | 358 ------------------------- 5 files changed, 361 insertions(+), 361 deletions(-) create mode 100644 src/configuration-gui/abrt-config-widget.glade delete mode 100644 src/configuration-gui/abrt-config-widget.ui diff --git a/po/POTFILES.in b/po/POTFILES.in index 6d90162..2c36802 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -3,7 +3,7 @@ # Please keep this file sorted alphabetically. src/applet/abrt-applet.desktop.in src/applet/applet.c -src/configuration-gui/abrt-config-widget.ui +src/configuration-gui/abrt-config-widget.glade src/configuration-gui/system-config-abrt.c src/configuration-gui/main.c src/daemon/abrt-action-save-package-data.c diff --git a/src/configuration-gui/Makefile.am b/src/configuration-gui/Makefile.am index 67b010d..4d20318 100644 --- a/src/configuration-gui/Makefile.am +++ b/src/configuration-gui/Makefile.am @@ -56,7 +56,7 @@ system_config_abrt_LDADD = \ $(GTK_LIBS) \ $(LIBREPORT_LIBS) -dist_ui_DATA = abrt-config-widget.ui +dist_ui_DATA = abrt-config-widget.glade uidir = $(pkgdatadir)/ui EXTRA_DIST = abrt_gui.pc.in diff --git a/src/configuration-gui/abrt-config-widget.c b/src/configuration-gui/abrt-config-widget.c index 2c0ba9b..45eac95 100644 --- a/src/configuration-gui/abrt-config-widget.c +++ b/src/configuration-gui/abrt-config-widget.c @@ -30,7 +30,7 @@ #define WID(s) GTK_WIDGET(gtk_builder_get_object(self->priv->builder, s)) -#define UI_FILE_NAME "abrt-config-widget.ui" +#define UI_FILE_NAME "abrt-config-widget.glade" typedef struct { char *app_name; diff --git a/src/configuration-gui/abrt-config-widget.glade b/src/configuration-gui/abrt-config-widget.glade new file mode 100644 index 0000000..e470011 --- /dev/null +++ b/src/configuration-gui/abrt-config-widget.glade @@ -0,0 +1,358 @@ + + + + + False + + + True + False + 10 + 10 + 10 + 10 + True + + + True + False + start + True + 10 + Ask before stealing directory + + + + + 0 + 1 + 1 + 1 + + + + + True + False + start + True + 10 + Automatically send uReport + + + + + 0 + 3 + 1 + 1 + + + + + True + True + end + center + 10 + + + 1 + 0 + 1 + 1 + + + + + True + True + end + center + 10 + + + 1 + 1 + 1 + 1 + + + + + True + True + end + center + 10 + + + 1 + 3 + 1 + 1 + + + + + True + False + start + True + 10 + Shortened reporting + + + + + 0 + 4 + 1 + 1 + + + + + True + True + end + center + 10 + + + 1 + 4 + 1 + 1 + + + + + True + True + end + center + 10 + + + 1 + 5 + 1 + 1 + + + + + True + False + start + True + 10 + Silent shortened reporting + + + + + 0 + 5 + 1 + 1 + + + + + True + False + The coredump file is necessary for generating stack trace which is time and space consuming operation. ABRT provides a service which generates the stack trace from the coredump but you have to upload the coredump to this service. With this option disabled ABRT will upload the coredump without asking. + end + 5 + 1 + gtk-dialog-question + + + 2 + 0 + 1 + 1 + + + + + True + False + ABRT stores problem data in directories. Whenever ABRT needs writable directory, the directory is moved from the system location to your home directory. With this option disabled ABRT will move the problem directory without asking. + end + 5 + gtk-dialog-question + + + 2 + 1 + 1 + 1 + + + + + True + False + uReport is short and completely anonymous description of a problem. ABRT uses uReports for fast global duplicate detection. In default configuration uReport is sent at beginning of reporting process. With this option enabled uReports are sent automatically immediately after problem detection. + end + 5 + gtk-dialog-question + + + 2 + 3 + 1 + 1 + + + + + True + False + With this option enabled reporting process started by click on Report button in problem notification bubble will be interrupted after uReport is sent. You can always use the default problem browser to make complete report. + end + 5 + gtk-dialog-question + + + 2 + 4 + 1 + 1 + + + + + True + False + With this option enabled ABRT never shows notifications of reported problems. Takes effect only if Shortened reporting is enabled. + end + 5 + gtk-dialog-question + + + 2 + 5 + 1 + 1 + + + + + True + False + start + True + 10 + Ask before uploading coredump + + + + + 0 + 0 + 1 + 1 + + + + + True + False + With this option enabled ABRT always create bug ticket with restricted access if possibly sensitive data are dected. + end + 5 + gtk-dialog-question + + + 2 + 2 + 1 + 1 + + + + + True + False + start + True + 10 + Request private ticket for sensitive information + + + 0 + 2 + 1 + 1 + + + + + True + True + end + center + 10 + + + 1 + 2 + 1 + 1 + + + + + True + False + start + True + 10 + Notify incomplete problems + + + 0 + 6 + 1 + 1 + + + + + True + True + end + center + 10 + + + 1 + 6 + 1 + 1 + + + + + True + False + Incomplete problems are detected while computer is shutting down or user is logging out. In order to provide valuable problem reports, ABRT will not allow you to submit these problems. + end + 5 + gtk-dialog-question + + + 2 + 6 + 1 + 1 + + + + + + diff --git a/src/configuration-gui/abrt-config-widget.ui b/src/configuration-gui/abrt-config-widget.ui deleted file mode 100644 index e470011..0000000 --- a/src/configuration-gui/abrt-config-widget.ui +++ /dev/null @@ -1,358 +0,0 @@ - - - - - False - - - True - False - 10 - 10 - 10 - 10 - True - - - True - False - start - True - 10 - Ask before stealing directory - - - - - 0 - 1 - 1 - 1 - - - - - True - False - start - True - 10 - Automatically send uReport - - - - - 0 - 3 - 1 - 1 - - - - - True - True - end - center - 10 - - - 1 - 0 - 1 - 1 - - - - - True - True - end - center - 10 - - - 1 - 1 - 1 - 1 - - - - - True - True - end - center - 10 - - - 1 - 3 - 1 - 1 - - - - - True - False - start - True - 10 - Shortened reporting - - - - - 0 - 4 - 1 - 1 - - - - - True - True - end - center - 10 - - - 1 - 4 - 1 - 1 - - - - - True - True - end - center - 10 - - - 1 - 5 - 1 - 1 - - - - - True - False - start - True - 10 - Silent shortened reporting - - - - - 0 - 5 - 1 - 1 - - - - - True - False - The coredump file is necessary for generating stack trace which is time and space consuming operation. ABRT provides a service which generates the stack trace from the coredump but you have to upload the coredump to this service. With this option disabled ABRT will upload the coredump without asking. - end - 5 - 1 - gtk-dialog-question - - - 2 - 0 - 1 - 1 - - - - - True - False - ABRT stores problem data in directories. Whenever ABRT needs writable directory, the directory is moved from the system location to your home directory. With this option disabled ABRT will move the problem directory without asking. - end - 5 - gtk-dialog-question - - - 2 - 1 - 1 - 1 - - - - - True - False - uReport is short and completely anonymous description of a problem. ABRT uses uReports for fast global duplicate detection. In default configuration uReport is sent at beginning of reporting process. With this option enabled uReports are sent automatically immediately after problem detection. - end - 5 - gtk-dialog-question - - - 2 - 3 - 1 - 1 - - - - - True - False - With this option enabled reporting process started by click on Report button in problem notification bubble will be interrupted after uReport is sent. You can always use the default problem browser to make complete report. - end - 5 - gtk-dialog-question - - - 2 - 4 - 1 - 1 - - - - - True - False - With this option enabled ABRT never shows notifications of reported problems. Takes effect only if Shortened reporting is enabled. - end - 5 - gtk-dialog-question - - - 2 - 5 - 1 - 1 - - - - - True - False - start - True - 10 - Ask before uploading coredump - - - - - 0 - 0 - 1 - 1 - - - - - True - False - With this option enabled ABRT always create bug ticket with restricted access if possibly sensitive data are dected. - end - 5 - gtk-dialog-question - - - 2 - 2 - 1 - 1 - - - - - True - False - start - True - 10 - Request private ticket for sensitive information - - - 0 - 2 - 1 - 1 - - - - - True - True - end - center - 10 - - - 1 - 2 - 1 - 1 - - - - - True - False - start - True - 10 - Notify incomplete problems - - - 0 - 6 - 1 - 1 - - - - - True - True - end - center - 10 - - - 1 - 6 - 1 - 1 - - - - - True - False - Incomplete problems are detected while computer is shutting down or user is logging out. In order to provide valuable problem reports, ABRT will not allow you to submit these problems. - end - 5 - gtk-dialog-question - - - 2 - 6 - 1 - 1 - - - - - - -- 1.8.3.1