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