im.pidgin.pidgin: a51a84aa5d61b6fd78e58a4450a25e667a87e1cb
sadrul at pidgin.im
sadrul at pidgin.im
Sat Dec 1 21:40:38 EST 2007
-----------------------------------------------------------------
Revision: a51a84aa5d61b6fd78e58a4450a25e667a87e1cb
Ancestor: 0a0c2ce875199ad19bcf6ec5f205ab5f353cd061
Author: sadrul at pidgin.im
Date: 2007-12-02T02:38:11
Branch: im.pidgin.pidgin
Modified files:
finch/libgnt/gntwm.c
ChangeLog:
Add a title and some helpful text in the 'save screenshot' dialog.
-------------- next part --------------
============================================================
--- finch/libgnt/gntwm.c a3a9f6b753180345e3762df5e9780e00a59e891d
+++ finch/libgnt/gntwm.c 3958a66a0e6119515eb060ffc29f778e27219173
@@ -817,6 +817,11 @@ dump_screen(GntBindable *b, GList *null)
{
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);
More information about the Commits
mailing list