diff options
author | Shi Pu <shi.pu@sun.com> | 2006-04-30 11:25:15 +0800 |
---|---|---|
committer | Irene Huang <ireneh@src.gnome.org> | 2006-04-30 11:25:15 +0800 |
commit | 9b9eea0891366a8c52287a5fc9942e061a450f21 (patch) | |
tree | 8d1079123a91b372d935fbe7336c7c791d4fb820 /mail/em-composer-prefs.c | |
parent | b1cb5ad05f1ad24b1621e5fc5c56752f91671614 (diff) | |
download | gsoc2013-evolution-9b9eea0891366a8c52287a5fc9942e061a450f21.tar.gz gsoc2013-evolution-9b9eea0891366a8c52287a5fc9942e061a450f21.tar.zst gsoc2013-evolution-9b9eea0891366a8c52287a5fc9942e061a450f21.zip |
** Fixes bug #323853
2006-04-30 Shi Pu <shi.pu@sun.com>
** Fixes bug #323853
* em-composer-prefs.c: (sig_edit_cb), (sig_add_script_response):
* em-mailer-prefs.c: (notify_sound_changed),
(em_mailer_prefs_construct):
* em-mailer-prefs.h:
* mail-config.glade:
Replace GnomeFileEntry by GtkFileChooserButton.
svn path=/trunk/; revision=31933
Diffstat (limited to 'mail/em-composer-prefs.c')
-rw-r--r-- | mail/em-composer-prefs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c index 8f4df147a3..10a8321025 100644 --- a/mail/em-composer-prefs.c +++ b/mail/em-composer-prefs.c @@ -57,7 +57,7 @@ #include <gtk/gtkimage.h> #include <gtk/gtkstock.h> -#include <libgnomeui/gnome-file-entry.h> +#include <gtk/gtkfilechooserbutton.h> #include <libgnomeui/gnome-color-picker.h> #include <gtkhtml/gtkhtml.h> @@ -319,8 +319,8 @@ sig_edit_cb (GtkWidget *widget, EMComposerPrefs *prefs) /* signature script */ GtkWidget *entry; - entry = glade_xml_get_widget (prefs->sig_script_gui, "fileentry_add_script_script"); - gnome_file_entry_set_filename ((GnomeFileEntry *) entry, sig->filename); + entry = glade_xml_get_widget (prefs->sig_script_gui, "filechooserbutton_add_script"); + gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (entry), sig->filename); entry = glade_xml_get_widget (prefs->sig_script_gui, "entry_add_script_name"); gtk_entry_set_text (GTK_ENTRY (entry), sig->name); @@ -383,8 +383,8 @@ sig_add_script_response (GtkWidget *widget, int button, EMComposerPrefs *prefs) int argc; if (button == GTK_RESPONSE_ACCEPT) { - entry = glade_xml_get_widget (prefs->sig_script_gui, "fileentry_add_script_script"); - script = gnome_file_entry_get_full_path((GnomeFileEntry *)entry, FALSE); + entry = glade_xml_get_widget (prefs->sig_script_gui, "filechooserbutton_add_script"); + script = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (entry)); entry = glade_xml_get_widget (prefs->sig_script_gui, "entry_add_script_name"); name = gtk_entry_get_text (GTK_ENTRY (entry)); |