summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorJosé Alburquerque <jaalburqu@svn.gnome.org>2008-02-21 16:40:59 +0000
committerJosé Alburquerque <jaalburqu@src.gnome.org>2008-02-21 16:40:59 +0000
commit0debad721fd7fffcfb0d63b086d0c30cfac60585 (patch)
treea29a97f7cf9a0f27d52c082dab9931a641fa52e9 /gio
parente50536b7fb5c2fe21590e0081602b2d7a87af7b8 (diff)
downloadglibmm-0debad721fd7fffcfb0d63b086d0c30cfac60585.tar.gz
Added create(), create_from_file() is_hidden() and set_desktop_env() Added
2008-02-21 José Alburquerque <jaalburqu@svn.gnome.org> * gio/src/desktopappinfo.hg: Added create(), create_from_file() is_hidden() and set_desktop_env() * tools/m4/convert_gio.m4: Added DesktopAppInfo conversion svn path=/trunk/; revision=610
Diffstat (limited to 'gio')
-rw-r--r--gio/src/desktopappinfo.hg9
1 files changed, 9 insertions, 0 deletions
diff --git a/gio/src/desktopappinfo.hg b/gio/src/desktopappinfo.hg
index 61bfb7fa..36208baa 100644
--- a/gio/src/desktopappinfo.hg
+++ b/gio/src/desktopappinfo.hg
@@ -37,6 +37,15 @@ class DesktopAppInfo
{
_CLASS_GOBJECT(DesktopAppInfo, GDesktopAppInfo, G_DESKTOP_APP_INFO, Glib::Object, GObject)
_IMPLEMENTS_INTERFACE(AppInfo)
+
+protected:
+ _WRAP_CTOR(DesktopAppInfo(const std::string& desktop_id), g_desktop_app_info_new)
+
+public:
+ _WRAP_CREATE(const std::string& desktop_id)
+ _WRAP_METHOD(static Glib::RefPtr<DesktopAppInfo> new_from_filename(const std::string& filename), g_desktop_app_info_new_from_filename)
+ _WRAP_METHOD(bool is_hidden(), g_desktop_app_info_get_is_hidden)
+ _WRAP_METHOD(static void set_desktop_env(const std::string& desktop_env), g_desktop_app_info_set_desktop_env)
};
} // namespace Gio