|
|
|
|
@ -1,14 +1,10 @@
|
|
|
|
|
#include "ublexec.h"
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
const string path_app = "/usr/bin/";
|
|
|
|
|
const string path_glade = "/usr/share/ublexec/ui/ublexec.glade";
|
|
|
|
|
const string path_css = "/usr/share/ublexec/css/ublexec.css";
|
|
|
|
|
const string app_name = "ublexec";
|
|
|
|
|
|
|
|
|
|
int flag_prog_file = 0;
|
|
|
|
|
string name_app_cmd = "";
|
|
|
|
|
string version_application = "2.24";
|
|
|
|
|
const string path_img_head_background = "/usr/share/ublexec/images/logo-background.png";
|
|
|
|
|
int socket_ext_id_I = 0;
|
|
|
|
|
int socket_trd_id_I = 0;
|
|
|
|
|
|
|
|
|
|
@ -379,6 +375,7 @@ void MainWindow::open_browser() {
|
|
|
|
|
this->template_open_browser();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void MainWindow::template_open_browser() {
|
|
|
|
|
string cmd = cmd_xdg + string(_(link_doc)) + " &";
|
|
|
|
|
string buf = "";
|
|
|
|
|
@ -392,6 +389,7 @@ void MainWindow::template_open_browser() {
|
|
|
|
|
}
|
|
|
|
|
index_error = system(cmd.c_str());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void MainWindow::icon_clear() {
|
|
|
|
|
list_Graphics->clear();
|
|
|
|
|
list_Tools->clear();
|
|
|
|
|
|