diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sysinfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp index f5465ba..1620523 100644 --- a/src/sysinfo.cpp +++ b/src/sysinfo.cpp @@ -708,6 +708,7 @@ add_row(GtkGrid * table, const char * label, const char * value, int row) GtkWidget *header = gtk_label_new(NULL); gtk_label_set_markup(GTK_LABEL(header), label); gtk_label_set_selectable(GTK_LABEL(header), TRUE); + gtk_widget_set_can_focus(header, FALSE); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (header), 0.0); #else @@ -719,6 +720,7 @@ add_row(GtkGrid * table, const char * label, const char * value, int row) GtkWidget *label_widget = gtk_label_new(value); gtk_label_set_selectable(GTK_LABEL(label_widget), TRUE); + gtk_widget_set_can_focus(label_widget, FALSE); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (label_widget), 0.0); #else @@ -802,6 +804,7 @@ procman_create_sysinfo_view(void) distro_release_label = gtk_label_new("???"); gtk_label_set_selectable(GTK_LABEL(distro_release_label), TRUE); + gtk_widget_set_can_focus(distro_release_label, FALSE); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (distro_release_label), 0.0); #else @@ -816,6 +819,7 @@ procman_create_sysinfo_view(void) markup = g_strdup_printf(_("Kernel %s"), data->kernel.c_str()); header = gtk_label_new(markup); gtk_label_set_selectable(GTK_LABEL(header), TRUE); + gtk_widget_set_can_focus(header, FALSE); g_free(markup); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (header), 0.0); @@ -832,6 +836,7 @@ procman_create_sysinfo_view(void) markup = g_strdup_printf(_("MATE %s"), data->mate_version.c_str()); header = gtk_label_new(markup); gtk_label_set_selectable(GTK_LABEL(header), TRUE); + gtk_widget_set_can_focus(header, FALSE); g_free(markup); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (header), 0.0); |