[gnome-control-center] Don't exit prematurely
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Don't exit prematurely
- Date: Thu, 24 Feb 2011 03:24:25 +0000 (UTC)
commit efaffc113682d84b0047313a1d88f3e25575e53a
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 23 19:50:05 2011 -0500
Don't exit prematurely
There was an accidental exit in the middle of shortcut setup
that caused us to not load custom shortcuts.
https://bugzilla.gnome.org/show_bug.cgi?id=643098
panels/keyboard/keyboard-shortcuts.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/keyboard/keyboard-shortcuts.c b/panels/keyboard/keyboard-shortcuts.c
index ba6d92e..91027ee 100644
--- a/panels/keyboard/keyboard-shortcuts.c
+++ b/panels/keyboard/keyboard-shortcuts.c
@@ -686,8 +686,8 @@ reload_sections (GtkBuilder *builder)
if (!dir)
{
g_free (dir_path);
- return;
- }
+ continue;
+ }
for (name = g_dir_read_name (dir) ; name ; name = g_dir_read_name (dir))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]