[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 01/01: Catch some edge cases

noreply at xfce.org noreply at xfce.org
Sat Apr 4 22:51:14 CEST 2020


This is an automated email from the git hooks/post-receive script.

T   o   Z       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-genmon-plugin.

commit 837cbc00a4df82cbf76db5cd86e0972f42657459
Author: ToZ <tony.paulic at gmail.com>
Date:   Sat Apr 4 16:50:51 2020 -0400

    Catch some edge cases
---
 panel-plugin/main.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 2977fa2..bb0fad7 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -860,6 +860,12 @@ static void genmon_dialog_response (GtkWidget *dlg, int response,
 		/* Do not wait the next timer to update display */
 		DisplayCmdOutput (genmon);
 	}
+	else {
+		poConf->acFonttmp = g_strdup (poConf->acFont);
+		poConf->fTitleDisplayedtmp = poConf->fTitleDisplayed;
+		poConf->iPeriod_mstmp = poConf->iPeriod_ms;
+	}
+	
 	gtk_widget_destroy (dlg);
 	xfce_panel_plugin_unblock_menu (genmon->plugin);
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list