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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user