projects
/
tweakr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show the button when new preset is added; improve translations.
[tweakr]
/
modules
/
tweakr-profile.c
diff --git
a/modules/tweakr-profile.c
b/modules/tweakr-profile.c
index
26b524d
..
b24864d
100644
(file)
--- a/
modules/tweakr-profile.c
+++ b/
modules/tweakr-profile.c
@@
-136,7
+136,7
@@
_save_preset_clicked (HildonPickerButton *button,
(TWEAKR_SECTION (section)),
GTK_TYPE_WINDOW));
dialog = gtk_dialog_new_with_buttons
(TWEAKR_SECTION (section)),
GTK_TYPE_WINDOW));
dialog = gtk_dialog_new_with_buttons
- (_("Save current profile with new name"),
+ (_("Preset name"),
parent,
GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR,
GTK_STOCK_OK, GTK_RESPONSE_OK,
parent,
GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR,
GTK_STOCK_OK, GTK_RESPONSE_OK,
@@
-172,6
+172,8
@@
_save_preset_clicked (HildonPickerButton *button,
/* Save the settings to our own gconf directory. */
gconf = gconf_client_get_default ();
/* Save the settings to our own gconf directory. */
gconf = gconf_client_get_default ();
+ gconf_client_set_string (gconf, GCONF_PATH "/current-preset",
+ _("None"), NULL);
values = profile_get_values ("general");
for (values_iter = values;
values_iter->pv_key != NULL;
values = profile_get_values ("general");
for (values_iter = values;
values_iter->pv_key != NULL;
@@
-225,7
+227,7
@@
tweakr_profile_section_init (TweakrProfileSection *section)
TweakrSection *iface;
iface = TWEAKR_SECTION (section);
TweakrSection *iface;
iface = TWEAKR_SECTION (section);
- iface->name = _("Profiles");
+ iface->name = _("Profile presets");
iface->widget = gtk_vbox_new (FALSE, 0);
section->preset_button = _build_save_preset_button (section);
iface->widget = gtk_vbox_new (FALSE, 0);
section->preset_button = _build_save_preset_button (section);