Mercurial > pidgin
view finch/libgnt/gntcolors.h @ 16784:db06d4a18246
Add a python script plugins/startup.py which will first check whether a
client with the same home directory is running. If so, it will do a
purple_blist_show() and exit. Otherwise, it will start the client.
Usage example: startup.py pidgin -c /tmp/
I wanted to do a purple_notify_ to notify the user. But because we can't/
don't expose functions with callbacks as parameters to dbus, that was not
possible.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 02 May 2007 16:18:45 +0000 |
parents | 0e3a8505ebbe |
children | 8410511f4dbb |
line wrap: on
line source
#ifndef GNT_COLORS_H #define GNT_COLORS_H #include <glib.h> typedef enum { GNT_COLOR_NORMAL = 1, GNT_COLOR_HIGHLIGHT, /* eg. when a button is selected */ GNT_COLOR_DISABLED, /* eg. when a button is disabled */ GNT_COLOR_HIGHLIGHT_D, /* eg. when a button is selected, but some other window is in focus */ GNT_COLOR_TEXT_NORMAL, GNT_COLOR_TEXT_INACTIVE, /* when the entry is out of focus */ GNT_COLOR_MNEMONIC, GNT_COLOR_MNEMONIC_D, GNT_COLOR_SHADOW, GNT_COLOR_TITLE, GNT_COLOR_TITLE_D, GNT_COLOR_URGENT, /* this is for the 'urgent' windows */ GNT_COLORS } GntColorType; enum { GNT_COLOR_BLACK = 0, GNT_COLOR_RED, GNT_COLOR_GREEN, GNT_COLOR_BLUE, GNT_COLOR_WHITE, GNT_COLOR_GRAY, GNT_COLOR_DARK_GRAY, GNT_TOTAL_COLORS }; /* populate some default colors */ void gnt_init_colors(void); void gnt_uninit_colors(void); #if GLIB_CHECK_VERSION(2,6,0) void gnt_colors_parse(GKeyFile *kfile); void gnt_color_pairs_parse(GKeyFile *kfile); #endif #endif