|
wmpasman
Category: |
General / Others |
|
|
Maintainer: |
anomie |
Website: |
http://sourceforge.net/projects/wmpasman/ |
Description: |
wmpasman stores your passwords, and makes them available for pasting (both via the middle-click PRIMARY selection and the CLIPBOARD selection) at the click of a button. It also contains a digital clock. Access is controlled by a passphrase.
Please see the sourceforge page for the latest version. |
Screenshots:
|
|
Available Versions:
|
User Comments
fix when no popup
Like me, if you no popup come (left clicking on the topmost right box should show the login popup), it's because the GDK_BUTTON_PRESS event is never triggered!
This is probably due to the way gtk is initialized with new GTK+ 2.0 version.
I've checked that in wmgeneral, "button-press-event" signal is correctly setup and masked.
Here is a workaround, consisting in ignoring "key-press-event" signals and use only "key-release-event":
(which could be more efficiently & more simply coded using the "clicked" signal)
void dock_click(GdkEventButton *ev) {
if(ev->send_event) debug(DEBUG_BLEH, "Synthetic button %s event received", (ev->type==GDK_BUTTON_RELEASE)?"release":"press");
switch(ev->type){
int but_stat;
case GDK_BUTTON_RELEASE:
but_stat=CheckMouseRegion(ev->x, ev->y);
if(but_stat>=0){
switch(but_stat){
case 0:
PopupDialog();
break;
case 1:
Function(ev);
break;
case 2:
RotateItem(ev);
break;
case 3:
if(ev->button>0 && ev->button<8 && actions[ev->button-1]!=NULL)
execCommand(actions[ev->button-1]);
break;
}
}
break;
default:
/* Double click, or crap like that. Ignore. */
break;
}
}
setting a default crypto algorithm
in wmpasman/popup_passphrase.c:
// TODO: placed this in a header
#define PREFERRED_CYPHER "rijndael-256"
in make_passphrase_win():
add local variable index (integer) and locate the following loop and add the index stuff:
for(i=0; i
w=gtk_menu_item_new_with_label(cyphers[i]);
gtk_menu_shell_append(GTK_MENU_SHELL(m), w);
if (!strcmp(PREFERRED_CYPHER, cyphers[i]))
index = i+1;
}
Then use this index variable in :
gtk_option_menu_set_history(GTK_OPTION_MENU(opt), index);
Comment out the following line in order to click on enable the OK button (by default it is greyed until we click on the dropdown):
//gtk_widget_set_sensitive(w, FALSE);
|
|
|
|