diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-10-23 02:49:30 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-10-23 02:49:30 +0800 |
commit | b37af8f269484ebd836996c140ea718885954ca3 (patch) | |
tree | 8ed883fcc7c60b5200be9438514902accd991cd1 /widgets | |
parent | 16af69fb17d52a18b0c308e8ed137f71d2dba1fa (diff) | |
download | gsoc2013-evolution-b37af8f269484ebd836996c140ea718885954ca3.tar gsoc2013-evolution-b37af8f269484ebd836996c140ea718885954ca3.tar.gz gsoc2013-evolution-b37af8f269484ebd836996c140ea718885954ca3.tar.bz2 gsoc2013-evolution-b37af8f269484ebd836996c140ea718885954ca3.tar.lz gsoc2013-evolution-b37af8f269484ebd836996c140ea718885954ca3.tar.xz gsoc2013-evolution-b37af8f269484ebd836996c140ea718885954ca3.tar.zst gsoc2013-evolution-b37af8f269484ebd836996c140ea718885954ca3.zip |
** Fixes part of bug #417999
2007-10-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #417999
* addressbook/gui/contact-editor/contact-editor.glade:
* addressbook/gui/contact-editor/e-contact-editor.c:
* addressbook/gui/contact-editor/e-contact-quick-add.c:
* addressbook/gui/contact-list-editor/contact-list-editor.c:
* addressbook/gui/contact-list-editor/contact-list-editor.glade:
* calendar/gui/dialogs/event-page.c:
* calendar/gui/dialogs/event-page.glade:
* calendar/gui/dialogs/memo-page.c:
* calendar/gui/dialogs/memo-page.glade:
* calendar/gui/dialogs/task-page.c:
* calendar/gui/dialogs/task-page.glade:
* calendar/gui/e-itip-control.c:
* plugins/bbdb/bbdb.c:
* plugins/bbdb/gaimbuddies.c:
* plugins/itip-formatter/itip-view.c:
* widgets/misc/e-pilot-settings.c:
Use ESourceComboBox instead of ESourceOptionMenu (deprecated).
svn path=/trunk/; revision=34408
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/misc/e-pilot-settings.c | 12 |
2 files changed, 14 insertions, 5 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index b5c74cbb2d..e3e8103e9f 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,10 @@ +2007-10-22 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #417999 + + * e-pilot-settings.c: + Use ESourceComboBox instead of ESourceOptionMenu (deprecated). + 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #437579 diff --git a/widgets/misc/e-pilot-settings.c b/widgets/misc/e-pilot-settings.c index cbf838e71f..dcee88fa73 100644 --- a/widgets/misc/e-pilot-settings.c +++ b/widgets/misc/e-pilot-settings.c @@ -27,7 +27,7 @@ #include <gtk/gtk.h> #include <glib/gi18n.h> -#include <libedataserverui/e-source-option-menu.h> +#include <libedataserverui/e-source-combo-box.h> #include "e-pilot-settings.h" struct _EPilotSettingsPrivate @@ -102,7 +102,7 @@ build_ui (EPilotSettings *ps, ESourceList *source_list) lbl = gtk_label_new (_("Sync with:")); gtk_misc_set_alignment (GTK_MISC (lbl), 0.0, 0.5); - priv->source = e_source_option_menu_new (source_list); + priv->source = e_source_combo_box_new (source_list); gtk_table_attach_defaults (GTK_TABLE (ps), lbl, 0, 1, 0, 1); gtk_table_attach_defaults (GTK_TABLE (ps), priv->source, 1, 2, 0, 1); gtk_widget_show (lbl); @@ -152,8 +152,9 @@ e_pilot_settings_get_source (EPilotSettings *ps) g_return_val_if_fail (E_IS_PILOT_SETTINGS (ps), FALSE); priv = ps->priv; - - return e_source_option_menu_peek_selected (E_SOURCE_OPTION_MENU (priv->source)); + + return e_source_combo_box_get_active ( + E_SOURCE_COMBO_BOX (priv->source)); } void @@ -166,7 +167,8 @@ e_pilot_settings_set_source (EPilotSettings *ps, ESource *source) priv = ps->priv; - e_source_option_menu_select (E_SOURCE_OPTION_MENU (priv->source), source); + e_source_combo_box_set_active ( + E_SOURCE_COMBO_BOX (priv->source), source); } gboolean |