X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fui_status.h;h=cd233007caaf376cf1973f98f3aee3d9a6e3e9ed;hb=f3b05dae619a7909bd7422b3a82422c9442aa114;hp=7b6c6de316994a16310a7513ecfd783f0df2dbf3;hpb=bd79e2e58e6988ba9ba57a9cbc8613aff2b1bb32;p=psensor.git diff --git a/src/ui_status.h b/src/ui_status.h index 7b6c6de..cd23300 100644 --- a/src/ui_status.h +++ b/src/ui_status.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 jeanfi@gmail.com + * Copyright (C) 2010-2014 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -20,6 +20,7 @@ #ifndef _PSENSOR_UI_STATUS_H_ #define _PSENSOR_UI_STATUS_H_ +#include #include void ui_status_init(struct ui_psensor *ui); @@ -27,5 +28,8 @@ void ui_status_cleanup(); void ui_status_update(struct ui_psensor *ui, unsigned int attention); /* Whether status icon is supported i.e. visible. */ int is_status_supported(); +GtkStatusIcon *ui_status_get_icon(struct ui_psensor *ui); +/* Whether the statuc icon should be visible.*/ +void ui_status_set_visible(unsigned int visible); #endif