| 358 #endif |
358 #endif |
| 359 |
359 |
| 360 static void |
360 static void |
| 361 show_custom_status_editor_cb(GtkMenuItem *menuitem, gpointer user_data) |
361 show_custom_status_editor_cb(GtkMenuItem *menuitem, gpointer user_data) |
| 362 { |
362 { |
| 363 gaim_gtk_status_editor_show(NULL); |
363 GaimSavedStatus *saved_status; |
| |
364 saved_status = gaim_savedstatus_get_current(); |
| |
365 gaim_gtk_status_editor_show(FALSE, |
| |
366 gaim_savedstatus_is_transient(saved_status) ? saved_status : NULL); |
| 364 } |
367 } |
| 365 |
368 |
| 366 static void |
369 static void |
| 367 activate_status_primitive_cb(GtkMenuItem *menuitem, gpointer user_data) |
370 activate_status_primitive_cb(GtkMenuItem *menuitem, gpointer user_data) |
| 368 { |
371 { |
| 456 } |
459 } |
| 457 g_list_free(popular_statuses); |
460 g_list_free(popular_statuses); |
| 458 |
461 |
| 459 gaim_separator(submenu); |
462 gaim_separator(submenu); |
| 460 |
463 |
| 461 new_menu_item_with_gaim_icon(submenu, _("New Status..."), GAIM_STATUS_AVAILABLE, G_CALLBACK(show_custom_status_editor_cb), NULL, 0, 0, NULL); |
464 new_menu_item_with_gaim_icon(submenu, _("New..."), GAIM_STATUS_AVAILABLE, G_CALLBACK(show_custom_status_editor_cb), NULL, 0, 0, NULL); |
| 462 new_menu_item_with_gaim_icon(submenu, _("Saved Status..."), GAIM_STATUS_AVAILABLE, G_CALLBACK(gaim_gtk_status_window_show), NULL, 0, 0, NULL); |
465 new_menu_item_with_gaim_icon(submenu, _("Saved..."), GAIM_STATUS_AVAILABLE, G_CALLBACK(gaim_gtk_status_window_show), NULL, 0, 0, NULL); |
| 463 |
466 |
| 464 return menuitem; |
467 return menuitem; |
| 465 } |
468 } |
| 466 |
469 |
| 467 static void |
470 static void |