コード例 #1
0
ファイル: nemo-window-slot.c プロジェクト: Seb35/nemo
static void
floating_bar_action_cb (NemoFloatingBar *floating_bar,
			gint action,
			NemoWindowSlot *slot)
{
	if (action == NEMO_FLOATING_BAR_ACTION_ID_STOP) {
		nemo_window_slot_stop_loading (slot);
	}
}
コード例 #2
0
ファイル: nemo-window-menus.c プロジェクト: fossamikom/nemo
static void
action_stop_callback (GtkAction *action, 
		      gpointer user_data)
{
	NemoWindow *window;
	NemoWindowSlot *slot;

	window = NEMO_WINDOW (user_data);
	slot = nemo_window_get_active_slot (window);

	nemo_window_slot_stop_loading (slot);
}