From 705ea3ebf2557dc0cb251e55c9b76539e3f60478 Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Sun, 5 Aug 2012 23:01:11 +0000 Subject: [PATCH] Center the window and fixed one spelling issue. --- ede-bug-tools/ede-bug-report/ede-bug-report.cpp | 5 ++++- ede-bug-tools/ede-bug-report/fl/ede-bug-report.fl | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ede-bug-tools/ede-bug-report/ede-bug-report.cpp b/ede-bug-tools/ede-bug-report/ede-bug-report.cpp index d632f67..5ded000 100644 --- a/ede-bug-tools/ede-bug-report/ede-bug-report.cpp +++ b/ede-bug-tools/ede-bug-report/ede-bug-report.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include #include @@ -41,6 +42,7 @@ EDELIB_NS_USING(String) EDELIB_NS_USING(Regex) EDELIB_NS_USING(alert) EDELIB_NS_USING(message) +EDELIB_NS_USING(window_center_on_screen) EDELIB_NS_USING(RX_CASELESS) #ifdef HAVE_CURL @@ -156,7 +158,7 @@ int main(int argc, char** argv) { Fl_Box *description_box = new Fl_Box(80, 45, 390, 95, _("To help us to improve the future EDE versions, " "please describe the problem with much details as possible.\n\nNote: valid email address is required, so " - "developers could contact you for more informations if necessary.")); + "developers can contact you for more informations if necessary.")); description_box->align(133|FL_ALIGN_INSIDE); @@ -194,6 +196,7 @@ int main(int argc, char** argv) { Fl_Group::current()->resizable(rbox); win->window_icon(bug_xpm); /* win->show(argc, argv); */ + window_center_on_screen(win); win->show(); return Fl::run(); #endif /* HAVE_CURL */ diff --git a/ede-bug-tools/ede-bug-report/fl/ede-bug-report.fl b/ede-bug-tools/ede-bug-report/fl/ede-bug-report.fl index 02cb3bc..54c79bc 100644 --- a/ede-bug-tools/ede-bug-report/fl/ede-bug-report.fl +++ b/ede-bug-tools/ede-bug-report/fl/ede-bug-report.fl @@ -18,7 +18,7 @@ Function {} {open Fl_Box {} { label {To help us to improve the future EDE versions, please describe the problem with much details as possible. -Note: valid email address is required, so developers could contact you for more informations if necessary.} +Note: valid email address is required, so developers can contact you for more informations if necessary.} xywh {80 45 390 95} align 149 } Fl_Input {} {