aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-20 14:06:52 -0500
committerTed Gould <ted@canonical.com>2009-08-20 14:06:52 -0500
commit754694356af4079753531d5a090c0d7ed9eee828 (patch)
tree348aef258ae2b7707ed2162005b2bb96e7663010 /src
parentb0f699b4d657330edfa56cd27c856db9941d3a0c (diff)
downloadayatana-indicator-messages-754694356af4079753531d5a090c0d7ed9eee828.tar.gz
ayatana-indicator-messages-754694356af4079753531d5a090c0d7ed9eee828.tar.bz2
ayatana-indicator-messages-754694356af4079753531d5a090c0d7ed9eee828.zip
Adding in some seperators to make things more clear.
Diffstat (limited to 'src')
-rw-r--r--src/messages-service.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 8743b62..9879e3a 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -51,6 +51,11 @@ static void remove_eclipses (AppMenuItem * ai);
static gboolean build_launcher (gpointer data);
static gboolean build_launchers (gpointer data);
+
+/*
+ * Server List
+ */
+
typedef struct _serverList_t serverList_t;
struct _serverList_t {
IndicateListenerServer * server;
@@ -86,6 +91,10 @@ serverList_sort (gconstpointer a, gconstpointer b)
return g_strcmp0(pan, pbn);
}
+/*
+ * Item List
+ */
+
typedef struct _imList_t imList_t;
struct _imList_t {
IndicateListenerServer * server;
@@ -124,6 +133,10 @@ imList_sort (gconstpointer a, gconstpointer b)
return (gint)(im_menu_item_get_seconds(IM_MENU_ITEM(pb->menuitem)) - im_menu_item_get_seconds(IM_MENU_ITEM(pa->menuitem)));
}
+/*
+ * Launcher List
+ */
+
typedef struct _launcherList_t launcherList_t;
struct _launcherList_t {
LauncherMenuItem * menuitem;
@@ -143,6 +156,10 @@ launcherList_sort (gconstpointer a, gconstpointer b)
return g_strcmp0(pan, pbn);
}
+/*
+ * Black List
+ */
+
static gboolean
blacklist_check (const gchar * desktop_file)
{
@@ -150,6 +167,10 @@ blacklist_check (const gchar * desktop_file)
return FALSE;
}
+/*
+ * More code
+ */
+
static void
server_added (IndicateListener * listener, IndicateListenerServer * server, gchar * type, gpointer data)
{