[gitg] Move preferences to subdir



commit 526c2255d85eb0cb0ec32ca5a91e1226ae90ef9e
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]