[dconf-editor] Move Behaviour enum in another file.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Move Behaviour enum in another file.
- Date: Thu, 11 Jan 2018 20:40:35 +0000 (UTC)
commit a589dcf51f21862c35c710957fb765f29ad2171f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu Jan 11 21:39:42 2018 +0100
Move Behaviour enum in another file.
editor/browser-view.vala | 8 --------
editor/modifications-handler.vala | 7 +++++++
2 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/editor/browser-view.vala b/editor/browser-view.vala
index 4201466..8695127 100644
--- a/editor/browser-view.vala
+++ b/editor/browser-view.vala
@@ -17,14 +17,6 @@
using Gtk;
-public enum Behaviour {
- UNSAFE,
- SAFE,
- ALWAYS_CONFIRM_IMPLICIT,
- ALWAYS_CONFIRM_EXPLICIT,
- ALWAYS_DELAY
-}
-
[GtkTemplate (ui = "/ca/desrt/dconf-editor/ui/browser-view.ui")]
class BrowserView : Grid
{
diff --git a/editor/modifications-handler.vala b/editor/modifications-handler.vala
index af7b61d..149f609 100644
--- a/editor/modifications-handler.vala
+++ b/editor/modifications-handler.vala
@@ -15,6 +15,13 @@
along with Dconf Editor. If not, see <http://www.gnu.org/licenses/>.
*/
+public enum Behaviour {
+ UNSAFE,
+ SAFE,
+ ALWAYS_CONFIRM_IMPLICIT,
+ ALWAYS_CONFIRM_EXPLICIT,
+ ALWAYS_DELAY
+}
public enum ModificationsMode {
NONE,
TEMPORARY,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]