]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gaim/files/09-filetransfer-dialog.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gaim / files / 09-filetransfer-dialog.patch
1 Index: gaim/src/gtkft.c
2 ===================================================================
3 --- gaim.orig/src/gtkft.c       2005-08-21 01:59:50.000000000 +0200
4 +++ gaim/src/gtkft.c    2005-08-29 23:05:02.000000000 +0200
5 @@ -772,24 +772,26 @@
6                                          G_CALLBACK(open_button_cb), dialog);
7  
8         /* Pause button */
9 -       button = gtk_button_new_with_mnemonic(_("_Pause"));
10 +       /* Pause button has no function*/
11 +       /*button = gtk_button_new_with_mnemonic(_("_Pause"));
12         gtk_widget_set_sensitive(button, FALSE);
13         gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);
14         gtk_widget_show(button);
15         dialog->pause_button = button;
16  
17         g_signal_connect(G_OBJECT(button), "clicked",
18 -                                        G_CALLBACK(pause_button_cb), dialog);
19 +                                        G_CALLBACK(pause_button_cb), dialog);*/
20  
21         /* Resume button */
22 -       button = gtk_button_new_with_mnemonic(_("_Resume"));
23 +       /* Resume button has no function */
24 +       /*button = gtk_button_new_with_mnemonic(_("_Resume"));
25         gtk_widget_set_sensitive(button, FALSE);
26         gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);
27         gtk_widget_show(button);
28         dialog->resume_button = button;
29  
30         g_signal_connect(G_OBJECT(button), "clicked",
31 -                                        G_CALLBACK(resume_button_cb), dialog);
32 +                                        G_CALLBACK(resume_button_cb), dialog);*/
33  
34         /* Remove button */
35         button = gtk_button_new_from_stock(GTK_STOCK_REMOVE);
36 @@ -811,13 +813,14 @@
37                                          G_CALLBACK(stop_button_cb), dialog);
38  
39         /* Close button */
40 -       button = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
41 +       /* Do without a close button to save screen estate */
42 +       /*button = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
43         gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);
44         gtk_widget_show(button);
45         dialog->close_button = button;
46  
47         g_signal_connect(G_OBJECT(button), "clicked",
48 -                                        G_CALLBACK(close_button_cb), dialog);
49 +                                        G_CALLBACK(close_button_cb), dialog);*/
50  
51         return dialog;
52  }