[nautilus-actions] Add omitted 'export-ask-user-last-format' key
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Add omitted 'export-ask-user-last-format' key
- Date: Wed, 19 Jan 2011 21:52:35 +0000 (UTC)
commit 4454f06a41f8cc9b682bb574fc83b4748392ddaa
Author: Pierre Wieser <pwieser trychlos org>
Date: Wed Jan 12 23:54:59 2011 +0100
Add omitted 'export-ask-user-last-format' key
ChangeLog | 4 ++++
README-GCONF | 1 +
src/core/na-settings.c | 1 +
src/utils/na-gconf2key.sh.in | 3 +++
4 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2820ff3..53c63f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,6 +31,10 @@
2011-01-12 Pierre Wieser <pwieser trychlos org>
+ * README-GCONF:
+ * src/core/na-settings.c:
+ * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
+
* src/nact/nact-icommand-tab.c:
* src/nact/nact-ienvironment-tab.c: Update to new preferences.
diff --git a/README-GCONF b/README-GCONF
index 1454b3d..f48e0e6 100644
--- a/README-GCONF
+++ b/README-GCONF
@@ -72,6 +72,7 @@ Deprecating GConf
auto-save-period = 5 [nact] main-save-period
export-assistant = [377,33,699,675] [nact] export-assistant-wsp
export-ask-user = [377,33,699,675] [nact] export-ask-user-wsp
+ export-ask-user-last-format = GConfEntry [nact] export-ask-user-last-format
export-folder-uri = file:///home/pierre.. [nact] export-last-folder-uri
export-format = Ask [nact] export-preferred-format
icommand-command-chooser [nact] command-command-chooser-wsp
diff --git a/src/core/na-settings.c b/src/core/na-settings.c
index 8452a73..b5c281f 100644
--- a/src/core/na-settings.c
+++ b/src/core/na-settings.c
@@ -132,6 +132,7 @@ static const KeyDef st_def_keys[] = {
{ "environment-try-exec-wsp", GROUP_NACT, NA_BOXED_TYPE_UINT_LIST, "" },
{ "environment-try-exec-last-folder-uri", GROUP_NACT, NA_BOXED_TYPE_STRING, "" },
{ "export-ask-user-wsp", GROUP_NACT, NA_BOXED_TYPE_UINT_LIST, "" },
+ { "export-ask-user-last-format", GROUP_NACT, NA_BOXED_TYPE_STRING, "Desktop1" },
{ "export-assistant-wsp", GROUP_NACT, NA_BOXED_TYPE_UINT_LIST, "" },
{ "export-last-folder-uri", GROUP_NACT, NA_BOXED_TYPE_STRING, "" },
{ "export-preferred-format", GROUP_NACT, NA_BOXED_TYPE_STRING, "Desktop1" },
diff --git a/src/utils/na-gconf2key.sh.in b/src/utils/na-gconf2key.sh.in
index f0d00c4..b81b1ca 100644
--- a/src/utils/na-gconf2key.sh.in
+++ b/src/utils/na-gconf2key.sh.in
@@ -463,6 +463,9 @@ gconftool-2 --all-entries ${na_preferences} | while read key x value; do
export-ask-user)
add_pref "nact" "export-ask-user-wsp" list "${value}"
;;
+ export-ask-user-last-format)
+ add_pref "nact" "${key}" str "${value}"
+ ;;
export-folder-uri)
add_pref "nact" "export-last-folder-uri" str "${value}"
;;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]