diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-02-05 08:13:23 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-02-05 08:13:23 +0800 |
commit | b33925fd09ccfdc5b1c2f2ad7139936e89c37412 (patch) | |
tree | b4c2f2237b1663db2e2c4d81688ddd197afd0f99 /calendar/gui | |
parent | fb9018a61e7e52de12b525ecece617315611ff44 (diff) | |
download | gsoc2013-evolution-b33925fd09ccfdc5b1c2f2ad7139936e89c37412.tar.gz gsoc2013-evolution-b33925fd09ccfdc5b1c2f2ad7139936e89c37412.tar.zst gsoc2013-evolution-b33925fd09ccfdc5b1c2f2ad7139936e89c37412.zip |
Rename to e_meeting_time_selector_on_invite_others_button_expose() and
2003-02-04 Hans Petter Jansson <hpj@ximian.com>
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_on_invite_others_button_draw):
Rename to e_meeting_time_selector_on_invite_others_button_expose()
and handle "expose-event" instead of "draw".
(e_meeting_time_selector_construct): The "draw" signal doesn't exist
anymore - connect to "expose-event" instead.
* gui/dialogs/event-page.c (clear_widgets): Clear the GtkTextBuffer
for the description.
(event_page_fill_widgets): Use the GtkTextBuffer.
(event_page_fill_component): Use the GtkTextBuffer.
(init_widgets): Create a GtkTextBuffer for the GtkTextView. Set word
wrap. Connect to the "changed" signal of the model instead of the view.
svn path=/trunk/; revision=19749
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-meeting-time-sel.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c index 4085ac120a..399d65d850 100644 --- a/calendar/gui/e-meeting-time-sel.c +++ b/calendar/gui/e-meeting-time-sel.c @@ -150,9 +150,9 @@ static void e_meeting_time_selector_on_zoomed_out_toggled (GtkWidget *button, EMeetingTimeSelector *mts); static void e_meeting_time_selector_on_working_hours_toggled (GtkWidget *button, EMeetingTimeSelector *mts); -static void e_meeting_time_selector_on_invite_others_button_draw (GtkWidget *button, - GdkRectangle *area, - EMeetingTimeSelector *mts); +static gboolean e_meeting_time_selector_on_invite_others_button_expose (GtkWidget *button, + GdkEventExpose *event, + EMeetingTimeSelector *mts); static void e_meeting_time_selector_on_invite_others_button_clicked (GtkWidget *button, EMeetingTimeSelector *mts); static void e_meeting_time_selector_on_update_free_busy (GtkWidget *button, @@ -431,8 +431,8 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingModel *em accel_key, GDK_MOD1_MASK, 0); g_signal_connect (button, "clicked", G_CALLBACK (e_meeting_time_selector_on_invite_others_button_clicked), mts); - g_signal_connect (button, "draw", - G_CALLBACK (e_meeting_time_selector_on_invite_others_button_draw), mts); + g_signal_connect (button, "expose-event", + G_CALLBACK (e_meeting_time_selector_on_invite_others_button_expose), mts); mts->options_button = gtk_button_new (); gtk_box_pack_start (GTK_BOX (hbox), mts->options_button, TRUE, TRUE, 0); @@ -1373,10 +1373,10 @@ e_meeting_time_selector_dump_date (GDate *date) #endif /* E_MEETING_TIME_SELECTOR_DEBUG */ -static void -e_meeting_time_selector_on_invite_others_button_draw (GtkWidget *button, - GdkRectangle *area, - EMeetingTimeSelector *mts) +static gboolean +e_meeting_time_selector_on_invite_others_button_expose (GtkWidget *button, + GdkEventExpose *event, + EMeetingTimeSelector *mts) { ETable *real_table; gboolean click_to_add = TRUE; @@ -1385,6 +1385,7 @@ e_meeting_time_selector_on_invite_others_button_draw (GtkWidget *button, g_object_get (G_OBJECT (real_table), "use_click_to_add", &click_to_add, NULL); gtk_widget_set_sensitive (button, click_to_add); + return FALSE; } static void |