2009-10-27 11:27:45 -04:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
|
2010-09-26 11:18:26 -04:00
|
|
|
#ifndef __SHELL_UTIL_H__
|
|
|
|
#define __SHELL_UTIL_H__
|
2009-07-30 00:22:18 -04:00
|
|
|
|
|
|
|
#include <gio/gio.h>
|
2010-11-17 04:59:53 -05:00
|
|
|
#include <clutter/clutter.h>
|
2009-07-30 00:22:18 -04:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
char *shell_util_get_label_for_uri (const char *text_uri);
|
|
|
|
GIcon *shell_util_get_icon_for_uri (const char *text_uri);
|
2010-09-26 11:18:26 -04:00
|
|
|
GIcon *shell_util_icon_from_string (const char *string, GError **error);
|
2010-11-17 04:59:53 -05:00
|
|
|
void shell_util_set_hidden_from_pick (ClutterActor *actor, gboolean hidden);
|
2009-07-30 00:22:18 -04:00
|
|
|
|
2011-03-12 19:41:23 -05:00
|
|
|
char *shell_util_format_date (const char *format,
|
|
|
|
gint64 time_ms);
|
|
|
|
|
2009-07-30 00:22:18 -04:00
|
|
|
G_END_DECLS
|
|
|
|
|
2010-09-26 11:18:26 -04:00
|
|
|
#endif /* __SHELL_UTIL_H__ */
|