pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] ANN: Pan 0.93 "It's like living inside a bouncy castle!"


From: Charles Kerr
Subject: Re: [Pan-users] ANN: Pan 0.93 "It's like living inside a bouncy castle!"
Date: Mon, 17 Apr 2006 11:29:50 -0500
User-agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929)

John Aldrich wrote:
On Saturday 15 April 2006 08:54 pm, Charles Kerr wrote:

The regular Sunday release is a few hours early this week. :)
Lots of big bugfixes this time, plus the return of the Preferences dialog.
Read all about it at http://pan.rebelbase.com/ .


Having problems compiling this. Here's what I get when trying to compile the RPM. And yes, I have made sure I have all the prerequisites before I started compiling it. Anyway, here's the last few lines where it bombs out:

prefs-ui.cc: In constructor `pan::PrefsDialog::PrefsDialog(pan::Prefs&, GtkWindow*)': prefs-ui.cc:167: error: `gtk_file_chooser_button_new' undeclared (first use this function)

Yeah, gtk_file_chooser_button_new doesn't exist in gtk 2.4.

Here's a patch to turn off that feature for 2.4 users.
diff -u /tmp/pan-0.93/pan/gui/prefs-ui.cc ./prefs-ui.cc
--- /tmp/pan-0.93/pan/gui/prefs-ui.cc   2006-04-14 19:47:48.000000000 -0500
+++ ./prefs-ui.cc       2006-04-17 09:57:17.000000000 -0500
@@ -160,6 +160,7 @@
     HIG :: workarea_add_wide_control (t, &row, w);
     w = new_check_button (_("Mark entire group read when leaving group"), 
"mark-group-read-when-leaving-group", false, prefs);
     HIG :: workarea_add_wide_control (t, &row, w);
+#if GTK_CHECK_VERSION(2,6,0)
   HIG::workarea_add_section_divider (t, &row);
   HIG::workarea_add_section_title (t, &row, _("Tasks"));
     HIG::workarea_add_section_spacer (t, row, 1);
@@ -168,6 +169,7 @@
     gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER(b), prefs.get_string 
("default-save-attachments-path", g_get_home_dir ()).c_str());
     g_signal_connect (b, "current-folder-changed", 
G_CALLBACK(on_save_path_changed_cb), &prefs);
     HIG :: workarea_add_row (t, &row, l, b);
+#endif
   HIG :: workarea_finish (t, &row);
   gtk_notebook_append_page (GTK_NOTEBOOK(notebook), t, 
gtk_label_new_with_mnemonic(_("_Behavior")));
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]