[byzanz] Automatically select the last-used filter when doing the next recording
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [byzanz] Automatically select the last-used filter when doing the next recording
- Date: Fri, 28 Aug 2009 21:16:39 +0000 (UTC)
commit dd9e5e895bab1c8b7dd2ce24030bc8ae002f3736
Author: Benjamin Otte <otte gnome org>
Date: Fri Aug 28 23:15:58 2009 +0200
Automatically select the last-used filter when doing the next recording
src/byzanzapplet.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/byzanzapplet.c b/src/byzanzapplet.c
index 2dea179..71a344d 100644
--- a/src/byzanzapplet.c
+++ b/src/byzanzapplet.c
@@ -256,6 +256,8 @@ byzanz_applet_start_recording (AppletPrivate *priv)
filter = byzanz_encoder_type_get_filter (type);
if (filter) {
gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (priv->dialog), filter);
+ if (priv->encoder_type && priv->encoder_type == byzanz_encoder_get_type_from_filter (filter))
+ gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (priv->dialog), filter);
g_object_unref (filter);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]