~jgonzalezdr/cairo-dock-plug-ins/suspend-workaround-applet_3.3

« back to all changes in this revision

Viewing changes to clock/src/applet-task-editor.c

  • Committer: Fabrice Rey
  • Date: 2013-09-27 23:42:26 UTC
  • Revision ID: fabounet03@gmail.com-20130927234226-d03se1r91jmffdu2
All: updated to use the new menu API

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
        static gpointer *data = NULL;
154
154
        if (pButton->button == 3 && pButton->type == GDK_BUTTON_RELEASE)
155
155
        {
156
 
                GtkWidget *pMenu = gtk_menu_new ();
 
156
                GtkWidget *pMenu = gldi_menu_new (NULL);
157
157
                cairo_dock_add_in_menu_with_stock_and_data (D_("Add a new task"), GTK_STOCK_ADD, G_CALLBACK (_cd_clock_add_new_task), pMenu, myApplet);
158
158
                
159
159
                GtkTreeSelection *pSelection = gtk_tree_view_get_selection (pTreeView);