summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/src/ghb.m49
-rw-r--r--gtk/src/main.c4
-rw-r--r--gtk/src/presets.c8
3 files changed, 11 insertions, 10 deletions
diff --git a/gtk/src/ghb.m4 b/gtk/src/ghb.m4
index c5e15731c..93d070061 100644
--- a/gtk/src/ghb.m4
+++ b/gtk/src/ghb.m4
@@ -1599,14 +1599,15 @@ This is often the feature title of a DVD.</property>
</packing>
</child>
<child>
- <object class="GtkButton" id="preset_selection_reset">
- <property name="label" translatable="yes">Reset</property>
+ <object class="GtkButton" id="preset_selection_reload">
+ <property name="label" translatable="yes">Reload</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="tooltip_text" translatable="yes">Reset the current title to default Preset values</property>
+ <property name="tooltip_text" translatable="yes">Reload the encoding settings for the currently selected preset.
+Modifications will be discarded.</property>
<property name="receives_default">True</property>
<property name="halign">end</property>
- <property name="action-name">app.preset-reset</property>
+ <property name="action-name">app.preset-reload</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/gtk/src/main.c b/gtk/src/main.c
index bcfdbed91..aacb72d5c 100644
--- a/gtk/src/main.c
+++ b/gtk/src/main.c
@@ -875,7 +875,7 @@ guide_action_cb(GSimpleAction *action, GVariant *param, gpointer ud);
G_MODULE_EXPORT void
preset_select_action_cb(GSimpleAction *action, GVariant *param, gpointer ud);
G_MODULE_EXPORT void
-preset_reset_action_cb(GSimpleAction *action, GVariant *param, gpointer ud);
+preset_reload_action_cb(GSimpleAction *action, GVariant *param, gpointer ud);
static void map_actions(GApplication * app, signal_user_data_t * ud)
{
@@ -911,7 +911,7 @@ static void map_actions(GApplication * app, signal_user_data_t * ud)
{ "about", about_action_cb },
{ "guide", guide_action_cb },
{ "preset-select", preset_select_action_cb, "s" },
- { "preset-reset", preset_reset_action_cb, },
+ { "preset-reload", preset_reload_action_cb, },
};
g_action_map_add_action_entries(G_ACTION_MAP(app), entries,
G_N_ELEMENTS(entries), ud);
diff --git a/gtk/src/presets.c b/gtk/src/presets.c
index 5e2622c77..bfa898192 100644
--- a/gtk/src/presets.c
+++ b/gtk/src/presets.c
@@ -1150,8 +1150,8 @@ preset_select_action_cb(GSimpleAction *action, GVariant *param,
}
G_MODULE_EXPORT void
-preset_reset_action_cb(GSimpleAction *action, GVariant *param,
- signal_user_data_t *ud)
+preset_reload_action_cb(GSimpleAction *action, GVariant *param,
+ signal_user_data_t *ud)
{
const char * preset_path;
@@ -2681,7 +2681,7 @@ presets_list_selection_changed_cb(GtkTreeSelection *selection, signal_user_data_
"preset_selection_modified_label"));
gtk_label_set_markup(label, "");
action = G_SIMPLE_ACTION(g_action_map_lookup_action(
- G_ACTION_MAP(ud->app), "preset-reset"));
+ G_ACTION_MAP(ud->app), "preset-reload"));
g_simple_action_set_enabled(action, FALSE);
}
free(path);
@@ -2707,7 +2707,7 @@ ghb_clear_presets_selection(signal_user_data_t *ud)
gtk_label_set_markup(label, "<u><i>Modified</i></u>");
action = G_SIMPLE_ACTION(g_action_map_lookup_action(G_ACTION_MAP(ud->app),
- "preset-reset"));
+ "preset-reload"));
g_simple_action_set_enabled(action, TRUE);
}