00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00031 #ifndef OTHERS_MENU_H
00032 #define OTHERS_MENU_H
00033
00034 #include <gtk/gtkbutton.h>
00035 #include <gtk/gtktreemodel.h>
00036
00037
00038 #define OTHERS_MENU_ICON_NAME "qgn_grid_tasknavigator_others"
00039 #define OTHERS_MENU_ICON_SIZE 64
00040
00041
00042 #define MENU_ITEM_DEFAULT_ICON ""
00043
00044 #define MENU_ITEM_SUBMENU_ICON "qgn_list_gene_fldr_cls"
00045 #define MENU_ITEM_SUBMENU_ICON_DIMMED "qgn_list_gene_nonreadable_fldr"
00046 #define MENU_ITEM_DEFAULT_APP_ICON "qgn_list_gene_default_app"
00047 #define MENU_ITEM_ICON_SIZE 26
00048
00049 #define MENU_ITEM_EMPTY_SUBMENU_STRING _( "tana_li_of_noapps" )
00050
00051 #define BORDER_WIDTH 7
00052 #define BUTTON_HEIGHT 90
00053
00054
00055 #define MENU_Y_POS 180
00056 #define MENU_MAX_WIDTH 360
00057
00058 #define OM_BUTTON_PRESS_EVENT_COLLAPSE_TIMEOUT 100
00059
00060 #define WORKAREA_ATOM "_NET_WORKAREA"
00061 #define NAVIGATOR_BUTTON_THREE "hildon-navigator-button-three"
00062
00063 typedef struct OthersMenu OthersMenu_t;
00064 typedef struct _om_changed_cb_data_st _om_changed_cb_data_t;
00065
00066 typedef void (_as_update_callback)(GKeyFile *keyfile);
00067
00068 OthersMenu_t *others_menu_init( void );
00069
00070 GtkWidget *others_menu_get_button( OthersMenu_t *am );
00071
00072 void others_menu_initialize_menu( OthersMenu_t *am , void *as_menu_cb);
00073
00074 void others_menu_deinit( OthersMenu_t *am );
00075
00076 void others_menu_get_items( GtkWidget *widget, OthersMenu_t *am,
00077 GtkTreeModel *model, GtkTreeIter *iter );
00078
00079 #endif