Исправлен дизайн окна вызова приложений, исправлен баг с повторением элементов окна вызова приложений

pull/3/head
Igor Belitskiy 3 years ago
parent 37a1570fbf
commit 146b314d2f

@ -65,7 +65,6 @@ void MainWindow::get_builder(){
builder->get_widget("lblInfoNooPriority", lblInfoNooPriority); builder->get_widget("lblInfoNooPriority", lblInfoNooPriority);
builder->get_widget("lblInfoExec", lblInfoExec); builder->get_widget("lblInfoExec", lblInfoExec);
builder->get_widget("lblInfoPriority", lblInfoPriority); builder->get_widget("lblInfoPriority", lblInfoPriority);
builder->get_widget("lblInfoEnterProg", lblInfoEnterProg);
builder->get_widget("boxColor", boxColor); builder->get_widget("boxColor", boxColor);
builder->get_widget("lblGraphics", lblGraphics); builder->get_widget("lblGraphics", lblGraphics);
builder->get_widget("lblTools", lblTools); builder->get_widget("lblTools", lblTools);
@ -113,8 +112,8 @@ void MainWindow::template_apps_obj(Gtk::IconView *icon, Glib::RefPtr<Gtk::ListSt
gtk_list_app = Gtk::ListStore::create(m_Columns); gtk_list_app = Gtk::ListStore::create(m_Columns);
gtk_list_app->set_sort_column(m_Columns.m_col_description, Gtk::SORT_ASCENDING); gtk_list_app->set_sort_column(m_Columns.m_col_description, Gtk::SORT_ASCENDING);
icon->set_model(gtk_list_app); icon->set_model(gtk_list_app);
icon->set_markup_column(m_Columns.m_col_description); icon->set_text_column(m_Columns.m_col_description);
icon->set_pixbuf_column(m_Columns.m_col_pixbuf); //icon->set_pixbuf_column(m_Columns.m_col_pixbuf);
} }
void MainWindow::add_CSS(){ void MainWindow::add_CSS(){
@ -150,7 +149,6 @@ void MainWindow::localization(){
lblInfoExec->set_text(_("Change startup priority")); lblInfoExec->set_text(_("Change startup priority"));
lblInfoPriority->set_text(_("Priority")); lblInfoPriority->set_text(_("Priority"));
lblMessageError->set_text(_("Select an executable file or program")); lblMessageError->set_text(_("Select an executable file or program"));
lblInfoEnterProg->set_text(_("Selecting Programs"));
lblGraphics->set_text(_("Graphics")); lblGraphics->set_text(_("Graphics"));
lblTools->set_text(_("Tools")); lblTools->set_text(_("Tools"));
lblInternet->set_text(_("Internet")); lblInternet->set_text(_("Internet"));
@ -205,7 +203,6 @@ void MainWindow::icon_clear(){
list_Multimedia->clear(); list_Multimedia->clear();
list_Settings->clear(); list_Settings->clear();
list_Education->clear(); list_Education->clear();
list_Graphics->clear();
list_Office->clear(); list_Office->clear();
list_Other->clear(); list_Other->clear();
list_Development->clear(); list_Development->clear();
@ -356,7 +353,6 @@ void MainWindow::tempalte_row(string Name, string Exec, string path , Glib::Ref
Gtk::TreeModel::Row row = *(dtk_list->append()); Gtk::TreeModel::Row row = *(dtk_list->append());
row[m_Columns.m_col_filename] = path; row[m_Columns.m_col_filename] = path;
row[m_Columns.m_col_description] = Name; row[m_Columns.m_col_description] = Name;
row[m_Columns.app_name_exec] = Exec;
if (std::ifstream(path)){ if (std::ifstream(path)){
row[m_Columns.m_col_pixbuf] = Gdk::Pixbuf::create_from_file(path); row[m_Columns.m_col_pixbuf] = Gdk::Pixbuf::create_from_file(path);
} }
@ -364,6 +360,9 @@ void MainWindow::tempalte_row(string Name, string Exec, string path , Glib::Ref
path = "/usr/share/icons/Faenza/emblems/16/emblem-danger.png"; path = "/usr/share/icons/Faenza/emblems/16/emblem-danger.png";
row[m_Columns.m_col_pixbuf] = Gdk::Pixbuf::create_from_file(path); row[m_Columns.m_col_pixbuf] = Gdk::Pixbuf::create_from_file(path);
} }
row[m_Columns.app_name_exec] = Exec;
row[m_Columns.float_h_align] = 0.5;
row[m_Columns.float_w_align] = 0.5;
} }
void MainWindow::open_list_app(){ void MainWindow::open_list_app(){
@ -430,29 +429,31 @@ void MainWindow::start_cmd(){
//chbTerminal->set_active(true); //chbTerminal->set_active(true);
} }
if (rbPkexec->get_active()){ if (rbPkexec->get_active()){
if ((chbAnotherUser->get_active()) && (cmbUser->get_active_text().length()==0)) { str_variants_root = " pkexec --user " + cmbUser->get_active_text();
str_variants_root = " pkexec --user ${USER} env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; if (cbxExecuteEpriority->get_active()){
} str_variants_root += " nice -n " + to_string(spinPriority->get_value_as_int());
else if (chbAnotherUser->get_active()){
str_variants_root = " pkexec --user " + cmbUser->get_active_text() + " env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY ";
}
else{
str_variants_root = " pkexec --user ${USER} env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY ";
} }
str_variants_root += " env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY ";
} }
else if (rbSu->get_active()){ else if (rbSu->get_active()){
chbTerminal->set_active(true); chbTerminal->set_active(true);
str_variants_root="su -l " + cmbUser->get_active_text() + " -c \" DISPLAY=$DISPLAY "; str_variants_root="su -l " + cmbUser->get_active_text();
if (cbxExecuteEpriority->get_active()){
str_variants_root += " nice -n " + to_string(spinPriority->get_value_as_int());
}
str_variants_root += + " -c \" DISPLAY=$DISPLAY ";
} }
else if (rbSudo->get_active()){ else if (rbSudo->get_active()){
chbTerminal->set_active(true); chbTerminal->set_active(true);
str_variants_root="sudo -u " + cmbUser->get_active_text() + " "; str_variants_root="sudo -u " + cmbUser->get_active_text() + " ";
if (cbxExecuteEpriority->get_active()){
str_variants_root += " nice -n " + to_string(spinPriority->get_value_as_int()) + " ";
} }
} }
if (cbxExecuteEpriority->get_active()){
str_nice_cmd = "nice -n " + to_string(spinPriority->get_value_as_int());
} }
if ((cbxExecuteEpriority->get_active()) && (chbAnotherUser->get_active()==false)){
str_nice_cmd = " nice -n " + to_string(spinPriority->get_value_as_int()) + " ";
}
if (user_cmd.length()==0 && name_app.length()==0 && path_file.length()==0){ if (user_cmd.length()==0 && name_app.length()==0 && path_file.length()==0){
messageError->show(); messageError->show();
return; return;
@ -466,10 +467,10 @@ void MainWindow::start_cmd(){
} }
string cmd = ""; string cmd = "";
if (path_file != ""){ if (path_file != ""){
cmd = str_nice_cmd + " nohup " + str_cmd_terminal + str_variants_root + " xdg-open '" + path_file + "' "; cmd = "nohup " + str_nice_cmd + str_cmd_terminal + str_variants_root + " xdg-open '" + path_file + "' ";
} }
else if (name_app!=""){ else if (name_app!=""){
cmd = str_nice_cmd + " nohup " + str_cmd_terminal + str_variants_root + name_app; cmd = "nohup " + str_nice_cmd + str_cmd_terminal + str_variants_root + name_app;
} }
else{ else{
bool flag_xdg = false; bool flag_xdg = false;
@ -484,13 +485,13 @@ void MainWindow::start_cmd(){
size_t vec_len = vec_user_cmd.size(); size_t vec_len = vec_user_cmd.size();
user_cmd = vec_user_cmd[vec_len-1]; user_cmd = vec_user_cmd[vec_len-1];
if (flag_xdg==false){ if (flag_xdg==false){
cmd = str_nice_cmd + " nohup " + str_cmd_terminal + str_variants_root + user_cmd; cmd = "nohup " + str_nice_cmd + str_cmd_terminal + str_variants_root + user_cmd;
if (str_variants_root.find("su -l") != string::npos){ if (str_variants_root.find("su -l") != string::npos){
cmd += "\""; cmd += "\"";
} }
} }
else{ else{
cmd = str_nice_cmd + " nohup " + str_cmd_terminal + str_variants_root + " xdg-open " + user_cmd ; cmd = "nohup " + str_nice_cmd + str_cmd_terminal + str_variants_root + " xdg-open " + user_cmd ;
} }
} }

@ -94,12 +94,16 @@ public:
add(m_col_description); add(m_col_description);
add(m_col_pixbuf); add(m_col_pixbuf);
add(app_name_exec); add(app_name_exec);
add(float_h_align);
add(float_w_align);
} }
Gtk::TreeModelColumn<std::string> m_col_filename; Gtk::TreeModelColumn<std::string> m_col_filename;
Gtk::TreeModelColumn<Glib::ustring> m_col_description; Gtk::TreeModelColumn<Glib::ustring> m_col_description;
Gtk::TreeModelColumn<Glib::ustring> app_name_exec; Gtk::TreeModelColumn<Glib::ustring> app_name_exec;
Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf> > m_col_pixbuf; Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf> > m_col_pixbuf;
Gtk::TreeModelColumn<float> float_h_align;
Gtk::TreeModelColumn<float> float_w_align;
}; };
ModelColumns m_Columns; ModelColumns m_Columns;
public: public:
@ -141,7 +145,6 @@ public:
Gtk::Label *lblInfoNooPriority; Gtk::Label *lblInfoNooPriority;
Gtk::Label *lblInfoExec; Gtk::Label *lblInfoExec;
Gtk::Label *lblInfoPriority; Gtk::Label *lblInfoPriority;
Gtk::Label *lblInfoEnterProg;
Gtk::Label *lblGraphics; Gtk::Label *lblGraphics;
Gtk::Label *lblTools; Gtk::Label *lblTools;

@ -12,7 +12,7 @@
<property name="type-hint">dialog</property> <property name="type-hint">dialog</property>
<property name="urgency-hint">True</property> <property name="urgency-hint">True</property>
<property name="program-name">ublexec</property> <property name="program-name">ublexec</property>
<property name="version">1.2</property> <property name="version">1.0</property>
<property name="copyright" translatable="yes">Copyright © 2023 - UBSoft Software LLC</property> <property name="copyright" translatable="yes">Copyright © 2023 - UBSoft Software LLC</property>
<property name="comments" translatable="yes">Setting the date and time</property> <property name="comments" translatable="yes">Setting the date and time</property>
<property name="website">https://ublinux.ru/</property> <property name="website">https://ublinux.ru/</property>
@ -56,26 +56,14 @@
<property name="page-increment">10</property> <property name="page-increment">10</property>
</object> </object>
<object class="GtkWindow" id="dialogStartMenu"> <object class="GtkWindow" id="dialogStartMenu">
<property name="width-request">500</property> <property name="width-request">450</property>
<property name="height-request">400</property> <property name="height-request">240</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="lblInfoEnterProg">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Selecting Programs</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child> <child>
<object class="GtkScrolledWindow"> <object class="GtkScrolledWindow">
<property name="visible">True</property> <property name="visible">True</property>
@ -83,6 +71,7 @@
<property name="shadow-type">in</property> <property name="shadow-type">in</property>
<child> <child>
<object class="GtkViewport" id="f2"> <object class="GtkViewport" id="f2">
<property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="margin-left">5</property> <property name="margin-left">5</property>
<property name="margin-right">5</property> <property name="margin-right">5</property>
@ -110,321 +99,466 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<object class="GtkExpander">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkIconView" id="iconGraphics">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="margin">1</property>
<property name="item-orientation">horizontal</property>
<property name="item-width">120</property>
<property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">4</attribute>
<attribute name="yalign">5</attribute>
</attributes>
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel" id="lblGraphics"> <object class="GtkLabel" id="lblGraphics">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Graphics</property> <property name="label" translatable="yes">Graphics</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">0</property> <property name="position">1</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkIconView" id="iconGraphics"> <object class="GtkExpander">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkIconView" id="iconTools">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin">1</property> <property name="margin">1</property>
<property name="resize-mode">queue</property> <property name="resize-mode">queue</property>
<property name="row-spacing">1</property> <property name="item-orientation">horizontal</property>
<property name="column-spacing">1</property> <property name="item-width">120</property>
<property name="item-padding">1</property> <property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">4</attribute>
</attributes>
</child>
<style> <style>
<class name="fgnb"/> <class name="fgnb"/>
</style> </style>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="GtkLabel" id="lblTools"> <object class="GtkLabel" id="lblTools">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Tools</property> <property name="label" translatable="yes">Tools</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">2</property> <property name="position">3</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkIconView" id="iconTools"> <object class="GtkExpander">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkIconView" id="iconInternet">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin">1</property> <property name="margin">1</property>
<property name="resize-mode">queue</property> <property name="resize-mode">queue</property>
<property name="row-spacing">1</property> <property name="item-orientation">horizontal</property>
<property name="column-spacing">1</property> <property name="item-width">120</property>
<property name="item-padding">1</property> <property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">4</attribute>
</attributes>
</child>
<style> <style>
<class name="fgnb"/> <class name="fgnb"/>
</style> </style>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="GtkLabel" id="lblInternet"> <object class="GtkLabel" id="lblInternet">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Internet</property> <property name="label" translatable="yes">Internet</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">4</property> <property name="position">5</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkIconView" id="iconInternet"> <object class="GtkExpander">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkIconView" id="iconMultimedia">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin">1</property> <property name="margin">1</property>
<property name="resize-mode">queue</property> <property name="resize-mode">queue</property>
<property name="row-spacing">1</property> <property name="item-orientation">horizontal</property>
<property name="column-spacing">1</property> <property name="item-width">120</property>
<property name="item-padding">1</property> <property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">4</attribute>
</attributes>
</child>
<style> <style>
<class name="fgnb"/> <class name="fgnb"/>
</style> </style>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">5</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="GtkLabel" id="lblMultimedia"> <object class="GtkLabel" id="lblMultimedia">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Multimedia</property> <property name="label" translatable="yes">Multimedia</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">6</property> <property name="position">7</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkIconView" id="iconMultimedia"> <object class="GtkExpander">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkIconView" id="iconSettings">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin">1</property> <property name="margin">1</property>
<property name="resize-mode">queue</property> <property name="resize-mode">queue</property>
<property name="row-spacing">1</property> <property name="item-orientation">horizontal</property>
<property name="column-spacing">1</property> <property name="item-width">120</property>
<property name="item-padding">1</property> <property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">4</attribute>
</attributes>
</child>
<style> <style>
<class name="fgnb"/> <class name="fgnb"/>
</style> </style>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">7</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="GtkLabel" id="lblSettings"> <object class="GtkLabel" id="lblSettings">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Settings</property> <property name="label" translatable="yes">Settings</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">8</property> <property name="position">9</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkIconView" id="iconSettings"> <object class="GtkExpander">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin">1</property> <child>
<object class="GtkIconView" id="iconEducation">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="margin">0</property>
<property name="resize-mode">queue</property> <property name="resize-mode">queue</property>
<property name="row-spacing">1</property> <property name="item-orientation">horizontal</property>
<property name="column-spacing">1</property> <property name="item-width">120</property>
<property name="item-padding">1</property> <property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">4</attribute>
</attributes>
</child>
<style> <style>
<class name="fgnb"/> <class name="fgnb"/>
</style> </style>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">9</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="GtkLabel" id="lblEducation"> <object class="GtkLabel" id="lblEducation">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Education</property> <property name="label" translatable="yes">Education</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">10</property> <property name="position">11</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkIconView" id="iconEducation"> <object class="GtkExpander">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkIconView" id="iconOffice">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin">1</property> <property name="margin">1</property>
<property name="resize-mode">queue</property> <property name="resize-mode">queue</property>
<property name="row-spacing">1</property> <property name="item-orientation">horizontal</property>
<property name="column-spacing">1</property> <property name="item-width">120</property>
<property name="item-padding">1</property> <property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">4</attribute>
</attributes>
</child>
<style> <style>
<class name="fgnb"/> <class name="fgnb"/>
</style> </style>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">11</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="GtkLabel" id="lblOffice"> <object class="GtkLabel" id="lblOffice">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Office</property> <property name="label" translatable="yes">Office</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">12</property> <property name="position">13</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkIconView" id="iconOffice"> <object class="GtkExpander">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkIconView" id="iconOther">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin">1</property> <property name="margin">1</property>
<property name="resize-mode">queue</property> <property name="resize-mode">queue</property>
<property name="spacing">1</property> <property name="item-orientation">horizontal</property>
<property name="row-spacing">1</property> <property name="item-width">120</property>
<property name="column-spacing">1</property> <property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">4</attribute>
</attributes>
</child>
<style> <style>
<class name="fgnb"/> <class name="fgnb"/>
</style> </style>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">13</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="GtkLabel" id="lblOther"> <object class="GtkLabel" id="lblOther">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Other</property> <property name="label" translatable="yes">Other</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">14</property> <property name="position">15</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkIconView" id="iconOther"> <object class="GtkExpander">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkIconView" id="iconDevelopment">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin">1</property> <property name="margin">1</property>
<property name="resize-mode">queue</property> <property name="resize-mode">queue</property>
<property name="row-spacing">1</property> <property name="item-orientation">horizontal</property>
<property name="column-spacing">1</property> <property name="item-width">120</property>
<property name="item-padding">1</property> <property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">4</attribute>
</attributes>
</child>
<style> <style>
<class name="fgnb"/> <class name="fgnb"/>
</style> </style>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">15</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="GtkLabel" id="lblDevelopment"> <object class="GtkLabel" id="lblDevelopment">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Development</property> <property name="label" translatable="yes">Development</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">16</property> <property name="position">17</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkIconView" id="iconDevelopment"> <object class="GtkExpander">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkIconView" id="iconSystem">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin">1</property> <property name="margin">1</property>
<property name="resize-mode">queue</property> <property name="resize-mode">queue</property>
<property name="row-spacing">1</property> <property name="item-orientation">horizontal</property>
<property name="column-spacing">1</property>
<property name="item-padding">1</property> <property name="item-padding">1</property>
<child>
<object class="GtkCellRendererPixbuf"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">5</attribute>
<attribute name="pixbuf">2</attribute>
</attributes>
</child>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="xalign">5</attribute>
<attribute name="yalign">4</attribute>
</attributes>
</child>
<style> <style>
<class name="fgnb"/> <class name="fgnb"/>
</style> </style>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">17</property>
</packing>
</child> </child>
<child> <child type="label">
<object class="GtkLabel" id="lblSystem"> <object class="GtkLabel" id="lblSystem">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">System</property> <property name="label" translatable="yes">System</property>
</object> </object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">18</property>
</packing>
</child> </child>
<child>
<object class="GtkIconView" id="iconSystem">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="margin">1</property>
<property name="resize-mode">queue</property>
<property name="row-spacing">1</property>
<property name="column-spacing">1</property>
<property name="item-padding">1</property>
<style>
<class name="fgnb"/>
</style>
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">19</property> <property name="position">19</property>
</packing> </packing>
@ -517,6 +651,22 @@
<property name="margin-bottom">6</property> <property name="margin-bottom">6</property>
<property name="stock">gtk-media-play</property> <property name="stock">gtk-media-play</property>
</object> </object>
<object class="GtkListStore" id="list_Other">
<columns>
<!-- column-name gchararray1 -->
<column type="gchararray"/>
<!-- column-name gchararray2 -->
<column type="gchararray"/>
<!-- column-name GdkPixbuf1 -->
<column type="GdkPixbuf"/>
<!-- column-name gchararray3 -->
<column type="gchararray"/>
<!-- column-name gfloat1 -->
<column type="gfloat"/>
<!-- column-name gfloat2 -->
<column type="gfloat"/>
</columns>
</object>
<object class="GtkMessageDialog" id="messageError"> <object class="GtkMessageDialog" id="messageError">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="title" translatable="yes">Внимание!</property> <property name="title" translatable="yes">Внимание!</property>

Loading…
Cancel
Save