Introduce Tray Icon for Profanity

Add tray icon for profanity based on Gtk StatusIcon.
Different icon is displayed in case the user has unread messages.
This commit is contained in:
David
2016-02-19 23:59:14 +01:00
parent ae46e647bf
commit dc0c3cc699
9 changed files with 142 additions and 5 deletions

View File

@@ -34,8 +34,10 @@
#include "config.h"
#include <gtk/gtk.h>
#include <string.h>
#include <glib.h>
#include <assert.h>
#ifdef HAVE_GIT_VERSION
#include "gitversion.h"
@@ -127,6 +129,8 @@ main(int argc, char **argv)
return 0;
}
assert (gtk_init_check(&argc, &argv) == true);
gtk_init(&argc, &argv);
prof_run(log, account_name);
return 0;