Remove sokoke_image_menu_item_new_ellipsized

This commit is contained in:
Christian Dywan 2009-11-15 17:58:43 +01:00
parent c012a1e5bd
commit 6e6f6e867a
3 changed files with 1 additions and 18 deletions

View file

@ -3230,7 +3230,7 @@ midori_view_get_proxy_menu_item (MidoriView* view)
if (!view->menu_item) if (!view->menu_item)
{ {
title = midori_view_get_display_title (view); title = midori_view_get_display_title (view);
view->menu_item = sokoke_image_menu_item_new_ellipsized (title); view->menu_item = katze_image_menu_item_new_ellipsized (title);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (view->menu_item), gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (view->menu_item),
gtk_image_new_from_pixbuf (view->icon)); gtk_image_new_from_pixbuf (view->icon));

View file

@ -865,20 +865,6 @@ sokoke_action_create_popup_menu_item (GtkAction* action)
return menuitem; return menuitem;
} }
/**
* sokoke_image_menu_item_new_ellipsized:
* @label: the text of the menu item
*
* Creates a new #GtkImageMenuItem containing an ellipsized label.
*
* Return value: a new #GtkImageMenuItem
**/
GtkWidget*
sokoke_image_menu_item_new_ellipsized (const gchar* label)
{
return katze_image_menu_item_new_ellipsized (label);
}
/** /**
* sokoke_time_t_to_julian: * sokoke_time_t_to_julian:
* @timestamp: a time_t timestamp value * @timestamp: a time_t timestamp value

View file

@ -142,9 +142,6 @@ sokoke_widget_get_text_size (GtkWidget* widget,
GtkWidget* GtkWidget*
sokoke_action_create_popup_menu_item (GtkAction* action); sokoke_action_create_popup_menu_item (GtkAction* action);
GtkWidget*
sokoke_image_menu_item_new_ellipsized (const gchar* label);
gint64 gint64
sokoke_time_t_to_julian (const time_t* timestamp); sokoke_time_t_to_julian (const time_t* timestamp);