[gitg/wip/simplify-arch: 5/7] Move preferences to subdir
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/simplify-arch: 5/7] Move preferences to subdir
- Date: Mon, 1 Jul 2013 07:32:34 +0000 (UTC)
commit cae917214cf60a74a305fc9a3caea1f5ca10799b
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Mon Jul 1 09:27:48 2013 +0200
Move preferences to subdir
gitg/Makefile.am | 4 ++--
.../{ => preferences}/gitg-preferences-dialog.vala | 1 +
.../gitg-preferences-interface.vala | 0
3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gitg/Makefile.am b/gitg/Makefile.am
index 1c499ba..5fbe790 100644
--- a/gitg/Makefile.am
+++ b/gitg/Makefile.am
@@ -41,8 +41,8 @@ VALASOURCES = \
gitg-application.vala \
gitg-plugins-engine.vala \
gitg-ui-elements.vala \
- gitg-preferences-dialog.vala \
- gitg-preferences-interface.vala
+ preferences/gitg-preferences-dialog.vala \
+ preferences/gitg-preferences-interface.vala \
BUILT_SOURCES = \
gitg-resources.c \
diff --git a/gitg/gitg-preferences-dialog.vala b/gitg/preferences/gitg-preferences-dialog.vala
similarity index 97%
rename from gitg/gitg-preferences-dialog.vala
rename to gitg/preferences/gitg-preferences-dialog.vala
index c1c2672..4470b97 100644
--- a/gitg/gitg-preferences-dialog.vala
+++ b/gitg/preferences/gitg-preferences-dialog.vala
@@ -63,6 +63,7 @@ class PreferencesDialog : Gtk.Dialog, Gtk.Buildable
var pages = new HashTable<string, Gtk.Box>(str_hash, str_equal);
add_page(new PreferencesInterface(), pages);
+ add_page(new PreferencesHistory(), pages);
ext.foreach((s, info, e) => {
add_page(e as GitgExt.Preferences, pages);
diff --git a/gitg/gitg-preferences-interface.vala b/gitg/preferences/gitg-preferences-interface.vala
similarity index 100%
rename from gitg/gitg-preferences-interface.vala
rename to gitg/preferences/gitg-preferences-interface.vala
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]