[accounts-dialog] Fix the loading of the account dialog if you're not sitting in the buildroot



commit 12d72ac221c2989579361d781fb2639ff3b26df2
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jan 26 15:18:12 2010 +0000

    Fix the loading of the account dialog if you're not sitting in the buildroot

 src/um-account-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/um-account-dialog.c b/src/um-account-dialog.c
index c2b545b..87887a2 100644
--- a/src/um-account-dialog.c
+++ b/src/um-account-dialog.c
@@ -414,7 +414,7 @@ um_account_dialog_new (void)
         builder = gtk_builder_new ();
 
         filename = UIDIR "/account-dialog.ui";
-        if (g_file_test (filename, G_FILE_TEST_EXISTS))
+        if (!g_file_test (filename, G_FILE_TEST_EXISTS))
                 filename = "../data/account-dialog.ui";
         if (!gtk_builder_add_from_file (builder, filename, &error)) {
                 g_error ("%s", error->message);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]