Enlightenment CVS committal
Author : pfritz
Project : e17
Module : apps/elitaire
Dir : e17/apps/elitaire/src
Modified Files:
ewl_dialog_hiscore.cpp
Log Message:
select user name for easy deletion
===================================================================
RCS file: /cvs/e/e17/apps/elitaire/src/ewl_dialog_hiscore.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_dialog_hiscore.cpp 28 Jun 2007 23:33:02 -0000 1.3
+++ ewl_dialog_hiscore.cpp 6 Sep 2007 15:52:28 -0000 1.4
@@ -107,8 +107,10 @@
wh->eap = eap;
wh->points = points;
wh->type = type;
+
/* a hopefully good default */
username = getpwuid(geteuid())->pw_name;
+
/* Setup and show the name window */
win = ewl_dialog_new();
ewl_dialog_action_position_set(EWL_DIALOG(win), EWL_POSITION_BOTTOM);
@@ -154,6 +156,7 @@
ewl_object_padding_set(EWL_OBJECT(o), 15, 15, 2, 15);
ewl_callback_append(EWL_WIDGET(o), EWL_CALLBACK_KEY_DOWN,
_highscore_key_down_cb, wh);
+ ewl_text_all_select(EWL_TEXT(o));
ewl_widget_show(o);
wh_entry = o;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs