diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/face/ChangeLog | 8 | ||||
-rw-r--r-- | plugins/face/face.c | 9 | ||||
-rw-r--r-- | plugins/ipod-sync/ChangeLog | 8 | ||||
-rw-r--r-- | plugins/ipod-sync/ical-format.c | 8 | ||||
-rw-r--r-- | plugins/save-calendar/ChangeLog | 11 | ||||
-rw-r--r-- | plugins/save-calendar/csv-format.c | 8 | ||||
-rw-r--r-- | plugins/save-calendar/ical-format.c | 8 | ||||
-rw-r--r-- | plugins/save-calendar/rdf-format.c | 8 | ||||
-rw-r--r-- | plugins/save-calendar/save-calendar.c | 19 |
9 files changed, 37 insertions, 50 deletions
diff --git a/plugins/face/ChangeLog b/plugins/face/ChangeLog index 5ba3b6cdbd..a86f11a977 100644 --- a/plugins/face/ChangeLog +++ b/plugins/face/ChangeLog @@ -1,3 +1,11 @@ +2007-09-14 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #476231 + + * face.c: + Remove non-USE_GTKFILECHOOSER code. + GtkFileChooser has been around since 2004. + 2007-07-18 Sankar P <psankar@novell.com> * face.c: (org_gnome_composer_face): diff --git a/plugins/face/face.c b/plugins/face/face.c index 20277ca08d..9e17fecc43 100644 --- a/plugins/face/face.c +++ b/plugins/face/face.c @@ -51,7 +51,6 @@ void org_gnome_composer_face (EPlugin * ep, EMMenuTargetWidget * t) const char *image_filename; gsize length; -#ifdef USE_GTKFILECHOOSER GtkFileFilter *filter; filesel = gtk_file_chooser_dialog_new (_ @@ -69,16 +68,8 @@ void org_gnome_composer_face (EPlugin * ep, EMMenuTargetWidget * t) gtk_file_filter_add_mime_type (filter, "image/png"); gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (filesel), filter); -#else - filesel = gtk_file_selection_new (_("Select a (48*48) png of size < 720bytes")); -#endif - if (GTK_RESPONSE_OK == gtk_dialog_run (GTK_DIALOG (filesel))) { -#ifdef USE_GTKFILECHOOSER image_filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (filesel)); -#else - image_filename = gtk_file_selection_get_filename (GTK_FILE_SELECTION (filesel)); -#endif error = NULL; file_contents = NULL; diff --git a/plugins/ipod-sync/ChangeLog b/plugins/ipod-sync/ChangeLog index 143d1a3760..fc53b2bc0b 100644 --- a/plugins/ipod-sync/ChangeLog +++ b/plugins/ipod-sync/ChangeLog @@ -1,3 +1,11 @@ +2007-09-14 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #476231 + + * ical-format.c: + Remove non-USE_GTKFILECHOOSER code. + GtkFileChooser has been around since 2004. + 2007-06-07 Gilles Dartiguelongue <dartigug@esiee.fr> * evolution-ipod-sync.c: (ipod_get_mount): diff --git a/plugins/ipod-sync/ical-format.c b/plugins/ipod-sync/ical-format.c index 3a27771dcf..e747255124 100644 --- a/plugins/ipod-sync/ical-format.c +++ b/plugins/ipod-sync/ical-format.c @@ -25,12 +25,8 @@ #endif #include <glib.h> #include <glib/gi18n.h> -#ifdef USE_GTKFILECHOOSER -# include <gtk/gtkfilechooser.h> -# include <gtk/gtkfilechooserdialog.h> -#else -# include <gtk/gtkfilesel.h> -#endif +#include <gtk/gtkfilechooser.h> +#include <gtk/gtkfilechooserdialog.h> #include <libgnomevfs/gnome-vfs-ops.h> #include <gtk/gtkmessagedialog.h> #include <gtk/gtkstock.h> diff --git a/plugins/save-calendar/ChangeLog b/plugins/save-calendar/ChangeLog index c22b974fc3..9df802f364 100644 --- a/plugins/save-calendar/ChangeLog +++ b/plugins/save-calendar/ChangeLog @@ -1,3 +1,14 @@ +2007-09-14 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #476231 + + * csv-format.c: + * ical-format.c: + * rdf-format.c: + * save-calendar.c: + Remove non-USE_GTKFILECHOOSER code. + GtkFileChooser has been around since 2004. + 2007-06-07 Gilles Dartiguelongue <dartigug@esiee.fr> * rdf-format.c: (add_nummeric_to_rdf), (add_time_to_rdf), diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c index 4dfb18917a..8ee52e2641 100644 --- a/plugins/save-calendar/csv-format.c +++ b/plugins/save-calendar/csv-format.c @@ -24,12 +24,8 @@ #endif #include <glib.h> #include <glib/gi18n.h> -#ifdef USE_GTKFILECHOOSER -# include <gtk/gtkfilechooser.h> -# include <gtk/gtkfilechooserdialog.h> -#else -# include <gtk/gtkfilesel.h> -#endif +#include <gtk/gtkfilechooser.h> +#include <gtk/gtkfilechooserdialog.h> #include <gtk/gtkmessagedialog.h> #include <gtk/gtkstock.h> #include <gtk/gtk.h> diff --git a/plugins/save-calendar/ical-format.c b/plugins/save-calendar/ical-format.c index 2d316d248b..46be87e53a 100644 --- a/plugins/save-calendar/ical-format.c +++ b/plugins/save-calendar/ical-format.c @@ -25,12 +25,8 @@ #endif #include <glib.h> #include <glib/gi18n.h> -#ifdef USE_GTKFILECHOOSER -# include <gtk/gtkfilechooser.h> -# include <gtk/gtkfilechooserdialog.h> -#else -# include <gtk/gtkfilesel.h> -#endif +#include <gtk/gtkfilechooser.h> +#include <gtk/gtkfilechooserdialog.h> #include <libgnomevfs/gnome-vfs-ops.h> #include <gtk/gtkmessagedialog.h> #include <gtk/gtkstock.h> diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c index 43983e0bc0..c3f2dbbefa 100644 --- a/plugins/save-calendar/rdf-format.c +++ b/plugins/save-calendar/rdf-format.c @@ -24,12 +24,8 @@ #endif #include <glib.h> #include <glib/gi18n.h> -#ifdef USE_GTKFILECHOOSER -# include <gtk/gtkfilechooser.h> -# include <gtk/gtkfilechooserdialog.h> -#else -# include <gtk/gtkfilesel.h> -#endif +#include <gtk/gtkfilechooser.h> +#include <gtk/gtkfilechooserdialog.h> #include <gtk/gtkmessagedialog.h> #include <gtk/gtkstock.h> #include <gtk/gtk.h> diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c index d497c981ca..bce7bc3504 100644 --- a/plugins/save-calendar/save-calendar.c +++ b/plugins/save-calendar/save-calendar.c @@ -28,12 +28,8 @@ #include <glib.h> #include <glib/gi18n.h> -#ifdef USE_GTKFILECHOOSER -# include <gtk/gtkfilechooser.h> -# include <gtk/gtkfilechooserdialog.h> -#else -# include <gtk/gtkfilesel.h> -#endif +#include <gtk/gtkfilechooser.h> +#include <gtk/gtkfilechooserdialog.h> #include <gtk/gtkmessagedialog.h> #include <gtk/gtkstock.h> #include <gtk/gtk.h> @@ -164,8 +160,6 @@ ask_destination_and_save (EPlugin *ep, ECalPopupTargetSource *target, ECalSource g_signal_connect (G_OBJECT(combo), "changed", G_CALLBACK (on_type_combobox_changed), extra_widget); -#ifdef USE_GTKFILECHOOSER - dialog = gtk_file_chooser_dialog_new (_("Select destination file"), NULL, GTK_FILE_CHOOSER_ACTION_SAVE, @@ -176,10 +170,6 @@ ask_destination_and_save (EPlugin *ep, ECalPopupTargetSource *target, ECalSource gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); gtk_file_chooser_set_extra_widget (GTK_FILE_CHOOSER (dialog), extra_widget); gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (dialog), FALSE); -#else - dialog = gtk_file_selection_new (_("Select destination file")); - gtk_box_pack_start (GTK_BOX (GTK_FILE_SELECTION (dialog)->main_vbox), extra_widget, FALSE, TRUE, 0); -#endif gtk_widget_show (GTK_WIDGET(combo)); gtk_widget_show (extra_widget); @@ -191,13 +181,8 @@ ask_destination_and_save (EPlugin *ep, ECalPopupTargetSource *target, ECalSource gtk_tree_model_get (model, &iter, DEST_HANDLER, &handler, -1); -#ifdef USE_GTKFILECHOOSER dest_uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog)); -#else - dest_uri = g_strdup (gtk_file_selection_get_filename - (GTK_FILE_SELECTION (dialog))); -#endif tmp = strstr (dest_uri, handler->filename_ext); |