diff --git a/#ubl-settings-bootloader.glade# b/#ubl-settings-bootloader.glade#
deleted file mode 100644
index baa9878..0000000
--- a/#ubl-settings-bootloader.glade#
+++ /dev/null
@@ -1,1326 +0,0 @@
-
-
-
-
-
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
- 69
- com.ublinux.ubl-settings-bootloader
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- start
- 5
- 5
- 5
- 5
- 6
- 6
- Running applications as a user with a
-specified priority
-
-
-
-
-
-
-
- True
- True
- 1
-
-
-
-
-
-
-
- 750
- 550
- False
- com.ublinux.ubl-settings-bootloader
-
-
- True
- False
- vertical
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
- 25
- 1
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- start
- 5
- 5
- 5
- 5
- 6
- 6
-
-
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- 81
- True
- False
- start
-
-
- -1
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- never
- in
-
-
- True
- False
-
-
- True
- False
- vertical
-
-
- True
- False
- vertical
-
-
- True
- False
- 0.019999999552965164
- in
-
-
- True
- False
- 12
-
-
- True
- False
- vertical
-
-
- True
- False
-
-
- Boot selection menu timer
- True
- True
- False
- 3
- 5
- 3
- 5
- 6
- 6
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
- 6
- 6
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
- Seconds
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- start
- 5
- 5
- 5
- 5
- 6
- 6
- Default load
- start
- 0
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
-
-
- True
- False
- start
- 5
- 5
- 5
- 5
- 6
- 6
- Load screen display mode:
- start
- 0
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 3
-
-
-
-
- True
- False
-
-
- Boot menu user name:
- True
- True
- False
- 2
- 5
- 2
- 5
- 6
- 6
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
- 6
- 6
-
-
- True
- True
- 2
-
-
-
-
- False
- True
- 4
-
-
-
-
- True
- False
-
-
- Boot menu user password:
- True
- True
- False
- 2
- 5
- 2
- 5
- 6
- 6
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
- 6
- 6
-
-
- True
- True
- 2
-
-
-
-
- False
- True
- 5
-
-
-
-
-
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 0.019999999552965164
- in
-
-
- True
- False
- 12
-
-
- True
- False
- vertical
-
-
- 140
- True
- True
- 5
- 5
- in
-
-
- True
- False
-
-
- -1
- True
- True
-
-
-
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
- Command line parameters:
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
- 6
- 6
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 10
-
-
-
-
-
-
-
-
- True
- False
- start
- 5
- 5
- 5
- 5
- 6
- 6
- Parameters passed to the kernel
- start
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 0.019999999552965164
- in
-
-
- True
- False
- 12
-
-
- True
- False
- vertical
-
-
- 140
- True
- True
- 5
- 5
- in
-
-
- True
- False
-
-
- True
- True
-
-
-
-
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
- Command line parameters:
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
- 6
- 6
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 7
-
-
-
-
-
-
-
-
- True
- False
- start
- 5
- 5
- 5
- 5
- 6
- 6
- Terminal for input
- start
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- False
- 0.019999999552965164
- in
-
-
- True
- False
- 12
-
-
- True
- False
- vertical
-
-
- 140
- True
- True
- 5
- 5
- in
-
-
- True
- False
-
-
- True
- True
-
-
-
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
- Command line parameters:
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
- 6
- 6
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 7
-
-
-
-
-
-
-
-
- True
- False
- start
- 5
- 5
- 5
- 5
- 6
- 6
- Terminal for output
- start
-
-
-
-
- False
- True
- 3
-
-
-
-
- False
- True
- 5
-
-
-
-
-
-
-
-
- True
- True
- 2
-
-
-
-
-
-
-
-
-
- both
- True
-
-
-
-
-
-
-
- both
- True
-
-
-
-
-
-
-
-
-
- False
- Внимание!
- center
- dialog
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
- 50
- gtk-dialog-warning
-
-
- True
- True
- 0
-
-
-
-
- 160
- True
- False
- start
- center
- 5
- 5
- 5
- 5
- 6
- 6
- Warning!
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- OK
- True
- True
- True
- 5
- 5
- 5
- 5
- 3
- 3
-
-
- False
- True
- 1
-
-
-
-
-
-
- 800
- 600
- False
- True
- True
- com.ublinux.ubl-settings-datetime
-
-
-
-
-
-
-
-
diff --git a/source/ubl-settings-bootloader.cc b/source/ubl-settings-bootloader.cc
index b080100..0cfab96 100755
--- a/source/ubl-settings-bootloader.cc
+++ b/source/ubl-settings-bootloader.cc
@@ -91,8 +91,8 @@ void MainWindow::settings(){
btnBoxAboutDialog->set_visible(false);
ubl_make_plugs(boxSave,boxButton, socket_ext_id_I, socket_trd_id_I);
one = WEBKIT_WEB_VIEW( webkit_web_view_new() );
- three = Glib::wrap( GTK_WIDGET( one ) );
- wndWeb->add( *three );
+ three = Glib::wrap(GTK_WIDGET(one));
+ wndWeb->add(*three);
this->flag_block_gui();
if (this->check_root() == 0) {
spbSecond->set_range(1, 60);
@@ -949,7 +949,9 @@ void MainWindow::info_warning_error(int mess) {
}
}
}
-
+MainWindow::~MainWindow() {
+ free(one);
+}
void MainWindow::add_CSS(){
Glib::RefPtr cssProvider = Gtk::CssProvider::create();
cssProvider->load_from_path(path_css);
diff --git a/source/ubl-settings-bootloader.h b/source/ubl-settings-bootloader.h
index 20ba41a..16ffb81 100644
--- a/source/ubl-settings-bootloader.h
+++ b/source/ubl-settings-bootloader.h
@@ -116,7 +116,7 @@ class MainWindow : public Gtk::ApplicationWindow {
Glib::RefPtr list_store_OTT;
Gtk::Window *wndWeb;
Gtk::Widget *three;
- WebKitWebView * one;
+ WebKitWebView *one;
void set_entry_to_tree_view(Glib::RefPtr &list_store, Gtk::Entry &entry, std::vector &vec_Option, int size);
Gtk::TreeModel::Row row_kernel;
Gtk::TreeModel::Row row_IPT;
@@ -149,6 +149,7 @@ class MainWindow : public Gtk::ApplicationWindow {
MainWindow(BaseObjectType* obj, Glib::RefPtr const& builder);
MainWindow(Glib::RefPtr const& builder);
+ ~MainWindow();
void get_menu_boot(std::map &map_temp);
void set_row_all(std::map &map_cmd, Glib::RefPtr &list_store, vector &list_params, size_t size,string key);
void set_row(Glib::RefPtr &list_store, int size, std::string name, bool flag_chbox);
diff --git a/ubl-settings-bootloader.glade b/ubl-settings-bootloader.glade
index 87b585c..2f182ae 100644
--- a/ubl-settings-bootloader.glade
+++ b/ubl-settings-bootloader.glade
@@ -1309,7 +1309,7 @@ specified priority
True
False
- ubl-settings-datetime
+ ubl-settings-bootloader