diff --git a/source/ubl-settings-video-driver.c b/source/ubl-settings-video-driver.c index 60001c2..27098cb 100644 --- a/source/ubl-settings-video-driver.c +++ b/source/ubl-settings-video-driver.c @@ -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)); diff --git a/source/ubl-settings-video-monitor.c b/source/ubl-settings-video-monitor.c index 9b8d5ac..627fe53 100644 --- a/source/ubl-settings-video-monitor.c +++ b/source/ubl-settings-video-monitor.c @@ -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); diff --git a/source/ubl-strings.h b/source/ubl-strings.h index 6cb3009..b3562bf 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -163,4 +163,8 @@ #define INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install driver "),"",target,"?",NULL) #define REMOVE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to remove driver "),"",target,"?",NULL) -#define INSTALL_ATTENTION_LABEL yon_char_unite("",_("Attention!")," ",_("If you work in sandbox mode, you must install the package with the module!"),NULL) \ No newline at end of file +#define INSTALL_ATTENTION_LABEL yon_char_unite("",_("Attention!")," ",_("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") \ No newline at end of file diff --git a/ubl-settings-video-monitor.glade b/ubl-settings-video-monitor.glade index 37c36f4..3ab2100 100644 --- a/ubl-settings-video-monitor.glade +++ b/ubl-settings-video-monitor.glade @@ -52,7 +52,6 @@ True False - start 3 3 5