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 1e4e8ff..f7602cf 100644 --- a/src/sysinfo.cpp +++ b/src/sysinfo.cpp @@ -711,6 +711,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 @@ -722,6 +723,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 @@ -805,6 +807,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 @@ -819,6 +822,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); @@ -835,6 +839,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); |