Mercurial > pidgin.yaz
comparison src/gtkft.c @ 12774:3aa8f7c58360
[gaim-migrate @ 15121]
part of sf patch #1362550, from Peter McCurdy
"Make file transfer window resizable (fixes bug #1193556)"
Now when toggling the expander the Window size remains the same
and the gtktreeview (or whatever it is) expands/contracts. I
don't really know which way is better... but this is how the
plugins dialog behaves, so I figured it'd be ok.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 09 Jan 2006 04:44:49 +0000 |
parents | e856f985a0b9 |
children | 540d13050d5a |
comparison
equal
deleted
inserted
replaced
12773:96f9b4798012 | 12774:3aa8f7c58360 |
---|---|
704 | 704 |
705 /* Create the window. */ | 705 /* Create the window. */ |
706 dialog->window = window = gtk_window_new(GTK_WINDOW_TOPLEVEL); | 706 dialog->window = window = gtk_window_new(GTK_WINDOW_TOPLEVEL); |
707 gtk_window_set_role(GTK_WINDOW(window), "file transfer"); | 707 gtk_window_set_role(GTK_WINDOW(window), "file transfer"); |
708 gtk_window_set_title(GTK_WINDOW(window), _("File Transfers")); | 708 gtk_window_set_title(GTK_WINDOW(window), _("File Transfers")); |
709 gtk_window_set_resizable(GTK_WINDOW(window), FALSE); | |
710 gtk_container_set_border_width(GTK_CONTAINER(window), GAIM_HIG_BORDER); | 709 gtk_container_set_border_width(GTK_CONTAINER(window), GAIM_HIG_BORDER); |
711 | 710 |
712 g_signal_connect(G_OBJECT(window), "delete_event", | 711 g_signal_connect(G_OBJECT(window), "delete_event", |
713 G_CALLBACK(delete_win_cb), dialog); | 712 G_CALLBACK(delete_win_cb), dialog); |
714 | 713 |