[specimen] specimen_with_patch_popup_menu.tar.bz2

james jwm-art net james at jwm-art.net
Tue Apr 29 17:58:27 CDT 2008


Ok, now I have something which works to give you:
http://www.jwm-art.net/specimen_with_patch_popup_menu.tar.bz2

Sorry no diff/patch to show changes. Not worked out how to exclude
all the crap from getting into it. So here's a brief rundown:

(( & apologies for white space editing in src/gui/ making potential
patch/diff even worse ((line width anyone?))))

gui.c
  static GtkWidget* menu_patch >> no longer static

++ externs.h
  for giving [ GtkWidget* menu_patch ] to patchlist.c

patchlist.c
   ln:78  ++ static void do_patch_list_context_menu(GtkWidget* tree,
GdkEventButton* eventb)
   ln:112 ++ static gboolean button_press_cb(GtkTreeView* tree,
GdkEventButton* eventb, PatchList* self)
   ln:124 ++ static gboolean popup_menu_cb(GtkTreeView* tree)

   ln:182 - 188 ++ two extra g_signal_connect for popup-menu

Something like that. Much much simpler than my previous effort which did
not even work. Further work to be done with display of patch ID# and
patch name in cut and cut by params.

Regards,
James.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Specimen mailing list