Exemplo n.º 1
0
	BONOBO_UI_VERB ("CalendarNext", next_clicked),
	BONOBO_UI_VERB ("CalendarGoto", goto_clicked),

	BONOBO_UI_VERB ("ShowDayView", show_day_view_clicked),
	BONOBO_UI_VERB ("ShowWorkWeekView", show_work_week_view_clicked),
	BONOBO_UI_VERB ("ShowWeekView", show_week_view_clicked),
	BONOBO_UI_VERB ("ShowMonthView", show_month_view_clicked),
	BONOBO_UI_VERB ("ShowListView", show_list_view_clicked),

	BONOBO_UI_VERB ("CalendarPurge", purge_cmd),

	BONOBO_UI_VERB_END
};

static EPixmap pixmaps [] = {
	E_PIXMAP ("/commands/CalendarPrev", "go-previous", E_ICON_SIZE_MENU),
	E_PIXMAP ("/commands/CalendarPrint", "document-print", E_ICON_SIZE_MENU),
	E_PIXMAP ("/commands/DeleteAllOccurrences", "edit-delete", E_ICON_SIZE_MENU),
	E_PIXMAP ("/commands/DeleteOccurrence", "edit-delete", E_ICON_SIZE_MENU),
    E_PIXMAP ("/commands/CalendarGoto", "go-jump", E_ICON_SIZE_MENU),
    E_PIXMAP ("/commands/CalendarNext", "go-next", E_ICON_SIZE_MENU),
    E_PIXMAP ("/commands/CalendarPrintPreview", "document-print-preview", E_ICON_SIZE_MENU),
    E_PIXMAP ("/commands/Copy", "edit-copy", E_ICON_SIZE_MENU),
    E_PIXMAP ("/commands/Cut", "edit-cut", E_ICON_SIZE_MENU),
    E_PIXMAP ("/commands/Delete", "edit-delete", E_ICON_SIZE_MENU),
    E_PIXMAP ("/commands/Paste", "edit-paste", E_ICON_SIZE_MENU),
    E_PIXMAP ("/commands/CalendarToday", "go-today", E_ICON_SIZE_MENU),

	E_PIXMAP ("/Toolbar/Print", "document-print", E_ICON_SIZE_LARGE_TOOLBAR),
	E_PIXMAP ("/Toolbar/Delete", "edit-delete", E_ICON_SIZE_LARGE_TOOLBAR),
	E_PIXMAP ("/Toolbar/Prev", "go-previous", E_ICON_SIZE_LARGE_TOOLBAR),
Exemplo n.º 2
0
	BONOBO_UI_VERB ("v_runcmd", cb_run_command),
	BONOBO_UI_VERB ("v_runpipe", cb_run_pipe),

	BONOBO_UI_VERB ("v_delete", cb_delete_dialog),
	BONOBO_UI_VERB ("v_find", cb_search_dialog),

	BONOBO_UI_VERB ("v_prefs", cb_pref_dialog),
/* 	BONOBO_UI_VERB ("v_print", cb_print_notes), */
/* 	BONOBO_UI_VERB ("v_setpage", cb_page_setup), */

	BONOBO_UI_VERB_END
};


static EPixmap pixmaps [] = {
	E_PIXMAP ("/Toolbar/tb_textnote", "text.png"),
	E_PIXMAP ("/Toolbar/tb_checknote", "circle.png"),
	E_PIXMAP ("/Toolbar/tb_todonote", "box2.png"),
	E_PIXMAP ("/Toolbar/tb_cut", "buttons/cut.png"),
	E_PIXMAP ("/Toolbar/tb_copy", "buttons/copy.png"),
	E_PIXMAP ("/Toolbar/tb_paste", "buttons/paste.png"),
	E_PIXMAP ("/Toolbar/tb_delete", "buttons/delete-message.png"),
	E_PIXMAP ("/Toolbar/tb_find", "find_message.xpm"),
	E_PIXMAP ("/Toolbar/tb_print", "buttons/print.png"),
	E_PIXMAP ("/Toolbar/tb_printpv", "buttons/print-preview-24.png"),
	E_PIXMAP_END
};

static void
control_activate (BonoboControl *control,
		  BonoboUIComponent *ui_component,
    BONOBO_UI_VERB ("PilotSettings", (BonoboUIVerbFn) command_pilot_settings),

    BONOBO_UI_VERB_END
};

static BonoboUIVerb help_verbs [] = {
    BONOBO_UI_VERB ("QuickReference", (BonoboUIVerbFn) command_quick_reference),
    BONOBO_UI_VERB ("HelpOpenFAQ", (BonoboUIVerbFn) command_open_faq),
    BONOBO_UI_VERB ("HelpSubmitBug", (BonoboUIVerbFn) command_submit_bug),
    BONOBO_UI_VERB ("HelpAbout", (BonoboUIVerbFn) command_about),

    BONOBO_UI_VERB_END
};

static EPixmap pixmaps [] = {
    E_PIXMAP ("/Toolbar/SendReceive", "mail-send-receive", E_ICON_SIZE_LARGE_TOOLBAR),
    E_PIXMAP ("/menu/File/OpenNewWindow", "window-new", E_ICON_SIZE_MENU),
    E_PIXMAP ("/menu/File/SendReceive", "mail-send-receive", E_ICON_SIZE_MENU),
    E_PIXMAP ("/menu/File/FileImporter", "stock_mail-import", E_ICON_SIZE_MENU),
    E_PIXMAP ("/menu/File/Print/FilePageSetup", "stock_print-setup", E_ICON_SIZE_MENU),
    E_PIXMAP ("/menu/File/ToggleOffline", "stock_disconnect", E_ICON_SIZE_MENU),
    E_PIXMAP ("/menu/File/FileClose", "window-close", E_ICON_SIZE_MENU),
    E_PIXMAP ("/menu/File/FileExit", "application-exit", E_ICON_SIZE_MENU),
    E_PIXMAP ("/menu/Edit/Settings", "preferences-desktop", E_ICON_SIZE_MENU),

    E_PIXMAP_END
};

static EPixmap offline_pixmaps [] = {
    E_PIXMAP ("/menu/File/ToggleOffline", "stock_disconnect", E_ICON_SIZE_MENU),
    E_PIXMAP_END