Исправил иконку

pull/4/head
Igor Belitskiy 2 years ago
parent 08615bfb24
commit 042511ef93

@ -568,12 +568,12 @@ void main_cbx_2_event() {
char* cmd = NULL; char* cmd = NULL;
if (menu_id >= 0) { if (menu_id >= 0) {
cmd = yon_char_unite("systemctl status ", cmd_text_param ," --no-pager", NULL); cmd = yon_char_unite("systemctl status ", cmd_text_param ," --no-pager", NULL);
puts(cmd);
yon_terminal_integrated_launch(widgets->vteInformation, cmd, NULL, NULL); yon_terminal_integrated_launch(widgets->vteInformation, cmd, NULL, NULL);
} }
if (menu_id >= 0) { if (menu_id >= 0) {
free(cmd_text_param); free(cmd_text_param);
}
if (menu_id >= 0) {
free(cmd); free(cmd);
} }
} }

@ -1236,7 +1236,7 @@ void yon_terminal_integrated_launch(GtkWidget *place_to_show, char* command, voi
VtePty *pty = vte_pty_new_sync(VTE_PTY_DEFAULT,NULL,NULL); VtePty *pty = vte_pty_new_sync(VTE_PTY_DEFAULT,NULL,NULL);
vte_terminal_set_pty(VTE_TERMINAL(terminal),pty); vte_terminal_set_pty(VTE_TERMINAL(terminal),pty);
gtk_container_add(GTK_CONTAINER(place_to_show),terminal); gtk_container_add(GTK_CONTAINER(place_to_show),terminal);
char *install_command=yon_char_unite("tput cup 0 0 && tput ed; ",command," ; sleep 5;exit 0","\n",NULL); char *install_command=yon_char_unite("tput cup 0 0 && tput ed; ",command," ;exit 0","\n",NULL);
printf("%s\n",install_command); printf("%s\n",install_command);
if(endwork_function) if(endwork_function)
g_signal_connect(G_OBJECT(terminal), "child-exited", G_CALLBACK(endwork_function), endwork_function_argument); g_signal_connect(G_OBJECT(terminal), "child-exited", G_CALLBACK(endwork_function), endwork_function_argument);

@ -3379,7 +3379,7 @@ limit
<object class="GtkImage"> <object class="GtkImage">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="icon-name">system-reboot-symbolic</property> <property name="icon-name">emblem-synchronizing-symbolic</property>
</object> </object>
</child> </child>
</object> </object>

Loading…
Cancel
Save