changeset 21718:9487a26750d8

Add a title and some helpful text in the 'save screenshot' dialog.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 02 Dec 2007 02:38:11 +0000
parents 48bdb5b2e35b
children 47870b1ae413
files finch/libgnt/gntwm.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c	Sun Dec 02 02:29:39 2007 +0000
+++ b/finch/libgnt/gntwm.c	Sun Dec 02 02:38:11 2007 +0000
@@ -817,6 +817,11 @@
 {
 	GntWidget *window = gnt_file_sel_new();
 	GntFileSel *sel = GNT_FILE_SEL(window);
+
+	g_object_set(G_OBJECT(window), "vertical", TRUE, NULL);
+	gnt_box_add_widget(GNT_BOX(window), gnt_label_new("Please enter the filename to save the screenshot."));
+	gnt_box_set_title(GNT_BOX(window), "Save Screenshot...");
+
 	gnt_file_sel_set_suggested_filename(sel, "dump.html");
 	g_signal_connect(G_OBJECT(sel), "file_selected", G_CALLBACK(dump_file_save), NULL);
 	g_signal_connect(G_OBJECT(sel->cancel), "activate", G_CALLBACK(dump_file_cancel), sel);