From: John C. <ci...@pu...> - 2004-11-29 02:11:25
|
Jeff, Thanks. That works out best for me. And there I also found the list of the "undocumented" shortcut keys (well, most of them are in the gwc_help.html file, except j and k.) I decided to hotkey the Declick_Strong with "g" as in "go" since S and D are already taken. I also hotkeyed Declick_Weak with w since that was available. The altered code (gwc.c in gwc-0.19-7): (Starts at line 1598) GNOMEUIINFO_ITEM_ACCEL(" Declick Strong", "Remove pops/clicks from current view or selection", declick, declick_xpm, GDK_g), GNOMEUIINFO_ITEM_ACCEL(" Declick Weak", "Remove weaker pops/clicks from current view or selection", declick_weak, declick_w_xpm, GDK_w), John Jeff Welty wrote: > Hmmm. If you want to have fun hacking, wander into gwc.c, and find this > function (about line 1291) > > gboolean key_press_cb(GtkWidget * widget, GdkEventKey * event, gpointer > data) > > you'll see there are some predefined keypresses there, and you might > find it easier just to hack the code for now :-) > > jw > >> Unfortunately I don't think KDE has a similar learning scheme. >> Since I use KDE, I won't have this feature at my disposal. Actually I >> had thought it might be a built-in GWC hidden key but I guess not. >> >> Thanks for the replies! >> >> John >> >> >> Jeff Welty wrote: >> >>> I'll repost this informative email from Stewart Evens, describing how >>> to bind your own special keys to any menu function: >>> -- >>> >>> I mentioned a while ago that the old Gnome style of changing menu >>> accelerators wasn't working in 0.20. After some hunting, I've >>> figured out how to fix it. >>> >>> First - version 2.0 of GTK has this option turned off by default. >>> Its doc says to add the line "gtk_can_change_accels = 1" to your >>> ~/.gtkrc-2.0 file. Simple, right? >>> >>> But wait! Gnome 2 doesn't pay attention to that file, apparently >>> because of its ludicrous "gconf" scheme. So I had to run >>> gconf-editor (which, on my RedHat system, can be found in the >>> oh-so-intuitive menu location System Tools -> More System Tools -> >>> Configuration Editor). Running it warns me that this is not the >>> preferred way of setting my desktop, but since there's no indication >>> of what *is* the preferred way, I went ahead anyway. >>> >>> Anyway, now I only had to navigate down to "desktop -> gnome -> >>> interface" and scroll down until I found the "can_change_accels" item. >>> >>> IMHO, the Gnome2 developers deserve congratulations for approaching >>> Microsoft's level of user hostility and disregard for backwards >>> compatibility. But I digress...anyway, the above worked for me. >>> Unfortunately F1 does not seem to be allowed as an accelerator >>> (other fkeys are okay) so I will have to get used to a new key binding. >>> >>> -- Stewart >>> >>> John Cirillo wrote: >>> >>>> Hi, >>>> I seem to remember there might be some undocumented shortcut keys. >>>> What I am looking for is a shortcut key for the "Declick Strong" >>>> function. I have discovered that I can get much better declick >>>> results on many songs by zooming the screen to show only about 15 >>>> seconds of the song, declick, then click the right scrollbar to move >>>> ahead to the next 15 seconds and so on. But I get tired having to >>>> click right then move the mouse up to click on the Declick Strong >>>> button. If there was a single key to hit for Strong Declick then I >>>> could get more done faster. Is there such a shortcut key? I'm using >>>> 0.19.3 still as it's stable and seems to do what I want. >>>> >>>> Thanks, >>>> >>>> John >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. http://productguide.itmanagersjournal.com/ >>>> _______________________________________________ >>>> Gwc-general mailing list >>>> Gwc...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gwc-general >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Gwc-general mailing list >>> Gwc...@li... >>> https://lists.sourceforge.net/lists/listinfo/gwc-general >>> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Gwc-general mailing list >> Gwc...@li... >> https://lists.sourceforge.net/lists/listinfo/gwc-general >> >> >> >> !DSPAM:41aa37e071602098921043! > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gwc-general mailing list > Gwc...@li... > https://lists.sourceforge.net/lists/listinfo/gwc-general > |