From 4c0ccb24a31ed02573d9f64e3a294b54c85b7f65 Mon Sep 17 00:00:00 2001 From: Mikhail Osipov Date: Mon, 12 Aug 2019 11:11:21 +0300 Subject: remove xfce4-genmon-plugin --- xfce4-genmon-plugin/font-fix.patch | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 xfce4-genmon-plugin/font-fix.patch (limited to 'xfce4-genmon-plugin/font-fix.patch') diff --git a/xfce4-genmon-plugin/font-fix.patch b/xfce4-genmon-plugin/font-fix.patch deleted file mode 100644 index 8aaff93..0000000 --- a/xfce4-genmon-plugin/font-fix.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 331c77853276b9d9f369899618140c505c34546f Mon Sep 17 00:00:00 2001 -From: ToZ -Date: Sat, 14 Jul 2018 12:29:16 -0400 -Subject: Change font to use pt instead of px to match system font setting - ---- - panel-plugin/main.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/panel-plugin/main.c b/panel-plugin/main.c -index 0eba91c..8af795e 100644 ---- a/panel-plugin/main.c -+++ b/panel-plugin/main.c -@@ -537,7 +537,7 @@ static int SetMonitorFont (void *p_pvPlugin) - font = pango_font_description_from_string(poConf->acFont); - if (G_LIKELY (font)) - { -- css = g_strdup_printf("label { font-family: %s; font-size: %dpx; font-style: %s; font-weight: %s }", -+ css = g_strdup_printf("label { font-family: %s; font-size: %dpt; font-style: %s; font-weight: %s }", - pango_font_description_get_family (font), - pango_font_description_get_size (font) / PANGO_SCALE, - (pango_font_description_get_style(font) == PANGO_STYLE_ITALIC || -@@ -727,7 +727,7 @@ static void SetLabel (GtkWidget *p_wTF, void *p_pvPlugin) - struct param_t *poConf = &(poPlugin->oConf.oParam); - struct monitor_t *poMonitor = &(poPlugin->oMonitor); - const char *acTitle = gtk_entry_get_text (GTK_ENTRY (p_wTF)); -- -+ - g_free (poConf->acTitle); - poConf->acTitle = g_strdup (acTitle); - gtk_label_set_text (GTK_LABEL (poMonitor->wTitle), poConf->acTitle); --- -cgit v1.2.1 - -- cgit v1.2.3-70-g09d2