item, feed_panel_delete_activate_cb, panel);
}
- sokoke_widget_popup (widget, GTK_MENU (menu),
- event, SOKOKE_MENU_POSITION_CURSOR);
+ katze_widget_popup (widget, GTK_MENU (menu),
+ event, KATZE_MENU_POSITION_CURSOR);
}
static gboolean
{
GtkWidget* menu = midori_view_get_tab_menu (MIDORI_VIEW (view));
- sokoke_widget_popup (widget, GTK_MENU (menu),
- event, SOKOKE_MENU_POSITION_CURSOR);
+ katze_widget_popup (widget, GTK_MENU (menu), event, KATZE_MENU_POSITION_CURSOR);
}
static gboolean
midori_browser_bookmark_popup_item (menu, GTK_STOCK_DELETE, NULL,
item, midori_browser_bookmark_delete_activate_cb, browser);
- sokoke_widget_popup (widget, GTK_MENU (menu),
- event, SOKOKE_MENU_POSITION_CURSOR);
+ katze_widget_popup (widget, GTK_MENU (menu), event, KATZE_MENU_POSITION_CURSOR);
}
static void
g_signal_emit_by_name (viewable, "populate-option-menu", menu);
katze_widget_popup (GTK_WIDGET (toolitem), GTK_MENU (menu),
- NULL, SOKOKE_MENU_POSITION_LEFT);
+ NULL, KATZE_MENU_POSITION_LEFT);
}
#endif
g_signal_connect (menuitem, "activate",
G_CALLBACK (midori_search_action_manage_activate_cb), action);
gtk_widget_show (menuitem);
- sokoke_widget_popup (entry, GTK_MENU (menu),
- NULL, SOKOKE_MENU_POSITION_LEFT);
+ katze_widget_popup (entry, GTK_MENU (menu), NULL, KATZE_MENU_POSITION_LEFT);
}
static gboolean
GtkWidget* menu = midori_view_get_tab_menu (MIDORI_VIEW (widget));
katze_widget_popup (widget, GTK_MENU (menu),
- event, SOKOKE_MENU_POSITION_CURSOR);
+ event, KATZE_MENU_POSITION_CURSOR);
return TRUE;
}
gtk_container_foreach (container, (GtkCallback)(gtk_widget_show_all), NULL);
}
-void
-sokoke_widget_popup (GtkWidget* widget,
- GtkMenu* menu,
- GdkEventButton* event,
- SokokeMenuPos pos)
-{
- katze_widget_popup (widget, menu, event, (KatzeMenuPos)pos);
-}
-
typedef enum
{
SOKOKE_DESKTOP_UNTESTED,
gchar*
sokoke_format_uri_for_display (const gchar* uri);
-typedef enum {
- SOKOKE_MENU_POSITION_CURSOR = 0,
- SOKOKE_MENU_POSITION_LEFT,
- SOKOKE_MENU_POSITION_RIGHT
-} SokokeMenuPos;
-
void
sokoke_combo_box_add_strings (GtkComboBox* combobox,
const gchar* label_first,
void
sokoke_container_show_children (GtkContainer* container);
-void
-sokoke_widget_popup (GtkWidget* widget,
- GtkMenu* menu,
- GdkEventButton* event,
- SokokeMenuPos pos);
-
GtkWidget*
sokoke_xfce_header_new (const gchar* icon,
const gchar* title);
midori_bookmarks_popup_item (menu, GTK_STOCK_DELETE, NULL,
item, midori_bookmarks_delete_activate_cb, bookmarks);
- sokoke_widget_popup (widget, GTK_MENU (menu),
- event, SOKOKE_MENU_POSITION_CURSOR);
+ katze_widget_popup (widget, GTK_MENU (menu), event, KATZE_MENU_POSITION_CURSOR);
}
static gboolean
midori_extensions_about_activate_cb, FALSE,
extensions);
- sokoke_widget_popup (widget, GTK_MENU (menu),
- event, SOKOKE_MENU_POSITION_CURSOR);
+ katze_widget_popup (widget, GTK_MENU (menu), event, KATZE_MENU_POSITION_CURSOR);
g_free (website);
}
midori_history_popup_item (menu, GTK_STOCK_DELETE, NULL,
item, midori_history_delete_activate_cb, history);
- sokoke_widget_popup (widget, GTK_MENU (menu),
- event, SOKOKE_MENU_POSITION_CURSOR);
+ katze_widget_popup (widget, GTK_MENU (menu), event, KATZE_MENU_POSITION_CURSOR);
}
static gboolean
_("Copy Link Loc_ation"), download,
midori_transfers_copy_address_activate_cb, FALSE, transfers);
- sokoke_widget_popup (widget, GTK_MENU (menu),
- event, SOKOKE_MENU_POSITION_CURSOR);
+ katze_widget_popup (widget, GTK_MENU (menu), event, KATZE_MENU_POSITION_CURSOR);
}
#endif