From b16a9777b976b945edae7b9cc7cd565f98ce510d Mon Sep 17 00:00:00 2001 From: Igor Belitskiy Date: Thu, 9 Mar 2023 17:14:31 +0600 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20Plug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/ublexec.cc | 6 +++--- source/ublexec.h | 1 + ublexec.desktop | 1 + ublexec.glade | 12 ++++++------ 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/source/ublexec.cc b/source/ublexec.cc index 27a0e53..eb1a5a0 100644 --- a/source/ublexec.cc +++ b/source/ublexec.cc @@ -103,6 +103,7 @@ void MainWindow::get_builder() { builder->get_widget("aboutWindows", aboutWindows); builder->get_widget("btnSettings", btnSettings); builder->get_widget("btnBoxAboutDialog", btnBoxAboutDialog); + builder->get_widget("boxAbout",boxAbout); } void MainWindow::set_icon_array() { @@ -341,9 +342,8 @@ void MainWindow::settings() { rbSu->set_sensitive(false); rbSudo->set_sensitive(false); btnBoxAboutDialog->set_visible(false); - Gtk::Widget *boxAbout; - builder->get_widget("boxAbout",boxAbout); - ubl_make_plugs(boxAbout, boxAbout,0 , socket_trd_id_I); + + ubl_make_plugs(boxAbout, boxAbout, socket_ext_id_I, 0); } void MainWindow::close_entry_app() { diff --git a/source/ublexec.h b/source/ublexec.h index cc1d545..8bd558c 100644 --- a/source/ublexec.h +++ b/source/ublexec.h @@ -190,6 +190,7 @@ public: Glib::RefPtr list_Other; Glib::RefPtr list_Development; Glib::RefPtr list_System; + Gtk::Widget *boxAbout; public: string version_application = "1.0"; string cmd_old = ""; diff --git a/ublexec.desktop b/ublexec.desktop index ef0cc9d..ce36841 100644 --- a/ublexec.desktop +++ b/ublexec.desktop @@ -11,4 +11,5 @@ Exec=ublexec Icon=ublexec Terminal=false X-XfcePluggable=true +X-UBLPluggable=true Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;X-UBL-SettingsManager;X-UBL-SystemSettings; \ No newline at end of file diff --git a/ublexec.glade b/ublexec.glade index c432490..c247cbf 100644 --- a/ublexec.glade +++ b/ublexec.glade @@ -1290,7 +1290,7 @@ specified priority - True + False True 1 @@ -1487,7 +1487,7 @@ specified priority - True + False True 2 @@ -1720,7 +1720,7 @@ specified priority - True + False True 3 @@ -1748,14 +1748,14 @@ specified priority - True + False True 0 - True + False True 2 @@ -1763,7 +1763,7 @@ specified priority - + True False True