[libdazzle] shortcuts: ignore "__internal__" theme when saving
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] shortcuts: ignore "__internal__" theme when saving
- Date: Tue, 13 Jun 2017 06:47:55 +0000 (UTC)
commit fd7fe3fd74ac700ad6effd37ef126c13148808aa
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 12 18:48:52 2017 -0700
shortcuts: ignore "__internal__" theme when saving
src/shortcuts/dzl-shortcut-theme-save.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shortcuts/dzl-shortcut-theme-save.c b/src/shortcuts/dzl-shortcut-theme-save.c
index 64d834f..88effaa 100644
--- a/src/shortcuts/dzl-shortcut-theme-save.c
+++ b/src/shortcuts/dzl-shortcut-theme-save.c
@@ -49,7 +49,7 @@ dzl_shortcut_theme_save_to_stream (DzlShortcutTheme *self,
title = dzl_shortcut_theme_get_title (self);
subtitle = dzl_shortcut_theme_get_subtitle (self);
- if (parent != NULL)
+ if (parent != NULL && !g_str_equal (parent, "__internal__"))
g_string_append_printf (str, "<theme name=\"%s\" parent=\"%s\">\n", name, parent);
else
g_string_append_printf (str, "<theme name=\"%s\">\n", name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]