Exemplo n.º 1
0
static void
menu_close_tab_cb (GtkWidget *widget, gpointer data)
{
    DEBUG_FUNCTION ("menu_close_tab_cb");
    DEBUG_ASSERT (widget != NULL);
    DEBUG_ASSERT (data != NULL);

    tilda_window_close_current_tab (TILDA_WINDOW(data));
}
Exemplo n.º 2
0
static void on_popup_hide (GtkWidget *widget, gpointer data)
{
    DEBUG_FUNCTION("on_popup_hide");
    DEBUG_ASSERT(widget != NULL);
    DEBUG_ASSERT(data != NULL);

    tilda_window *tw = TILDA_WINDOW(data);
    tw->disable_auto_hide = FALSE;
}
Exemplo n.º 3
0
static void
menu_fullscreen_cb (GtkWidget *widget, gpointer data)
{
    DEBUG_FUNCTION ("menu_fullscreen_cb");
    DEBUG_ASSERT (widget != NULL);
    DEBUG_ASSERT (data != NULL);

    toggle_fullscreen_cb (TILDA_WINDOW(data));
}
Exemplo n.º 4
0
static void
menu_close_tab_cb (GSimpleAction *action,
                   GVariant      *parameter,
                   gpointer       user_data)
{
    DEBUG_FUNCTION ("menu_close_tab_cb");
    DEBUG_ASSERT (user_data != NULL);

    tilda_window_close_current_tab (TILDA_WINDOW(user_data));
}
Exemplo n.º 5
0
static void
menu_fullscreen_cb (GSimpleAction *action,
                    GVariant      *parameter,
                    gpointer       user_data)
{
    DEBUG_FUNCTION ("menu_fullscreen_cb");
    DEBUG_ASSERT (user_data != NULL);

    toggle_fullscreen_cb (TILDA_WINDOW(user_data));
}
Exemplo n.º 6
0
static void
menu_preferences_cb (GtkWidget *widget, gpointer data)
{
    DEBUG_FUNCTION ("menu_config_cb");
    DEBUG_ASSERT (widget != NULL);
    DEBUG_ASSERT (data != NULL);

    /* Show the config wizard */
    wizard (TILDA_WINDOW(data));
}
Exemplo n.º 7
0
static void
menu_preferences_cb (GSimpleAction *action,
                     GVariant      *parameter,
                     gpointer       user_data)
{
    DEBUG_FUNCTION ("menu_config_cb");
    DEBUG_ASSERT (user_data != NULL);

    /* Show the config wizard */
    wizard (TILDA_WINDOW(user_data));
}
Exemplo n.º 8
0
static void onKeybindingPull (G_GNUC_UNUSED const char *keystring, gpointer user_data)
{
	DEBUG_FUNCTION("onKeybindingPull");
	tilda_window *tw = TILDA_WINDOW(user_data);
	pull (tw, PULL_TOGGLE, FALSE);
}
Exemplo n.º 9
0
static void onKeybindingPull (const char *keystring, gpointer user_data)
{
	tilda_window *tw = TILDA_WINDOW(user_data);
	pull (tw, PULL_TOGGLE);
}