[gnome-software: 1/2] gs-removal-dialog: Add tooltip for incompatible software
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] gs-removal-dialog: Add tooltip for incompatible software
- Date: Tue, 1 Jun 2021 09:12:31 +0000 (UTC)
commit faaa88e3a4015291c5f8496a3ddd58b0720270c2
Author: Nick Montalbano <namontalbano email neit edu>
Date: Mon May 31 20:35:30 2021 -0400
gs-removal-dialog: Add tooltip for incompatible software
Context, incompatible software is truncated after 40 chars.
The problem, it's difficult to identify the problematic software
due to the 40 char cut off.
Solution, add a tool tip to display the version of the problematic
package.
Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1240
src/gs-removal-dialog.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gs-removal-dialog.c b/src/gs-removal-dialog.c
index a3f88fa98..1c8e5f787 100644
--- a/src/gs-removal-dialog.c
+++ b/src/gs-removal-dialog.c
@@ -51,6 +51,7 @@ add_app (GtkListBox *listbox, GsApp *app)
widget = gtk_label_new (gs_app_get_name (app));
gtk_widget_set_halign (widget, GTK_ALIGN_START);
+ gtk_widget_set_tooltip_text (widget, gs_app_get_name (app));
gtk_label_set_ellipsize (GTK_LABEL (widget), PANGO_ELLIPSIZE_END);
gtk_container_add (GTK_CONTAINER (box), widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]