Fixed terminal cancel

pull/140/head
parent f4178f9f1f
commit 4b0c6335f1
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -74,7 +74,7 @@ void on_terminal_done(GtkWidget *, int , main_window *widgets){
const char cancel_signal = 3;
char *command = yon_char_new(" ");
command[0]=cancel_signal;
char *tmp = yon_char_unite(command,"\n",NULL);
char *tmp = yon_char_unite(command,"; exit 0\n",NULL);
on_pacman_db_unlock();
free(command);
vte_terminal_feed_child(VTE_TERMINAL(widgets->InstallTerminal),tmp,strlen(tmp));

@ -507,7 +507,6 @@ monitor_data *yon_monitor_new(main_window *widgets,int dull){
gtk_widget_hide(window->ConfigureButton);
g_signal_connect(G_OBJECT(window->AddButton), "clicked", G_CALLBACK(on_monitor_add), widgets);
}
GList *list = gtk_container_get_children(GTK_CONTAINER(widgets->MonitorsBox));
gtk_flow_box_insert(GTK_FLOW_BOX(widgets->MonitorsBox),window->ScreenOverlay,g_list_length(list)-1);
g_list_free(list);

@ -164,3 +164,7 @@
#define INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install driver "),"<b>",target,"</b>?",NULL)
#define REMOVE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to remove driver "),"<b>",target,"</b>?",NULL)
#define INSTALL_ATTENTION_LABEL yon_char_unite("<b>",_("Attention!"),"</b> ",_("If you work in sandbox mode, you must install the package with the module!"),NULL)
#define REMOVE_TOOLTIP_LABEL _("Remove")
#define SWITCH_TOOLTIP_LABEL _("Switch")
#define ADD_TOOLTIP_LABEL _("Add")

@ -52,7 +52,6 @@
<object class="GtkBox" id="MonitorInfoBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">start</property>
<property name="margin-left">3</property>
<property name="margin-right">3</property>
<property name="margin-start">5</property>

Loading…
Cancel
Save