[gnome-applets] battstat: add gp-text-color class



commit 6732d2666e152fee5ae5483cd6a8c8f95e0122b3
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Oct 8 17:43:00 2016 +0300

    battstat: add gp-text-color class

 battstat/src/battstat_applet.c |    2 ++
 configure.ac                   |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/battstat/src/battstat_applet.c b/battstat/src/battstat_applet.c
index ca42606..71c6bfb 100644
--- a/battstat/src/battstat_applet.c
+++ b/battstat/src/battstat_applet.c
@@ -1503,6 +1503,8 @@ create_layout(ProgressData *battstat)
   battstat->status = gtk_image_new();
   battstat->battery = gtk_image_new();
 
+  panel_applet_add_text_class (PANEL_APPLET (battstat->applet), battstat->percent);
+
   /* When you first get a pointer to a newly created GtkWidget it has one
      'floating' reference.  When you first add this widget to a container
      the container adds a real reference and removes the floating reference
diff --git a/configure.ac b/configure.ac
index 8d46fc9..00b9104 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ dnl ***************************************************************************
 GTK_REQUIRED=3.20.0
 GLIB_REQUIRED=2.44.0
 GIO_REQUIRED=2.26.0
-LIBPANEL_REQUIRED=3.18.0
+LIBPANEL_REQUIRED=3.22.0
 LIBGTOP_REQUIRED=2.11.92
 LIBWNCK_REQUIRED=3.14.1
 LIBNOTIFY_REQUIRED=0.7


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]