| 3684 gdk_window_set_cursor(widget->window, gtkblist->arrow_cursor); |
3684 gdk_window_set_cursor(widget->window, gtkblist->arrow_cursor); |
| 3685 return FALSE; |
3685 return FALSE; |
| 3686 } |
3686 } |
| 3687 |
3687 |
| 3688 static gboolean |
3688 static gboolean |
| |
3689 headline_click_callback(gpointer data) |
| |
3690 { |
| |
3691 ((GSourceFunc)gtkblist->headline_callback)(gtkblist->headline_data); |
| |
3692 return FALSE; |
| |
3693 } |
| |
3694 |
| |
3695 static gboolean |
| 3689 headline_box_press_cb(GtkWidget *widget, GdkEventButton *event, GaimGtkBuddyList *gtkblist) |
3696 headline_box_press_cb(GtkWidget *widget, GdkEventButton *event, GaimGtkBuddyList *gtkblist) |
| 3690 { |
3697 { |
| 3691 gtk_widget_hide(gtkblist->headline_hbox); |
3698 gtk_widget_hide(gtkblist->headline_hbox); |
| 3692 if (gtkblist->headline_callback) |
3699 if (gtkblist->headline_callback) |
| 3693 g_idle_add(G_CALLBACK(gtkblist->headline_callback), gtkblist->headline_data); |
3700 g_idle_add((GSourceFunc)headline_click_callback, gtkblist->headline_data); |
| |
3701 return TRUE; |
| 3694 } |
3702 } |
| 3695 |
3703 |
| 3696 /***********************************/ |
3704 /***********************************/ |
| 3697 /* Connection error handling stuff */ |
3705 /* Connection error handling stuff */ |
| 3698 /***********************************/ |
3706 /***********************************/ |