[gtkmm] Wrap new symbols in GtkPlacesSidebar
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Wrap new symbols in GtkPlacesSidebar
- Date: Mon, 10 Feb 2014 09:13:30 +0000 (UTC)
commit 6c65b52a23d841c0c126193ce554e97831ae8ad7
Author: Juan R. GarcĂa Blanco <juanrgar gmail com>
Date: Sat Feb 8 13:41:54 2014 +0100
Wrap new symbols in GtkPlacesSidebar
* GtkPlacesSidebar::local-only object property
* GtkPlacesSidebar::local-only getter/setter object methods
gtk/src/placessidebar.hg | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/placessidebar.hg b/gtk/src/placessidebar.hg
index 9c4ca2d..a03c8a4 100644
--- a/gtk/src/placessidebar.hg
+++ b/gtk/src/placessidebar.hg
@@ -99,6 +99,9 @@ public:
_WRAP_METHOD(void set_show_connect_to_server(bool show_connect_to_server = true),
gtk_places_sidebar_set_show_connect_to_server)
_WRAP_METHOD(bool get_show_connect_to_server() const, gtk_places_sidebar_get_show_connect_to_server)
+ _WRAP_METHOD(void set_local_only(bool local_only = true), gtk_places_sidebar_set_local_only)
+ _WRAP_METHOD(bool get_local_only() const, gtk_places_sidebar_get_local_only)
+
// We use no_default_handler with _WRAP_SIGNAL because the C *Class struct is hidden for GtkPlacesSidebar.
#m4 _CONVERSION(`GFile*',`const Glib::RefPtr<Gio::File>&', `Glib::wrap($3, true)')
@@ -117,6 +120,7 @@ public:
_WRAP_SIGNAL(void show_error_message(const Glib::ustring& primary, const Glib::ustring& secondary),
"show_error_message", no_default_handler)
+ _WRAP_PROPERTY("local-only", bool)
_WRAP_PROPERTY("location", Glib::RefPtr<Gio::File>)
_WRAP_PROPERTY("open-flags", PlacesOpenFlags)
_WRAP_PROPERTY("show-connect-to-server", bool)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]