89
89
pClipBoard = gtk_clipboard_get (GDK_SELECTION_PRIMARY);
90
90
g_signal_handler_disconnect (pClipBoard, myData.iSidPrimaryOwnerChange);
97
G_TYPE_STRING, "Configuration", "last items", cRememberedItems,
95
104
//\___________ The reload occurs in 2 occasions : when the user changes the applet's config, and when the user reload the cairo-dock's config or modify the desklet's size. The macro CD_APPLET_MY_CONFIG_CHANGED can tell you this. myConfig has already been reloaded at this point if you're in the first case, myData is untouched. You also have the macro CD_APPLET_MY_CONTAINER_TYPE_CHANGED that can tell you if you switched from dock/desklet to desklet/dock mode.
103
106
//\_______________ On recharge les donnees qui ont pu changer.
104
107
if (CD_APPLET_MY_CONFIG_CHANGED)
111
116
g_list_foreach (myData.pActions, (GFunc) cd_clipper_free_action, NULL);
112
117
g_list_free (myData.pActions);