From visual to source code
Tableau de bord de Gnome (module gnome-panel) svn checkout svn://svn.gnome.org/svn/gnome-panel/trunk gnome-panel/trunk PanelMenuBar créé par gnome-panel/panel-menu-bar.c : panel_menu_bar_load() Items créés dans le fichier: gnome-panel/panel-menu-bar.c : panel_menu_bar_init() Applications [GtkImageMenuItem] added in gtk_menu_shell_append() + gtk_menu_new() added with gtk_menu_item_set_submenu() Raccourcis [PanelPlaceMenuItem:GtkImageMenuItem] (gnome-panel/panel-menu-items.c : panel_place_menu_item_new(FALSE)) Système [PanelDesktopMenuItem:GtkImageMenuItem] (gnome-panel/panel-menu-items.c : panel_desktop_menu_item_new(FALSE, TRUE)) gtk_menu_new() GtkMenuTree tree = gmenu_tree_lookup (menu_file, GMENU_TREE_FLAGS_NONE); g_object_set_data_full (G_OBJECT (menu), "panel-menu-tree", gmenu_tree_ref (tree), (GDestroyNotify) gmenu_tree_unref); gmenu_tree_unref(tree)
- Créer un fichier de description bonobo .server pour les applets du tableau de bord (Panel Applet)
~/.autosave/
Dossier des fichiers enregistrés automatiquement d'une façon périodique.
~/.recently-used
<?xml version="1.0"?> <RecentFiles> <RecentItem> <URI>file:///tmp/document.ods</URI> <Mime-Type>application/vnd.oasis.opendocument.spreadsheet</Mime-Type> <Timestamp>1172870897</Timestamp> <Groups> <Group>openoffice.org</Group> <Group>staroffice</Group> <Group>starsuite</Group> </Groups> </RecentItem> <RecentItem> <URI>file:///tmp/document.gif</URI> <Mime-Type>image/gif</Mime-Type> <Timestamp>1170634858</Timestamp> <Groups> <Group>Eye of Gnome</Group> </Groups> </RecentItem> </RecentFiles>