Moved resources to 510/511: the numbers above 512 gave problems when

editing preferences in applets with their own dialogs
This commit is contained in:
Jack Jansen 1996-10-11 11:30:26 +00:00
parent 11b6d24da0
commit 145c92dfb5
2 changed files with 64 additions and 63 deletions

View File

@ -17,7 +17,7 @@ import Res # For Res.Error
# resource IDs in our own resources (dialogs, etc)
MESSAGE_ID = 256
DIALOG_ID = 512
DIALOG_ID = 511
TEXT_ITEM = 1
OK_ITEM = 2
CANCEL_ITEM = 3
@ -27,7 +27,7 @@ OPTIONS_ITEM = 7
# The options dialog. There is a correspondence between
# the dialog item numbers and the option.
OPT_DIALOG_ID = 513
OPT_DIALOG_ID = 510
# 1 thru 9 are the options
# The GUSI creator/type and delay-console
OD_CREATOR_ITEM = 10
@ -356,6 +356,7 @@ def edit_applet(name):
if notfound:
message('Warning: initial %s taken from system-wide defaults'%notfound)
# Let the user play away
print 'DBG interaction'
result = interact(l, fss, (options, creator, type, delaycons), name)
# See what we have to update, and how

View File

@ -2,64 +2,64 @@
:&%9NDA43HA4SEfj3FQ9QFbjbFh*M!(*cFQ058d9%!3#3"`m+@DJ!N!3"!!!!$FN
!!!c*!!!"36B8)&3JD!!8)&"p%E"S%3!k!@FQ%Lm-6VS#$!`k!&Tj&%9NDA43HA4
SEfj3FQ9QFbjbFh*MC3)!!!"bFh*M8P-!!(*cFQ058d9%!3!!!!%!N"(8'UiQIa%
!N!B2#[m4`+KT!4e!%Irc%h!!%#lrmlh5%@B386Dq9@X"!8*%[D'q9@X"!6"4-J&
R(N39$!!!('85F!!3,N-9$!!!(f)'F!&J!!%"!LaD9#dZ4,d"!"Xm!@B`*e8q'NU
!)&-#+!#r!#iL!1d*!J%!3)-Sfc36UGF[$%kk!3P+CfX"!+CA3cS!!!%!!!%!!!!
#J!!!"%!!!!JJ!!!3%!!!)BJ!!%'%!!#$`J!"!m%!!JIiJ!3(K%!)"!)J%!MK%#!
6))K!(L"mJ!2J1N!-!$NJ%`!k%"$J2!J-(MJ%!!(i!J`!1!%5!%!!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