[gnome-boxes] PropertiesToolbar: Make the back button public
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] PropertiesToolbar: Make the back button public
- Date: Fri, 29 Aug 2014 16:15:01 +0000 (UTC)
commit 4704021f920720ab77016db182eb41dca6617e73
Author: Timm Bäder <mail baedert org>
Date: Thu Aug 21 17:06:43 2014 +0200
PropertiesToolbar: Make the back button public
To do that, rename it from 'back' to 'back_button' to make the name more
desriptive. This will be needed in a later patch to access the
PropertiesToolbar's back_button from within SnapshotsProperty.
https://bugzilla.gnome.org/show_bug.cgi?id=710306
data/ui/properties-toolbar.ui | 2 +-
src/properties-toolbar.vala | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/properties-toolbar.ui b/data/ui/properties-toolbar.ui
index b16a6af..6fd02a3 100644
--- a/data/ui/properties-toolbar.ui
+++ b/data/ui/properties-toolbar.ui
@@ -9,7 +9,7 @@
</style>
<child>
- <object class="GtkButton" id="back">
+ <object class="GtkButton" id="back_button">
<property name="visible">True</property>
<property name="valign">center</property>
<signal name="clicked" handler="on_back_clicked"/>
diff --git a/src/properties-toolbar.vala b/src/properties-toolbar.vala
index dced377..d59a103 100644
--- a/src/properties-toolbar.vala
+++ b/src/properties-toolbar.vala
@@ -4,6 +4,8 @@ using Gtk;
[GtkTemplate (ui = "/org/gnome/Boxes/ui/properties-toolbar.ui")]
private class Boxes.PropertiesToolbar: HeaderBar {
[GtkChild]
+ public Gtk.Button back_button;
+ [GtkChild]
private Image back_image;
[GtkChild]
private EditableEntry title_entry;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]