Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161154229
D20672.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D20672.diff
View Options
Index: head/sysutils/xfce4-systemload-plugin/Makefile
===================================================================
--- head/sysutils/xfce4-systemload-plugin/Makefile
+++ head/sysutils/xfce4-systemload-plugin/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xfce4-systemload-plugin
PORTVERSION= 1.2.2
+PORTREVISION= 1
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
Index: head/sysutils/xfce4-systemload-plugin/files/patch-fix-crash-on-properties-dialog
===================================================================
--- head/sysutils/xfce4-systemload-plugin/files/patch-fix-crash-on-properties-dialog
+++ head/sysutils/xfce4-systemload-plugin/files/patch-fix-crash-on-properties-dialog
@@ -0,0 +1,31 @@
+From b35286b81e2b6166338008cb9330cf54b0d82250 Mon Sep 17 00:00:00 2001
+From: Landry Breuil <landry@xfce.org>
+Date: Mon, 10 Dec 2018 09:57:58 +0100
+Subject: Fix a crash when opening the properties dialog
+
+introduced in dd5397b3, crash witnessed on OpenBSD and FreeBSD - better setting
+the mnemonic widget when the widget has been created.
+---
+ panel-plugin/systemload.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
+index 089b704..ee11297 100644
+--- panel-plugin/systemload.c.orig 2018-11-29 16:44:33 UTC
++++ panel-plugin/systemload.c
+@@ -806,7 +806,6 @@ static void new_monitor_setting(t_global_monitor *glob
+ gtk_widget_set_halign (label, GTK_ALIGN_START);
+ gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
+ gtk_widget_set_margin_start (label, 12);
+- gtk_label_set_mnemonic_widget (GTK_LABEL (label), button);
+ gtk_grid_attach (GTK_GRID(subgrid), label, 0, 0, 1, 1);
+
+ /* Entry for the optional monitor label */
+@@ -822,6 +821,7 @@ static void new_monitor_setting(t_global_monitor *glob
+
+ /* Colorbutton to set the progressbar color */
+ button = gtk_color_button_new_with_rgba(colorvar);
++ gtk_label_set_mnemonic_widget (GTK_LABEL (label), button);
+ gtk_widget_set_halign(button, GTK_ALIGN_START);
+ g_object_set_data(G_OBJECT(button), "colorvar", colorvar);
+ g_signal_connect(G_OBJECT(button), "color-set",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 2, 1:19 AM (16 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34582959
Default Alt Text
D20672.diff (2 KB)
Attached To
Mode
D20672: sysutils/xfce4-systemload-plugin: Fix crash on properties dialog
Attached
Detach File
Event Timeline
Log In to Comment