Skip to content

Commit

Permalink
battstat: Load theme icons instead of pixmaps
Browse files Browse the repository at this point in the history
Also remove the outdated option for expanded view.
  • Loading branch information
vkareh authored and raveit65 committed May 12, 2018
1 parent 311ae4e commit 683946e
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 1,331 deletions.
1 change: 0 additions & 1 deletion battstat/Makefile.am
Expand Up @@ -39,7 +39,6 @@ libexec_PROGRAMS = battstat-applet


battstat_applet_SOURCES = \ battstat_applet_SOURCES = \
battstat.h \ battstat.h \
pixmaps.h \
properties.c \ properties.c \
battstat_applet.c \ battstat_applet.c \
power-management.c \ power-management.c \
Expand Down
5 changes: 0 additions & 5 deletions battstat/battstat.h
Expand Up @@ -88,8 +88,6 @@ typedef struct _ProgressData {
GtkWidget *applet; GtkWidget *applet;


/* these are used by properties.c */ /* these are used by properties.c */
GtkWidget *radio_ubuntu_battery;
GtkWidget *radio_traditional_battery;
GtkWidget *radio_text_1; GtkWidget *radio_text_1;
GtkWidget *radio_text_2; GtkWidget *radio_text_2;
GtkWidget *check_text; GtkWidget *check_text;
Expand All @@ -106,9 +104,6 @@ typedef struct _ProgressData {
gboolean lowbattnotification; gboolean lowbattnotification;
gboolean fullbattnot; gboolean fullbattnot;
gboolean beep; gboolean beep;
gboolean draintop;
gboolean showstatus;
gboolean showbattery;
AppletTextType showtext; AppletTextType showtext;


/* label changed type (% <-> h:mm) and must be refreshed */ /* label changed type (% <-> h:mm) and must be refreshed */
Expand Down

0 comments on commit 683946e

Please sign in to comment.