[gtkmm] Gtk::PlacesSidebar: Add new signals and property
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::PlacesSidebar: Add new signals and property
- Date: Fri, 11 Mar 2016 15:44:59 +0000 (UTC)
commit b2be5565dd35d5d8ca7e228d8b6413cfeb9b1edf
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Fri Mar 11 16:40:01 2016 +0100
Gtk::PlacesSidebar: Add new signals and property
* gtk/src/placessidebar.[ccg|hg]: Deprecate property_show_other_locations().
Add property_show_other_locations_with_flags(), signal_mount() and
signal_unmount().
gtk/src/placessidebar.ccg | 1 +
gtk/src/placessidebar.hg | 12 +++++++++++-
2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/placessidebar.ccg b/gtk/src/placessidebar.ccg
index c2424cb..a6e0681 100644
--- a/gtk/src/placessidebar.ccg
+++ b/gtk/src/placessidebar.ccg
@@ -17,6 +17,7 @@
*/
#include <gtk/gtk.h>
+#include <giomm/mountoperation.h>
namespace Gtk
{
diff --git a/gtk/src/placessidebar.hg b/gtk/src/placessidebar.hg
index e55aca8..67576f3 100644
--- a/gtk/src/placessidebar.hg
+++ b/gtk/src/placessidebar.hg
@@ -26,6 +26,11 @@
_DEFS(gtkmm,gtk)
_PINCLUDE(gtkmm/private/scrolledwindow_p.h)
+namespace Gio
+{
+class MountOperation;
+}
+
namespace Gtk
{
@@ -140,8 +145,13 @@ public:
deprecated "Use signal_show_other_locations() to connect to network servers.")
_WRAP_SIGNAL(void show_error_message(const Glib::ustring& primary, const Glib::ustring& secondary),
"show_error_message", no_default_handler)
_WRAP_SIGNAL(void show_enter_location(), "show_enter_location", no_default_handler)
- _WRAP_SIGNAL(void show_other_locations(), "show_other_locations", no_default_handler)
+ _WRAP_SIGNAL(void show_other_locations(), "show_other_locations", no_default_handler,
+ deprecated "Use signal_show_other_locations_with_flags() instead.")
+ _WRAP_SIGNAL(void show_other_locations_with_flags(PlacesOpenFlags open_flags),
"show_other_locations_with_flags", no_default_handler)
+#m4 _CONVERSION(`GMountOperation*',`const Glib::RefPtr<Gio::MountOperation>&',`Glib::wrap($3, true)')
+ _WRAP_SIGNAL(void mount(const Glib::RefPtr<Gio::MountOperation>& mount_operation), "mount",
no_default_handler)
+ _WRAP_SIGNAL(void unmount(const Glib::RefPtr<Gio::MountOperation>& mount_operation), "unmount",
no_default_handler)
_WRAP_PROPERTY("local-only", bool)
_WRAP_PROPERTY("location", Glib::RefPtr<Gio::File>)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]