summaryrefslogtreecommitdiffstats
path: root/gtk/src/preview.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-02-20 01:22:47 +0000
committerjstebbins <[email protected]>2014-02-20 01:22:47 +0000
commita7c4a9f9f03cafa63068150a2e483db6ef686718 (patch)
treebac5fb3fb3fd55c7ce46f7caf9ca89c37986ff42 /gtk/src/preview.c
parentc5946ebea51a4eb70f66ca3de0312ac6205b1be9 (diff)
LinGui: fix several issues with loading presets
pull on a string and the whole sweater comes apart git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6048 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/preview.c')
-rw-r--r--gtk/src/preview.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/src/preview.c b/gtk/src/preview.c
index 8cdf4eb3e..a63f61b2d 100644
--- a/gtk/src/preview.c
+++ b/gtk/src/preview.c
@@ -1278,14 +1278,13 @@ picture_settings_alt2_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud)
gtk_widget_set_tooltip_text(toggle,
_("Hide the picture settings window while "
"leaving the preview visible."));
- gtk_widget_show(window);
}
else
{
gtk_button_set_label(GTK_BUTTON(toggle), _("Show Settings"));
gtk_widget_set_tooltip_text(toggle, _("Show picture settings."));
- gtk_widget_hide(window);
}
+ gtk_widget_set_visible(window, !active);
}
G_MODULE_EXPORT void