diff options
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/default-applications.c | 23 | ||||
-rw-r--r-- | src/default-applications.h | 8 |
3 files changed, 33 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 01741d0..c96ef2d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,6 +20,8 @@ libmessaging_la_LDFLAGS = -module -avoid-version ###################################### indicator_messages_service_SOURCES = \ + default-applications.h \ + default-applications.c \ messages-service.c \ messages-service-server.h \ messages-service-dbus.c \ diff --git a/src/default-applications.c b/src/default-applications.c new file mode 100644 index 0000000..c389d32 --- /dev/null +++ b/src/default-applications.c @@ -0,0 +1,23 @@ + +#include <glib.h> +#include <glib/gi18n.h> +#include "default-applications.h" + +struct default_db_t { + const gchar * desktop_file; + const gchar * name; +}; + +struct default_db_t default_db[] = { + {"evolution.desktop", N_("Mail")}, + {NULL, NULL} +}; + +const gchar * +get_default_name (gchar * desktop_path) +{ + + return NULL; + + +} diff --git a/src/default-applications.h b/src/default-applications.h new file mode 100644 index 0000000..7769455 --- /dev/null +++ b/src/default-applications.h @@ -0,0 +1,8 @@ + +#ifndef DEFAULT_APPLICATIONS_H__ +#define DEFAULT_APPLICATIONS_H__ 1 + +const gchar * get_default_name (gchar * desktop_path); + +#endif /* DEFAULT_APPLICATIONS_H__ */ + |