summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-18 05:35:05 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-18 05:35:05 +0800
commit2cd0805e70202c831d8983142bc9efb47c2d931c (patch)
tree0eb7b2843b63f6449088d437098df7b378b8fccd /deskutils
parent2d62b4916b2d3e996bf2206eef20a7851e56676b (diff)
downloadmarcuscom-ports-2cd0805e70202c831d8983142bc9efb47c2d931c.tar
marcuscom-ports-2cd0805e70202c831d8983142bc9efb47c2d931c.tar.gz
marcuscom-ports-2cd0805e70202c831d8983142bc9efb47c2d931c.tar.bz2
marcuscom-ports-2cd0805e70202c831d8983142bc9efb47c2d931c.tar.lz
marcuscom-ports-2cd0805e70202c831d8983142bc9efb47c2d931c.tar.xz
marcuscom-ports-2cd0805e70202c831d8983142bc9efb47c2d931c.tar.zst
marcuscom-ports-2cd0805e70202c831d8983142bc9efb47c2d931c.zip
Add 2 patches to fix the build with gtk-2.6.0.
Submitted by: joeldiaz@bellsouth.net git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3259 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gnome-utils/files/patch-gsearchtool.c11
-rw-r--r--deskutils/gnome-utils/files/patch-screenshot-dialog.c11
-rw-r--r--deskutils/gnomeutils2/files/patch-gsearchtool.c11
-rw-r--r--deskutils/gnomeutils2/files/patch-screenshot-dialog.c11
4 files changed, 44 insertions, 0 deletions
diff --git a/deskutils/gnome-utils/files/patch-gsearchtool.c b/deskutils/gnome-utils/files/patch-gsearchtool.c
new file mode 100644
index 000000000..796a47fa8
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-gsearchtool.c
@@ -0,0 +1,11 @@
+--- gsearchtool/gsearchtool.c.orig Fri Dec 17 10:31:38 2004
++++ gsearchtool/gsearchtool.c Fri Dec 17 10:33:11 2004
+@@ -2025,7 +2025,7 @@
+
+ gtk_table_attach(GTK_TABLE(interface.table), label, 0, 1, 1, 2, GTK_FILL, 0, 0, 0);
+
+- interface.look_in_folder_entry = gtk_file_chooser_button_new (_("Browse"));
++ interface.look_in_folder_entry = gtk_file_chooser_button_new (_("Browse"), GTK_FILE_CHOOSER_ACTION_OPEN);
+ gtk_file_chooser_set_action (GTK_FILE_CHOOSER (interface.look_in_folder_entry), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
+ gtk_label_set_mnemonic_widget (GTK_LABEL(label), GTK_WIDGET (interface.look_in_folder_entry));
+ gtk_table_attach (GTK_TABLE(interface.table), interface.look_in_folder_entry, 1, 2, 1, 2, GTK_EXPAND | GTK_FILL | GTK_SHRINK, 0, 0, 0);
diff --git a/deskutils/gnome-utils/files/patch-screenshot-dialog.c b/deskutils/gnome-utils/files/patch-screenshot-dialog.c
new file mode 100644
index 000000000..e0c3b795b
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-screenshot-dialog.c
@@ -0,0 +1,11 @@
+--- gnome-screenshot/screenshot-dialog.c.orig Fri Dec 17 10:34:55 2004
++++ gnome-screenshot/screenshot-dialog.c Fri Dec 17 10:35:38 2004
+@@ -210,7 +210,7 @@
+ dialog->filename_entry = glade_xml_get_widget (dialog->xml, "filename_entry");
+ file_chooser_frame = glade_xml_get_widget (dialog->xml, "file_chooser_frame");
+
+- dialog->save_widget = gtk_file_chooser_button_new ("Select a directory");
++ dialog->save_widget = gtk_file_chooser_button_new ("Select a directory",GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
+ gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (dialog->save_widget), FALSE);
+ gtk_file_chooser_set_action (GTK_FILE_CHOOSER (dialog->save_widget),
+ GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
diff --git a/deskutils/gnomeutils2/files/patch-gsearchtool.c b/deskutils/gnomeutils2/files/patch-gsearchtool.c
new file mode 100644
index 000000000..796a47fa8
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-gsearchtool.c
@@ -0,0 +1,11 @@
+--- gsearchtool/gsearchtool.c.orig Fri Dec 17 10:31:38 2004
++++ gsearchtool/gsearchtool.c Fri Dec 17 10:33:11 2004
+@@ -2025,7 +2025,7 @@
+
+ gtk_table_attach(GTK_TABLE(interface.table), label, 0, 1, 1, 2, GTK_FILL, 0, 0, 0);
+
+- interface.look_in_folder_entry = gtk_file_chooser_button_new (_("Browse"));
++ interface.look_in_folder_entry = gtk_file_chooser_button_new (_("Browse"), GTK_FILE_CHOOSER_ACTION_OPEN);
+ gtk_file_chooser_set_action (GTK_FILE_CHOOSER (interface.look_in_folder_entry), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
+ gtk_label_set_mnemonic_widget (GTK_LABEL(label), GTK_WIDGET (interface.look_in_folder_entry));
+ gtk_table_attach (GTK_TABLE(interface.table), interface.look_in_folder_entry, 1, 2, 1, 2, GTK_EXPAND | GTK_FILL | GTK_SHRINK, 0, 0, 0);
diff --git a/deskutils/gnomeutils2/files/patch-screenshot-dialog.c b/deskutils/gnomeutils2/files/patch-screenshot-dialog.c
new file mode 100644
index 000000000..e0c3b795b
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-screenshot-dialog.c
@@ -0,0 +1,11 @@
+--- gnome-screenshot/screenshot-dialog.c.orig Fri Dec 17 10:34:55 2004
++++ gnome-screenshot/screenshot-dialog.c Fri Dec 17 10:35:38 2004
+@@ -210,7 +210,7 @@
+ dialog->filename_entry = glade_xml_get_widget (dialog->xml, "filename_entry");
+ file_chooser_frame = glade_xml_get_widget (dialog->xml, "file_chooser_frame");
+
+- dialog->save_widget = gtk_file_chooser_button_new ("Select a directory");
++ dialog->save_widget = gtk_file_chooser_button_new ("Select a directory",GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
+ gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (dialog->save_widget), FALSE);
+ gtk_file_chooser_set_action (GTK_FILE_CHOOSER (dialog->save_widget),
+ GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);