[gthumb] video player: use a modal dialog to choose the file name
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] video player: use a modal dialog to choose the file name
- Date: Tue, 18 Jun 2013 17:21:47 +0000 (UTC)
commit 5508795374af09f95cc5bbda3c40e68f2bfeac43
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Jun 18 19:16:20 2013 +0200
video player: use a modal dialog to choose the file name
extensions/gstreamer_tools/actions.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/extensions/gstreamer_tools/actions.c b/extensions/gstreamer_tools/actions.c
index cf6d721..cd23eb7 100644
--- a/extensions/gstreamer_tools/actions.c
+++ b/extensions/gstreamer_tools/actions.c
@@ -76,11 +76,11 @@ save_as_response_cb (GtkDialog *file_sel,
int response,
SaveData *save_data)
{
- GFile *file;
- GFile *folder;
- char *folder_uri;
- const char *mime_type;
- GthTask *task;
+ GFile *file;
+ const char *mime_type;
+ GFile *folder;
+ char *folder_uri;
+ GthTask *task;
if (response != GTK_RESPONSE_OK) {
GthMediaViewerPage *page = save_data->page;
@@ -135,6 +135,7 @@ screenshot_ready_cb (GdkPixbuf *pixbuf,
save_data->image = gth_image_new_for_pixbuf (pixbuf);
file_sel = gth_file_chooser_dialog_new (_("Save Image"), GTK_WINDOW (save_data->browser),
"image-saver");
+ gtk_window_set_modal (GTK_WINDOW (file_sel), TRUE);
{
char *last_uri;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]